@fluid-topics/ft-search-selected-facets 2.1.23 → 2.2.0

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,11 +1,11 @@
1
- "use strict";(()=>{var Uu=Object.defineProperty;var G=(t,e)=>{for(var r in e)Uu(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,x){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=x.prototype.attributeChangedCallback,I=new Set(x.observedAttributes||[]);m(x,I,E);let j={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(v,j),this._definitionsByClass.set(x,j);let B=r.call(n,v);B||(B=f(v),e.call(n,v,B)),this===window.customElements&&(s.set(x,j),j.standInClass=B);let H=this._awaitingUpgrade.get(v);if(H){this._awaitingUpgrade.delete(v);for(let N of H)a.delete(N),b(N,j,!0)}let _=this._whenDefinedPromises.get(v);return _!==void 0&&(_.resolve(x),this._whenDefinedPromises.delete(v)),x}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let x=this._getDefinition(v);if(x!==void 0)return Promise.resolve(x.elementClass);let E=this._whenDefinedPromises.get(v);return E===void 0&&(E={},E.promise=new Promise(I=>E.resolve=I),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,x,E){let I=this._awaitingUpgrade.get(x);I||this._awaitingUpgrade.set(x,I=new Set),E?I.add(v):I.delete(v)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,E),x},window.HTMLElement.prototype=t.prototype;let p=v=>v===document||v instanceof ShadowRoot,h=v=>{let x=v.getRootNode();if(!p(x)){let E=C[C.length-1];if(E instanceof CustomElementRegistry)return E;x=E.getRootNode(),p(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},f=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let I=h(E)||window.customElements,j=I._getDefinition(v);return j?b(E,j):a.set(E,I),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},m=(v,x,E)=>{if(x.size===0||E===void 0)return;let I=v.prototype.setAttribute;I&&(v.prototype.setAttribute=function(H,_){let N=H.toLowerCase();if(x.has(N)){let W=this.getAttribute(N);I.call(this,N,_),E.call(this,N,W,_)}else I.call(this,N,_)});let j=v.prototype.removeAttribute;j&&(v.prototype.removeAttribute=function(H){let _=H.toLowerCase();if(x.has(_)){let N=this.getAttribute(_);j.call(this,_),E.call(this,_,N,null)}else j.call(this,_)});let B=v.prototype.toggleAttribute;B&&(v.prototype.toggleAttribute=function(H,_){let N=H.toLowerCase();if(x.has(N)){let W=this.getAttribute(N);B.call(this,N,_);let Se=this.getAttribute(N);E.call(this,N,W,Se)}else B.call(this,N,_)})},y=v=>{let x=Object.getPrototypeOf(v);if(x!==window.HTMLElement)return x===t?Object.setPrototypeOf(v,window.HTMLElement):y(x)},b=(v,x,E=!1)=>{Object.setPrototypeOf(v,x.elementClass.prototype),i.set(v,x),d=v;try{new x.elementClass}catch{y(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(I=>{v.hasAttribute(I)&&x.attributeChangedCallback.call(v,I,null,v.getAttribute(I))}),E&&x.connectedCallback&&v.isConnected&&x.connectedCallback.call(v)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let x=S.apply(this,arguments);return v.customElements&&(x.customElements=v.customElements),x};let C=[document],A=(v,x,E=void 0)=>{let I=(E?Object.getPrototypeOf(E):v.prototype)[x];v.prototype[x]=function(){C.push(this);let j=I.apply(E||this,arguments);return j!==void 0&&l.set(j,this),C.pop(),j}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let k=(v,x)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,x);Object.defineProperty(v.prototype,x,{...E,set(I){C.push(this),E.set.call(this,I),C.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,x=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...H){let _=x.call(this,...H);return v.set(_,this),_},E.forEach(H=>{let _=window.ElementInternals.prototype,N=_[H];_[H]=function(...W){let Se=v.get(this);if(i.get(Se).formAssociated===!0)return N?.call(this,...W);throw new DOMException(`Failed to execute ${N} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class j{constructor(_){let N=new Map;_.forEach((W,Se)=>{let Wn=W.getAttribute("name"),Cs=N.get(Wn)||[];this[+Se]=W,Cs.push(W),N.set(Wn,Cs)}),this.length=_.length,N.forEach((W,Se)=>{W&&(W.length===1?this[Se]=W[0]:this[Se]=new I(W))})}namedItem(_){return this[_]}}let B=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let H=B.get.call(this,[]),_=[];for(let N of H){let W=i.get(N);(!W||W.formAssociated===!0)&&_.push(N)}return new j(_)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var a;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,s)}}}var oi={};G(oi,{CSSResult:()=>br,LitElement:()=>ot,ReactiveElement:()=>ze,_$LE:()=>Fs,_$LH:()=>ei,adoptStyles:()=>to,css:()=>T,defaultConverter:()=>xr,getCompatibleStyle:()=>jo,html:()=>O,isServer:()=>im,mathml:()=>Jn,noChange:()=>le,notEqual:()=>oo,nothing:()=>P,render:()=>ti,supportsAdoptingStyleSheets:()=>eo,svg:()=>Xn,unsafeCSS:()=>Gt});var Go=globalThis,eo=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gn=Symbol(),Es=new WeakMap,br=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Gn)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=Es.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Es.set(r,e))}return e}toString(){return this.cssText}},Gt=t=>new br(typeof t=="string"?t:t+"",void 0,Gn),T=(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 br(r,t,Gn)},to=(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=Go.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},jo=eo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Gt(r)})(t):t;var{is:Bu,defineProperty:Hu,getOwnPropertyDescriptor:zu,getOwnPropertyNames:Vu,getOwnPropertySymbols:Wu,getPrototypeOf:Gu}=Object,Ko=globalThis,Os=Ko.trustedTypes,ju=Os?Os.emptyScript:"",Ku=Ko.reactiveElementPolyfillSupport,ro=(t,e)=>t,xr={toAttribute(t,e){switch(e){case Boolean:t=t?ju: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}},oo=(t,e)=>!Bu(t,e),As={attribute:!0,type:String,converter:xr,reflect:!1,useDefault:!1,hasChanged:oo};Symbol.metadata??=Symbol("metadata"),Ko.litPropertyMetadata??=new WeakMap;var ze=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=As){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Hu(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=zu(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??As}static _$Ei(){if(this.hasOwnProperty(ro("elementProperties")))return;let e=Gu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ro("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ro("properties"))){let r=this.properties,n=[...Vu(r),...Wu(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(jo(i))}else e!==void 0&&r.push(jo(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._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let 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 to(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(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:xr).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:xr;this._$Em=i;let l=s.fromAttribute(r,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){let s=this.constructor;if(i===!1&&(a=this[e]),n??=s.getPropertyOptions(e),!((n.hasChanged??oo)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[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){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};ze.elementStyles=[],ze.shadowRootOptions={mode:"open"},ze[ro("elementProperties")]=new Map,ze[ro("finalized")]=new Map,Ku?.({ReactiveElement:ze}),(Ko.reactiveElementVersions??=[]).push("2.1.2");var Kn=globalThis,ws=t=>t,qo=Kn.trustedTypes,Rs=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,qn="$lit$",gt=`lit$${Math.random().toFixed(9).slice(2)}$`,Zn="?"+gt,qu=`<${Zn}>`,qt=document,io=()=>qt.createComment(""),ao=t=>t===null||typeof t!="object"&&typeof t!="function",Yn=Array.isArray,Ps=t=>Yn(t)||typeof t?.[Symbol.iterator]=="function",jn=`[
2
- \f\r]`,no=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ts=/-->/g,Ls=/>/g,jt=RegExp(`>|${jn}(?:([^\\s"'>=/]+)(${jn}*=${jn}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_s=/'/g,ks=/"/g,Ns=/^(?:script|style|textarea|title)$/i,Qn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),O=Qn(1),Xn=Qn(2),Jn=Qn(3),le=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),Is=new WeakMap,Kt=qt.createTreeWalker(qt,129);function Ds(t,e){if(!Yn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(e):e}var Ms=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=no;for(let l=0;l<r;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===no?h[1]==="!--"?s=Ts:h[1]!==void 0?s=Ls:h[2]!==void 0?(Ns.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=jt):h[3]!==void 0&&(s=jt):s===jt?h[0]===">"?(s=i??no,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?jt:h[3]==='"'?ks:_s):s===ks||s===_s?s=jt:s===Ts||s===Ls?s=no:(s=jt,i=void 0);let y=s===jt&&t[l+1].startsWith("/>")?" ":"";a+=s===no?d+qu:f>=0?(n.push(p),d.slice(0,f)+qn+d.slice(f)+gt+y):d+gt+(f===-2?l:y)}return[Ds(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},so=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=Ms(e,r);if(this.el=t.createElement(p,n),Kt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Kt.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(qn)){let m=h[s++],y=i.getAttribute(f).split(gt),b=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:b[2],strings:y,ctor:b[1]==="."?Yo:b[1]==="?"?Qo:b[1]==="@"?Xo:Yt}),i.removeAttribute(f)}else f.startsWith(gt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Ns.test(i.tagName)){let f=i.textContent.split(gt),m=f.length-1;if(m>0){i.textContent=qo?qo.emptyScript:"";for(let y=0;y<m;y++)i.append(f[y],io()),Kt.nextNode(),d.push({type:2,index:++a});i.append(f[m],io())}}}else if(i.nodeType===8)if(i.data===Zn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(gt,f+1))!==-1;)d.push({type:7,index:a}),f+=gt.length-1}a++}}static createElement(e,r){let n=qt.createElement("template");return n.innerHTML=e,n}};function Zt(t,e,r=t,n){if(e===le)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=Zt(t,i._$AS(t,e.values),i,n)),e}var Zo=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??qt).importNode(r,!0);Kt.currentNode=i;let a=Kt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new vr(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Jo(a,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Kt.nextNode(),s++)}return Kt.currentNode=qt,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++}},vr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=P,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=Zt(this,e,r),ao(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==le&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ps(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&ao(this._$AH)?this._$AA.nextSibling.data=e:this.T(qt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=so.createElement(Ds(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Zo(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Is.get(e.strings);return r===void 0&&Is.set(e.strings,r=new so(e)),r}k(e){Yn(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.O(io()),this.O(io()),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!==this._$AB;){let n=ws(e).nextSibling;ws(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Yt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=P,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=P}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Zt(this,e,r,0),s=!ao(e)||e!==this._$AH&&e!==le,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=Zt(this,l[n+d],r,d),p===le&&(p=this._$AH[d]),s||=!ao(p)||p!==this._$AH[d],p===P?e=P:e!==P&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Yo=class extends Yt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},Qo=class extends Yt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},Xo=class extends Yt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Zt(this,e,r,0)??P)===le)return;let n=this._$AH,i=e===P&&n!==P||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==P&&(n===P||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)}},Jo=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){Zt(this,e)}},ei={M:qn,P:gt,A:Zn,C:1,L:Ms,R:Zo,D:Ps,V:Zt,I:vr,H:Yt,N:Qo,U:Xo,B:Yo,F:Jo},Zu=Kn.litHtmlPolyfillSupport;Zu?.(so,vr),(Kn.litHtmlVersions??=[]).push("3.3.3");var ti=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new vr(e.insertBefore(io(),a),a,void 0,r??{})}return i._$AI(t),i};var ri=globalThis,ot=class extends ze{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=ti(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};ot._$litElement$=!0,ot.finalized=!0,ri.litElementHydrateSupport?.({LitElement:ot});var Yu=ri.litElementPolyfillSupport;Yu?.({LitElement:ot});var Fs={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(ri.litElementVersions??=[]).push("4.2.2");var im=!1;var si={};G(si,{customElement:()=>Qu,eventOptions:()=>Ju,property:()=>g,query:()=>z,queryAll:()=>ni,queryAssignedElements:()=>ii,queryAssignedNodes:()=>ai,queryAsync:()=>tp,standardProperty:()=>$s,state:()=>D});var Qu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Xu={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:oo},$s=(t=Xu,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t,!0,l)}}throw Error("Unsupported decorator location: "+n)};function g(t){return(e,r)=>typeof r=="object"?$s(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function D(t){return g({...t,state:!0,attribute:!1})}function Ju(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Ke=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function z(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ke(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ke(r,n,{get(){return a(this)}})}}var ep;function ni(t){return(e,r)=>Ke(e,r,{get(){return(this.renderRoot??(ep??=document.createDocumentFragment())).querySelectorAll(t)}})}function tp(t){return(e,r)=>Ke(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ii(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function ai(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var li={};G(li,{repeat:()=>it});var nt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},De=t=>(...e)=>({_$litDirective$:t,values:e}),Ve=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{I:rp}=ei,Us=t=>t;var Hs=t=>t.strings===void 0,Bs=()=>document.createComment(""),Sr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Bs(),i),s=n.insertBefore(Bs(),i);r=new rp(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||l){let d=r._$AA;for(;d!==a;){let p=Us(d).nextSibling;Us(n).insertBefore(d,i),d=p}}}return r},At=(t,e,r=t)=>(t._$AI(e,r),t),op={},zs=(t,e=op)=>t._$AH=e,Vs=t=>t._$AH,en=t=>{t._$AR(),t._$AA.remove()};var Ws=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},it=De(class extends Ve{constructor(t){if(super(t),t.type!==nt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Vs(t),{values:a,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,y=0,b=a.length-1;for(;f<=m&&y<=b;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[y])d[y]=At(i[f],a[y]),f++,y++;else if(l[m]===s[b])d[b]=At(i[m],a[b]),m--,b--;else if(l[f]===s[b])d[b]=At(i[f],a[b]),Sr(t,d[b+1],i[f]),f++,b--;else if(l[m]===s[y])d[y]=At(i[m],a[y]),Sr(t,i[f],i[m]),m--,y++;else if(p===void 0&&(p=Ws(s,y,b),h=Ws(l,f,m)),p.has(l[f]))if(p.has(l[m])){let S=h.get(s[y]),C=S!==void 0?i[S]:null;if(C===null){let A=Sr(t,i[f]);At(A,a[y]),d[y]=A}else d[y]=At(C,a[y]),Sr(t,i[f],C),i[S]=null;y++}else en(i[m]),m--;else en(i[f]),f++;for(;y<=b;){let S=Sr(t,d[b+1]);At(S,a[y]),d[y++]=S}for(;f<=m;){let S=i[f++];S!==null&&en(S)}return this.ut=s,zs(t,d),le}});var ci={};G(ci,{classMap:()=>Te});var Te=De(class extends Ve{constructor(t){if(super(t),t.type!==nt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return le}});var di={};G(di,{styleMap:()=>ip});var Gs="important",np=" !"+Gs,ip=De(class extends Ve{constructor(t){if(super(t),t.type!==nt.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.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(np);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Gs:""):r[n]=i}}return le}});var pi={};G(pi,{UnsafeHTMLDirective:()=>Cr,unsafeHTML:()=>ui});var Cr=class extends Ve{constructor(e){if(super(e),this.it=P,e.type!==nt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Cr.directiveName="unsafeHTML",Cr.resultType=1;var ui=De(Cr);var Si={};G(Si,{CacheRegistry:()=>st,ClearCacheEvent:()=>po});var fi={};G(fi,{CancelablePromise:()=>tn,CanceledPromiseError:()=>wt,cancelable:()=>rn});var wt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},tn=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new wt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new wt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},rn=t=>new tn((e,r)=>t.then(e).catch(r));var vi={};G(vi,{FtNotificationEvent:()=>uo,PostResizeEvent:()=>xi,PreResizeEvent:()=>bi,WithEventBus:()=>bt,withEventBus:()=>nn});var yi={};G(yi,{applyMixinOnce:()=>ce,customElements:()=>K,dateReviver:()=>cp,deepCopy:()=>We,deepEqual:()=>Ae,delay:()=>on,eventPathContainsMatchingElement:()=>mi,everyDeep:()=>lp,flatDeep:()=>yt,forEachDeep:()=>qs,getComposedPathTo:()=>gi,hasChanged:()=>Me,ignoreComposingEvents:()=>fp,last:()=>up,minmax:()=>Rt,parseDate:()=>Ys,randomId:()=>pp,someDeep:()=>Zs,unslotText:()=>Er,waitFor:()=>Ks,waitUntil:()=>co});var hi={};G(hi,{customElement:()=>lo,dateProperty:()=>sp,isNumber:()=>js,jsonProperty:()=>ie,numberProperty:()=>at,optionalNumberProperty:()=>ap});var lo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ie(t,e){return g({type:Object,converter:{fromAttribute:r=>{if(r==null)return We(t);try{return JSON.parse(r)}catch{return We(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:Me,...e??{}})}function ap(t){return at(t)}function at(t){return g({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(n=t?.max)!==null&&n!==void 0?n:1/0;return js(e)?Rt(i,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function js(t){return!isNaN(parseFloat(t))}function sp(t){return g({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var on=t=>new Promise(e=>setTimeout(e,t));async function co(t,e=10,r=2e4){await Ks(async()=>await t()||void 0,e,r)}async function Ks(t,e=10,r=2e4){let n=await t(),i=performance.now(),a=i;for(;n==null&&(!r||a-i<r);)await on(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function yt(t,e){return t.flatMap(r=>[r,...yt(e(r),e)])}function qs(t,e,r){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=r(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function Zs(t,e,r){let n=!1;return qs(t,e,(i,a,s,l)=>(n=!!r(i,a,s,l),!n)),n}function lp(t,e,r){return!Zs(t,e,(n,i,a,s)=>!r(n,i,a,s))}function cp(...t){return(e,r)=>t.includes(e)?Ys(r):r}function Ys(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 dp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ae(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(!Ae(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 i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(t);if(r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Ae(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ae(t,e){try{return dp(t,e)}catch{return!1}}function Me(t,e){return!Ae(t,e)}function mi(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 Rt(t,e,r){return Math.min(Math.max(t,e),r)}function up(t){return t[t.length-1]}function Er(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Er(e)).join(""):t?.textContent||""}function gi(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}function We(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function pp(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function ce(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}function fp(){return function(t,e,r){let n=r.value;r.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function K(t){for(let[e,r]of Object.entries(t))lo(e)(r)}var uo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},bi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},xi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},nn=ce(Symbol("withEventBus"),function(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)}}}),bt=class extends nn(Object){};var po=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},st=class extends bt{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:r,final:n,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new po(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new po([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=rn(r()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Ai={};G(Ai,{ClusteringHelper:()=>Oi,formatHierarchicalValues:()=>fo});var Ei={};G(Ei,{accessBreadcrumb:()=>gp,accessResult:()=>Ci,accessResultId:()=>hp,accessResultUrl:()=>mp});function Ci(t){var e,r,n,i;return(i=(n=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function hp(t){var e,r,n,i,a,s,l,d,p;return(d=(s=(i=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(n=t?.topic)===null||n===void 0?void 0:n.tocId)!==null&&i!==void 0?i:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.contentId}function mp(t){var e,r,n,i,a,s,l,d,p;return(d=(s=(i=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(n=t?.topic)===null||n===void 0?void 0:n.readerUrl)!==null&&i!==void 0?i:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.viewerUrl}function gp(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function fo(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Oi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,r,n){return e?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=Ci(e.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(a=>a.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(l=>{a.push(fo(l)),s.push(fo(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",i,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,y)=>y.findIndex(b=>b.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",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?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 p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===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 wi={};G(wi,{Debouncer:()=>Q});var Q=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),a=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var _i={};G(_i,{designSystemVariables:()=>w});var Li={};G(Li,{DesignSystemFamily:()=>ho,DesignSystemSize:()=>mo,FtCssVariableFactory:()=>o,badge:()=>_p,banner:()=>Lp,button:()=>xp,card:()=>vp,chart:()=>jp,checkbox:()=>Cp,chip:()=>wp,chipChoice:()=>Ap,chipGroup:()=>Rp,collapsible:()=>Wp,combobox:()=>zp,dateRangePicker:()=>Xp,drawer:()=>Fp,floatingMenu:()=>Hp,foundation:()=>c,link:()=>Tp,modal:()=>Dp,notice:()=>qp,notification:()=>Yp,pageDesigner:()=>Kp,pageFooter:()=>Pp,pageHeader:()=>Ip,pageLayout:()=>Np,popover:()=>Vp,radio:()=>Ep,reorderableList:()=>Mp,resolveFamilyClass:()=>Ri,resolveSizeClass:()=>Ti,semantic:()=>u,setVariable:()=>F,switch_:()=>Gp,table:()=>Op,tabs:()=>$p,textArea:()=>Bp,textInput:()=>Up,titleBreadcrumb:()=>kp,toggle:()=>Zp,tooltip:()=>Qp,treeList:()=>Sp,typographies:()=>yp,typographyBody1Medium:()=>rl,typographyBody1Regular:()=>tl,typographyBody1Semibold:()=>ol,typographyBody2Medium:()=>il,typographyBody2MediumUnderline:()=>al,typographyBody2Regular:()=>nl,typographyBody2Semibold:()=>sl,typographyCaption1Medium:()=>ll,typographyCaption1Semibold:()=>cl,typographyCaption2Bold:()=>pl,typographyCaption2Medium:()=>dl,typographyCaption2Semibold:()=>ul,typographyDisplay:()=>Qs,typographyTitle1:()=>Xs,typographyTitle2:()=>Js,typographyTitle3:()=>el,typographyVariants:()=>bp});var Tt=t=>typeof t=="string"?Gt(t):t,o=class{static create(e,r,n,i){let a=l=>Tt(l??i),s=T`var(${Tt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>F(s,l??a(i)),s.get=l=>T`var(${Tt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=T`var(${Tt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>F(s,l??a(i)),s.get=l=>T`var(${Tt(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.defaultCssValue(a),i=T`var(${Tt(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.set=a=>e.set(a),i.get=a=>T`var(${Tt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function F(t,e){return Tt(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},Qs={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Xs={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Js={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},el={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},tl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},rl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ol={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},nl={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},il={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},al={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},sl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ll={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},cl={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},dl={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ul={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},pl={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},yp={display:Qs,"title-1":Xs,"title-2":Js,"title-3":el,"body-1-regular":tl,"body-1-medium":rl,"body-1-semibold":ol,"body-2-regular":nl,"body-2-medium":il,"body-2-medium-underline":al,"body-2-semibold":sl,"caption-1-medium":ll,"caption-1-semibold":cl,"caption-2-medium":dl,"caption-2-semibold":ul,"caption-2-bold":pl},bp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var xp={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var vp={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Sp={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Cp={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Ep={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Op={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ap={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var wp={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Rp={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Tp={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Lp={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var _p={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var kp={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Ip={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Pp={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Np={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Dp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Mp={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize3),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Fp={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var $p={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Up={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Bp={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Hp={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var zp={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var Vp={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Wp={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Gp={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var jp={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Kp={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var qp={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Zp={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var Yp={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Qp={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Xp={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var ho;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ho||(ho={}));var mo;(function(t){t.large="large",t.medium="medium",t.small="small"})(mo||(mo={}));function Ri(t){return`ftds--family-${t}`}function Ti(t){return`ftds--size-${t}`}var w={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ki={};G(ki,{DynamicImporter:()=>an,dynamicImporter:()=>Jp});var an=class{async import(e){if(e)return import(e)}},Jp=new an;var Wi={};G(Wi,{computeOffsetAutoPosition:()=>Of,computeOffsetPosition:()=>Vi});var hl=["top","right","bottom","left"],fl=["start","end"],Pi=hl.reduce((t,e)=>t.concat(e,e+"-"+fl[0],e+"-"+fl[1]),[]),Qt=Math.min,lt=Math.max,go=Math.round;var ct=t=>({x:t,y:t}),ef={left:"right",right:"left",bottom:"top",top:"bottom"};function ml(t,e,r){return lt(t,Qt(e,r))}function Or(t,e){return typeof t=="function"?t(e):t}function Xt(t){return t.split("-")[0]}function dt(t){return t.split("-")[1]}function Ni(t){return t==="x"?"y":"x"}function Di(t){return t==="y"?"height":"width"}function Ar(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Mi(t){return Ni(Ar(t))}function gl(t,e,r){r===void 0&&(r=!1);let n=dt(t),i=Mi(t),a=Di(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ii(s)),[s,Ii(s)]}function yl(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ii(t){let e=Xt(t);return ef[e]+t.slice(e.length)}function tf(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function bl(t){return typeof t!="number"?tf(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function xl(t,e,r){let{reference:n,floating:i}=t,a=Ar(e),s=Mi(e),l=Di(s),d=Xt(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,y;switch(d){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:f};break;case"left":y={x:n.x-i.width,y:f};break;default:y={x:n.x,y:n.y}}let b=dt(e);return b&&(y[s]+=m*(b==="end"?1:-1)*(r&&p?-1:1)),y}async function vl(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:y=0}=Or(e,t),b=bl(y),C=l[m?f==="floating"?"reference":"floating":f],A=Jt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(C)))==null||r?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),k=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},E=Jt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:v,strategy:d}):k);return{top:(A.top-E.top+b.top)/x.y,bottom:(E.bottom-A.bottom+b.bottom)/x.y,left:(A.left-E.left+b.left)/x.x,right:(E.right-A.right+b.right)/x.x}}var rf=50,Sl=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:vl},d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=xl(p,n,d),m=n,y=0,b={};for(let S=0;S<a.length;S++){let C=a[S];if(!C)continue;let{name:A,fn:k}=C,{x:v,y:x,data:E,reset:I}=await k({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:b,rects:p,platform:l,elements:{reference:t,floating:e}});h=v??h,f=x??f,b[A]={...b[A],...E},I&&y<rf&&(y++,typeof I=="object"&&(I.placement&&(m=I.placement),I.rects&&(p=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):I.rects),{x:h,y:f}=xl(p,m,d)),S=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:b}};function of(t,e,r){return(t?[...r.filter(i=>dt(i)===t),...r.filter(i=>dt(i)!==t)]:r.filter(i=>Xt(i)===i)).filter(i=>t?dt(i)===t||(e?yl(i)!==i:!1):!0)}var Cl=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Pi,autoAlignment:y=!0,...b}=Or(t,e),S=f!==void 0||m===Pi?of(f||null,y,m):m,C=((r=s.autoPlacement)==null?void 0:r.index)||0,A=S[C];if(A==null)return{};if(l!==A)return{reset:{placement:S[0]}};let k=await d.detectOverflow(e,b),v=gl(A,a,await(d.isRTL==null?void 0:d.isRTL(p.floating))),x=[k[Xt(A)],k[v[0]],k[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:x}],I=S[C+1];if(I)return{data:{index:C+1,overflows:E},reset:{placement:I}};let j=E.map(_=>{let N=dt(_.placement);return[_.placement,N&&h?_.overflows.slice(0,2).reduce((W,Se)=>W+Se,0):_.overflows[0],_.overflows]}).sort((_,N)=>_[1]-N[1]),H=((i=j.filter(_=>_[2].slice(0,dt(_[0])?2:3).every(N=>N<=0))[0])==null?void 0:i[0])||j[0][0];return H!==l?{data:{index:C+1,overflows:E},reset:{placement:H}}:{}}}};var nf=new Set(["left","top"]);async function af(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Xt(r),l=dt(r),d=Ar(r)==="y",p=nf.has(s)?-1:1,h=a&&d?-1:1,f=Or(e,t),{mainAxis:m,crossAxis:y,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof b=="number"&&(y=l==="end"?b*-1:b),d?{x:y*h,y:m*p}:{x:m*p,y:y*h}}var El=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:l}=e,d=await af(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Ol=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:k=>{let{x:v,y:x}=k;return{x:v,y:x}}},...p}=Or(t,e),h={x:r,y:n},f=await a.detectOverflow(e,p),m=Ar(i),y=Ni(m),b=h[y],S=h[m],C=(k,v)=>ml(v+f[k==="y"?"top":"left"],v,v-f[k==="y"?"bottom":"right"]);s&&(b=C(y,b)),l&&(S=C(m,S));let A=d.fn({...e,[y]:b,[m]:S});return{...A,data:{x:A.x-r,y:A.y-n,enabled:{[y]:s,[m]:l}}}}}};var Al=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=()=>{},...l}=Or(t,e),d=await i.detectOverflow(e,l),p=Xt(r),h=dt(r),f=Ar(r)==="y",{width:m,height:y}=n.floating,b,S;p==="top"||p==="bottom"?(b=p,S=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(S=p,b=h==="end"?"top":"bottom");let C=y-d.top-d.bottom,A=m-d.left-d.right,k=Qt(y-d[b],C),v=Qt(m-d[S],A),x=e.middlewareData.shift,E=!x,I=k,j=v;x!=null&&x.enabled.x&&(j=A),x!=null&&x.enabled.y&&(I=C),E&&!h&&(f?j=m-2*lt(d.left,d.right):I=y-2*lt(d.top,d.bottom)),await s({...e,availableWidth:j,availableHeight:I});let B=await i.getDimensions(a.floating);return m!==B.width||y!==B.height?{reset:{rects:!0}}:{}}}};function ln(){return typeof window<"u"}function tr(t){return Rl(t)?(t.nodeName||"").toLowerCase():"#document"}function Le(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(Rl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Rl(t){return ln()?t instanceof Node||t instanceof Le(t).Node:!1}function qe(t){return ln()?t instanceof Element||t instanceof Le(t).Element:!1}function vt(t){return ln()?t instanceof HTMLElement||t instanceof Le(t).HTMLElement:!1}function wl(t){return!ln()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Le(t).ShadowRoot}function yo(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Ze(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function Tl(t){return/^(table|td|th)$/.test(tr(t))}function bo(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var sf=/transform|translate|scale|rotate|perspective|filter/,lf=/paint|layout|strict|content/,er=t=>!!t&&t!=="none",Fi;function wr(t){let e=qe(t)?Ze(t):t;return er(e.transform)||er(e.translate)||er(e.scale)||er(e.rotate)||er(e.perspective)||!cn()&&(er(e.backdropFilter)||er(e.filter))||sf.test(e.willChange||"")||lf.test(e.contain||"")}function Ll(t){let e=Lt(t);for(;vt(e)&&!Rr(e);){if(wr(e))return e;if(bo(e))return null;e=Lt(e)}return null}function cn(){return Fi==null&&(Fi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fi}function Rr(t){return/^(html|body|#document)$/.test(tr(t))}function Ze(t){return Le(t).getComputedStyle(t)}function xo(t){return qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Lt(t){if(tr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||wl(t)&&t.host||xt(t);return wl(e)?e.host:e}function _l(t){let e=Lt(t);return Rr(e)?(t.ownerDocument||t).body:vt(e)&&yo(e)?e:_l(e)}function sn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=_l(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Le(i);if(a){let l=dn(s);return e.concat(s,s.visualViewport||[],yo(i)?i:[],l&&r?sn(l):[])}else return e.concat(i,sn(i,[],r))}function dn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Pl(t){let e=Ze(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=vt(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=go(r)!==a||go(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Nl(t){return qe(t)?t:t.contextElement}function Tr(t){let e=Nl(t);if(!vt(e))return ct(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Pl(e),s=(a?go(r.width):r.width)/n,l=(a?go(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var cf=ct(0);function Dl(t){let e=Le(t);return!cn()||!e.visualViewport?cf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function df(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Le(t)}function vo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Nl(t),s=ct(1);e&&(n?qe(n)&&(s=Tr(n)):s=Tr(t));let l=df(a,r,n)?Dl(a):ct(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let m=Le(a),y=qe(n)?Le(n):n,b=m,S=dn(b);for(;S&&y!==b;){let C=Tr(S),A=S.getBoundingClientRect(),k=Ze(S),v=A.left+(S.clientLeft+parseFloat(k.paddingLeft))*C.x,x=A.top+(S.clientTop+parseFloat(k.paddingTop))*C.y;d*=C.x,p*=C.y,h*=C.x,f*=C.y,d+=v,p+=x,b=Le(S),S=dn(b)}}return Jt({width:h,height:f,x:d,y:p})}function un(t,e){let r=xo(t).scrollLeft;return e?e.left+r:vo(xt(t)).left+r}function Ml(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-un(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function uf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,a=i==="fixed",s=xt(n),l=e?bo(e.floating):!1;if(n===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},p=ct(1),h=ct(0),f=vt(n);if((f||!a)&&((tr(n)!=="body"||yo(s))&&(d=xo(n)),f)){let y=vo(n);p=Tr(n),h.x=y.x+n.clientLeft,h.y=y.y+n.clientTop}let m=s&&!f&&!a?Ml(s,d):ct(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+h.x+m.x,y:r.y*p.y-d.scrollTop*p.y+h.y+m.y}}function pf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function ff(t){let e=xo(t),r=t.ownerDocument.body,n=lt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=lt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-e.scrollLeft+un(t),s=-e.scrollTop;return Ze(r).direction==="rtl"&&(a+=lt(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}var hf=25;function mf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Le(t),a=xt(t),s=i.visualViewport,l=a.clientWidth,d=a.clientHeight,p=0,h=0;if(s){let m=!cn()||e==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,d=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(un(a)<=0){let m=a.ownerDocument,y=m.body,b=getComputedStyle(y),S=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,C=Math.abs(a.clientWidth-y.clientWidth-S),A=getComputedStyle(a).scrollbarGutter==="stable both-edges"?C/2:C;A<=hf&&(l-=A)}return{width:l,height:d,x:p,y:h}}function gf(t,e){let r=vo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Tr(t),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function kl(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=mf(t,r,e);else if(e==="document")n=ff(xt(t));else if(qe(e))n=gf(e,r);else{let i=Dl(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Jt(n)}function yf(t,e){let r=e.get(t);if(r)return r;let n=sn(t,[],!1).filter(l=>qe(l)&&tr(l)!=="body"),i=null,a=Ze(t).position==="fixed",s=a?Lt(t):t;for(;qe(s)&&!Rr(s);){let l=Ze(s),d=wr(s),p=i?i.position:a?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=Lt(s)}return e.set(t,n),n}function bf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?bo(e)?[]:yf(e,this._c):[].concat(r),n],l=kl(e,s[0],i),d=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let y=kl(e,s[m],i);d=lt(y.top,d),p=Qt(y.right,p),h=Qt(y.bottom,h),f=lt(y.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function xf(t){let{width:e,height:r}=Pl(t);return{width:e,height:r}}function vf(t,e,r){let n=vt(e),i=xt(e),a=r==="fixed",s=vo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=ct(0);if((n||!a)&&((tr(e)!=="body"||yo(i))&&(l=xo(e)),n)){let m=vo(e,!0,a,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=un(i));let p=i&&!n&&!a?Ml(i,l):ct(0),h=s.left+l.scrollLeft-d.x-p.x,f=s.top+l.scrollTop-d.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function $i(t){return Ze(t).position==="static"}function Il(t,e){if(!vt(t)||Ze(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return xt(t)===r&&(r=r.ownerDocument.body),r}function Fl(t,e){let r=Le(t);if(bo(t))return r;if(!vt(t)){let i=Lt(t);for(;i&&!Rr(i);){if(qe(i)&&!$i(i))return i;i=Lt(i)}return r}let n=Il(t,e);for(;n&&Tl(n)&&$i(n);)n=Il(n,e);return n&&Rr(n)&&$i(n)&&!wr(n)?r:n||Ll(t)||r}var Sf=async function(t){let e=this.getOffsetParent||Fl,r=this.getDimensions,n=await r(t.floating);return{reference:vf(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Cf(t){return Ze(t).direction==="rtl"}var Lr={convertOffsetParentRelativeRectToViewportRelativeRect:uf,getDocumentElement:xt,getClippingRect:bf,getOffsetParent:Fl,getElementRects:Sf,getClientRects:pf,getDimensions:xf,getScale:Tr,isElement:qe,isRTL:Cf};var $l=El,Ui=Cl,Ul=Ol;var Bl=Al;var Bi=(t,e,r)=>{let n=new Map,i=r??{},a={...Lr,...i.platform,_c:n};return Sl(t,e,{...i,platform:a})};function zi(t){return Ef(t)}function Hi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ef(t){for(let e=t;e;e=Hi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Hi(t);e;e=Hi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||wr(r)||e.tagName==="BODY"))return e}return null}async function Vi(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},Bi(t,e,{strategy:n.strategy,platform:{...Lr,getOffsetParent:i=>Lr.getOffsetParent(i,zi)},middleware:[Ul({crossAxis:!0}),Ui({allowedPlacements:[n.placement]})]})}async function Of(t,e,r,n,i,a,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,i=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,Bi(t,e,{placement:l,strategy:i,platform:{...Lr,getOffsetParent:p=>Lr.getOffsetParent(p,zi)},middleware:[$l(s??4),Ui({allowedPlacements:n}),Bl({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Gi={};G(Gi,{isSlotEmptyOrWithoutContent:()=>Af});var Af=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var Qi={};G(Qi,{FtdsBase:()=>Yi,toFtdsBase:()=>Kl});var Zi={};G(Zi,{ExportpartsUpdatedEvent:()=>rr,FtLitElement:()=>$});var ji={};G(ji,{ScopedRegistryLitElement:()=>So});var So=class extends ot{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return to(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){lo(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var qi={};G(qi,{shadowQuerySelector:()=>Ki,shadowQuerySelectorAll:()=>pn});function Ki(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 pn(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var _r=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Wl,Hl=Symbol("constructorPrototype"),zl=Symbol("constructorName"),Gl=Symbol("exportpartsDebouncer"),Vl=Symbol("dynamicDependenciesLoaded"),rr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};rr.eventName="exportparts-updated";var $=class extends So{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Wl]=new Q(5),this.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[Gl].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)})},this[zl]=this.constructor.name,this[Hl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zl]&&Object.setPrototypeOf(this,this[Hl])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Vl]||(r[Vl]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(rr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(rr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new rr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];r=Ki(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}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)}}setExportpartsAttribute(e){var r,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;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 y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[],S=[...y,...b].filter(d).map(C=>C.trim());for(let C of S)h.add(C)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(y=>`${m}:${y}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Wl=Gl;_r([g()],$.prototype,"exportpartsPrefix",void 0);_r([ie([])],$.prototype,"exportpartsPrefixes",void 0);_r([g({reflect:!0})],$.prototype,"exportparts",void 0);_r([g()],$.prototype,"customStylesheet",void 0);_r([g()],$.prototype,"elementToFocus",void 0);_r([D()],$.prototype,"useAdoptedStyleSheets",void 0);var jl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kl=ce(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=mo.medium,this.family=ho.neutral}getDesignSystemBaseClasses(){return{[Ri(this.family)]:!0,[Ti(this.size)]:!0}}}return jl([g()],e.prototype,"size",void 0),jl([g()],e.prototype,"family",void 0),e}),Yi=class extends Kl($){};var ql={};var ea={};G(ea,{highlightHtml:()=>Ji,highlightHtmlColorCssVariable:()=>Zl,highlightHtmlStyles:()=>Rf});var or=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(l++,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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,y=>d.push(y),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Co=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 or(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${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(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;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 or.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let p=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,p,h),e.value=f+m,e.nodes.forEach((y,b)=>{b>=l&&(e.nodes[b].start>0&&b!==l&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>r(m,l,a.value.substring(p,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(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=or.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Xi(t){let e=new Co(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 wf=Xi,Zl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rf=T`
1
+ "use strict";(()=>{var op=Object.defineProperty;var G=(t,e)=>{for(var r in e)op(t,r,{get:e[r],enumerable:!0})};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(g,b){if(g=g.toLowerCase(),this._getDefinition(g)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${g}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let v=b.prototype.attributeChangedCallback,I=new Set(b.observedAttributes||[]);y(b,I,v);let P={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(g,P),this._definitionsByClass.set(b,P);let k=r.call(n,g);k||(k=f(g),e.call(n,g,k)),this===window.customElements&&(s.set(b,P),P.standInClass=k);let W=this._awaitingUpgrade.get(g);if(W){this._awaitingUpgrade.delete(g);for(let F of W)a.delete(F),S(F,P,!0)}let L=this._whenDefinedPromises.get(g);return L!==void 0&&(L.resolve(b),this._whenDefinedPromises.delete(g)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(g){return this._definitionsByTag.get(g)?.elementClass}_getDefinition(g){return this._definitionsByTag.get(g)}whenDefined(g){let b=this._getDefinition(g);if(b!==void 0)return Promise.resolve(b.elementClass);let v=this._whenDefinedPromises.get(g);return v===void 0&&(v={},v.promise=new Promise(I=>v.resolve=I),this._whenDefinedPromises.set(g,v)),v.promise}_upgradeWhenDefined(g,b,v){let I=this._awaitingUpgrade.get(b);I||this._awaitingUpgrade.set(b,I=new Set),v?I.add(g):I.delete(g)}};let d;window.HTMLElement=function(){let b=d;if(b)return d=void 0,b;let v=s.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,v),b},window.HTMLElement.prototype=t.prototype;let p=g=>g===document||g instanceof ShadowRoot,h=g=>{let b=g.getRootNode();if(!p(b)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;b=v.getRootNode(),p(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},f=g=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let I=h(v)||window.customElements,P=I._getDefinition(g);return P?S(v,P):a.set(v,I),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let v=i.get(this);v&&v.formAssociated&&v?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let v=i.get(this);v?.formAssociated&&v?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let v=i.get(this);v?.formAssociated&&v?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let v=i.get(this);v?.formAssociated&&v?.formStateRestoreCallback?.apply(this,arguments)}},y=(g,b,v)=>{if(b.size===0||v===void 0)return;let I=g.prototype.setAttribute;I&&(g.prototype.setAttribute=function(W,L){let F=W.toLowerCase();if(b.has(F)){let J=this.getAttribute(F);I.call(this,F,L),v.call(this,F,J,L)}else I.call(this,F,L)});let P=g.prototype.removeAttribute;P&&(g.prototype.removeAttribute=function(W){let L=W.toLowerCase();if(b.has(L)){let F=this.getAttribute(L);P.call(this,L),v.call(this,L,F,null)}else P.call(this,L)});let k=g.prototype.toggleAttribute;k&&(g.prototype.toggleAttribute=function(W,L){let F=W.toLowerCase();if(b.has(F)){let J=this.getAttribute(F);k.call(this,F,L);let tt=this.getAttribute(F);v.call(this,F,J,tt)}else k.call(this,F,L)})},x=g=>{let b=Object.getPrototypeOf(g);if(b!==window.HTMLElement)return b===t?Object.setPrototypeOf(g,window.HTMLElement):x(b)},S=(g,b,v=!1)=>{Object.setPrototypeOf(g,b.elementClass.prototype),i.set(g,b),d=g;try{new b.elementClass}catch{x(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(I=>{g.hasAttribute(I)&&b.attributeChangedCallback.call(g,I,null,g.getAttribute(I))}),v&&b.connectedCallback&&g.isConnected&&b.connectedCallback.call(g)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let b=R.apply(this,arguments);return g.customElements&&(b.customElements=g.customElements),b};let E=[document],T=(g,b,v=void 0)=>{let I=(v?Object.getPrototypeOf(v):g.prototype)[b];g.prototype[b]=function(){E.push(this);let P=I.apply(v||this,arguments);return P!==void 0&&c.set(P,this),E.pop(),P}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let V=(g,b)=>{let v=Object.getOwnPropertyDescriptor(g.prototype,b);Object.defineProperty(g.prototype,b,{...v,set(I){E.push(this),v.set.call(this,I),E.pop()}})};if(V(Element,"innerHTML"),V(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let g=new WeakMap,b=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let L=b.call(this,...W);return g.set(L,this),L},v.forEach(W=>{let L=window.ElementInternals.prototype,F=L[W];L[W]=function(...J){let tt=g.get(this);if(i.get(tt).formAssociated===!0)return F?.call(this,...J);throw new DOMException(`Failed to execute ${F} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(L){super(...L),this._elements=L}get value(){return this._elements.find(L=>L.checked===!0)?.value||""}}class P{constructor(L){let F=new Map;L.forEach((J,tt)=>{let ni=J.getAttribute("name"),Ps=F.get(ni)||[];this[+tt]=J,Ps.push(J),F.set(ni,Ps)}),this.length=L.length,F.forEach((J,tt)=>{J&&(J.length===1?this[tt]=J[0]:this[tt]=new I(J))})}namedItem(L){return this[L]}}let k=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=k.get.call(this,[]),L=[];for(let F of W){let J=i.get(F);(!J||J.formAssociated===!0)&&L.push(F)}return new P(L)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var a;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,s)}}}var gi={};G(gi,{CSSResult:()=>mr,LitElement:()=>rt,ReactiveElement:()=>He,_$LE:()=>qs,_$LH:()=>hi,adoptStyles:()=>qr,css:()=>A,defaultConverter:()=>yr,getCompatibleStyle:()=>Vo,html:()=>C,isServer:()=>Fm,mathml:()=>fi,noChange:()=>se,notEqual:()=>Yr,nothing:()=>N,render:()=>mi,supportsAdoptingStyleSheets:()=>Kr,svg:()=>pi,unsafeCSS:()=>Vt});var Ho=globalThis,Kr=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ii=Symbol(),Ns=new WeakMap,mr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ii)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(Kr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ns.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ns.set(r,e))}return e}toString(){return this.cssText}},Vt=t=>new mr(typeof t=="string"?t:t+"",void 0,ii),A=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new mr(r,t,ii)},qr=(t,e)=>{if(Kr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ho.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Vo=Kr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Vt(r)})(t):t;var{is:np,defineProperty:ip,getOwnPropertyDescriptor:ap,getOwnPropertyNames:sp,getOwnPropertySymbols:lp,getPrototypeOf:cp}=Object,Wo=globalThis,Ds=Wo.trustedTypes,dp=Ds?Ds.emptyScript:"",up=Wo.reactiveElementPolyfillSupport,Zr=(t,e)=>t,yr={toAttribute(t,e){switch(e){case Boolean:t=t?dp: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}},Yr=(t,e)=>!np(t,e),Ms={attribute:!0,type:String,converter:yr,reflect:!1,useDefault:!1,hasChanged:Yr};Symbol.metadata??=Symbol("metadata"),Wo.litPropertyMetadata??=new WeakMap;var He=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=Ms){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&ip(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=ap(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,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)??Ms}static _$Ei(){if(this.hasOwnProperty(Zr("elementProperties")))return;let e=cp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Zr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zr("properties"))){let r=this.properties,n=[...sp(r),...lp(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(Vo(i))}else e!==void 0&&r.push(Vo(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._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let 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 qr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(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:yr).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:yr;this._$Em=i;let c=s.fromAttribute(r,a.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){let s=this.constructor;if(i===!1&&(a=this[e]),n??=s.getPropertyOptions(e),!((n.hasChanged??Yr)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[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){let{wrapped:s}=a,c=this[i];s!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,a,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};He.elementStyles=[],He.shadowRootOptions={mode:"open"},He[Zr("elementProperties")]=new Map,He[Zr("finalized")]=new Map,up?.({ReactiveElement:He}),(Wo.reactiveElementVersions??=[]).push("2.1.2");var si=globalThis,Fs=t=>t,Go=si.trustedTypes,$s=Go?Go.createPolicy("lit-html",{createHTML:t=>t}):void 0,li="$lit$",yt=`lit$${Math.random().toFixed(9).slice(2)}$`,ci="?"+yt,pp=`<${ci}>`,jt=document,Xr=()=>jt.createComment(""),Jr=t=>t===null||typeof t!="object"&&typeof t!="function",di=Array.isArray,Ws=t=>di(t)||typeof t?.[Symbol.iterator]=="function",ai=`[
2
+ \f\r]`,Qr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Us=/-->/g,Bs=/>/g,Wt=RegExp(`>|${ai}(?:([^\\s"'>=/]+)(${ai}*=${ai}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),zs=/'/g,Hs=/"/g,Gs=/^(?:script|style|textarea|title)$/i,ui=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=ui(1),pi=ui(2),fi=ui(3),se=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Vs=new WeakMap,Gt=jt.createTreeWalker(jt,129);function js(t,e){if(!di(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $s!==void 0?$s.createHTML(e):e}var Ks=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Qr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===Qr?h[1]==="!--"?s=Us:h[1]!==void 0?s=Bs:h[2]!==void 0?(Gs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Wt):h[3]!==void 0&&(s=Wt):s===Wt?h[0]===">"?(s=i??Qr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Wt:h[3]==='"'?Hs:zs):s===Hs||s===zs?s=Wt:s===Us||s===Bs?s=Qr:(s=Wt,i=void 0);let x=s===Wt&&t[c+1].startsWith("/>")?" ":"";a+=s===Qr?d+pp:f>=0?(n.push(p),d.slice(0,f)+li+d.slice(f)+yt+x):d+yt+(f===-2?c:x)}return[js(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},eo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[p,h]=Ks(e,r);if(this.el=t.createElement(p,n),Gt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Gt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(li)){let y=h[s++],x=i.getAttribute(f).split(yt),S=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?Ko:S[1]==="?"?qo:S[1]==="@"?Zo:qt}),i.removeAttribute(f)}else f.startsWith(yt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Gs.test(i.tagName)){let f=i.textContent.split(yt),y=f.length-1;if(y>0){i.textContent=Go?Go.emptyScript:"";for(let x=0;x<y;x++)i.append(f[x],Xr()),Gt.nextNode(),d.push({type:2,index:++a});i.append(f[y],Xr())}}}else if(i.nodeType===8)if(i.data===ci)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(yt,f+1))!==-1;)d.push({type:7,index:a}),f+=yt.length-1}a++}}static createElement(e,r){let n=jt.createElement("template");return n.innerHTML=e,n}};function Kt(t,e,r=t,n){if(e===se)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Jr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Kt(t,i._$AS(t,e.values),i,n)),e}var jo=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??jt).importNode(r,!0);Gt.currentNode=i;let a=Gt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new gr(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Yo(a,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=Gt.nextNode(),s++)}return Gt.currentNode=jt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},gr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Kt(this,e,r),Jr(e)?e===N||e==null||e===""?(this._$AH!==N&&this._$AR(),this._$AH=N):e!==this._$AH&&e!==se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ws(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==N&&Jr(this._$AH)?this._$AA.nextSibling.data=e:this.T(jt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=eo.createElement(js(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new jo(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Vs.get(e.strings);return r===void 0&&Vs.set(e.strings,r=new eo(e)),r}k(e){di(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.O(Xr()),this.O(Xr()),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!==this._$AB;){let n=Fs(e).nextSibling;Fs(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=N,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=N}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Kt(this,e,r,0),s=!Jr(e)||e!==this._$AH&&e!==se,s&&(this._$AH=e);else{let c=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=Kt(this,c[n+d],r,d),p===se&&(p=this._$AH[d]),s||=!Jr(p)||p!==this._$AH[d],p===N?e=N:e!==N&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.j(e)}j(e){e===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ko=class extends qt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===N?void 0:e}},qo=class extends qt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==N)}},Zo=class extends qt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Kt(this,e,r,0)??N)===se)return;let n=this._$AH,i=e===N&&n!==N||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==N&&(n===N||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)}},Yo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Kt(this,e)}},hi={M:li,P:yt,A:ci,C:1,L:Ks,R:jo,D:Ws,V:Kt,I:gr,H:qt,N:qo,U:Zo,B:Ko,F:Yo},fp=si.litHtmlPolyfillSupport;fp?.(eo,gr),(si.litHtmlVersions??=[]).push("3.3.3");var mi=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new gr(e.insertBefore(Xr(),a),a,void 0,r??{})}return i._$AI(t),i};var yi=globalThis,rt=class extends He{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=mi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};rt._$litElement$=!0,rt.finalized=!0,yi.litElementHydrateSupport?.({LitElement:rt});var hp=yi.litElementPolyfillSupport;hp?.({LitElement:rt});var qs={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(yi.litElementVersions??=[]).push("4.2.2");var Fm=!1;var Si={};G(Si,{customElement:()=>mp,eventOptions:()=>gp,property:()=>m,query:()=>H,queryAll:()=>bi,queryAssignedElements:()=>xi,queryAssignedNodes:()=>vi,queryAsync:()=>xp,standardProperty:()=>Zs,state:()=>D});var mp=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var yp={attribute:!0,type:String,converter:yr,reflect:!1,hasChanged:Yr},Zs=(t=yp,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),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,!0,c)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function m(t){return(e,r)=>typeof r=="object"?Zs(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function D(t){return m({...t,state:!0,attribute:!1})}function gp(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var je=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function H(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(p){this[d]=p}}})();return je(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 je(r,n,{get(){return a(this)}})}}var bp;function bi(t){return(e,r)=>je(e,r,{get(){return(this.renderRoot??(bp??=document.createDocumentFragment())).querySelectorAll(t)}})}function xp(t){return(e,r)=>je(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function xi(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function vi(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Ei={};G(Ei,{repeat:()=>nt});var ot={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ne=t=>(...e)=>({_$litDirective$:t,values:e}),Ve=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{I:vp}=hi,Ys=t=>t;var Xs=t=>t.strings===void 0,Qs=()=>document.createComment(""),br=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Qs(),i),s=n.insertBefore(Qs(),i);r=new vp(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 p=Ys(d).nextSibling;Ys(n).insertBefore(d,i),d=p}}}return r},At=(t,e,r=t)=>(t._$AI(e,r),t),Sp={},Js=(t,e=Sp)=>t._$AH=e,el=t=>t._$AH,Qo=t=>{t._$AR(),t._$AA.remove()};var tl=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},nt=Ne(class extends Ve{constructor(t){if(super(t),t.type!==ot.CHILD)throw Error("repeat() can only be used in text expressions")}dt(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.dt(t,e,r).values}update(t,[e,r,n]){let i=el(t),{values:a,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,a;let c=this.ut??=[],d=[],p,h,f=0,y=i.length-1,x=0,S=a.length-1;for(;f<=y&&x<=S;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(c[f]===s[x])d[x]=At(i[f],a[x]),f++,x++;else if(c[y]===s[S])d[S]=At(i[y],a[S]),y--,S--;else if(c[f]===s[S])d[S]=At(i[f],a[S]),br(t,d[S+1],i[f]),f++,S--;else if(c[y]===s[x])d[x]=At(i[y],a[x]),br(t,i[f],i[y]),y--,x++;else if(p===void 0&&(p=tl(s,x,S),h=tl(c,f,y)),p.has(c[f]))if(p.has(c[y])){let R=h.get(s[x]),E=R!==void 0?i[R]:null;if(E===null){let T=br(t,i[f]);At(T,a[x]),d[x]=T}else d[x]=At(E,a[x]),br(t,i[f],E),i[R]=null;x++}else Qo(i[y]),y--;else Qo(i[f]),f++;for(;x<=S;){let R=br(t,d[S+1]);At(R,a[x]),d[x++]=R}for(;f<=y;){let R=i[f++];R!==null&&Qo(R)}return this.ut=s,Js(t,d),se}});var Ci={};G(Ci,{classMap:()=>we});var we=Ne(class extends Ve{constructor(t){if(super(t),t.type!==ot.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return se}});var Oi={};G(Oi,{styleMap:()=>Cp});var rl="important",Ep=" !"+rl,Cp=Ne(class extends Ve{constructor(t){if(super(t),t.type!==ot.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.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Ep);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?rl:""):r[n]=i}}return se}});var Ai={};G(Ai,{UnsafeHTMLDirective:()=>xr,unsafeHTML:()=>wi});var xr=class extends Ve{constructor(e){if(super(e),this.it=N,e.type!==ot.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===N||e==null)return this._t=void 0,this.it=e;if(e===se)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};xr.directiveName="unsafeHTML",xr.resultType=1;var wi=Ne(xr);var Di={};G(Di,{CacheRegistry:()=>at,ClearCacheEvent:()=>no});var Ri={};G(Ri,{CancelablePromise:()=>Xo,CanceledPromiseError:()=>Rt,cancelable:()=>Jo});var Rt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Xo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Rt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Rt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Jo=t=>new Xo((e,r)=>t.then(e).catch(r));var Ni={};G(Ni,{FtNotificationEvent:()=>oo,PostResizeEvent:()=>Pi,PreResizeEvent:()=>Ii,WithEventBus:()=>bt,withEventBus:()=>rn});var ki={};G(ki,{applyMixinOnce:()=>le,customElements:()=>j,dateReviver:()=>Rp,deepCopy:()=>We,deepEqual:()=>fe,delay:()=>en,eventPathContainsMatchingElement:()=>Ti,everyDeep:()=>Ap,flatDeep:()=>gt,forEachDeep:()=>il,getComposedPathTo:()=>Li,hasChanged:()=>De,ignoreComposingEvents:()=>kp,last:()=>Tp,minmax:()=>_t,parseDate:()=>sl,randomId:()=>Lp,someDeep:()=>al,unslotText:()=>tn,waitFor:()=>nl,waitUntil:()=>ro});var _i={};G(_i,{customElement:()=>to,dateProperty:()=>wp,isNumber:()=>ol,jsonProperty:()=>ne,numberProperty:()=>it,optionalNumberProperty:()=>Op});var to=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ne(t,e){return m({type:Object,converter:{fromAttribute:r=>{if(r==null)return We(t);try{return JSON.parse(r)}catch{return We(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:De,...e??{}})}function Op(t){return it(t)}function it(t){return m({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(n=t?.max)!==null&&n!==void 0?n:1/0;return ol(e)?_t(i,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function ol(t){return!isNaN(parseFloat(t))}function wp(t){return m({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var en=t=>new Promise(e=>setTimeout(e,t));async function ro(t,e=10,r=2e4){await nl(async()=>await t()||void 0,e,r)}async function nl(t,e=10,r=2e4){let n=await t(),i=performance.now(),a=i;for(;n==null&&(!r||a-i<r);)await en(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gt(t,e){return t.flatMap(r=>[r,...gt(e(r),e)])}function il(t,e,r){let n=(i,a)=>{var s;for(let c=0;c<i.length;c++){let d=i[c];if(!(((s=r(d,c,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function al(t,e,r){let n=!1;return il(t,e,(i,a,s,c)=>(n=!!r(i,a,s,c),!n)),n}function Ap(t,e,r){return!al(t,e,(n,i,a,s)=>!r(n,i,a,s))}function Rp(...t){return(e,r)=>t.includes(e)?sl(r):r}function sl(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 _p(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!fe(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(!fe(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 i=s=>Object.keys(s).filter(c=>s[c]!=null),a=i(t);if(r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!fe(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function fe(t,e){try{return _p(t,e)}catch{return!1}}function De(t,e){return!fe(t,e)}function Ti(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 _t(t,e,r){return Math.min(Math.max(t,e),r)}function Tp(t){return t[t.length-1]}function tn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>tn(e)).join(""):t?.textContent||""}function Li(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}function We(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Lp(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function le(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}function kp(){return function(t,e,r){let n=r.value;r.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function j(t){for(let[e,r]of Object.entries(t))to(e)(r)}var oo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ii=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Pi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},rn=le(Symbol("withEventBus"),function(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)}}}),bt=class extends rn(Object){};var no=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},at=class extends bt{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:r,final:n,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new no(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new no([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=Jo(r()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Ui={};G(Ui,{ClusteringHelper:()=>$i,formatHierarchicalValues:()=>io});var Fi={};G(Fi,{accessBreadcrumb:()=>Np,accessResult:()=>Mi,accessResultId:()=>Ip,accessResultUrl:()=>Pp});function Mi(t){var e,r,n,i;return(i=(n=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function Ip(t){var e,r,n,i,a,s,c,d,p;return(d=(s=(i=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(n=t?.topic)===null||n===void 0?void 0:n.tocId)!==null&&i!==void 0?i:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.contentId}function Pp(t){var e,r,n,i,a,s,c,d,p;return(d=(s=(i=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(n=t?.topic)===null||n===void 0?void 0:n.readerUrl)!==null&&i!==void 0?i:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(p=t?.htmlPackagePage)===null||p===void 0?void 0:p.viewerUrl}function Np(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function io(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var $i=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,r,n){return e?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=Mi(e.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(a=>a.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(io(c)),s.push(io(c,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(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}),p=(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:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,y,x)=>x.findIndex(S=>S.value===f.value)===y).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,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 p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.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 p=this.countMatchingMetadata(d,a);if(p>c&&(c=p,s=d,p===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 Bi={};G(Bi,{Debouncer:()=>Y});var Y=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 Wi={};G(Wi,{designSystemVariables:()=>O});var Vi={};G(Vi,{DesignSystemFamily:()=>ao,DesignSystemSize:()=>so,FtCssVariableFactory:()=>o,badge:()=>qp,banner:()=>Kp,button:()=>Fp,card:()=>$p,chart:()=>uf,checkbox:()=>Bp,chip:()=>Wp,chipChoice:()=>Vp,chipGroup:()=>Gp,collapsible:()=>cf,combobox:()=>sf,dateRangePicker:()=>gf,drawer:()=>tf,floatingMenu:()=>af,foundation:()=>l,link:()=>jp,modal:()=>Jp,notice:()=>ff,notification:()=>mf,pageDesigner:()=>pf,pageFooter:()=>Qp,pageHeader:()=>Yp,pageLayout:()=>Xp,popover:()=>lf,radio:()=>zp,reorderableList:()=>ef,resolveFamilyClass:()=>zi,resolveSizeClass:()=>Hi,semantic:()=>u,setVariable:()=>$,switch_:()=>df,table:()=>Hp,tabs:()=>rf,textArea:()=>nf,textInput:()=>of,titleBreadcrumb:()=>Zp,toggle:()=>hf,tooltip:()=>yf,treeList:()=>Up,typographies:()=>Dp,typographyBody1Medium:()=>fl,typographyBody1Regular:()=>pl,typographyBody1Semibold:()=>hl,typographyBody2Medium:()=>yl,typographyBody2MediumUnderline:()=>gl,typographyBody2Regular:()=>ml,typographyBody2Semibold:()=>bl,typographyCaption1Medium:()=>xl,typographyCaption1Semibold:()=>vl,typographyCaption2Bold:()=>Cl,typographyCaption2Medium:()=>Sl,typographyCaption2Semibold:()=>El,typographyDisplay:()=>ll,typographyTitle1:()=>cl,typographyTitle2:()=>dl,typographyTitle3:()=>ul,typographyVariants:()=>Mp});var Tt=t=>typeof t=="string"?Vt(t):t,o=class{static create(e,r,n,i){let a=c=>Tt(c??i),s=A`var(${Tt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>$(s,c??a(i)),s.get=c=>A`var(${Tt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=A`var(${Tt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>$(s,c??a(i)),s.get=c=>A`var(${Tt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.defaultCssValue(a),i=A`var(${Tt(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.set=a=>e.set(a),i.get=a=>A`var(${Tt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function $(t,e){return Tt(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},ll={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},cl={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},dl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ul={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},pl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},fl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},hl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ml={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},yl={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},gl={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},bl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},xl={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},vl={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Sl={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},El={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Cl={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Dp={display:ll,"title-1":cl,"title-2":dl,"title-3":ul,"body-1-regular":pl,"body-1-medium":fl,"body-1-semibold":hl,"body-2-regular":ml,"body-2-medium":yl,"body-2-medium-underline":gl,"body-2-semibold":bl,"caption-1-medium":xl,"caption-1-semibold":vl,"caption-2-medium":Sl,"caption-2-semibold":El,"caption-2-bold":Cl},Mp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var Fp={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var $p={borderRadius:o.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",l.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Up={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Bp={iconSize:o.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing1),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var zp={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Hp={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Vp={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var Wp={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Gp={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var jp={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",l.spacing1)};var Kp={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var qp={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Zp={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Yp={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Qp={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Xp={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Jp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",l.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var ef={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize3),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var tf={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var rf={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",l.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",l.iconSize2)};var of={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var nf={backgroundColor:o.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var af={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var sf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",l.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",l.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var lf={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",l.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",l.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",l.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",l.spacing3)};var cf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var df={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var uf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var pf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var ff={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var hf={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3)};var mf={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var yf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var gf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var ao;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ao||(ao={}));var so;(function(t){t.large="large",t.medium="medium",t.small="small"})(so||(so={}));function zi(t){return`ftds--family-${t}`}function Hi(t){return`ftds--size-${t}`}var O={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Gi={};G(Gi,{DynamicImporter:()=>on,dynamicImporter:()=>bf});var on=class{async import(e){if(e)return import(e)}},bf=new on;var na={};G(na,{computeOffsetAutoPosition:()=>Hf,computeOffsetPosition:()=>oa});var wl=["top","right","bottom","left"],Ol=["start","end"],Ki=wl.reduce((t,e)=>t.concat(e,e+"-"+Ol[0],e+"-"+Ol[1]),[]),Zt=Math.min,st=Math.max,lo=Math.round;var lt=t=>({x:t,y:t}),xf={left:"right",right:"left",bottom:"top",top:"bottom"};function Al(t,e,r){return st(t,Zt(e,r))}function vr(t,e){return typeof t=="function"?t(e):t}function Yt(t){return t.split("-")[0]}function ct(t){return t.split("-")[1]}function qi(t){return t==="x"?"y":"x"}function Zi(t){return t==="y"?"height":"width"}function Sr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Yi(t){return qi(Sr(t))}function Rl(t,e,r){r===void 0&&(r=!1);let n=ct(t),i=Yi(t),a=Zi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ji(s)),[s,ji(s)]}function _l(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function ji(t){let e=Yt(t);return xf[e]+t.slice(e.length)}function vf(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function Tl(t){return typeof t!="number"?vf(t):{top:t,right:t,bottom:t,left:t}}function Qt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function Ll(t,e,r){let{reference:n,floating:i}=t,a=Sr(e),s=Yi(e),c=Zi(s),d=Yt(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=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}}let S=ct(e);return S&&(x[s]+=y*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function kl(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:x=0}=vr(e,t),S=Tl(x),E=c[y?f==="floating"?"reference":"floating":f],T=Qt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(E)))==null||r?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),V=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},v=Qt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:V,offsetParent:g,strategy:d}):V);return{top:(T.top-v.top+S.top)/b.y,bottom:(v.bottom-T.bottom+S.bottom)/b.y,left:(T.left-v.left+S.left)/b.x,right:(v.right-T.right+S.right)/b.x}}var Sf=50,Il=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:kl},d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Ll(p,n,d),y=n,x=0,S={};for(let R=0;R<a.length;R++){let E=a[R];if(!E)continue;let{name:T,fn:V}=E,{x:g,y:b,data:v,reset:I}=await V({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=g??h,f=b??f,S[T]={...S[T],...v},I&&x<Sf&&(x++,typeof I=="object"&&(I.placement&&(y=I.placement),I.rects&&(p=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):I.rects),{x:h,y:f}=Ll(p,y,d)),R=-1)}return{x:h,y:f,placement:y,strategy:i,middlewareData:S}};function Ef(t,e,r){return(t?[...r.filter(i=>ct(i)===t),...r.filter(i=>ct(i)!==t)]:r.filter(i=>Yt(i)===i)).filter(i=>t?ct(i)===t||(e?_l(i)!==i:!1):!0)}var Pl=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:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=Ki,autoAlignment:x=!0,...S}=vr(t,e),R=f!==void 0||y===Ki?Ef(f||null,x,y):y,E=((r=s.autoPlacement)==null?void 0:r.index)||0,T=R[E];if(T==null)return{};if(c!==T)return{reset:{placement:R[0]}};let V=await d.detectOverflow(e,S),g=Rl(T,a,await(d.isRTL==null?void 0:d.isRTL(p.floating))),b=[V[Yt(T)],V[g[0]],V[g[1]]],v=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:b}],I=R[E+1];if(I)return{data:{index:E+1,overflows:v},reset:{placement:I}};let P=v.map(L=>{let F=ct(L.placement);return[L.placement,F&&h?L.overflows.slice(0,2).reduce((J,tt)=>J+tt,0):L.overflows[0],L.overflows]}).sort((L,F)=>L[1]-F[1]),W=((i=P.filter(L=>L[2].slice(0,ct(L[0])?2:3).every(F=>F<=0))[0])==null?void 0:i[0])||P[0][0];return W!==c?{data:{index:E+1,overflows:v},reset:{placement:W}}:{}}}};var Cf=new Set(["left","top"]);async function Of(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Yt(r),c=ct(r),d=Sr(r)==="y",p=Cf.has(s)?-1:1,h=a&&d?-1:1,f=vr(e,t),{mainAxis:y,crossAxis:x,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:y*p}:{x:y*p,y:x*h}}var Nl=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 Of(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}}}}},Dl=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:a}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:V=>{let{x:g,y:b}=V;return{x:g,y:b}}},...p}=vr(t,e),h={x:r,y:n},f=await a.detectOverflow(e,p),y=Sr(i),x=qi(y),S=h[x],R=h[y],E=(V,g)=>Al(g+f[V==="y"?"top":"left"],g,g-f[V==="y"?"bottom":"right"]);s&&(S=E(x,S)),c&&(R=E(y,R));let T=d.fn({...e,[x]:S,[y]:R});return{...T,data:{x:T.x-r,y:T.y-n,enabled:{[x]:s,[y]:c}}}}}};var Ml=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}=vr(t,e),d=await i.detectOverflow(e,c),p=Yt(r),h=ct(r),f=Sr(r)==="y",{width:y,height:x}=n.floating,S,R;p==="top"||p==="bottom"?(S=p,R=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(R=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,T=y-d.left-d.right,V=Zt(x-d[S],E),g=Zt(y-d[R],T),b=e.middlewareData.shift,v=!b,I=V,P=g;b!=null&&b.enabled.x&&(P=T),b!=null&&b.enabled.y&&(I=E),v&&!h&&(f?P=y-2*st(d.left,d.right):I=x-2*st(d.top,d.bottom)),await s({...e,availableWidth:P,availableHeight:I});let k=await i.getDimensions(a.floating);return y!==k.width||x!==k.height?{reset:{rects:!0}}:{}}}};function an(){return typeof window<"u"}function Jt(t){return $l(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=($l(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $l(t){return an()?t instanceof Node||t instanceof _e(t).Node:!1}function Ke(t){return an()?t instanceof Element||t instanceof _e(t).Element:!1}function vt(t){return an()?t instanceof HTMLElement||t instanceof _e(t).HTMLElement:!1}function Fl(t){return!an()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function co(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=qe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function Ul(t){return/^(table|td|th)$/.test(Jt(t))}function uo(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var wf=/transform|translate|scale|rotate|perspective|filter/,Af=/paint|layout|strict|content/,Xt=t=>!!t&&t!=="none",Qi;function Er(t){let e=Ke(t)?qe(t):t;return Xt(e.transform)||Xt(e.translate)||Xt(e.scale)||Xt(e.rotate)||Xt(e.perspective)||!sn()&&(Xt(e.backdropFilter)||Xt(e.filter))||wf.test(e.willChange||"")||Af.test(e.contain||"")}function Bl(t){let e=Lt(t);for(;vt(e)&&!Cr(e);){if(Er(e))return e;if(uo(e))return null;e=Lt(e)}return null}function sn(){return Qi==null&&(Qi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Qi}function Cr(t){return/^(html|body|#document)$/.test(Jt(t))}function qe(t){return _e(t).getComputedStyle(t)}function po(t){return Ke(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Lt(t){if(Jt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fl(t)&&t.host||xt(t);return Fl(e)?e.host:e}function zl(t){let e=Lt(t);return Cr(e)?(t.ownerDocument||t).body:vt(e)&&co(e)?e:zl(e)}function nn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=zl(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);if(a){let c=ln(s);return e.concat(s,s.visualViewport||[],co(i)?i:[],c&&r?nn(c):[])}else return e.concat(i,nn(i,[],r))}function ln(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Wl(t){let e=qe(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=vt(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=lo(r)!==a||lo(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function Gl(t){return Ke(t)?t:t.contextElement}function Or(t){let e=Gl(t);if(!vt(e))return lt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Wl(e),s=(a?lo(r.width):r.width)/n,c=(a?lo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Rf=lt(0);function jl(t){let e=_e(t);return!sn()||!e.visualViewport?Rf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _f(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===_e(t)}function fo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Gl(t),s=lt(1);e&&(n?Ke(n)&&(s=Or(n)):s=Or(t));let c=_f(a,r,n)?jl(a):lt(0),d=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let y=_e(a),x=Ke(n)?_e(n):n,S=y,R=ln(S);for(;R&&x!==S;){let E=Or(R),T=R.getBoundingClientRect(),V=qe(R),g=T.left+(R.clientLeft+parseFloat(V.paddingLeft))*E.x,b=T.top+(R.clientTop+parseFloat(V.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=g,p+=b,S=_e(R),R=ln(S)}}return Qt({width:h,height:f,x:d,y:p})}function cn(t,e){let r=po(t).scrollLeft;return e?e.left+r:fo(xt(t)).left+r}function Kl(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-cn(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function Tf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,a=i==="fixed",s=xt(n),c=e?uo(e.floating):!1;if(n===s||c&&a)return r;let d={scrollLeft:0,scrollTop:0},p=lt(1),h=lt(0),f=vt(n);if((f||!a)&&((Jt(n)!=="body"||co(s))&&(d=po(n)),f)){let x=fo(n);p=Or(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let y=s&&!f&&!a?Kl(s,d):lt(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+h.x+y.x,y:r.y*p.y-d.scrollTop*p.y+h.y+y.y}}function Lf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function kf(t){let e=po(t),r=t.ownerDocument.body,n=st(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=st(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-e.scrollLeft+cn(t),s=-e.scrollTop;return qe(r).direction==="rtl"&&(a+=st(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}var If=25;function Pf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=_e(t),a=xt(t),s=i.visualViewport,c=a.clientWidth,d=a.clientHeight,p=0,h=0;if(s){let y=!sn()||e==="fixed";n?y||(p=-s.offsetLeft,h=-s.offsetTop):(c=s.width,d=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(cn(a)<=0){let y=a.ownerDocument,x=y.body,S=getComputedStyle(x),R=y.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(a.clientWidth-x.clientWidth-R),T=getComputedStyle(a).scrollbarGutter==="stable both-edges"?E/2:E;T<=If&&(c-=T)}return{width:c,height:d,x:p,y:h}}function Nf(t,e){let r=fo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Or(t),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:c,x:d,y:p}}function Hl(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=Pf(t,r,e);else if(e==="document")n=kf(xt(t));else if(Ke(e))n=Nf(e,r);else{let i=jl(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Qt(n)}function Df(t,e){let r=e.get(t);if(r)return r;let n=nn(t,[],!1).filter(c=>Ke(c)&&Jt(c)!=="body"),i=null,a=qe(t).position==="fixed",s=a?Lt(t):t;for(;Ke(s)&&!Cr(s);){let c=qe(s),d=Er(s),p=i?i.position:a?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==s):i=c,s=Lt(s)}return e.set(t,n),n}function Mf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?uo(e)?[]:Df(e,this._c):[].concat(r),n],c=Hl(e,s[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let y=1;y<s.length;y++){let x=Hl(e,s[y],i);d=st(x.top,d),p=Zt(x.right,p),h=Zt(x.bottom,h),f=st(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function Ff(t){let{width:e,height:r}=Wl(t);return{width:e,height:r}}function $f(t,e,r){let n=vt(e),i=xt(e),a=r==="fixed",s=fo(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=lt(0);if((n||!a)&&((Jt(e)!=="body"||co(i))&&(c=po(e)),n)){let y=fo(e,!0,a,e);d.x=y.x+e.clientLeft,d.y=y.y+e.clientTop}!n&&i&&(d.x=cn(i));let p=i&&!n&&!a?Kl(i,c):lt(0),h=s.left+c.scrollLeft-d.x-p.x,f=s.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function Xi(t){return qe(t).position==="static"}function Vl(t,e){if(!vt(t)||qe(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return xt(t)===r&&(r=r.ownerDocument.body),r}function ql(t,e){let r=_e(t);if(uo(t))return r;if(!vt(t)){let i=Lt(t);for(;i&&!Cr(i);){if(Ke(i)&&!Xi(i))return i;i=Lt(i)}return r}let n=Vl(t,e);for(;n&&Ul(n)&&Xi(n);)n=Vl(n,e);return n&&Cr(n)&&Xi(n)&&!Er(n)?r:n||Bl(t)||r}var Uf=async function(t){let e=this.getOffsetParent||ql,r=this.getDimensions,n=await r(t.floating);return{reference:$f(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Bf(t){return qe(t).direction==="rtl"}var wr={convertOffsetParentRelativeRectToViewportRelativeRect:Tf,getDocumentElement:xt,getClippingRect:Mf,getOffsetParent:ql,getElementRects:Uf,getClientRects:Lf,getDimensions:Ff,getScale:Or,isElement:Ke,isRTL:Bf};var Zl=Nl,Ji=Pl,Yl=Dl;var Ql=Ml;var ea=(t,e,r)=>{let n=new Map,i=r??{},a={...wr,...i.platform,_c:n};return Il(t,e,{...i,platform:a})};function ra(t){return zf(t)}function ta(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function zf(t){for(let e=t;e;e=ta(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ta(t);e;e=ta(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Er(r)||e.tagName==="BODY"))return e}return null}async function oa(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},ea(t,e,{strategy:n.strategy,platform:{...wr,getOffsetParent:i=>wr.getOffsetParent(i,ra)},middleware:[Yl({crossAxis:!0}),Ji({allowedPlacements:[n.placement]})]})}async function Hf(t,e,r,n,i,a,s){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):c=r,ea(t,e,{placement:c,strategy:i,platform:{...wr,getOffsetParent:p=>wr.getOffsetParent(p,ra)},middleware:[Zl(s??4),Ji({allowedPlacements:n}),Ql({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var ia={};G(ia,{isSlotEmptyOrWithoutContent:()=>Vf});var Vf=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var ua={};G(ua,{FtdsBase:()=>da,toFtdsBase:()=>nc});var ca={};G(ca,{ExportpartsUpdatedEvent:()=>er,FtLitElement:()=>U});var aa={};G(aa,{ScopedRegistryLitElement:()=>ho});var ho=class extends rt{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return qr(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){to(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var la={};G(la,{shadowQuerySelector:()=>sa,shadowQuerySelectorAll:()=>dn});function sa(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 dn(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 Ar=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},tc,Xl=Symbol("constructorPrototype"),Jl=Symbol("constructorName"),rc=Symbol("exportpartsDebouncer"),ec=Symbol("dynamicDependenciesLoaded"),er=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};er.eventName="exportparts-updated";var U=class extends ho{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[tc]=new Y(5),this.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[rc].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)})},this[Jl]=this.constructor.name,this[Xl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Jl]&&Object.setPrototypeOf(this,this[Xl])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[ec]||(r[ec]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(er.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(er.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new er)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];r=sa(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}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)}}setExportpartsAttribute(e){var r,n,i,a,s,c;let d=y=>y!=null&&y.trim().length>0,p=e.filter(d).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],S=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[],R=[...x,...S].filter(d).map(E=>E.trim());for(let E of R)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(y=>p.map(x=>`${y}:${x}--${y}`));this.exportparts=[...this.part,...f].join(", ")}};tc=rc;Ar([m()],U.prototype,"exportpartsPrefix",void 0);Ar([ne([])],U.prototype,"exportpartsPrefixes",void 0);Ar([m({reflect:!0})],U.prototype,"exportparts",void 0);Ar([m()],U.prototype,"customStylesheet",void 0);Ar([m()],U.prototype,"elementToFocus",void 0);Ar([D()],U.prototype,"useAdoptedStyleSheets",void 0);var oc=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},nc=le(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=so.medium,this.family=ao.neutral}getDesignSystemBaseClasses(){return{[zi(this.family)]:!0,[Hi(this.size)]:!0}}}return oc([m()],e.prototype,"size",void 0),oc([m()],e.prototype,"family",void 0),e}),da=class extends nc(U){};var ic={};var ha={};G(ha,{highlightHtml:()=>fa,highlightHtmlColorCssVariable:()=>ac,highlightHtmlStyles:()=>Gf});var tr=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(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(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=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(p,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(y=>{n(y)}),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 mo=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 tr(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 tr.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 p=r-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+y,e.nodes.forEach((x,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=h),e.nodes[S].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 p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),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 p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[s],f),(f,y)=>{e.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,y=>r(y,c,a.value.substring(p,h),d),y=>{n(y,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=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,x)=>this.opt.filter(x,p,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(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=tr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function pa(t){let e=new mo(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 Wf=pa,ac=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Gf=A`
5
5
  .highlight-html-match {
6
- background: ${Zl};
6
+ background: ${ac};
7
7
  }
8
- `;function Ji(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new wf(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=p=>{for(let h in r.attributes)p.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var oa={};G(oa,{noTextInputDefaultClearButton:()=>ra,noTextSelect:()=>nr,safariEllipsisFix:()=>ta,wordWrap:()=>Tf});var nr=T`
8
+ `;function fa(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Wf(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(c.each=p=>{for(let h in r.attributes)p.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ga={};G(ga,{noTextInputDefaultClearButton:()=>ya,noTextSelect:()=>rr,safariEllipsisFix:()=>ma,wordWrap:()=>jf});var rr=A`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,Tf=T`
17
+ `,jf=A`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,ta=T`
29
+ `,ma=A`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,14 +37,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,ra=T`
40
+ `,ya=A`
41
41
  input::-webkit-search-cancel-button,
42
42
  input::-webkit-search-decoration,
43
43
  input::-webkit-search-results-button,
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var Yl={};var na={};G(na,{ParametrizedLabelResolver:()=>Eo});var Eo=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 Ta={};G(Ta,{FtCommandQueue:()=>Oo,FtLitElementRedux:()=>St,FtReduxStore:()=>Dt,FtStateManager:()=>Fr,ReduxWatcher:()=>bn,clearAllStores:()=>fh,isFtReduxStore:()=>kr,redux:()=>ue,reduxEventListener:()=>_f,reduxReactive:()=>Lf,watch:()=>_c,withRedux:()=>Ql});var Lf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ue=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Me,attribute:!1,...e};g(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(l=>l[n]),store:e.store})}},_f=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Oo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(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}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function kr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ao=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),ir=Symbol("internalStores"),Ql=ce(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[ir].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ir].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[ir].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[ir].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[ir].delete(l)}setupStores(){this.unsubscribeFromStores(),this[ir].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[_t].has(s.store):this[_t].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[_t].set(s,l.subscribe(()=>this.updateFromStores())),this[Ao].set(s,[]),kr(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[Ao].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[_t].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[_t].has(s)&&this[_t].get(s)(),this[_t].delete(s),(l=this[Ao].get(s))===null||l===void 0||l.forEach(d=>d()),this[Ao].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=_t,r=ir,n=Ao,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),St=class extends Ql($){};function Ge(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[J]}function Ye(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)===$f})(t)||Array.isArray(t)||!!t[nc]||!!(!((e=t.constructor)===null||e===void 0)&&e[nc])||fa(t)||ha(t))}function ar(t,e,r){r===void 0&&(r=!1),Nr(t)===0?(r?Object.keys:Pr)(t).forEach((function(n){r&&typeof n=="symbol"||e(n,t[n],t)})):t.forEach((function(n,i){return e(i,n,t)}))}function Nr(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:fa(t)?2:ha(t)?3:0}function Ir(t,e){return Nr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function kf(t,e){return Nr(t)===2?t.get(e):t[e]}function ic(t,e,r){var n=Nr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function ac(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function fa(t){return Mf&&t instanceof Map}function ha(t){return Ff&&t instanceof Set}function kt(t){return t.o||t.t}function ma(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=cc(t);delete e[J];for(var r=Pr(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 ga(t,e){return e===void 0&&(e=!1),ya(t)||Ct(t)||!Ye(t)||(Nr(t)>1&&(t.set=t.add=t.clear=t.delete=If),Object.freeze(t),e&&ar(t,(function(r,n){return ga(n,!0)}),!0)),t}function If(){Ge(2)}function ya(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ut(t){var e=pa[t];return e||Ge(18,t),e}function Pf(t,e){pa[t]||(pa[t]=e)}function ca(){return Ro}function ia(t,e){e&&(ut("Patches"),t.u=[],t.s=[],t.v=e)}function fn(t){da(t),t.p.forEach(Nf),t.p=null}function da(t){t===Ro&&(Ro=t.l)}function Xl(t){return Ro={p:[],l:Ro,h:t,m:!0,_:0}}function Nf(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function aa(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||ut("ES5").S(e,t,n),n?(r[J].P&&(fn(e),Ge(4)),Ye(t)&&(t=hn(e,t),e.l||mn(e,t)),e.u&&ut("Patches").M(r[J].t,t,e.u,e.s)):t=hn(e,r,[]),fn(e),e.u&&e.v(e.u,e.s),t!==lc?t:void 0}function hn(t,e,r){if(ya(e))return e;var n=e[J];if(!n)return ar(e,(function(l,d){return Jl(t,n,e,l,d,r)}),!0),e;if(n.A!==t)return e;if(!n.P)return mn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ma(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ar(a,(function(l,d){return Jl(t,n,i,l,d,r,s)})),mn(t,i,!1),r&&t.u&&ut("Patches").N(n,r,t.u,t.s)}return n.o}function Jl(t,e,r,n,i,a,s){if(Ct(i)){var l=hn(t,i,a&&e&&e.i!==3&&!Ir(e.R,n)?a.concat(n):void 0);if(ic(r,n,l),!Ct(l))return;t.m=!1}else s&&r.add(i);if(Ye(i)&&!ya(i)){if(!t.h.D&&t._<1)return;hn(t,i),e&&e.A.l||mn(t,i)}}function mn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ga(e,r)}function sa(t,e){var r=t[J];return(r?kt(r):t)[e]}function ec(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function It(t){t.P||(t.P=!0,t.l&&It(t.l))}function la(t){t.o||(t.o=ma(t.t))}function ua(t,e,r){var n=fa(e)?ut("MapSet").F(e,r):ha(e)?ut("MapSet").T(e,r):t.O?(function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:ca(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=To;s&&(d=[l],p=wo);var h=Proxy.revocable(d,p),f=h.revoke,m=h.proxy;return l.k=m,l.j=f,m})(e,r):ut("ES5").J(e,r);return(r?r.A:ca()).p.push(n),n}function Df(t){return Ct(t)||Ge(22,t),(function e(r){if(!Ye(r))return r;var n,i=r[J],a=Nr(r);if(i){if(!i.P&&(i.i<4||!ut("ES5").K(i)))return i.t;i.I=!0,n=tc(r,a),i.I=!1}else n=tc(r,a);return ar(n,(function(s,l){i&&kf(i.t,s)===l||ic(n,s,e(l))})),a===3?new Set(n):n})(t)}function tc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ma(t)}function sc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[J];return To.get(p,s)},set:function(p){var h=this[J];To.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][J];if(!d.P)switch(d.i){case 5:n(d)&&It(d);break;case 4:r(d)&&It(d)}}}function r(s){for(var l=s.t,d=s.k,p=Pr(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==J){var m=l[f];if(m===void 0&&!Ir(l,f))return!0;var y=d[f],b=y&&y[J];if(b?b.t!==m:!ac(y,m))return!0}}var S=!!l[J];return p.length!==Pr(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Ge(3,JSON.stringify(kt(s)))}var a={};Pf("ES5",{J:function(s,l){var d=Array.isArray(s),p=(function(f,m){if(f){for(var y=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(y,""+b,t(b,!0));return y}var S=cc(m);delete S[J];for(var C=Pr(S),A=0;A<C.length;A++){var k=C[A];S[k]=t(k,f||!!S[k].enumerable)}return Object.create(Object.getPrototypeOf(m),S)})(d,s),h={i:d?5:4,A:l?l.A:ca(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,J,{value:h,writable:!0}),p},S:function(s,l,d){d?Ct(l)&&l[J].A===s&&e(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var f=h[J];if(f){var m=f.t,y=f.k,b=f.R,S=f.i;if(S===4)ar(y,(function(x){x!==J&&(m[x]!==void 0||Ir(m,x)?b[x]||p(y[x]):(b[x]=!0,It(f)))})),ar(m,(function(x){y[x]!==void 0||Ir(y,x)||(b[x]=!1,It(f))}));else if(S===5){if(n(f)&&(It(f),b.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)b[C]=!1;else for(var A=m.length;A<y.length;A++)b[A]=!0;for(var k=Math.min(y.length,m.length),v=0;v<k;v++)y.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&p(y[v])}}}})(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var rc,Ro,ba=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Mf=typeof Map<"u",Ff=typeof Set<"u",oc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",lc=ba?Symbol.for("immer-nothing"):((rc={})["immer-nothing"]=!0,rc),nc=ba?Symbol.for("immer-draftable"):"__$immer_draftable",J=ba?Symbol.for("immer-state"):"__$immer_state";var $f=""+Object.prototype.constructor,Pr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,cc=Object.getOwnPropertyDescriptors||function(t){var e={};return Pr(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},pa={},To={get:function(t,e){if(e===J)return t;var r=kt(t);if(!Ir(r,e))return(function(i,a,s){var l,d=ec(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0})(t,r,e);var n=r[e];return t.I||!Ye(n)?n:n===sa(t.t,e)?(la(t),t.o[e]=ua(t.A.h,n,t)):n},has:function(t,e){return e in kt(t)},ownKeys:function(t){return Reflect.ownKeys(kt(t))},set:function(t,e,r){var n=ec(kt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=sa(kt(t),e),a=i?.[J];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(ac(r,i)&&(r!==void 0||Ir(t.t,e)))return!0;la(t),It(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return sa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,la(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=kt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ge(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ge(12)}},wo={};ar(To,(function(t,e){wo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),wo.deleteProperty=function(t,e){return wo.set.call(this,t,e,void 0)},wo.set=function(t,e,r){return To.set.call(this,t[0],e,r,t[0])};var Uf=(function(){function t(r){var n=this;this.O=oc,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(S){var C=this;S===void 0&&(S=l);for(var A=arguments.length,k=Array(A>1?A-1:0),v=1;v<A;v++)k[v-1]=arguments[v];return d.produce(S,(function(x){var E;return(E=a).call.apply(E,[C,x].concat(k))}))}}var p;if(typeof a!="function"&&Ge(6),s!==void 0&&typeof s!="function"&&Ge(7),Ye(i)){var h=Xl(n),f=ua(n,i,void 0),m=!0;try{p=a(f),m=!1}finally{m?fn(h):da(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(S){return ia(h,s),aa(S,h)}),(function(S){throw fn(h),S})):(ia(h,s),aa(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===lc&&(p=void 0),n.D&&ga(p,!0),s){var y=[],b=[];ut("Patches").M(i,p,y,b),s(y,b)}return p}Ge(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,(function(y){return i.apply(void 0,[y].concat(f))}))};var s,l,d=n.produce(i,a,(function(p,h){s=p,l=h}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(p){return[p,s,l]})):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ye(r)||Ge(8),Ct(r)&&(r=Df(r));var n=Xl(this),i=ua(this,r,void 0);return i[J].C=!0,da(n),i},e.finishDraft=function(r,n){var i=r&&r[J],a=i.A;return ia(a,n),aa(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!oc&&Ge(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=ut("Patches").$;return Ct(r)?s(r,n):this.produce(r,(function(l){return s(l,n)}))},t})(),Fe=new Uf,Bf=Fe.produce,Iv=Fe.produceWithPatches.bind(Fe),Pv=Fe.setAutoFreeze.bind(Fe),Nv=Fe.setUseProxies.bind(Fe),Dv=Fe.applyPatches.bind(Fe),Mv=Fe.createDraft.bind(Fe),Fv=Fe.finishDraft.bind(Fe),gn=Bf;function sr(t){"@babel/helpers - typeof";return sr=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},sr(t)}function dc(t,e){if(sr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(sr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function uc(t){var e=dc(t,"string");return sr(e)=="symbol"?e:e+""}function pc(t,e,r){return(e=uc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fc(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 xa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fc(Object(r),!0).forEach(function(n){pc(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ce(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var hc=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),va=function(){return Math.random().toString(36).substring(7).split("").join(".")},yn={INIT:"@@redux/INIT"+va(),REPLACE:"@@redux/REPLACE"+va(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+va()}};function Hf(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 Sa(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ce(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ce(1));return r(Sa)(t,e)}if(typeof t!="function")throw new Error(Ce(2));var i=t,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ce(3));return a}function f(S){if(typeof S!="function")throw new Error(Ce(4));if(d)throw new Error(Ce(5));var C=!0;return p(),l.push(S),function(){if(C){if(d)throw new Error(Ce(6));C=!1,p();var k=l.indexOf(S);l.splice(k,1),s=null}}}function m(S){if(!Hf(S))throw new Error(Ce(7));if(typeof S.type>"u")throw new Error(Ce(8));if(d)throw new Error(Ce(9));try{d=!0,a=i(a,S)}finally{d=!1}for(var C=s=l,A=0;A<C.length;A++){var k=C[A];k()}return S}function y(S){if(typeof S!="function")throw new Error(Ce(10));i=S,m({type:yn.REPLACE})}function b(){var S,C=f;return S={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(Ce(11));function v(){k.next&&k.next(h())}v();var x=C(v);return{unsubscribe:x}}},S[hc]=function(){return this},S}return m({type:yn.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:y},n[hc]=b,n}function zf(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:yn.INIT});if(typeof n>"u")throw new Error(Ce(12));if(typeof r(void 0,{type:yn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ce(13))})}function mc(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{zf(r)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,y={},b=0;b<a.length;b++){var S=a[b],C=r[S],A=p[S],k=C(A,h);if(typeof k>"u"){var v=h&&h.type;throw new Error(Ce(14))}y[S]=k,m=m||k!==A}return m=m||a.length!==Object.keys(p).length,m?y:p}}function Dr(){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 gc(){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(Ce(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Dr.apply(void 0,l)(i.dispatch),xa(xa({},i),{},{dispatch:a})}}}function yc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var bc=yc();bc.withExtraArgument=yc;var Ca=bc;var Ec=(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)}})(),Vf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Mr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Wf=Object.defineProperty,Gf=Object.defineProperties,jf=Object.getOwnPropertyDescriptors,xc=Object.getOwnPropertySymbols,Kf=Object.prototype.hasOwnProperty,qf=Object.prototype.propertyIsEnumerable,vc=function(t,e,r){return e in t?Wf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Pt=function(t,e){for(var r in e||(e={}))Kf.call(e,r)&&vc(t,r,e[r]);if(xc)for(var n=0,i=xc(e);n<i.length;n++){var r=i[n];qf.call(e,r)&&vc(t,r,e[r])}return t},Ea=function(t,e){return Gf(t,jf(e))},Zf=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{l(r.next(d))}catch(p){i(p)}},s=function(d){try{l(r.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var Yf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Dr:Dr.apply(null,arguments)},t0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Qf(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 Nt(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 Pt(Pt({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}var Xf=(function(t){Ec(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,Mr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Mr([void 0],r.concat(this))))},e})(Array),Jf=(function(t){Ec(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,Mr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Mr([void 0],r.concat(this))))},e})(Array);function wa(t){return Ye(t)?gn(t,function(){}):t}function eh(t){return typeof t=="boolean"}function th(){return function(e){return rh(e)}}function rh(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=t.actionCreatorCheck,d=l===void 0?!0:l,p=new Xf;if(r&&(eh(r)?p.push(Ca):p.push(Ca.withExtraArgument(r.extraArgument))),0){if(i)var h;if(s)var f;if(d)var m}return p}var Oa=!0;function Oc(t){var e=th(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,p=r.preloadedState,h=p===void 0?void 0:p,f=r.enhancers,m=f===void 0?void 0:f,y;if(typeof i=="function")y=i;else if(Qf(i))y=mc(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 b=s;if(typeof b=="function"&&(b=b(e),!Oa&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Oa&&b.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=gc.apply(void 0,b),C=Dr;d&&(C=Yf(Pt({trace:!Oa},typeof d=="object"&&d)));var A=new Jf(S),k=A;Array.isArray(m)?k=Mr([S],m):typeof m=="function"&&(k=m(A));var v=C.apply(void 0,k);return Sa(y,h,v)}function Ac(t){var e={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in e)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function oh(t){return typeof t=="function"}function nh(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Ac(e):[e,r,n],a=i[0],s=i[1],l=i[2],d;if(oh(t))d=function(){return wa(t())};else{var p=wa(t);d=function(){return p}}function h(f,m){f===void 0&&(f=d());var y=Mr([a[m.type]],s.filter(function(b){var S=b.matcher;return S(m)}).map(function(b){var S=b.reducer;return S}));return y.filter(function(b){return!!b}).length===0&&(y=[l]),y.reduce(function(b,S){if(S)if(Ct(b)){var C=b,A=S(C,m);return A===void 0?b:A}else{if(Ye(b))return gn(b,function(k){return S(k,m)});var A=S(b,m);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},f)}return h.getInitialState=d,h}function ih(t,e){return t+"/"+e}function wc(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:wa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var f=n[h],m=ih(e,h),y,b;"reducer"in f?(y=f.reducer,b=f.prepare):y=f,a[h]=y,s[m]=y,l[h]=b?Nt(m,b):Nt(m)});function d(){var h=typeof t.extraReducers=="function"?Ac(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,y=h[1],b=y===void 0?[]:y,S=h[2],C=S===void 0?void 0:S,A=Pt(Pt({},m),s);return nh(r,function(k){for(var v in A)k.addCase(v,A[v]);for(var x=0,E=b;x<E.length;x++){var I=E[x];k.addMatcher(I.matcher,I.reducer)}C&&k.addDefaultCase(C)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var ah="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",sh=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=ah[Math.random()*64|0];return e},lh=["name","message","stack","code"],Aa=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Sc=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),ch=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=lh;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},i0=(function(){function t(e,r,n){var i=Nt(e+"/fulfilled",function(h,f,m,y){return{payload:h,meta:Ea(Pt({},y||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=Nt(e+"/pending",function(h,f,m){return{payload:void 0,meta:Ea(Pt({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Nt(e+"/rejected",function(h,f,m,y,b){return{payload:y,error:(n&&n.serializeError||ch)(h||"Rejected"),meta:Ea(Pt({},b||{}),{arg:m,requestId:f,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h})();function p(h){return function(f,m,y){var b=n?.idGenerator?n.idGenerator(h):sh(),S=new d,C,A=!1;function k(x){C=x,S.abort()}var v=(function(){return Zf(this,null,function(){var x,E,I,j,B,H,_;return Vf(this,function(N){switch(N.label){case 0:return N.trys.push([0,4,,5]),j=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:y}),uh(j)?[4,j]:[3,2];case 1:j=N.sent(),N.label=2;case 2:if(j===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,B=new Promise(function(W,Se){return S.signal.addEventListener("abort",function(){return Se({name:"AbortError",message:C||"Aborted"})})}),f(a(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:m,extra:y}))),[4,Promise.race([B,Promise.resolve(r(h,{dispatch:f,getState:m,extra:y,requestId:b,signal:S.signal,abort:k,rejectWithValue:function(W,Se){return new Aa(W,Se)},fulfillWithValue:function(W,Se){return new Sc(W,Se)}})).then(function(W){if(W instanceof Aa)throw W;return W instanceof Sc?i(W.payload,b,h,W.meta):i(W,b,h)})])];case 3:return I=N.sent(),[3,5];case 4:return H=N.sent(),I=H instanceof Aa?s(null,b,h,H.payload,H.meta):s(H,b,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,_||f(I),[2,I]}})})})();return Object.assign(v,{abort:k,requestId:b,arg:h,unwrap:function(){return v.then(dh)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t})();function dh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function uh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Rc="listener",Tc="completed",Lc="cancelled",a0="task-"+Lc,s0="task-"+Tc,l0=Rc+"-"+Lc,c0=Rc+"-"+Tc;var Ra="listenerMiddleware";var d0=Nt(Ra+"/add"),u0=Nt(Ra+"/removeAll"),p0=Nt(Ra+"/remove");var Cc,f0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Cc||(Cc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ph=function(t){return function(e){setTimeout(e,t)}},h0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ph(10);sc();window.ftReduxStores||(window.ftReduxStores={});var Dt=class t extends bt{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(kr(a))return a;if(i==null)return;let s=wc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Oc({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=We(s.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return s.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Oo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}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 fh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))kr(e)&&e.clear()}var bn=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);Me(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function _c(t,e,r){return new bn(t,e,r).watch()}var Fr=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var ka={};G(ka,{scrollHelper:()=>hh});var La,xn=new Map,_a=class{lock(e,r){if(r){let n=xn.get(r);if(n==null||n===e)return xn.set(r,e),r}}release(e,r){r&&xn.get(r)===e&&xn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of gi(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}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,l=Rt(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(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=(La=window.FluidTopicsScrollHelper)!==null&&La!==void 0?La:new _a;var hh=window.FluidTopicsScrollHelper;var Pa={};G(Pa,{SearchPlaceConverter:()=>$r,SearchPlaceQueryParams:()=>U,isSearchPlaceQueryParams:()=>gd,serializeRequest:()=>yh});var kc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(kc||(kc={}));var Ic;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ic||(Ic={}));var Pc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Pc||(Pc={}));var Nc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Nc||(Nc={}));var Dc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Dc||(Dc={}));var Mc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Mc||(Mc={}));var Fc;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Fc||(Fc={}));var $c;(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.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",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"})($c||($c={}));var Uc;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Uc||(Uc={}));var Bc;(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"})(Bc||(Bc={}));var Hc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(Hc||(Hc={}));var zc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(zc||(zc={}));var Vc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Vc||(Vc={}));var Wc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Wc||(Wc={}));var Gc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Gc||(Gc={}));var jc;(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"})(jc||(jc={}));var $e;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})($e||($e={}));var Kc;(function(t){t.ASC="ASC",t.DESC="DESC"})(Kc||(Kc={}));var qc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(qc||(qc={}));var Lo;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Lo||(Lo={}));var td=t=>Object.keys(Lo).includes(t);var Zc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Zc||(Zc={}));var Yc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Yc||(Yc={}));var Qc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Qc||(Qc={}));var Mt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Mt||(Mt={}));var rd=t=>Object.keys(Mt).includes(t);var Xc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Xc||(Xc={}));var vn;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(vn||(vn={}));var Jc;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Jc||(Jc={}));var ae;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(ae||(ae={}));var je;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(je||(je={}));var ed;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(ed||(ed={}));var od;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(od||(od={}));var nd;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(nd||(nd={}));var id;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(id||(id={}));var ad;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(ad||(ad={}));var sd;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(sd||(sd={}));var ld;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ld||(ld={}));var cd;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(cd||(cd={}));var dd;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(dd||(dd={}));var ud;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(ud||(ud={}));var pd;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(pd||(pd={}));var fd;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(fd||(fd={}));var mh={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN,ae.BEHAVIOR_DATA_USER],[ae.GENERATIVE_AI_EXPORT_USER]:[ae.GENERATIVE_AI_USER]};function hd(t,e){return t===e||(mh[t]??[]).some(r=>hd(r,e))}function Ia(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>hd(n,e))}function gh(t){return`"${t}"`}function md(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function yh(t,e){return new $r(t).serialize(e)}var U;(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.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(U||(U={}));var bh=new Set(Object.values(U));function gd(t){return bh.has(t)}var $r=class{constructor(e,r=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,l,d,p,h,f,m,y,b,S;let C=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&C.append(U.LOCALE,e.contentLocale):C.append(U.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&C.append(U.QUERY,e.query);let A=B=>{var H,_;let N=((_=(H=B.valueFilter)===null||H===void 0?void 0:H.values)!==null&&_!==void 0?_:[]).map(W=>this.escapeFilters(W)).map(W=>gh(md(W))).join("_");return`${B.key}~${N}`},k=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(B=>B.valueFilter&&!B.valueFilter.negative))!==null&&a!==void 0?a:[];k.length>0&&C.append(U.VALUE_FILTERS,k.map(A).join("*"));let v=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(B=>B.valueFilter&&B.valueFilter.negative))!==null&&l!==void 0?l:[];v.length>0&&C.append(U.NEGATIVE_VALUE_FILTERS,v.map(A).join("*"));let x=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(B=>B.dateFilter))!==null&&p!==void 0?p:[];if(x.length>0){let B=x.map(H=>{var _;return`${H.key}~${(_=H.dateFilter)===null||_===void 0?void 0:_.type.toLowerCase()}`}).join("*");C.append(U.DATE_FILTERS,B)}let E=(f=(h=e.metadataFilters)===null||h===void 0?void 0:h.filter(B=>B.rangeFilter))!==null&&f!==void 0?f:[];if(E.length>0){let B=E.map(H=>{var _,N;return`${H.key}~${(_=H.rangeFilter)===null||_===void 0?void 0:_.from}_${(N=H.rangeFilter)===null||N===void 0?void 0:N.to}`}).join("*");C.append(U.RANGE_FILTERS,B)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&C.append(U.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&C.append(U.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&C.append(U.SORT,e.sortId),!((m=e.paging)===null||m===void 0)&&m.perPage&&((b=(y=e.paging)===null||y===void 0?void 0:y.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&C.append(U.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&C.append(U.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let I=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let B in I)C.append(B,I[B]);let j=new Array;return C.forEach((B,H)=>{j.push(this.encodeQueryString(H)+"="+this.encodeQueryString(B))}),encodeURI(j.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(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,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(A){console.warn("Could not decode search request query params, fallback on raw value",A)}let d=new URLSearchParams(e),p=d.get(U.LOCALE)==="all"?void 0:d.get(U.LOCALE),h=((r=d.get(U.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),f=(n=d.get(U.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(i=d.get(U.SCOPE))!==null&&i!==void 0?i:"default",y=+((a=d.get(U.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),b=d.get(U.KEYWORD_MATCH),S=b?b.toUpperCase()===$e.MANDATORY?$e.MANDATORY:$e.OPTIONAL:void 0,C={};for(let A of d.keys())gd(A)||(C[A]=d.get(A));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(U.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:td(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Rt(1,isNaN(y)?this.defaultPerPage:y,1e3)},keywordMatch:S,otherQueryParams:C}}parseCompatFilters(e){var r,n,i,a,s,l,d;let p=[];return e.has(U.FILTERS)&&(p=this.parseValueFilters((r=e.get(U.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(U.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(U.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...this.parseValueFilters((a=e.get(U.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseValueFilters((s=e.get(U.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=e.get(U.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(U.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(md).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Mt[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.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(rd(e))return[{key:"ft:lastEdition",dateFilter:{type:Mt[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[U.LOCALE,U.FILTERS,U.VALUE_FILTERS,U.NEGATIVE_VALUE_FILTERS,U.DATE_FILTERS,U.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(U.LOCALE),r!==void 0&&n.searchParams.append(U.LOCALE,r),n.toString()}};var Ma={};G(Ma,{toFtFormComponent:()=>Da});var Na=Symbol("elementInternals"),Da=ce(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Na].form}constructor(...n){super(n),this[Na]=this.attachInternals()}setFormValue(n){this[Na].setFormValue(n)}}return e});var Fa={};G(Fa,{DateFormatter:()=>lr});var lr=class{static format(e,r,n,i,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(e,r,n,i,!!a)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,a){let s=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:i?`${l} ${d}`:l}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ua={};G(Ua,{ALL_KEYS_VALUE:()=>$a,SameWindowStorageEvent:()=>Ur});var $a="__all__",Ur=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==$a}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Ur(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Ur(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Ur($a))}});var Ba={};G(Ba,{FocusMainContentEvent:()=>_o});var _o=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var yd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function xh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function vh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",xh);document.addEventListener("click",vh);var bd=T`
47
+ `;var sc={};var ba={};G(ba,{ParametrizedLabelResolver:()=>yo});var yo=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 $a={};G($a,{FtCommandQueue:()=>go,FtLitElementRedux:()=>St,FtReduxStore:()=>Pt,FtStateManager:()=>Lr,ReduxWatcher:()=>kn,clearAllStores:()=>Hh,isFtReduxStore:()=>Rr,redux:()=>de,reduxEventListener:()=>qf,reduxReactive:()=>Kf,watch:()=>Kc,withRedux:()=>lc});var Kf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},de=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:De,attribute:!1,...e};m(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})}},qf=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var go=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(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}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var bo=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),lc=le(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[or].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[or].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[or].delete(c)}setupStores(){this.unsubscribeFromStores(),this[or].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(s.store);p&&(s.store?this[kt].has(s.store):this[kt].size>0)&&(this[c]=s.selector(p.getState(),this))}})}subscribeToStore(s,c){var d;this[kt].set(s,c.subscribe(()=>this.updateFromStores())),this[bo].set(s,[]),Rr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||c.name===p.store)){let f=y=>this[h](y);c.addEventListener(p.eventName,f),this[bo].get(s).push(()=>c.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[kt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[kt].has(s)&&this[kt].get(s)(),this[kt].delete(s),(c=this[bo].get(s))===null||c===void 0||c.forEach(d=>d()),this[bo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=kt,r=or,n=bo,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),St=class extends lc(U){};function he(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var Zf=typeof Symbol=="function"&&Symbol.observable||"@@observable",cc=Zf,xa=()=>Math.random().toString(36).substring(7).split("").join("."),Yf={INIT:`@@redux/INIT${xa()}`,REPLACE:`@@redux/REPLACE${xa()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${xa()}`},un=Yf;function pn(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function va(t,e,r){if(typeof t!="function")throw new Error(he(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(he(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(he(1));return r(va)(t,e)}let n=t,i=e,a=new Map,s=a,c=0,d=!1;function p(){s===a&&(s=new Map,a.forEach((E,T)=>{s.set(T,E)}))}function h(){if(d)throw new Error(he(3));return i}function f(E){if(typeof E!="function")throw new Error(he(4));if(d)throw new Error(he(5));let T=!0;p();let V=c++;return s.set(V,E),function(){if(T){if(d)throw new Error(he(6));T=!1,p(),s.delete(V),a=null}}}function y(E){if(!pn(E))throw new Error(he(7));if(typeof E.type>"u")throw new Error(he(8));if(typeof E.type!="string")throw new Error(he(17));if(d)throw new Error(he(9));try{d=!0,i=n(i,E)}finally{d=!1}return(a=s).forEach(V=>{V()}),E}function x(E){if(typeof E!="function")throw new Error(he(10));n=E,y({type:un.REPLACE})}function S(){let E=f;return{subscribe(T){if(typeof T!="object"||T===null)throw new Error(he(11));function V(){let b=T;b.next&&b.next(h())}return V(),{unsubscribe:E(V)}},[cc](){return this}}}return y({type:un.INIT}),{dispatch:y,subscribe:f,getState:h,replaceReducer:x,[cc]:S}}function Qf(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:un.INIT})>"u")throw new Error(he(12));if(typeof r(void 0,{type:un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(he(13))})}function dc(t){let e=Object.keys(t),r={};for(let s=0;s<e.length;s++){let c=e[s];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,a;try{Qf(r)}catch(s){a=s}return function(c={},d){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let y=n[f],x=r[y],S=c[y],R=x(S,d);if(typeof R>"u"){let E=d&&d.type;throw new Error(he(14))}h[y]=R,p=p||R!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function xo(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function uc(...t){return e=>(r,n)=>{let i=e(r,n),a=()=>{throw new Error(he(15))},s={getState:i.getState,dispatch:(d,...p)=>a(d,...p)},c=t.map(d=>d(s));return a=xo(...c)(i.dispatch),{...i,dispatch:a}}}function pc(t){return pn(t)&&"type"in t&&typeof t.type=="string"}var Sc=Symbol.for("immer-nothing"),fc=Symbol.for("immer-draftable"),Ee=Symbol.for("immer-state");function Ze(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Me=Object,Tr=Me.getPrototypeOf,yn="constructor",En="prototype",Oa="configurable",gn="enumerable",hn="writable",vo="value",dt=t=>!!t&&!!t[Ee];function Fe(t){return t?Ec(t)||On(t)||!!t[fc]||!!t[yn]?.[fc]||wn(t)||An(t):!1}var Xf=Me[En][yn].toString(),hc=new WeakMap;function Ec(t){if(!t||!Ia(t))return!1;let e=Tr(t);if(e===null||e===Me[En])return!0;let r=Me.hasOwnProperty.call(e,yn)&&e[yn];if(r===Object)return!0;if(!_r(r))return!1;let n=hc.get(r);return n===void 0&&(n=Function.toString.call(r),hc.set(r,n)),n===Xf}function Cn(t,e,r=!0){Co(t)===0?(r?Reflect.ownKeys(t):Me.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Co(t){let e=t[Ee];return e?e.type_:On(t)?1:wn(t)?2:An(t)?3:0}var Sa=(t,e,r=Co(t))=>r===2?t.has(e):Me[En].hasOwnProperty.call(t,e),wa=(t,e,r=Co(t))=>r===2?t.get(e):t[e],bn=(t,e,r,n=Co(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Jf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var On=Array.isArray,wn=t=>t instanceof Map,An=t=>t instanceof Set,Ia=t=>typeof t=="object",_r=t=>typeof t=="function",Ea=t=>typeof t=="boolean";function eh(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var Et=t=>t.copy_||t.base_;var Pa=t=>t.modified_?t.copy_:t.base_;function Aa(t,e){if(wn(t))return new Map(t);if(An(t))return new Set(t);if(On(t))return Array[En].slice.call(t);let r=Ec(t);if(e===!0||e==="class_only"&&!r){let n=Me.getOwnPropertyDescriptors(t);delete n[Ee];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],c=n[s];c[hn]===!1&&(c[hn]=!0,c[Oa]=!0),(c.get||c.set)&&(n[s]={[Oa]:!0,[hn]:!0,[gn]:c[gn],[vo]:t[s]})}return Me.create(Tr(t),n)}else{let n=Tr(t);if(n!==null&&r)return{...t};let i=Me.create(n);return Me.assign(i,t)}}function Na(t,e=!1){return Rn(t)||dt(t)||!Fe(t)||(Co(t)>1&&Me.defineProperties(t,{set:fn,add:fn,clear:fn,delete:fn}),Me.freeze(t),e&&Cn(t,(r,n)=>{Na(n,!0)},!1)),t}function th(){Ze(2)}var fn={[vo]:th};function Rn(t){return t===null||!Ia(t)?!0:Me.isFrozen(t)}var xn="MapSet",Ra="Patches",mc="ArrayMethods",Cc={};function nr(t){let e=Cc[t];return e||Ze(0,t),e}var yc=t=>!!Cc[t];var So,Oc=()=>So,rh=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:yc(xn)?nr(xn):void 0,arrayMethodsPlugin_:yc(mc)?nr(mc):void 0});function gc(t,e){e&&(t.patchPlugin_=nr(Ra),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function _a(t){Ta(t),t.drafts_.forEach(oh),t.drafts_=null}function Ta(t){t===So&&(So=t.parent_)}var bc=t=>So=rh(So,t);function oh(t){let e=t[Ee];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function xc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[Ee].modified_&&(_a(e),Ze(4)),Fe(t)&&(t=vc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[Ee].base_,t,e)}else t=vc(e,r);return nh(e,t,!0),_a(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Sc?t:void 0}function vc(t,e){if(Rn(e))return e;let r=e[Ee];if(!r)return vn(e,t.handledSet_,t);if(!_n(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(t);Rc(r,t)}return r.copy_}function nh(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Na(e,r)}function wc(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var _n=(t,e)=>t.scope_===e,ih=[];function Ac(t,e,r,n){let i=Et(t),a=t.type_;if(n!==void 0&&wa(i,n,a)===e){bn(i,n,r,a);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;Cn(i,(d,p)=>{if(dt(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let s=t.draftLocations_.get(e)??ih;for(let c of s)bn(i,c,r,a)}function ah(t,e,r){t.callbacks_.push(function(i){let a=e;if(!a||!_n(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=Pa(a);Ac(t,a.draft_??a,s,r),Rc(a,i)})}function Rc(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}wc(t)}}function sh(t,e,r){let{scope_:n}=t;if(dt(r)){let i=r[Ee];_n(i,n)&&i.callbacks_.push(function(){mn(t);let s=Pa(i);Ac(t,r,s,e)})}else Fe(r)&&t.callbacks_.push(function(){let a=Et(t);t.type_===3?a.has(r)&&vn(r,n.handledSet_,n):wa(a,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&vn(wa(t.copy_,e,t.type_),n.handledSet_,n)})}function vn(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||dt(t)||e.has(t)||!Fe(t)||Rn(t)||(e.add(t),Cn(t,(n,i)=>{if(dt(i)){let a=i[Ee];if(_n(a,r)){let s=Pa(a);bn(t,n,s,t.type_),wc(a)}}else Fe(i)&&vn(i,e,r)})),t}function lh(t,e){let r=On(t),n={type_:r?1:0,scope_:e?e.scope_:Oc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=Sn;r&&(i=[n],a=Eo);let{revoke:s,proxy:c}=Proxy.revocable(i,a);return n.draft_=c,n.revoke_=s,[c,n]}var Sn={get(t,e){if(e===Ee)return t;let r=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let i=Et(t);if(!Sa(i,e,t.type_))return dh(t,i,e);let a=i[e];if(t.finalized_||!Fe(a)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&eh(e))return a;if(a===Ca(t.base_,e)||ch(t,e,a)){mn(t);let s=t.type_===1?+e:e,c=ka(t.scope_,a,t,s);return t.copy_[s]=c}return a},has(t,e){return e in Et(t)},ownKeys(t){return Reflect.ownKeys(Et(t))},set(t,e,r){let n=_c(Et(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=Ca(Et(t),e),a=i?.[Ee];if(a&&a.base_===r)return t.copy_[e]=r,t.assigned_.set(e,!1),!0;if(Jf(r,i)&&(r!==void 0||Sa(t.base_,e,t.type_)))return!0;mn(t),La(t)}return t.copy_[e]===r&&(r!==void 0||Sa(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),sh(t,e,r)),!0},deleteProperty(t,e){return mn(t),Ca(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),La(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=Et(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[hn]:!0,[Oa]:t.type_!==1||e!=="length",[gn]:n[gn],[vo]:r[e]}},defineProperty(){Ze(11)},getPrototypeOf(t){return Tr(t.base_)},setPrototypeOf(){Ze(12)}},Eo={};for(let t in Sn){let e=Sn[t];Eo[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}Eo.deleteProperty=function(t,e){return Eo.set.call(this,t,e,void 0)};Eo.set=function(t,e,r){return Sn.set.call(this,t[0],e,r,t[0])};function Ca(t,e){let r=t[Ee];return(r?Et(r):t)[e]}function ch(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!Fe(r)||r[Ee]?!1:t.baseRefs_.has(r)}function dh(t,e,r){let n=_c(e,r);return n?vo in n?n[vo]:n.get?.call(t.draft_):void 0}function _c(t,e){if(!(e in t))return;let r=Tr(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Tr(r)}}function La(t){t.modified_||(t.modified_=!0,t.parent_&&La(t.parent_))}function mn(t){t.copy_||(t.assigned_=new Map,t.copy_=Aa(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var uh=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(_r(e)&&!_r(r)){let a=r;r=e;let s=this;return function(d=a,...p){return s.produce(d,h=>r.call(this,h,...p))}}_r(r)||Ze(6),n!==void 0&&!_r(n)&&Ze(7);let i;if(Fe(e)){let a=bc(this),s=ka(a,e,void 0),c=!0;try{i=r(s),c=!1}finally{c?_a(a):Ta(a)}return gc(a,n),xc(i,a)}else if(!e||!Ia(e)){if(i=r(e),i===void 0&&(i=e),i===Sc&&(i=void 0),this.autoFreeze_&&Na(i,!0),n){let a=[],s=[];nr(Ra).generateReplacementPatches_(e,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else Ze(1,e)},this.produceWithPatches=(e,r)=>{if(_r(e))return(s,...c)=>this.produceWithPatches(s,d=>e(d,...c));let n,i;return[this.produce(e,r,(s,c)=>{n=s,i=c}),n,i]},Ea(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Ea(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Ea(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){Fe(t)||Ze(8),dt(t)&&(t=Tc(t));let e=bc(this),r=ka(e,t,void 0);return r[Ee].isManual_=!0,Ta(e),r}finishDraft(t,e){let r=t&&t[Ee];(!r||!r.isManual_)&&Ze(9);let{scope_:n}=r;return gc(n,e),xc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let i=e[r];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}r>-1&&(e=e.slice(r+1));let n=nr(Ra).applyPatches_;return dt(t)?n(t,e):this.produce(t,i=>n(i,e))}};function ka(t,e,r,n){let[i,a]=wn(e)?nr(xn).proxyMap_(e,r):An(e)?nr(xn).proxySet_(e,r):lh(e,r);return(r?.scope_??Oc()).drafts_.push(i),a.callbacks_=r?.callbacks_??[],a.key_=n,r&&n!==void 0?ah(r,a,n):a.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=d;a.modified_&&p&&p.generatePatches_(a,[],d)}),i}function Tc(t){return dt(t)||Ze(10,t),Lc(t)}function Lc(t){if(!Fe(t)||Rn(t))return t;let e=t[Ee],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=Aa(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=Aa(t,!0);return Cn(r,(i,a)=>{bn(r,i,Lc(a))},n),e&&(e.finalized_=!1),r}var ph=new uh,Da=ph.produce;function kc(t){return({dispatch:r,getState:n})=>i=>a=>typeof a=="function"?a(r,n,t):i(a)}var Ic=kc(),Pc=kc;var fh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?xo:xo.apply(null,arguments)},g0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}},hh=t=>t&&typeof t.match=="function";function It(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(Ct(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=n=>pc(n)&&n.type===t,r}var $c=class Oo extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,Oo.prototype)}static get[Symbol.species](){return Oo}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new Oo(...e[0].concat(this)):new Oo(...e.concat(this))}};function Nc(t){return Fe(t)?Da(t,()=>{}):t}function Tn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function mh(t){return typeof t=="boolean"}var yh=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=e??{},s=new $c;return r&&(mh(r)?s.push(Ic):s.push(Pc(r.extraArgument))),s},gh="RTK_autoBatch";var Dc=t=>e=>{setTimeout(e,t)},bh=(t,e)=>r=>{let n=!1,i=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(s),r())},a=t(i),s=setTimeout(i,e)},xh=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,a=!1,s=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?bh(window.requestAnimationFrame,100):Dc(10):t.type==="callback"?t.queueNotification:Dc(t.timeout),p=()=>{s=!1,a&&(a=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),y=n.subscribe(f);return c.add(h),()=>{y(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[gh],a=!i,a&&(s||(s=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},vh=t=>function(r){let{autoBatch:n=!0}=r??{},i=new $c(t);return n&&i.push(xh(typeof n=="object"?n:void 0)),i};function Uc(t){let e=yh(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(pn(r))d=dc(r);else throw new Error(Ct(1));let p;typeof n=="function"?p=n(e):p=e();let h=xo;i&&(h=fh({trace:!1,...typeof i=="object"&&i}));let f=uc(...p),y=vh(f),x=typeof c=="function"?c(y):y(),S=h(...x);return va(d,s,S)}function Bc(t){let e={},r=[],n,i={addCase(a,s){let c=typeof a=="string"?a:a.type;if(!c)throw new Error(Ct(28));if(c in e)throw new Error(Ct(29));return e[c]=s,i},addAsyncThunk(a,s){return s.pending&&(e[a.pending.type]=s.pending),s.rejected&&(e[a.rejected.type]=s.rejected),s.fulfilled&&(e[a.fulfilled.type]=s.fulfilled),s.settled&&r.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return t(i),[e,r,n]}function Sh(t){return typeof t=="function"}function Eh(t,e){let[r,n,i]=Bc(e),a;if(Sh(t))a=()=>Nc(t());else{let c=Nc(t);a=()=>c}function s(c=a(),d){let p=[r[d.type],...n.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(dt(h)){let x=f(h,d);return x===void 0?h:x}else{if(Fe(h))return Da(h,y=>f(y,d));{let y=f(h,d);if(y===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return y}}return h},c)}return s.getInitialState=a,s}var Ch=(t,e)=>hh(t)?t.match(e):t(e);function Oh(...t){return e=>t.some(r=>Ch(r,e))}var wh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ah=(t=21)=>{let e="",r=t;for(;r--;)e+=wh[Math.random()*64|0];return e},Rh=["name","message","stack","code"],Ma=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},Mc=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},_h=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of Rh)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},Fc="External signal was aborted",Th=(()=>{function t(e,r,n){let i=It(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=It(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),s=It(e+"/rejected",(d,p,h,f,y)=>({payload:f,error:(n&&n.serializeError||_h)(d||"Rejected"),meta:{...y||{},arg:h,requestId:p,rejectedWithValue:!!f,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,y)=>{let x=n?.idGenerator?n.idGenerator(d):Ah(),S=new AbortController,R,E;function T(g){E=g,S.abort()}p&&(p.aborted?T(Fc):p.addEventListener("abort",()=>T(Fc),{once:!0}));let V=(async function(){let g;try{let v=n?.condition?.(d,{getState:f,extra:y});if(kh(v)&&(v=await v),v===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let I=new Promise((P,k)=>{R=()=>{k({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",R,{once:!0})});h(a(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:y}))),g=await Promise.race([I,Promise.resolve(r(d,{dispatch:h,getState:f,extra:y,requestId:x,signal:S.signal,abort:T,rejectWithValue:((P,k)=>new Ma(P,k)),fulfillWithValue:((P,k)=>new Mc(P,k))})).then(P=>{if(P instanceof Ma)throw P;return P instanceof Mc?i(P.payload,x,d,P.meta):i(P,x,d)})])}catch(v){g=v instanceof Ma?s(null,x,d,v.payload,v.meta):s(v,x,d)}finally{R&&S.signal.removeEventListener("abort",R)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||h(g),g})();return Object.assign(V,{abort:T,requestId:x,arg:d,unwrap(){return V.then(Lh)}})}}return Object.assign(c,{pending:a,rejected:s,fulfilled:i,settled:Oh(s,i),typePrefix:e})}return t.withTypes=()=>t,t})();function Lh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function kh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var zc=Symbol.for("rtk-slice-createasyncthunk"),x0={[zc]:Th};function Ih(t,e){return`${t}/${e}`}function Ph({creators:t}={}){let e=t?.asyncThunk?.[zc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(Ct(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(Dh()):n.reducers)||{},c=Object.keys(s),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(g,b){let v=typeof g=="string"?g:g.type;if(!v)throw new Error(Ct(12));if(v in d.sliceCaseReducersByType)throw new Error(Ct(13));return d.sliceCaseReducersByType[v]=b,p},addMatcher(g,b){return d.sliceMatchers.push({matcher:g,reducer:b}),p},exposeAction(g,b){return d.actionCreators[g]=b,p},exposeCaseReducer(g,b){return d.sliceCaseReducersByName[g]=b,p}};c.forEach(g=>{let b=s[g],v={reducerName:g,type:Ih(i,g),createNotation:typeof n.reducers=="function"};Fh(b)?Uh(v,b,p,e):Mh(v,b,p)});function h(){let[g={},b=[],v=void 0]=typeof n.extraReducers=="function"?Bc(n.extraReducers):[n.extraReducers],I={...g,...d.sliceCaseReducersByType};return Eh(n.initialState,P=>{for(let k in I)P.addCase(k,I[k]);for(let k of d.sliceMatchers)P.addMatcher(k.matcher,k.reducer);for(let k of b)P.addMatcher(k.matcher,k.reducer);v&&P.addDefaultCase(v)})}let f=g=>g,y=new Map,x=new WeakMap,S;function R(g,b){return S||(S=h()),S(g,b)}function E(){return S||(S=h()),S.getInitialState()}function T(g,b=!1){function v(P){let k=P[g];return typeof k>"u"&&b&&(k=Tn(x,v,E)),k}function I(P=f){let k=Tn(y,b,()=>new WeakMap);return Tn(k,P,()=>{let W={};for(let[L,F]of Object.entries(n.selectors??{}))W[L]=Nh(F,P,()=>Tn(x,P,E),b);return W})}return{reducerPath:g,getSelectors:I,get selectors(){return I(v)},selectSlice:v}}let V={name:i,reducer:R,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...T(a),injectInto(g,{reducerPath:b,...v}={}){let I=b??a;return g.inject({reducerPath:I,reducer:R},v),{...V,...T(I,!0)}}};return V}}function Nh(t,e,r,n){function i(a,...s){let c=e(a);return typeof c>"u"&&n&&(c=r()),t(c,...s)}return i.unwrapped=t,i}var Hc=Ph();function Dh(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function Mh({type:t,reducerName:e,createNotation:r},n,i){let a,s;if("reducer"in n){if(r&&!$h(n))throw new Error(Ct(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(t,a).exposeCaseReducer(e,a).exposeAction(e,s?It(t,s):It(t))}function Fh(t){return t._reducerDefinitionType==="asyncThunk"}function $h(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Uh({type:t,reducerName:e},r,n,i){if(!i)throw new Error(Ct(18));let{payloadCreator:a,fulfilled:s,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,a,h);n.exposeAction(e,f),s&&n.addCase(f.fulfilled,s),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:s||Ln,pending:c||Ln,rejected:d||Ln,settled:p||Ln})}function Ln(){}var Vc="listener",Wc="completed",Gc="cancelled",v0=`task-${Gc}`,S0=`task-${Wc}`,E0=`${Vc}-${Gc}`,C0=`${Vc}-${Wc}`;var{assign:jc}=Object;var Fa="listenerMiddleware";var Bh=jc(It(`${Fa}/add`),{withTypes:()=>Bh}),O0=It(`${Fa}/removeAll`),zh=jc(It(`${Fa}/remove`),{withTypes:()=>zh});function Ct(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Pt=class t extends bt{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(Rr(a))return a;if(i==null)return;let s=Hc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Uc({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=We(s.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return s.reducer(d,p)}});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 go,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);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,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=d,y=this.getState()[f];fe(y,h)||this.setState({[f]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}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()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Hh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Rr(e)&&e.clear()}var kn=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);De(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Kc(t,e,r){return new kn(t,e,r).watch()}var Lr=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var za={};G(za,{scrollHelper:()=>Vh});var Ua,In=new Map,Ba=class{lock(e,r){if(r){let n=In.get(r);if(n==null||n===e)return In.set(r,e),r}}release(e,r){r&&In.get(r)===e&&In.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of Li(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)&&!["contents"].includes(getComputedStyle(e).display)}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=_t(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=(Ua=window.FluidTopicsScrollHelper)!==null&&Ua!==void 0?Ua:new Ba;var Vh=window.FluidTopicsScrollHelper;var Va={};G(Va,{SearchPlaceConverter:()=>kr,SearchPlaceQueryParams:()=>z,isSearchPlaceQueryParams:()=>Nd,serializeRequest:()=>qh});var Wh=t=>typeof t=="object"&&t!=null;var Gh=t=>typeof t=="number",Pn=t=>typeof t=="string",bd=t=>Wh(t)&&Pn(t.endpoint)&&Pn(t.method)&&Pn(t.statusText)&&Pn(t.body)&&Gh(t.status),qc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(qc||(qc={}));var Zc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Zc||(Zc={}));var Yc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Yc||(Yc={}));var Qc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Qc||(Qc={}));var Xc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Xc||(Xc={}));var Jc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Jc||(Jc={}));var ed;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(ed||(ed={}));var td;(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.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",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"})(td||(td={}));var rd;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(rd||(rd={}));var od;(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"})(od||(od={}));var nd;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(nd||(nd={}));var id;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(id||(id={}));var ad;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ad||(ad={}));var sd;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(sd||(sd={}));var ld;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ld||(ld={}));var cd;(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"})(cd||(cd={}));var $e;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})($e||($e={}));var dd;(function(t){t.ASC="ASC",t.DESC="DESC"})(dd||(dd={}));var ud;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ud||(ud={}));var wo;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(wo||(wo={}));var xd=t=>Object.keys(wo).includes(t);var pd;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(pd||(pd={}));var fd;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(fd||(fd={}));var hd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(hd||(hd={}));var Nt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Nt||(Nt={}));var vd=t=>Object.keys(Nt).includes(t);var md;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(md||(md={}));var Nn;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Nn||(Nn={}));var yd;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(yd||(yd={}));var ie;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(ie||(ie={}));var Ge;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ge||(Ge={}));var gd;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(gd||(gd={}));var Sd;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Sd||(Sd={}));var Ed;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ed||(Ed={}));var Cd;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Cd||(Cd={}));var Od;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Od||(Od={}));var wd;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(wd||(wd={}));var Ad;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ad||(Ad={}));var Rd;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Rd||(Rd={}));var _d;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(_d||(_d={}));var Td;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Td||(Td={}));var Ld;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(Ld||(Ld={}));var kd;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(kd||(kd={}));var jh={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN,ie.BEHAVIOR_DATA_USER],[ie.GENERATIVE_AI_EXPORT_USER]:[ie.GENERATIVE_AI_USER]};function Id(t,e){return t===e||(jh[t]??[]).some(r=>Id(r,e))}function Ha(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Id(n,e))}function Kh(t){return`"${t}"`}function Pd(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function qh(t,e){return new kr(t).serialize(e)}var z;(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.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(z||(z={}));var Zh=new Set(Object.values(z));function Nd(t){return Zh.has(t)}var kr=class{constructor(e,r=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,c,d,p,h,f,y,x,S,R;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(z.LOCALE,e.contentLocale):E.append(z.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&E.append(z.QUERY,e.query);let T=k=>{var W,L;let F=((L=(W=k.valueFilter)===null||W===void 0?void 0:W.values)!==null&&L!==void 0?L:[]).map(J=>this.escapeFilters(J)).map(J=>Kh(Pd(J))).join("_");return`${k.key}~${F}`},V=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(k=>k.valueFilter&&!k.valueFilter.negative))!==null&&a!==void 0?a:[];V.length>0&&E.append(z.VALUE_FILTERS,V.map(T).join("*"));let g=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(k=>k.valueFilter&&k.valueFilter.negative))!==null&&c!==void 0?c:[];g.length>0&&E.append(z.NEGATIVE_VALUE_FILTERS,g.map(T).join("*"));let b=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(k=>k.dateFilter))!==null&&p!==void 0?p:[];if(b.length>0){let k=b.map(W=>{var L;return`${W.key}~${(L=W.dateFilter)===null||L===void 0?void 0:L.type.toLowerCase()}`}).join("*");E.append(z.DATE_FILTERS,k)}let v=(f=(h=e.metadataFilters)===null||h===void 0?void 0:h.filter(k=>k.rangeFilter))!==null&&f!==void 0?f:[];if(v.length>0){let k=v.map(W=>{var L,F;return`${W.key}~${(L=W.rangeFilter)===null||L===void 0?void 0:L.from}_${(F=W.rangeFilter)===null||F===void 0?void 0:F.to}`}).join("*");E.append(z.RANGE_FILTERS,k)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(z.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&E.append(z.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&E.append(z.SORT,e.sortId),!((y=e.paging)===null||y===void 0)&&y.perPage&&((S=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&S!==void 0?S:this.defaultPerPage)!=this.defaultPerPage&&E.append(z.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&E.append(z.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let I=(R=e.otherQueryParams)!==null&&R!==void 0?R:{};for(let k in I)E.append(k,I[k]);let P=new Array;return E.forEach((k,W)=>{P.push(this.encodeQueryString(W)+"="+this.encodeQueryString(k))}),encodeURI(P.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(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;try{e=decodeURI(e).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let d=new URLSearchParams(e),p=d.get(z.LOCALE)==="all"?void 0:d.get(z.LOCALE),h=((r=d.get(z.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),f=(n=d.get(z.SORT))===null||n===void 0?void 0:n.toLowerCase(),y=(i=d.get(z.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=d.get(z.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),S=d.get(z.KEYWORD_MATCH),R=S?S.toUpperCase()===$e.MANDATORY?$e.MANDATORY:$e.OPTIONAL:void 0,E={};for(let T of d.keys())Nd(T)||(E[T]=d.get(T));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(z.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[y])!==null&&c!==void 0?c:"DEFAULT",virtualField:xd(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:_t(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:R,otherQueryParams:E}}parseCompatFilters(e){var r,n,i,a,s,c,d;let p=[];return e.has(z.FILTERS)&&(p=this.parseValueFilters((r=e.get(z.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(z.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(z.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...this.parseValueFilters((a=e.get(z.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseValueFilters((s=e.get(z.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((c=e.get(z.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(z.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Pd).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Nt[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.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(vd(e))return[{key:"ft:lastEdition",dateFilter:{type:Nt[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[z.LOCALE,z.FILTERS,z.VALUE_FILTERS,z.NEGATIVE_VALUE_FILTERS,z.DATE_FILTERS,z.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(z.LOCALE),r!==void 0&&n.searchParams.append(z.LOCALE,r),n.toString()}};var ja={};G(ja,{toFtFormComponent:()=>Ga});var Wa=Symbol("elementInternals"),Ga=le(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Wa].form}constructor(...n){super(n),this[Wa]=this.attachInternals()}setFormValue(n){this[Wa].setFormValue(n)}}return e});var Ka={};G(Ka,{DateFormatter:()=>ir});var ir=class{static format(e,r,n,i,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(e,r,n,i,!!a)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,a){let s=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:i?`${c} ${d}`:c}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Za={};G(Za,{ALL_KEYS_VALUE:()=>qa,SameWindowStorageEvent:()=>Ir});var qa="__all__",Ir=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==qa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Ir(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Ir(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Ir(qa))}});var Ya={};G(Ya,{FocusMainContentEvent:()=>Ao});var Ao=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Dd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Yh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Qh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Yh);document.addEventListener("click",Qh);var Md=A`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,33 +68,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var Ha={};G(Ha,{withAriaNotification:()=>ko});var Sh={checkVisibility:!0},ko=ce(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Sh,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new uo({type:"aria",message:n})))},20)}}return e});var za={};G(za,{withConditionalVisibility:()=>Ch});var xd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function Ch(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return xd([g({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),xd([D()],e.prototype,"isVisible",void 0),e}function Va(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function vd(t,e,r){return t?e(t):r?.(t)}var he=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},cr;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(cr||(cr={}));var dr;(function(t){t.default="default",t.warning="warning",t.error="error"})(dr||(dr={}));var Wa=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},hS=ce(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=cr.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=dr.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===cr.blur||this.validateOn===cr.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==dr.default&&this.validateOn===cr.blurWithStatusResolutionOnInput||this.validateOn===cr.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=Va(this.value,[...this.errorRules,...this.additionalErrorRules]),this.warningMessages=Va(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Wa(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return O`
71
+ `;var Qa={};G(Qa,{withAriaNotification:()=>Ro});var Xh={checkVisibility:!0},Ro=le(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Xh,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new oo({type:"aria",message:n})))},20)}}return e});var Xa={};G(Xa,{withConditionalVisibility:()=>Jh});var Fd=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};function Jh(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Fd([m({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Fd([D()],e.prototype,"isVisible",void 0),e}var es={};G(es,{FormController:()=>Ja});function em(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var Ja=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=em(r),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,r){if(this.data[e]===r)return;let n={...this.data};n[e]=r,this.data=n,this.checkValidity()}bind(e){return r=>this.setValue(e,r.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,r){var n,i;let a=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,r);a!==void 0&&this.errors.set(e,a)}checkValidity(e){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let r=this.config[e].selector;if(this.errors.has(e)&&r!==void 0)return r}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let r=this.host.renderRoot.querySelector(e);r instanceof HTMLElement&&r.focus()}async submit(e){var r,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=e.onInvalid)===null||r===void 0||r.call(e);return}e.onSuccess(await e.request(this.data))}catch(a){let s=bd(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};function ts(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function $d(t,e,r){return t?e(t):r?.(t)}var me=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},ar;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(ar||(ar={}));var sr;(function(t){t.default="default",t.warning="warning",t.error="error"})(sr||(sr={}));var rs=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},RS=le(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=ar.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=sr.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===ar.blur||this.validateOn===ar.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==sr.default&&this.validateOn===ar.blurWithStatusResolutionOnInput||this.validateOn===ar.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=ts(this.value,[...this.errorRules,...this.additionalErrorRules]),this.warningMessages=ts(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new rs(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return C`
72
72
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
73
73
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
74
- ${it(this.errorMessages,n=>O`
74
+ ${nt(this.errorMessages,n=>C`
75
75
  <li>${n}</li>
76
76
  `)}
77
- ${it(this.warningMessages,n=>O`
77
+ ${nt(this.warningMessages,n=>C`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${vd(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>O`
80
+ ${$d(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>C`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?dr.error:this.warningMessages.length?dr.warning:dr.default}}return he([g()],e.prototype,"warningRules",void 0),he([g()],e.prototype,"errorRules",void 0),he([g()],e.prototype,"validateOn",void 0),he([g({type:Boolean})],e.prototype,"validateAtRender",void 0),he([g()],e.prototype,"label",void 0),he([g({type:Boolean})],e.prototype,"hideLabel",void 0),he([g()],e.prototype,"name",void 0),he([g({type:Boolean})],e.prototype,"disabled",void 0),he([g()],e.prototype,"helperText",void 0),he([g()],e.prototype,"forceStatus",void 0),he([g({reflect:!0})],e.prototype,"value",void 0),he([D()],e.prototype,"errorMessages",void 0),he([D()],e.prototype,"warningMessages",void 0),he([D()],e.prototype,"status",void 0),he([D()],e.prototype,"focused",void 0),he([D()],e.prototype,"additionalWarningRules",void 0),he([D()],e.prototype,"additionalErrorRules",void 0),e});var Io=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),Io(n,e);return!0},Sn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Sd=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Ah(e)}};function Eh(t){this._$AN!==void 0?(Sn(this),this._$AM=t,Sd(this)):this._$AM=t}function Oh(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=r;a<n.length;a++)Io(n[a],!1),Sn(n[a]);else n!=null&&(Io(n,!1),Sn(n));else Io(this,t)}var Ah=t=>{t.type==nt.CHILD&&(t._$AP??=Oh,t._$AQ??=Eh)},Br=class extends Ve{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Sd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(Io(this,e),Sn(this))}setValue(e){if(Hs(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Ga=class extends Br{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return le}update(e){return this.part=e,this.ensureFocusTrap(e.element),le}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,n;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof ze&&await e.updateComplete}isInsideElement(e,r){for(let n=e;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},IS=De(Ga);var Cd;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Cd||(Cd={}));var wh={sm:640,md:768,lg:1024,xl:1280},ja=class extends Br{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),a=n??(()=>P);return this.size>i?r():a()}resolveThreshold(e){return typeof e=="number"?e:wh[e]}},MS=De(ja);var Rh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ka=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function Cn(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(i,a){var s,l;let d=(l=(s=this.configuredAnalyticsActions)===null||s===void 0?void 0:s[i])===null||l===void 0?void 0:l.eventName;if(!d)return;let p=e[i];this.dispatchEvent(new Ka({eventName:d,actionType:i,componentType:this.tagName.toLowerCase(),componentId:this.id||p?.defaultComponentId||this.tagName.toLowerCase(),data:a}))}}return r.analyticsActions=e,Rh([ie({})],r.prototype,"configuredAnalyticsActions",void 0),r}var qa,Za,Ya,Qa,ur=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ya=(Za=(qa=window.safari)===null||qa===void 0?void 0:qa.pushNotification)===null||Za===void 0?void 0:Za.toString())!==null&&Ya!==void 0?Ya:"")==="[object SafariRemoteNotification]",Th="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Qa=window.ftGlobals)!==null&&Qa!==void 0?Qa:{lit:oi,litDecorators:si,litRepeat:li,litClassMap:ci,litStyleMap:di,litUnsafeHTML:pi,wcUtils:{...Si,...fi,...Ai,...Fa,...wi,...hi,..._i,...vi,...Wi,...Ba,...yd,...ka,...Gi,...Li,...Qi,...Ma,...Zi,...Ha,...za,...ql,...yi,...ea,...ki,...oa,...bd,...Yl,...na,...Ta,...Ua,...ji,...qi,...Pa,...Ei,isSafari:ur,isTouchScreen:Th,setVariable:F}};var Lh={spacing:o.create("--ft-search-selected-facets-spacing","","SIZE","8px")},Ed=T`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?sr.error:this.warningMessages.length?sr.warning:sr.default}}return me([m()],e.prototype,"warningRules",void 0),me([m()],e.prototype,"errorRules",void 0),me([m()],e.prototype,"validateOn",void 0),me([m({type:Boolean})],e.prototype,"validateAtRender",void 0),me([m()],e.prototype,"label",void 0),me([m({type:Boolean})],e.prototype,"hideLabel",void 0),me([m()],e.prototype,"name",void 0),me([m({type:Boolean})],e.prototype,"disabled",void 0),me([m()],e.prototype,"helperText",void 0),me([m()],e.prototype,"forceStatus",void 0),me([m({reflect:!0})],e.prototype,"value",void 0),me([D()],e.prototype,"errorMessages",void 0),me([D()],e.prototype,"warningMessages",void 0),me([D()],e.prototype,"status",void 0),me([D()],e.prototype,"focused",void 0),me([D()],e.prototype,"additionalWarningRules",void 0),me([D()],e.prototype,"additionalErrorRules",void 0),e});var _o=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),_o(n,e);return!0},Dn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Ud=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),om(e)}};function tm(t){this._$AN!==void 0?(Dn(this),this._$AM=t,Ud(this)):this._$AM=t}function rm(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=r;a<n.length;a++)_o(n[a],!1),Dn(n[a]);else n!=null&&(_o(n,!1),Dn(n));else _o(this,t)}var om=t=>{t.type==ot.CHILD&&(t._$AP??=rm,t._$AQ??=tm)},Pr=class extends Ve{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Ud(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(_o(this,e),Dn(this))}setValue(e){if(Xs(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var os=class extends Pr{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return se}update(e){return this.part=e,this.ensureFocusTrap(e.element),se}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,n;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof He&&await e.updateComplete}isInsideElement(e,r){for(let n=e;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},GS=Ne(os);var Bd;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Bd||(Bd={}));var nm={sm:640,md:768,lg:1024,xl:1280},ns=class extends Pr{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),a=n??(()=>N);return this.size>i?r():a()}resolveThreshold(e){return typeof e=="number"?e:nm[e]}},ZS=Ne(ns);var im=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},is=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function Mn(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(i,a){var s,c;let d=(c=(s=this.configuredAnalyticsActions)===null||s===void 0?void 0:s[i])===null||c===void 0?void 0:c.eventName;if(!d)return;let p=e[i];this.dispatchEvent(new is({eventName:d,actionType:i,componentType:this.tagName.toLowerCase(),componentId:this.id||p?.defaultComponentId||this.tagName.toLowerCase(),data:a}))}}return r.analyticsActions=e,im([ne({})],r.prototype,"configuredAnalyticsActions",void 0),r}var as,ss,ls,cs,lr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ls=(ss=(as=window.safari)===null||as===void 0?void 0:as.pushNotification)===null||ss===void 0?void 0:ss.toString())!==null&&ls!==void 0?ls:"")==="[object SafariRemoteNotification]",am="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(cs=window.ftGlobals)!==null&&cs!==void 0?cs:{lit:gi,litDecorators:Si,litRepeat:Ei,litClassMap:Ci,litStyleMap:Oi,litUnsafeHTML:Ai,wcUtils:{...Di,...Ri,...Ui,...Ka,...Bi,..._i,...Wi,...Ni,...na,...Ya,...Dd,...za,...ia,...Vi,...ua,...ja,...ca,...Qa,...Xa,...ic,...ki,...ha,...Gi,...ga,...Md,...sc,...ba,...$a,...Za,...aa,...la,...Va,...Fi,...es,isSafari:lr,isTouchScreen:am,setVariable:$}};var sm={spacing:o.create("--ft-search-selected-facets-spacing","","SIZE","8px")},zd=A`
85
85
  .ft-search-selected-facets--container {
86
86
  display: flex;
87
87
  flex-wrap: wrap;
88
- gap: ${Lh.spacing};
88
+ gap: ${sm.spacing};
89
89
  }
90
90
 
91
91
  .ft-search-selected-facets--container > * {
92
92
  min-width: 0;
93
93
  }
94
- `;var Po;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Po||(Po={}));var _h="ft-app-info",pr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};pr.eventName="authentication-change";var No=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};No.eventName="ui-locale-changed";var kh={session:(t,e)=>{Ae(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>M.dispatchEvent(new pr(e.payload)),0))}},M=Dt.get({name:_h,reducers:kh,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var En=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Od=ce(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(M)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?l=>lr.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return En([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),En([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),En([ue({store:M.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),En([ue({store:M.name})],e.prototype,"uiLocale",void 0),e});var fr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=M.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=M.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Hr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:fr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):fr.await()}};var _e=class extends Hr{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new st,this.cache=e?i.commonCache:new st}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var On=class extends _e{async listMySearches(){let{session:e}=M.getState();return Ia(e,ae.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var An=class extends _e{async listMyBookmarks(){let e=M.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var wn=class extends _e{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var Rn=class extends _e{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var Ih="ft-user-assets",Ph={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(je).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:n,asset:i}=e.payload;Ja(t,r,[...Xa(t,r),i]),Ad(t,r,1,n),wd(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;Ja(t,r,Xa(t,r).map(i=>i.id===n.id?n:i)),wd(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;Ja(t,r,Xa(t,r).filter(a=>a.id!==i)),Ad(t,r,-1,n)}},Rd={[je.SEARCHES]:"savedSearches",[je.BOOKMARKS]:"bookmarks",[je.BOOKS]:void 0,[je.COLLECTIONS]:void 0},Xa=(t,e)=>{var r;let n=Rd[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},Ja=(t,e,r)=>{let n=Rd[e];n&&(t[n]=r)},Ad=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===je.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+r)}},wd=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},we=Dt.get({name:Ih,reducers:Ph,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(je).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),es=class{constructor(e=new wn,r=new Rn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new An,this.savedSearchesService=new On,M.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=M.getState();Ae((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),we.actions.clearAssetCount(),we.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),we.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),we.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();we.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();we.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&we.getState().assetCounts.allAsset[e]!==r.count&&we.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&we.getState().assetCounts.bookmarkByMap[e]!==r.count&&we.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(we.getState().assetCounts.bookmarkByMap).length!==0;e===je.BOOKMARKS&&r&&we.actions.clearBookmarkCountByMap(),we.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;we.actions.bookmarks(r)}}},Nh=new es;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Nh);var ts=class{addCommand(e,r=!1){M.commands.add(e,r)}consumeCommand(e){return M.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ts;var Td,zr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Dh=Symbol("clearAfterUnitTest"),Tn=class extends nn(_e){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Td]=()=>{this.defaultMessages={},this.cache=new st,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=M.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(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ae(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return 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 Eo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof wt)&&r&&console.error(i)}return n}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(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new zr({loadedContexts:e})),this.dispatchEvent(new zr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new zr({loadedContexts:[e]})),this.dispatchEvent(new zr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>on(0).then(()=>n()).catch(()=>null)))}};Td=Dh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Tn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Tn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Vr=window.FluidTopicsI18nService,Ln=window.FluidTopicsCustomI18nService;var rs=class{highlightHtml(e,r,n){Ji(e,r,n)}};window.FluidTopicsHighlightHtmlService=new rs;var os=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=M.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a,s;if(e==null)return"";try{return lr.format(e,(n=r?.locale)!==null&&n!==void 0?n:M.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new os;var Do=class{static get(e,r){var n,i,a,s;let l=M.getState(),{lang:d,region:p}=(a=(i=(n=l.localesConfiguration)===null||n===void 0?void 0:n.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new $r(l.baseUrl,e??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,r??`${d}-${p}`)}};var ns=class{urlToSearchRequest(e){return Do.get().parse(e)}searchRequestToUrl(e){return Do.get().serialize(e)}};window.FluidTopicsUrlService=new ns;var hr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};hr.eventName="change";var is=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Ld=new is;var _n=class t extends bt{static build(){return new t(window.history,Ld,()=>window.location,!1)}constructor(e,r,n,i){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ae(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new hr(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[a,s,l])=>{let d=r(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(i,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(hr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(hr.eventName,e)}currentItem(){return We(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return We(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return We(r.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return We(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=_n.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var _d=T`
95
- `;function kd(t,e){let{authenticationRequired:r,session:n}=M.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var kn=class extends Hr{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var as=class t extends Fr{static build(e){return new t(M,e)}constructor(e,r){super(),this.store=e,this.cache=new st,this.withManualResources=!0,this.userLocaleService=new kn,this.cleanSessionDebouncer=new Q,this.reloadDebouncer=new Q(500),this.apiProvider=r??(()=>fr.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}async initService(){this.store.addEventListener(pr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>kd(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}reloadConfiguration(){var e;(e=this.cache)===null||e===void 0||e.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new No(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},ss=as.build();var mr=class extends Event{constructor(e,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var Mo=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=r;for(let{elementRef:i,callbackRef:a}of n){let s=i.deref(),l=a.deref();s===void 0||l===void 0||s.dispatchEvent(new mr(e.context,s,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let a=i.callbacks.get(r);a===void 0&&i.callbacks.set(r,a=new WeakSet),a.has(n)||(a.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var me=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ee=class extends St{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=ss,this.contextRoot=new Mo}render(){return O`
94
+ `;var To;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(To||(To={}));var lm="ft-app-info",cr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};cr.eventName="authentication-change";var Lo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Lo.eventName="ui-locale-changed";var cm={session:(t,e)=>{fe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>M.dispatchEvent(new cr(e.payload)),0))}},M=Pt.get({name:lm,reducers:cm,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Fn=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},Hd=le(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(M)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>ir.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Fn([m({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Fn([m({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Fn([de({store:M.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Fn([de({store:M.name})],e.prototype,"uiLocale",void 0),e});var dr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=M.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=M.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Nr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:dr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):dr.await()}};var Te=class extends Nr{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new at,this.cache=e?i.commonCache:new at}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var $n=class extends Te{async listMySearches(){let{session:e}=M.getState();return Ha(e,ie.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var Un=class extends Te{async listMyBookmarks(){let e=M.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Bn=class extends Te{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var zn=class extends Te{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var dm="ft-user-assets",um={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Ge).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:n,asset:i}=e.payload;us(t,r,[...ds(t,r),i]),Vd(t,r,1,n),Wd(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;us(t,r,ds(t,r).map(i=>i.id===n.id?n:i)),Wd(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;us(t,r,ds(t,r).filter(a=>a.id!==i)),Vd(t,r,-1,n)}},Gd={[Ge.SEARCHES]:"savedSearches",[Ge.BOOKMARKS]:"bookmarks",[Ge.BOOKS]:void 0,[Ge.COLLECTIONS]:void 0},ds=(t,e)=>{var r;let n=Gd[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},us=(t,e,r)=>{let n=Gd[e];n&&(t[n]=r)},Vd=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Ge.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+r)}},Wd=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},Ae=Pt.get({name:dm,reducers:um,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ge).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ps=class{constructor(e=new Bn,r=new zn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Un,this.savedSearchesService=new $n,M.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=M.getState();fe((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Ae.actions.clearAssetCount(),Ae.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ae.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ae.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ae.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Ae.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Ae.getState().assetCounts.allAsset[e]!==r.count&&Ae.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Ae.getState().assetCounts.bookmarkByMap[e]!==r.count&&Ae.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Ae.getState().assetCounts.bookmarkByMap).length!==0;e===Ge.BOOKMARKS&&r&&Ae.actions.clearBookmarkCountByMap(),Ae.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ae.actions.bookmarks(r)}}},pm=new ps;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=pm);var fs=class{addCommand(e,r=!1){M.commands.add(e,r)}consumeCommand(e){return M.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new fs;var jd,Dr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},fm=Symbol("clearAfterUnitTest"),Hn=class extends rn(Te){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[jd]=()=>{this.defaultMessages={},this.cache=new at,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=M.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(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};fe(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return 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 yo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof Rt)&&r&&console.error(i)}return n}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(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Dr({loadedContexts:e})),this.dispatchEvent(new Dr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Dr({loadedContexts:[e]})),this.dispatchEvent(new Dr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>en(0).then(()=>n()).catch(()=>null)))}};jd=fm;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Hn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Hn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Mr=window.FluidTopicsI18nService,Vn=window.FluidTopicsCustomI18nService;var hs=class{highlightHtml(e,r,n){fa(e,r,n)}};window.FluidTopicsHighlightHtmlService=new hs;var ms=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=M.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,s;if(e==null)return"";try{return ir.format(e,(n=r?.locale)!==null&&n!==void 0?n:M.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new ms;var ko=class{static get(e,r){var n,i,a,s;let c=M.getState(),{lang:d,region:p}=(a=(i=(n=c.localesConfiguration)===null||n===void 0?void 0:n.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new kr(c.baseUrl,e??20,(s=c.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,r??`${d}-${p}`)}};var ys=class{urlToSearchRequest(e){return ko.get().parse(e)}searchRequestToUrl(e){return ko.get().serialize(e)}};window.FluidTopicsUrlService=new ys;var ur=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ur.eventName="change";var gs=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Kd=new gs;var Wn=class t extends bt{static build(){return new t(window.history,Kd,()=>window.location,!1)}constructor(e,r,n,i){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),fe(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ur(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[a,s,c])=>{let d=r(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[p,s,c]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(ur.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ur.eventName,e)}currentItem(){return We(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return We(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return We(r.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return We(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Wn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var qd=A`
95
+ `;function Zd(t,e){let{authenticationRequired:r,session:n}=M.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Gn=class extends Nr{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var bs=class t extends Lr{static build(e){return new t(M,e)}constructor(e,r){super(),this.store=e,this.cache=new at,this.withManualResources=!0,this.userLocaleService=new Gn,this.cleanSessionDebouncer=new Y,this.reloadDebouncer=new Y(500),this.apiProvider=r??(()=>dr.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}async initService(){this.store.addEventListener(cr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>Zd(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}reloadConfiguration(){var e;(e=this.cache)===null||e===void 0||e.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new Lo(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},xs=bs.build();var pr=class extends Event{constructor(e,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var Io=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=r;for(let{elementRef:i,callbackRef:a}of n){let s=i.deref(),c=a.deref();s===void 0||c===void 0||s.dispatchEvent(new pr(e.context,s,c,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let a=i.callbacks.get(r);a===void 0&&i.callbacks.set(r,a=new WeakSet),a.has(n)||(a.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var ye=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},ee=class extends St{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=xs,this.contextRoot=new Io}render(){return C`
96
96
  <slot></slot>
97
- `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Vr.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};ee.elementDefinitions={};ee.styles=_d;me([g()],ee.prototype,"baseUrl",void 0);me([g()],ee.prototype,"tenantId",void 0);me([g()],ee.prototype,"apiIntegrationIdentifier",void 0);me([g()],ee.prototype,"apiIntegrationAppVersion",void 0);me([g()],ee.prototype,"uiLocale",void 0);me([ie(null)],ee.prototype,"availableUiLocales",void 0);me([ie(null)],ee.prototype,"metadataConfiguration",void 0);me([g({type:Boolean})],ee.prototype,"editorMode",void 0);me([g({type:Boolean})],ee.prototype,"noCustom",void 0);me([g({type:Boolean})],ee.prototype,"openExternalDocumentInNewTab",void 0);me([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ee.prototype,"noCustomComponent",void 0);me([g({type:Boolean})],ee.prototype,"withManualResources",void 0);me([g({type:Boolean})],ee.prototype,"navigatorOnline",void 0);me([g({type:Boolean})],ee.prototype,"forcedOffline",void 0);me([g({type:Boolean})],ee.prototype,"authenticationRequired",void 0);me([ie([])],ee.prototype,"messageContexts",void 0);me([ie(void 0)],ee.prototype,"session",void 0);var Id={"ft-app-context":ee};K(Id);var In=class t extends Event{constructor(){super(t.eventName)}};In.eventName="search-context-clear-all-filters";var Pn=t=>t.request.virtualField===Lo.TITLE_ONLY&&t.request.scope===vn.DOCUMENTS,Nn=t=>t.request.keywordMatch==$e.MANDATORY;var Pd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},cs=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Nd=Symbol("registerInterval"),ls=Symbol("registerAttempts"),$h=40,Uh=ce(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,a,s;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(a=n.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ls]=0,this.tryToRegisterToContext(),this[Nd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[ls]>$h?window.clearInterval(this[Nd]):(this[ls]++,this.dispatchEvent(new cs))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Pd([D()],e.prototype,"stateManager",void 0),Pd([D({hasChanged:Me})],e.prototype,"neededSearchRequests",void 0),e}),Ft=class extends Uh(St){};var Dd=o.extend("--ft-ripple-color","",w.colorContent),ge={color:Dd,backgroundColor:o.extend("--ft-ripple-background-color","",Dd),opacityContentOnSurfacePressed:o.external(w.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(w.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(w.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(w.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Md=o.extend("--ft-ripple-color","",w.colorPrimary),Fd={color:Md,backgroundColor:o.extend("--ft-ripple-background-color","",Md)},$d=o.extend("--ft-ripple-color","",w.colorSecondary),Ud={color:$d,backgroundColor:o.extend("--ft-ripple-background-color","",$d)},Bd=T`
97
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Mr.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};ee.elementDefinitions={};ee.styles=qd;ye([m()],ee.prototype,"baseUrl",void 0);ye([m()],ee.prototype,"tenantId",void 0);ye([m()],ee.prototype,"apiIntegrationIdentifier",void 0);ye([m()],ee.prototype,"apiIntegrationAppVersion",void 0);ye([m()],ee.prototype,"uiLocale",void 0);ye([ne(null)],ee.prototype,"availableUiLocales",void 0);ye([ne(null)],ee.prototype,"metadataConfiguration",void 0);ye([m({type:Boolean})],ee.prototype,"editorMode",void 0);ye([m({type:Boolean})],ee.prototype,"noCustom",void 0);ye([m({type:Boolean})],ee.prototype,"openExternalDocumentInNewTab",void 0);ye([m({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ee.prototype,"noCustomComponent",void 0);ye([m({type:Boolean})],ee.prototype,"withManualResources",void 0);ye([m({type:Boolean})],ee.prototype,"navigatorOnline",void 0);ye([m({type:Boolean})],ee.prototype,"forcedOffline",void 0);ye([m({type:Boolean})],ee.prototype,"authenticationRequired",void 0);ye([ne([])],ee.prototype,"messageContexts",void 0);ye([ne(void 0)],ee.prototype,"session",void 0);var Yd={"ft-app-context":ee};j(Yd);var jn=class t extends Event{constructor(){super(t.eventName)}};jn.eventName="search-context-clear-all-filters";var Kn=t=>t.request.virtualField===wo.TITLE_ONLY&&t.request.scope===Nn.DOCUMENTS,qn=t=>t.request.keywordMatch==$e.MANDATORY;var Qd=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},Ss=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Xd=Symbol("registerInterval"),vs=Symbol("registerAttempts"),ym=40,gm=le(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,a,s;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(a=n.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[vs]=0,this.tryToRegisterToContext(),this[Xd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[vs]>ym?window.clearInterval(this[Xd]):(this[vs]++,this.dispatchEvent(new Ss))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Qd([D()],e.prototype,"stateManager",void 0),Qd([D({hasChanged:De})],e.prototype,"neededSearchRequests",void 0),e}),Dt=class extends gm(St){};var Jd=o.extend("--ft-ripple-color","",O.colorContent),ge={color:Jd,backgroundColor:o.extend("--ft-ripple-background-color","",Jd),opacityContentOnSurfacePressed:o.external(O.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(O.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(O.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(O.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},eu=o.extend("--ft-ripple-color","",O.colorPrimary),tu={color:eu,backgroundColor:o.extend("--ft-ripple-background-color","",eu)},ru=o.extend("--ft-ripple-color","",O.colorSecondary),ou={color:ru,backgroundColor:o.extend("--ft-ripple-background-color","",ru)},nu=A`
98
98
  :host {
99
99
  display: contents;
100
100
  }
@@ -149,19 +149,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
149
149
  }
150
150
 
151
151
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
152
- background-color: ${Ud.backgroundColor};
152
+ background-color: ${ou.backgroundColor};
153
153
  }
154
154
 
155
155
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
156
- background-color: ${Ud.color};
156
+ background-color: ${ou.color};
157
157
  }
158
158
 
159
159
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
160
- background-color: ${Fd.backgroundColor};
160
+ background-color: ${tu.backgroundColor};
161
161
  }
162
162
 
163
163
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
164
- background-color: ${Fd.color};
164
+ background-color: ${tu.color};
165
165
  }
166
166
 
167
167
  .ft-ripple .ft-ripple--background {
@@ -206,121 +206,121 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
206
206
  opacity: ${ge.opacityContentOnSurfacePressed};
207
207
  transform: translate(-50%, -50%) scale(1);
208
208
  }
209
- `;var 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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Y=class extends ${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 Q(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 Q(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 O`
209
+ `;var Le=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},Z=class extends U{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 Y(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 Y(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 C`
210
210
  <style>
211
211
  .ft-ripple .ft-ripple--effect {
212
212
  left: ${this.originX}px;
213
213
  top: ${this.originY}px;
214
214
  }
215
215
  </style>
216
- <div class="${Te(e)}">
216
+ <div class="${we(e)}">
217
217
  <div class="ft-ripple--background"></div>
218
218
  <div class="ft-ripple--effect"></div>
219
219
  </div>
220
- `}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)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=Bd;ke([g({type:Boolean})],Y.prototype,"primary",void 0);ke([g({type:Boolean})],Y.prototype,"secondary",void 0);ke([g({type:Boolean})],Y.prototype,"unbounded",void 0);ke([g({type:Boolean})],Y.prototype,"activated",void 0);ke([g({type:Boolean})],Y.prototype,"selected",void 0);ke([g({type:Boolean})],Y.prototype,"disabled",void 0);ke([D()],Y.prototype,"hovered",void 0);ke([D()],Y.prototype,"focused",void 0);ke([D()],Y.prototype,"pressed",void 0);ke([D()],Y.prototype,"rippling",void 0);ke([D()],Y.prototype,"originX",void 0);ke([D()],Y.prototype,"originY",void 0);ke([z(".ft-ripple")],Y.prototype,"ripple",void 0);ke([z(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);var Hd={"ft-ripple":Y};K(Hd);var Vd=Symbol.for(""),Bh=t=>{if(t?.r===Vd)return t?._$litStatic$},ds=t=>({_$litStatic$:t,r:Vd});var zd=new Map,us=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(a=r[p],(i=Bh(a))!==void 0);)d+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=zd.get(f))===void 0&&(s.raw=s,zd.set(f,e=s)),r=l}return t(e,...r)},ps=us(O),tw=us(Xn),rw=us(Jn);var ye;(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"})(ye||(ye={}));var Wd=o.extend("--ft-typography-font-family","",w.titleFont),Et=o.extend("--ft-typography-font-family","",w.contentFont),L={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")},Wr={fontFamily:o.extend("--ft-typography-title-font-family","",Wd),fontSize:o.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},Gr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Wd),fontSize:o.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},jr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},Kr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},qr={fontFamily:o.extend("--ft-typography-body1-font-family","",Et),fontSize:o.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},de={fontFamily:o.extend("--ft-typography-body2-font-family","",Et),fontSize:o.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},Zr={fontFamily:o.extend("--ft-typography-caption-font-family","",Et),fontSize:o.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},Yr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Et),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},Qr={fontFamily:o.extend("--ft-typography-overline-font-family","",Et),fontSize:o.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},pt={fontFamily:o.extend("--ft-typography-button-font-family","",Et),fontSize:o.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},Gd=T`
220
+ `}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)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,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()}};Z.elementDefinitions={};Z.styles=nu;Le([m({type:Boolean})],Z.prototype,"primary",void 0);Le([m({type:Boolean})],Z.prototype,"secondary",void 0);Le([m({type:Boolean})],Z.prototype,"unbounded",void 0);Le([m({type:Boolean})],Z.prototype,"activated",void 0);Le([m({type:Boolean})],Z.prototype,"selected",void 0);Le([m({type:Boolean})],Z.prototype,"disabled",void 0);Le([D()],Z.prototype,"hovered",void 0);Le([D()],Z.prototype,"focused",void 0);Le([D()],Z.prototype,"pressed",void 0);Le([D()],Z.prototype,"rippling",void 0);Le([D()],Z.prototype,"originX",void 0);Le([D()],Z.prototype,"originY",void 0);Le([H(".ft-ripple")],Z.prototype,"ripple",void 0);Le([H(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);var iu={"ft-ripple":Z};j(iu);var su=Symbol.for(""),bm=t=>{if(t?.r===su)return t?._$litStatic$},Es=t=>({_$litStatic$:t,r:su});var au=new Map,Cs=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(a=r[p],(i=bm(a))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=au.get(f))===void 0&&(s.raw=s,au.set(f,e=s)),r=c}return t(e,...r)},Os=Cs(C),mA=Cs(pi),yA=Cs(fi);var be;(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"})(be||(be={}));var lu=o.extend("--ft-typography-font-family","",O.titleFont),Ot=o.extend("--ft-typography-font-family","",O.contentFont),_={fontFamily:Ot,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")},Fr={fontFamily:o.extend("--ft-typography-title-font-family","",lu),fontSize:o.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},$r={fontFamily:o.extend("--ft-typography-title-dense-font-family","",lu),fontSize:o.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},Ur={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ot),fontSize:o.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},Br={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ot),fontSize:o.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},zr={fontFamily:o.extend("--ft-typography-body1-font-family","",Ot),fontSize:o.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},ce={fontFamily:o.extend("--ft-typography-body2-font-family","",Ot),fontSize:o.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},Hr={fontFamily:o.extend("--ft-typography-caption-font-family","",Ot),fontSize:o.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},Vr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ot),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},Wr={fontFamily:o.extend("--ft-typography-overline-font-family","",Ot),fontSize:o.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},ut={fontFamily:o.extend("--ft-typography-button-font-family","",Ot),fontSize:o.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},cu=A`
221
221
  .ft-typography--title {
222
- font-family: ${Wr.fontFamily};
223
- font-size: ${Wr.fontSize};
224
- font-weight: ${Wr.fontWeight};
225
- letter-spacing: ${Wr.letterSpacing};
226
- line-height: ${Wr.lineHeight};
227
- text-transform: ${Wr.textTransform};
228
- }
229
- `,jd=T`
222
+ font-family: ${Fr.fontFamily};
223
+ font-size: ${Fr.fontSize};
224
+ font-weight: ${Fr.fontWeight};
225
+ letter-spacing: ${Fr.letterSpacing};
226
+ line-height: ${Fr.lineHeight};
227
+ text-transform: ${Fr.textTransform};
228
+ }
229
+ `,du=A`
230
230
  .ft-typography--title-dense {
231
- font-family: ${Gr.fontFamily};
232
- font-size: ${Gr.fontSize};
233
- font-weight: ${Gr.fontWeight};
234
- letter-spacing: ${Gr.letterSpacing};
235
- line-height: ${Gr.lineHeight};
236
- text-transform: ${Gr.textTransform};
237
- }
238
- `,Kd=T`
231
+ font-family: ${$r.fontFamily};
232
+ font-size: ${$r.fontSize};
233
+ font-weight: ${$r.fontWeight};
234
+ letter-spacing: ${$r.letterSpacing};
235
+ line-height: ${$r.lineHeight};
236
+ text-transform: ${$r.textTransform};
237
+ }
238
+ `,uu=A`
239
239
  .ft-typography--subtitle1 {
240
- font-family: ${jr.fontFamily};
241
- font-size: ${jr.fontSize};
242
- font-weight: ${jr.fontWeight};
243
- letter-spacing: ${jr.letterSpacing};
244
- line-height: ${jr.lineHeight};
245
- text-transform: ${jr.textTransform};
246
- }
247
- `,qd=T`
240
+ font-family: ${Ur.fontFamily};
241
+ font-size: ${Ur.fontSize};
242
+ font-weight: ${Ur.fontWeight};
243
+ letter-spacing: ${Ur.letterSpacing};
244
+ line-height: ${Ur.lineHeight};
245
+ text-transform: ${Ur.textTransform};
246
+ }
247
+ `,pu=A`
248
248
  .ft-typography--subtitle2 {
249
- font-family: ${Kr.fontFamily};
250
- font-size: ${Kr.fontSize};
251
- font-weight: ${Kr.fontWeight};
252
- letter-spacing: ${Kr.letterSpacing};
253
- line-height: ${Kr.lineHeight};
254
- text-transform: ${Kr.textTransform};
249
+ font-family: ${Br.fontFamily};
250
+ font-size: ${Br.fontSize};
251
+ font-weight: ${Br.fontWeight};
252
+ letter-spacing: ${Br.letterSpacing};
253
+ line-height: ${Br.lineHeight};
254
+ text-transform: ${Br.textTransform};
255
255
  }
256
256
 
257
- `,Zd=T`
257
+ `,fu=A`
258
258
  .ft-typography--body1 {
259
- font-family: ${qr.fontFamily};
260
- font-size: ${qr.fontSize};
261
- font-weight: ${qr.fontWeight};
262
- letter-spacing: ${qr.letterSpacing};
263
- line-height: ${qr.lineHeight};
264
- text-transform: ${qr.textTransform};
265
- }
266
- `,Yd=T`
259
+ font-family: ${zr.fontFamily};
260
+ font-size: ${zr.fontSize};
261
+ font-weight: ${zr.fontWeight};
262
+ letter-spacing: ${zr.letterSpacing};
263
+ line-height: ${zr.lineHeight};
264
+ text-transform: ${zr.textTransform};
265
+ }
266
+ `,hu=A`
267
267
  .ft-typography--body2 {
268
- font-family: ${de.fontFamily};
269
- font-size: ${de.fontSize};
270
- font-weight: ${de.fontWeight};
271
- letter-spacing: ${de.letterSpacing};
272
- line-height: ${de.lineHeight};
273
- text-transform: ${de.textTransform};
274
- }
275
- `,Dn=T`
268
+ font-family: ${ce.fontFamily};
269
+ font-size: ${ce.fontSize};
270
+ font-weight: ${ce.fontWeight};
271
+ letter-spacing: ${ce.letterSpacing};
272
+ line-height: ${ce.lineHeight};
273
+ text-transform: ${ce.textTransform};
274
+ }
275
+ `,Zn=A`
276
276
  .ft-typography--caption {
277
- font-family: ${Zr.fontFamily};
278
- font-size: ${Zr.fontSize};
279
- font-weight: ${Zr.fontWeight};
280
- letter-spacing: ${Zr.letterSpacing};
281
- line-height: ${Zr.lineHeight};
282
- text-transform: ${Zr.textTransform};
283
- }
284
- `,Qd=T`
277
+ font-family: ${Hr.fontFamily};
278
+ font-size: ${Hr.fontSize};
279
+ font-weight: ${Hr.fontWeight};
280
+ letter-spacing: ${Hr.letterSpacing};
281
+ line-height: ${Hr.lineHeight};
282
+ text-transform: ${Hr.textTransform};
283
+ }
284
+ `,mu=A`
285
285
  .ft-typography--breadcrumb {
286
- font-family: ${Yr.fontFamily};
287
- font-size: ${Yr.fontSize};
288
- font-weight: ${Yr.fontWeight};
289
- letter-spacing: ${Yr.letterSpacing};
290
- line-height: ${Yr.lineHeight};
291
- text-transform: ${Yr.textTransform};
292
- }
293
- `,Xd=T`
286
+ font-family: ${Vr.fontFamily};
287
+ font-size: ${Vr.fontSize};
288
+ font-weight: ${Vr.fontWeight};
289
+ letter-spacing: ${Vr.letterSpacing};
290
+ line-height: ${Vr.lineHeight};
291
+ text-transform: ${Vr.textTransform};
292
+ }
293
+ `,yu=A`
294
294
  .ft-typography--overline {
295
- font-family: ${Qr.fontFamily};
296
- font-size: ${Qr.fontSize};
297
- font-weight: ${Qr.fontWeight};
298
- letter-spacing: ${Qr.letterSpacing};
299
- line-height: ${Qr.lineHeight};
300
- text-transform: ${Qr.textTransform};
301
- }
302
- `,Jd=T`
295
+ font-family: ${Wr.fontFamily};
296
+ font-size: ${Wr.fontSize};
297
+ font-weight: ${Wr.fontWeight};
298
+ letter-spacing: ${Wr.letterSpacing};
299
+ line-height: ${Wr.lineHeight};
300
+ text-transform: ${Wr.textTransform};
301
+ }
302
+ `,gu=A`
303
303
  .ft-typography--button {
304
- font-family: ${pt.fontFamily};
305
- font-size: ${pt.fontSize};
306
- font-weight: ${pt.fontWeight};
307
- letter-spacing: ${pt.letterSpacing};
308
- line-height: ${pt.lineHeight};
309
- text-transform: ${pt.textTransform};
310
- }
311
- `,eu=T`
304
+ font-family: ${ut.fontFamily};
305
+ font-size: ${ut.fontSize};
306
+ font-weight: ${ut.fontWeight};
307
+ letter-spacing: ${ut.letterSpacing};
308
+ line-height: ${ut.lineHeight};
309
+ text-transform: ${ut.textTransform};
310
+ }
311
+ `,bu=A`
312
312
  .ft-typography {
313
313
  vertical-align: inherit;
314
314
  }
315
- `;var tu=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},te=class extends ${constructor(){super(...arguments),this.variant=ye.body1}render(){return this.element?ps`
316
- <${ds(this.element)}
315
+ `;var xu=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},te=class extends U{constructor(){super(...arguments),this.variant=be.body1}render(){return this.element?Os`
316
+ <${Es(this.element)}
317
317
  part="text"
318
318
  class="ft-typography ft-typography--${this.variant}">
319
319
  <slot></slot>
320
- </${ds(this.element)}>
321
- `:ps`
320
+ </${Es(this.element)}>
321
+ `:Os`
322
322
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
323
- `}};te.styles=[Gd,jd,Kd,qd,Zd,Yd,Dn,Qd,Xd,Jd,eu];tu([g()],te.prototype,"element",void 0);tu([g()],te.prototype,"variant",void 0);var ru={"ft-typography":te};K(ru);var Ue={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")},ou=[T`
323
+ `}};te.styles=[cu,du,uu,pu,fu,hu,Zn,mu,yu,gu,bu];xu([m()],te.prototype,"element",void 0);xu([m()],te.prototype,"variant",void 0);var vu={"ft-typography":te};j(vu);var Ue={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")},Su=[A`
324
324
  :host, i.ft-icon {
325
325
  display: inline-flex;
326
326
  align-items: center;
@@ -368,12 +368,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
368
368
  .ft-icon--material {
369
369
  font-family: ${Ue.materialFontFamily}, "Material Icons", sans-serif;
370
370
  }
371
- `,nr];var $t;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})($t||($t={}));var Mn;(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.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Mn||(Mn={}));var R;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(R||(R={}));var Lw=new Map([...["abw"].map(t=>[t,R.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,R.AUDIO]),...["avi"].map(t=>[t,R.AVI]),...["chm","xhs"].map(t=>[t,R.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,R.CODE]),...["csv"].map(t=>[t,R.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,R.DITA]),...["epub"].map(t=>[t,R.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,R.EXCEL]),...["flac"].map(t=>[t,R.FLAC]),...["gif"].map(t=>[t,R.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,R.GZIP]),...["html","htm","xhtml"].map(t=>[t,R.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,R.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,R.JPEG]),...["json"].map(t=>[t,R.JSON]),...["m4a","m4p"].map(t=>[t,R.M4A]),...["mov","qt"].map(t=>[t,R.MOV]),...["mp3"].map(t=>[t,R.MP3]),...["mp4","m4v"].map(t=>[t,R.MP4]),...["ogg","oga"].map(t=>[t,R.OGG]),...["pdf","ps"].map(t=>[t,R.PDF]),...["png"].map(t=>[t,R.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,R.POWERPOINT]),...["rar"].map(t=>[t,R.RAR]),...["stp"].map(t=>[t,R.STP]),...["txt","rtf","md","mdown"].map(t=>[t,R.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,R.VIDEO]),...["wav"].map(t=>[t,R.WAV]),...["wma"].map(t=>[t,R.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,R.WORD]),...["xml","xsl","rdf"].map(t=>[t,R.XML]),...["yaml","yml","x-yaml"].map(t=>[t,R.YAML]),...["zip"].map(t=>[t,R.ZIP])]);var _w={[R.ABW]:"#91ABC6",[R.AUDIO]:"#1795E3",[R.AVI]:"#E63324",[R.CHM]:"#71C3EB",[R.CODE]:"#71C3EB",[R.CSV]:"#1F7345",[R.DITA]:"#71C3EB",[R.EPUB]:"#85B926",[R.EXCEL]:"#1F7345",[R.FLAC]:"#1795E3",[R.GIF]:"#59B031",[R.GZIP]:"#F8AB36",[R.HTML]:"#71C3EB",[R.IMAGE]:"#59B031",[R.JPEG]:"#59B031",[R.JSON]:"#71C3EB",[R.M4A]:"#1795E3",[R.MOV]:"#E63324",[R.MP3]:"#1795E3",[R.MP4]:"#E63324",[R.OGG]:"#1795E3",[R.PDF]:"#E44948",[R.PNG]:"#59B031",[R.POWERPOINT]:"#B54A2B",[R.RAR]:"#F8AB36",[R.STP]:"#3764B1",[R.TEXT]:"#3162AB",[R.UNKNOWN]:"#999999",[R.VIDEO]:"#E63324",[R.WAV]:"#1795E3",[R.WMA]:"#1795E3",[R.WORD]:"#3162AB",[R.XML]:"#71C3EB",[R.YAML]:"#71C3EB",[R.ZIP]:"#F8AB36"};var Fo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},be=class extends ${constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=P}render(){let e=this.variant&&Object.values($t).includes(this.variant)?this.variant:$t.fluid_topics,r=e!==$t.material||!!this.value;return O`
371
+ `,rr];var Mt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Mt||(Mt={}));var Yn;(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.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Yn||(Yn={}));var w;(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;"})(w||(w={}));var VA=new Map([...["abw"].map(t=>[t,w.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,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.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,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.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,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.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,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]);var WA={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var Po=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 U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=N}render(){let e=this.variant&&Object.values(Mt).includes(this.variant)?this.variant:Mt.fluid_topics,r=e!==Mt.material||!!this.value;return C`
372
372
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
373
- ${ui(this.resolvedIcon)}
373
+ ${wi(this.resolvedIcon)}
374
374
  <slot ?hidden=${r}></slot>
375
375
  </i>
376
- `}getTextContent(){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.getTextContent();switch(this.variant){case $t.file_format:this.resolvedIcon=(e=R[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case $t.material:this.resolvedIcon=this.value||P;break;default:this.resolvedIcon=(r=Mn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};be.elementDefinitions={};be.styles=ou;Fo([g()],be.prototype,"variant",void 0);Fo([g()],be.prototype,"value",void 0);Fo([g({reflect:!0,attribute:"aria-hidden"})],be.prototype,"ariaHidden",void 0);Fo([D()],be.prototype,"resolvedIcon",void 0);Fo([z("slot")],be.prototype,"slottedContent",void 0);var nu={"ft-icon":be};K(nu);var $o={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"),borderRadiusS:o.extend("--ft-tooltip-border-radius","",w.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},iu=T`
376
+ `}getTextContent(){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.getTextContent();switch(this.variant){case Mt.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Mt.material:this.resolvedIcon=this.value||N;break;default:this.resolvedIcon=(r=Yn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};xe.elementDefinitions={};xe.styles=Su;Po([m()],xe.prototype,"variant",void 0);Po([m()],xe.prototype,"value",void 0);Po([m({reflect:!0,attribute:"aria-hidden"})],xe.prototype,"ariaHidden",void 0);Po([D()],xe.prototype,"resolvedIcon",void 0);Po([H("slot")],xe.prototype,"slottedContent",void 0);var Eu={"ft-icon":xe};j(Eu);var No={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"),borderRadiusS:o.extend("--ft-tooltip-border-radius","",O.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Cu=A`
377
377
  .ft-tooltip--container {
378
378
  display: block;
379
379
  }
@@ -391,25 +391,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
391
391
  box-sizing: border-box;
392
392
  overflow: hidden;
393
393
  width: max-content;
394
- max-width: ${$o.maxWidth};
394
+ max-width: ${No.maxWidth};
395
395
  text-align: center;
396
- padding: ${$o.distance};
396
+ padding: ${No.distance};
397
397
  }
398
398
 
399
399
  .ft-tooltip--content {
400
400
  padding: 4px 8px;
401
- border-radius: ${$o.borderRadiusS};
402
- background-color: ${$o.backgroundColor};
403
- color: ${$o.color};
401
+ border-radius: ${No.borderRadiusS};
402
+ background-color: ${No.backgroundColor};
403
+ color: ${No.color};
404
404
  position: relative;
405
405
  word-break: break-word;
406
406
  }
407
- `;var fs=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Xr=new fs;var Hh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Bo=Symbol("i18nAttributes"),au=Symbol("i18nListAttributes"),su=Symbol("i18nProperties"),Fn=Symbol("i18nContexts"),Uo=Symbol("i18nUnsubs"),ft=ce(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Ln:Vr}i18n(a){let{context:s,key:l,message:d}=a,{custom:p,args:h,argsProvider:f}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(s,l,...m)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Xr.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,p=(h,f,m)=>m?.context&&m.key&&a(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(s=this[Bo])===null||s===void 0||s.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[au])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(y=>p(h,f,y))})}updateI18nProperties(a){var s;(s=this[su])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Fn].set(d,{isCustomContext:l}),this[Uo].has(d)||this[Uo].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[Fn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Fn].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Uo].forEach(a=>a()),this[Uo].clear()}}return e=Fn,r=Uo,Hh([g({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),$n=class extends ft($){},Un=class extends ft(St){};var hs=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Xr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},zh=new hs;var lu=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:Me,converter:Xr,...e}),r[Bo]=(i=r[Bo])!==null&&i!==void 0?i:new Map,r[Bo].set(n,t??{})};var Ut=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Ln:Vr}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var cu=T`
408
- `;var Ho=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Qe=class extends Un{constructor(){super(),this.editorMode=!1,this.addStore(M)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":P:O`
407
+ `;var ws=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Gr=new ws;var xm=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},Mo=Symbol("i18nAttributes"),Ou=Symbol("i18nListAttributes"),wu=Symbol("i18nProperties"),Qn=Symbol("i18nContexts"),Do=Symbol("i18nUnsubs"),pt=le(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Vn:Mr}i18n(a){let{context:s,key:c,message:d}=a,{custom:p,args:h,argsProvider:f}=a;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let y=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(s,c,...y)}return d}async awaitI18n(a){let{context:s,custom:c}=a;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Gr.isI18nKey(a)){let[c,d]=a.split(".");return this.i18n({custom:!0,context:c,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,d)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let d=this,p=(h,f,y)=>y?.context&&y.key&&a(h,f,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...h})}:y;(s=this[Mo])===null||s===void 0||s.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[Ou])===null||c===void 0||c.forEach((h,f)=>{var y;return d[f]=(y=d[f])===null||y===void 0?void 0:y.map(x=>p(h,f,x))})}updateI18nProperties(a){var s;(s=this[wu])===null||s===void 0||s.forEach((c,d)=>{a(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let d=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[Qn].set(d,{isCustomContext:c}),this[Do].has(d)||this[Do].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(a){return this[Qn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Qn].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Do].forEach(a=>a()),this[Do].clear()}}return e=Qn,r=Do,xm([m({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Xn=class extends pt(U){},Jn=class extends pt(St){};var As=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Gr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},vm=new As;var Au=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:De,converter:Gr,...e}),r[Mo]=(i=r[Mo])!==null&&i!==void 0?i:new Map,r[Mo].set(n,t??{})};var Ft=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Vn:Mr}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var Ru=A`
408
+ `;var Fo=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 Jn{constructor(){super(),this.editorMode=!1,this.addStore(M)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":N:C`
409
409
  <span class="ft-i18n">
410
410
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
411
411
  </span>
412
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Qe.elementDefinitions={};Qe.styles=cu;Ho([ue()],Qe.prototype,"editorMode",void 0);Ho([g()],Qe.prototype,"context",void 0);Ho([g()],Qe.prototype,"key",void 0);Ho([ie([])],Qe.prototype,"args",void 0);Ho([g()],Qe.prototype,"defaultMessage",void 0);var du={"ft-i18n":Qe};K(du);var Xe=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},se=class extends $n{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Q,this.revealDebouncer=new Q,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return O`
412
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ye.elementDefinitions={};Ye.styles=Ru;Fo([de()],Ye.prototype,"editorMode",void 0);Fo([m()],Ye.prototype,"context",void 0);Fo([m()],Ye.prototype,"key",void 0);Fo([ne([])],Ye.prototype,"args",void 0);Fo([m()],Ye.prototype,"defaultMessage",void 0);var _u={"ft-i18n":Ye};j(_u);var Qe=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},ae=class extends Xn{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Y,this.revealDebouncer=new Y,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return C`
413
413
  <div part="container"
414
414
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
415
415
  <slot part="slot"></slot>
@@ -418,13 +418,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
418
418
  popover="manual">
419
419
  <div part="tooltip-content" class="ft-tooltip--content">
420
420
  <slot name="text"></slot>
421
- <ft-typography variant="${ye.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
421
+ <ft-typography variant="${be.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
422
422
  ${(r=this.text)===null||r===void 0?void 0:r.message}
423
423
  </ft-typography>
424
424
  </div>
425
425
  </div>
426
426
  </div>
427
- `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,n;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let n=this.manual;this.manual=!0;let i=this.text;this.text={message:e},await this.show(r),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Vi(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${w.transitionDuration}, left ${w.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return mi(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};se.elementDefinitions={"ft-typography":te};se.styles=iu;Xe([lu()],se.prototype,"text",void 0);Xe([g({type:Boolean})],se.prototype,"manual",void 0);Xe([g({type:Boolean})],se.prototype,"inline",void 0);Xe([at()],se.prototype,"delay",void 0);Xe([g()],se.prototype,"position",void 0);Xe([ie([])],se.prototype,"ignoreMatchingElements",void 0);Xe([ai()],se.prototype,"slotNodes",void 0);Xe([z(".ft-tooltip--container")],se.prototype,"container",void 0);Xe([z(".ft-tooltip")],se.prototype,"tooltip",void 0);Xe([z(".ft-tooltip--content")],se.prototype,"tooltipContent",void 0);Xe([D()],se.prototype,"visible",void 0);var uu={"ft-tooltip":se};K(uu);var gr={color:o.extend("--ft-loader-color","",w.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},pu=T`
427
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,n;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let n=this.manual;this.manual=!0;let i=this.text;this.text={message:e},await this.show(r),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&oa(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${O.transitionDuration}, left ${O.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return Ti(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};ae.elementDefinitions={"ft-typography":te};ae.styles=Cu;Qe([Au()],ae.prototype,"text",void 0);Qe([m({type:Boolean})],ae.prototype,"manual",void 0);Qe([m({type:Boolean})],ae.prototype,"inline",void 0);Qe([it()],ae.prototype,"delay",void 0);Qe([m()],ae.prototype,"position",void 0);Qe([ne([])],ae.prototype,"ignoreMatchingElements",void 0);Qe([vi()],ae.prototype,"slotNodes",void 0);Qe([H(".ft-tooltip--container")],ae.prototype,"container",void 0);Qe([H(".ft-tooltip")],ae.prototype,"tooltip",void 0);Qe([H(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);Qe([D()],ae.prototype,"visible",void 0);var Tu={"ft-tooltip":ae};j(Tu);var fr={color:o.extend("--ft-loader-color","",O.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Lu=A`
428
428
  :host {
429
429
  line-height: 0;
430
430
  }
@@ -433,8 +433,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
433
433
  display: inline-block;
434
434
  position: relative;
435
435
 
436
- width: ${gr.size};
437
- height: ${gr.size};
436
+ width: ${fr.size};
437
+ height: ${fr.size};
438
438
  }
439
439
 
440
440
  .ft-loader div {
@@ -443,7 +443,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
443
443
  width: 25%;
444
444
  height: 25%;
445
445
  border-radius: 50%;
446
- background: ${gr.color};
446
+ background: ${fr.color};
447
447
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
448
448
  }
449
449
 
@@ -490,17 +490,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
490
490
  transform: translate(0, 0);
491
491
  }
492
492
  100% {
493
- transform: translate(calc(0.35 * ${gr.size}), 0);
493
+ transform: translate(calc(0.35 * ${fr.size}), 0);
494
494
  }
495
495
  }
496
- `;var yr=class extends ${render(){return O`
496
+ `;var hr=class extends U{render(){return C`
497
497
  <div class="ft-loader">
498
498
  <div></div>
499
499
  <div></div>
500
500
  <div></div>
501
501
  <div></div>
502
502
  </div>
503
- `}};yr.styles=pu;var fu={"ft-loader":yr};K(fu);var ms=t=>t??P;var hu=o.extend("--ft-button-color","",w.colorPrimary),Z={backgroundColor:o.extend("--ft-button-background-color","",w.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",w.borderRadiusL),color:hu,fontSize:o.extend("--ft-button-font-size","",pt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",hu),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(w.colorOpacityDisabled,"Design system")},mu=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",w.colorOnPrimary)),gs={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",w.colorPrimary)),color:mu,rippleColor:o.extend("--ft-button-primary-ripple-color","",mu)},Je={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",w.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")},gu=T`
503
+ `}};hr.styles=Lu;var ku={"ft-loader":hr};j(ku);var $o=t=>t??N;var Iu=o.extend("--ft-button-color","",O.colorPrimary),q={backgroundColor:o.extend("--ft-button-background-color","",O.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",O.borderRadiusL),color:Iu,fontSize:o.extend("--ft-button-font-size","",ut.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Iu),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(O.colorOpacityDisabled,"Design system")},Pu=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",O.colorOnPrimary)),Rs={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",O.colorPrimary)),color:Pu,rippleColor:o.extend("--ft-button-primary-ripple-color","",Pu)},ft={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",O.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")},Nu=A`
504
504
  :host {
505
505
  display: inline-block;
506
506
  max-width: 100%;
@@ -511,7 +511,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
511
511
  box-shadow: 0px 0px 0px transparent;
512
512
  border: 0px solid transparent;
513
513
  text-shadow: 0px 0px 0px transparent;
514
- font-size: ${Z.fontSize};
514
+ font-size: ${q.fontSize};
515
515
  text-decoration: none;
516
516
  }
517
517
 
@@ -531,7 +531,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
531
531
  }
532
532
 
533
533
  .ft-button:focus-visible {
534
- outline: 2px solid ${w.colorPrimary};
534
+ outline: 2px solid ${O.colorPrimary};
535
535
  outline-offset: 2px;
536
536
  }
537
537
 
@@ -545,32 +545,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
545
545
  border: none;
546
546
  pointer-events: auto;
547
547
 
548
- --button-internal-line-height: max(calc(${Z.fontSize} + 2px), ${Z.iconSize});
549
- --button-internal-color: ${Z.color};
550
- ${F(Ue.size,Z.iconSize)};
551
- ${F(ge.color,Z.rippleColor)};
552
- ${F(ge.borderRadius,Z.borderRadius)};
548
+ --button-internal-line-height: max(calc(${q.fontSize} + 2px), ${q.iconSize});
549
+ --button-internal-color: ${q.color};
550
+ ${$(Ue.size,q.iconSize)};
551
+ ${$(ge.color,q.rippleColor)};
552
+ ${$(ge.borderRadius,q.borderRadius)};
553
553
 
554
- border-radius: ${Z.borderRadius};
555
- padding: ${Z.verticalPadding} ${Z.horizontalPadding};
556
- background-color: ${Z.backgroundColor};
554
+ border-radius: ${q.borderRadius};
555
+ padding: ${q.verticalPadding} ${q.horizontalPadding};
556
+ background-color: ${q.backgroundColor};
557
557
  color: var(--button-internal-color);
558
558
  }
559
559
 
560
560
  .ft-button.ft-button--outlined {
561
561
  border: 1px solid var(--button-internal-color);
562
- padding: calc(${Z.verticalPadding} - 1px) calc(${Z.horizontalPadding} - 1px);
562
+ padding: calc(${q.verticalPadding} - 1px) calc(${q.horizontalPadding} - 1px);
563
563
  }
564
564
 
565
565
  .ft-button.ft-button--dense {
566
- padding: ${Je.verticalPadding} ${Je.horizontalPadding};
567
- border-radius: ${Je.borderRadius};
568
- gap: ${Je.iconPadding};
569
- ${F(ge.borderRadius,Je.borderRadius)};
566
+ padding: ${ft.verticalPadding} ${ft.horizontalPadding};
567
+ border-radius: ${ft.borderRadius};
568
+ ${$(ge.borderRadius,ft.borderRadius)};
570
569
  }
571
570
 
572
571
  .ft-button.ft-button--dense.ft-button--outlined {
573
- padding: calc(${Je.verticalPadding} - 1px) calc(${Je.horizontalPadding} - 1px);
572
+ padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
574
573
  }
575
574
 
576
575
  .ft-button:not([disabled]):hover {
@@ -578,22 +577,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
578
577
  }
579
578
 
580
579
  .ft-button--round {
581
- border-radius: calc(var(--button-internal-line-height) / 2 + ${Z.verticalPadding});
580
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${q.verticalPadding});
582
581
  }
583
582
 
584
583
  .ft-button--round.ft-button--dense {
585
- border-radius: calc(var(--button-internal-line-height) / 2 + ${Je.verticalPadding});
584
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${ft.verticalPadding});
586
585
  }
587
586
 
588
587
  .ft-button[disabled] {
589
588
  filter: grayscale(1);
590
- opacity: ${Z.opacityDisabled};
589
+ opacity: ${q.opacityDisabled};
591
590
  }
592
591
 
593
592
  .ft-button.ft-button--primary {
594
- background-color: ${gs.backgroundColor};
595
- --button-internal-color: ${gs.color};
596
- ${F(ge.color,gs.rippleColor)};
593
+ background-color: ${Rs.backgroundColor};
594
+ --button-internal-color: ${Rs.color};
595
+ ${$(ge.color,Rs.rippleColor)};
597
596
  }
598
597
 
599
598
  .ft-button--label {
@@ -602,17 +601,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
602
601
  white-space: nowrap;
603
602
  text-overflow: ellipsis;
604
603
  display: block;
605
- margin: 0 ${Z.iconPadding};
606
- ${F(pt.fontSize,"1em")};
607
- ${F(pt.lineHeight,"var(--button-internal-line-height)")};
604
+ margin: 0 ${q.iconPadding};
605
+ ${$(ut.fontSize,"1em")};
606
+ ${$(ut.lineHeight,"var(--button-internal-line-height)")};
608
607
  }
609
608
 
610
609
  .ft-button--dense .ft-button--label {
611
- margin: 0 ${Je.iconPadding};
610
+ margin: 0 ${ft.iconPadding};
612
611
  }
613
612
 
614
- .ft-button--label[hidden] {
615
- display: none;
613
+ .ft-button--label.ft-button--label-no-text {
614
+ margin: 0;
616
615
  }
617
616
 
618
617
  [part="icon"] {
@@ -621,13 +620,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
621
620
  }
622
621
 
623
622
  .ft-button--label[hidden] + [part="icon"] {
624
- margin: 0 calc(${Z.horizontalPadding} * -1);
625
- padding: 0 ${Z.verticalPadding};
623
+ margin: 0 calc(${q.horizontalPadding} * -1);
624
+ padding: 0 ${q.verticalPadding};
626
625
  }
627
626
 
628
627
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
629
- margin: 0 calc(${Je.horizontalPadding} * -1);
630
- padding: 0 ${Je.verticalPadding};
628
+ margin: 0 calc(${ft.horizontalPadding} * -1);
629
+ padding: 0 ${ft.verticalPadding};
631
630
  }
632
631
 
633
632
  .ft-button:not(.ft-button--trailing-icon) [part="label"] {
@@ -635,52 +634,51 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
635
634
  }
636
635
 
637
636
  ft-loader {
638
- ${F(gr.size,Z.iconSize)};
639
- ${F(gr.color,"var(--button-internal-color)")};
637
+ ${$(fr.size,q.iconSize)};
638
+ ${$(fr.color,"var(--button-internal-color)")};
640
639
  }
641
- `;var 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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},V=class extends Da($){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}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.label="",this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i=O`
640
+ `;var Q=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},B=class t extends Ga(U){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}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!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={"ft-button--label":!0,"ft-safari-ellipsis-fix":lr,"ft-button--label-no-text":!this.hasTextContent},a=C`
642
641
  <ft-ripple part="ripple"
643
642
  ?disabled=${this.isDisabled()}
644
643
  ?activated=${this.activated}
645
644
  ></ft-ripple>
646
645
  <ft-typography part="label"
647
- variant="${ye.button}"
646
+ variant="${be.button}"
648
647
  element="span"
649
- class="ft-button--label ${ur?"ft-safari-ellipsis-fix":""}"
650
- ?hidden=${!this.hasTextContent()}>
651
- <slot @slotchange=${this.onSlotchange}></slot>
648
+ class="${we(i)}">
649
+ <slot></slot>
652
650
  </ft-typography>
653
651
  ${this.resolveIcon()}
654
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?O`
655
- <a href="${a}"
652
+ `,s=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(s?C`
653
+ <a href="${s}"
656
654
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
657
655
  part="button"
658
- class="${Te(this.buttonClasses)}"
659
- aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
656
+ class="${we(this.buttonClasses)}"
657
+ aria-label="${$o((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
660
658
  ?disabled=${this.isDisabled()}>
661
- ${i}
659
+ ${a}
662
660
  </a>
663
- `:O`
661
+ `:C`
664
662
  <button part="button"
665
- class="${Te(this.buttonClasses)}"
666
- aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
667
- aria-haspopup="${ms(this.ariaHasPopup)}"
668
- aria-pressed="${ms(this.ariaPressed)}"
663
+ class="${we(this.buttonClasses)}"
664
+ aria-label="${$o((n=this.ariaLabel)!==null&&n!==void 0?n:this.label)}"
665
+ aria-haspopup="${$o(this.ariaHasPopup)}"
666
+ aria-pressed="${$o(this.ariaPressed)}"
669
667
  ?disabled=${this.isDisabled()}>
670
- ${i}
668
+ ${a}
671
669
  </button>
672
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?O`
670
+ `)}addTooltipIfNeeded(e){return this.label&&this.label.trim().length>0&&(this.forceTooltip||!this.hasTextContent&&!this.hideTooltip)?C`
673
671
  <ft-tooltip part="tooltip"
674
- text="${this.getLabel()}"
672
+ text="${this.label}"
675
673
  position="${this.tooltipPosition}">
676
674
  ${e}
677
675
  </ft-tooltip>
678
- `:e}resolveIcon(){return this.loading?O`
679
- <ft-loader part="loader icon"></ft-loader> `:this.icon?O`
676
+ `:e}resolveIcon(){return this.loading?C`
677
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?C`
680
678
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
681
- `:O`
679
+ `:C`
682
680
  <slot part="icon" name="icon"></slot>
683
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Er(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};V.elementDefinitions={"ft-ripple":Y,"ft-tooltip":se,"ft-icon":be,"ft-loader":yr,"ft-typography":te};V.styles=[ta,gu,nr];re([g({type:Boolean})],V.prototype,"primary",void 0);re([g({type:Boolean})],V.prototype,"outlined",void 0);re([g({type:Boolean})],V.prototype,"dense",void 0);re([g({type:Boolean})],V.prototype,"round",void 0);re([g({type:Boolean})],V.prototype,"disabled",void 0);re([g()],V.prototype,"icon",void 0);re([g()],V.prototype,"iconVariant",void 0);re([g({type:Boolean})],V.prototype,"trailingIcon",void 0);re([g()],V.prototype,"label",void 0);re([g()],V.prototype,"type",void 0);re([g()],V.prototype,"href",void 0);re([g()],V.prototype,"target",void 0);re([g({type:Boolean})],V.prototype,"loading",void 0);re([g({attribute:"aria-label"})],V.prototype,"ariaLabel",void 0);re([g()],V.prototype,"ariaHasPopup",void 0);re([g({attribute:"aria-pressed"})],V.prototype,"ariaPressed",void 0);re([g()],V.prototype,"tooltipPosition",void 0);re([g({type:Boolean})],V.prototype,"hideTooltip",void 0);re([g({type:Boolean})],V.prototype,"forceTooltip",void 0);re([g({type:Boolean})],V.prototype,"activated",void 0);re([z(".ft-button")],V.prototype,"button",void 0);re([z(".ft-button--label slot")],V.prototype,"slottedContent",void 0);re([z("[part=tooltip]")],V.prototype,"tooltip",void 0);var yu={"ft-button":V};K(yu);var bu=o.extend("--ft-chip-color","",w.colorOnSurface),Ie={backgroundColor:o.extend("--ft-chip-background-color","",w.colorSurface),color:bu,fontSize:o.extend("--ft-chip-font-size","",de.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",de.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",bu),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",w.colorOutline),opacityDisabled:o.external(w.colorOpacityDisabled,"Design system")},xu=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",w.colorOnPrimary)),ys={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",w.colorPrimary)),color:xu,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",xu)},vu={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Su=[nr,T`
681
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};B.elementDefinitions={"ft-ripple":Z,"ft-tooltip":ae,"ft-icon":xe,"ft-loader":hr,"ft-typography":te};B.styles=[ma,Nu,rr];B.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r.host?r.host.hasTextContent=e.boundingClientRect.width>0:B.labelsObserver.unobserve(e.target)}});Q([m({type:Boolean})],B.prototype,"primary",void 0);Q([m({type:Boolean})],B.prototype,"outlined",void 0);Q([m({type:Boolean})],B.prototype,"dense",void 0);Q([m({type:Boolean})],B.prototype,"round",void 0);Q([m({type:Boolean})],B.prototype,"disabled",void 0);Q([m()],B.prototype,"icon",void 0);Q([m()],B.prototype,"iconVariant",void 0);Q([m({type:Boolean})],B.prototype,"trailingIcon",void 0);Q([m()],B.prototype,"label",void 0);Q([m()],B.prototype,"type",void 0);Q([m()],B.prototype,"href",void 0);Q([m()],B.prototype,"target",void 0);Q([m({type:Boolean})],B.prototype,"loading",void 0);Q([m({attribute:"aria-label"})],B.prototype,"ariaLabel",void 0);Q([m()],B.prototype,"ariaHasPopup",void 0);Q([m({attribute:"aria-pressed"})],B.prototype,"ariaPressed",void 0);Q([m()],B.prototype,"tooltipPosition",void 0);Q([m({type:Boolean})],B.prototype,"hideTooltip",void 0);Q([m({type:Boolean})],B.prototype,"forceTooltip",void 0);Q([m({type:Boolean})],B.prototype,"activated",void 0);Q([H(".ft-button")],B.prototype,"button",void 0);Q([H(".ft-button--label")],B.prototype,"labelContainer",void 0);Q([D()],B.prototype,"hasTextContent",void 0);Q([H(".ft-button--label slot")],B.prototype,"slottedContent",void 0);Q([H("[part=tooltip]")],B.prototype,"tooltip",void 0);var Du={"ft-button":B};j(Du);var Mu=o.extend("--ft-chip-color","",O.colorOnSurface),ke={backgroundColor:o.extend("--ft-chip-background-color","",O.colorSurface),color:Mu,fontSize:o.extend("--ft-chip-font-size","",ce.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",ce.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Mu),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",O.colorOutline),opacityDisabled:o.external(O.colorOpacityDisabled,"Design system")},Fu=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",O.colorOnPrimary)),_s={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",O.colorPrimary)),color:Fu,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Fu)},$u={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Uu=[rr,A`
684
682
  :host {
685
683
  display: inline-block;
686
684
  max-width: 100%;
@@ -696,21 +694,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
696
694
  box-sizing: border-box;
697
695
  pointer-events: auto;
698
696
 
699
- --chip-internal-font-size: ${Ie.fontSize};
700
- --chip-internal-font-weight: ${Ie.fontWeight};
697
+ --chip-internal-font-size: ${ke.fontSize};
698
+ --chip-internal-font-weight: ${ke.fontWeight};
701
699
  --chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
702
- ${F(Ue.size,Ie.iconSize)};
703
- --chip-internal-vertical-padding: ${Ie.verticalPadding};
704
- --chip-internal-horizontal-padding: ${Ie.horizontalPadding};
700
+ ${$(Ue.size,ke.iconSize)};
701
+ --chip-internal-vertical-padding: ${ke.verticalPadding};
702
+ --chip-internal-horizontal-padding: ${ke.horizontalPadding};
705
703
  --chip-internal-icon-padding: 3px;
706
- --chip-internal-content-height: max(var(--chip-internal-line-height), ${Ie.iconSize});
704
+ --chip-internal-content-height: max(var(--chip-internal-line-height), ${ke.iconSize});
707
705
 
708
- border: 1px solid ${Ie.borderColor};
709
- color: ${Ie.color};
710
- ${F(ge.color,Ie.rippleColor)};
711
- border-radius: var(${Gt(Ie.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
706
+ border: 1px solid ${ke.borderColor};
707
+ color: ${ke.color};
708
+ ${$(ge.color,ke.rippleColor)};
709
+ border-radius: var(${Vt(ke.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
712
710
  padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
713
- background-color: ${Ie.backgroundColor};
711
+ background-color: ${ke.backgroundColor};
714
712
  line-height: var(--chip-internal-content-height);
715
713
  }
716
714
 
@@ -720,28 +718,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
720
718
 
721
719
  .ft-chip--dense {
722
720
  --chip-internal-icon-padding: 3px;
723
- --chip-internal-vertical-padding: ${vu.verticalPadding};
724
- --chip-internal-horizontal-padding: ${vu.horizontalPadding};
721
+ --chip-internal-vertical-padding: ${$u.verticalPadding};
722
+ --chip-internal-horizontal-padding: ${$u.horizontalPadding};
725
723
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
726
724
  }
727
725
 
728
726
  .ft-chip--no-content {
729
- --chip-internal-horizontal-padding: ${Ie.horizontalPadding.get(T`var(--chip-internal-vertical-padding)`)};
727
+ --chip-internal-horizontal-padding: ${ke.horizontalPadding.get(A`var(--chip-internal-vertical-padding)`)};
730
728
  }
731
729
 
732
730
  .ft-chip--disabled {
733
731
  cursor: default;
734
732
  pointer-events: none;
735
733
  filter: grayscale(1);
736
- opacity: ${Ie.opacityDisabled};
734
+ opacity: ${ke.opacityDisabled};
737
735
  }
738
736
 
739
737
  .ft-chip--highlighted {
740
738
  border: none;
741
739
  padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
742
- background-color: ${ys.backgroundColor};
743
- ${F(ge.color,ys.rippleColor)};
744
- color: ${ys.color};
740
+ background-color: ${_s.backgroundColor};
741
+ ${$(ge.color,_s.rippleColor)};
742
+ color: ${_s.color};
745
743
  }
746
744
 
747
745
  .ft-chip--clickable {
@@ -750,7 +748,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
750
748
  }
751
749
 
752
750
  .ft-chip:focus {
753
- outline: 2px solid ${w.colorPrimary};
751
+ outline: 2px solid ${O.colorPrimary};
754
752
  outline-offset: 2px;
755
753
  }
756
754
 
@@ -772,9 +770,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
772
770
  }
773
771
 
774
772
  .ft-chip--icon-button {
775
- ${F(Z.iconSize,Ie.iconSize)};
776
- ${F(Z.horizontalPadding,"var(--chip-internal-icon-padding)")};
777
- ${F(Z.verticalPadding,"var(--chip-internal-icon-padding)")};
773
+ ${$(q.iconSize,ke.iconSize)};
774
+ ${$(q.horizontalPadding,"var(--chip-internal-icon-padding)")};
775
+ ${$(q.verticalPadding,"var(--chip-internal-icon-padding)")};
778
776
  margin: calc((-1) * var(--chip-internal-icon-padding));
779
777
  }
780
778
 
@@ -782,9 +780,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
782
780
  vertical-align: bottom;
783
781
  display: block;
784
782
  margin: 0 var(--chip-internal-horizontal-padding);
785
- ${F(de.fontSize,"var(--chip-internal-font-size)")};
786
- ${F(de.fontWeight,"var(--chip-internal-font-weight)")};
787
- ${F(de.lineHeight,"var(--chip-internal-content-height)")};
783
+ ${$(ce.fontSize,"var(--chip-internal-font-size)")};
784
+ ${$(ce.fontWeight,"var(--chip-internal-font-weight)")};
785
+ ${$(ce.lineHeight,"var(--chip-internal-content-height)")};
788
786
  }
789
787
 
790
788
  .ft-chip--safari-fix .ft-chip--label {
@@ -820,8 +818,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
820
818
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
821
819
  order: -1;
822
820
  }
823
- `];var 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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Bn=class extends CustomEvent{constructor(){super("icon-click")}},oe=class extends ${constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){var e;let r={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ur};return O`
824
- <div class="${Te(r)}"
821
+ `];var 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},ei=class extends CustomEvent{constructor(){super("icon-click")}},re=class extends U{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){var e;let r={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":lr};return C`
822
+ <div class="${we(r)}"
825
823
  aria-label="${this.getLabel()}"
826
824
  tabindex="${this.interactionsOnChip?0:-1}"
827
825
  @keyup=${this.onKeyUp}
@@ -832,7 +830,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
832
830
  </ft-typography>
833
831
  ${this.internalIcon?this.renderIcon():null}
834
832
  </div>
835
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?O`
833
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?C`
836
834
  <ft-button round
837
835
  class="ft-chip--icon-button"
838
836
  @click=${this.onIconClick}
@@ -843,12 +841,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
843
841
  part="icon-button"
844
842
  ?hideTooltip=${this.hideIconTooltip}
845
843
  ></ft-button>
846
- `:O`
844
+ `:C`
847
845
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
848
846
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
849
847
  </div>
850
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Bn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Bn))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Er(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};oe.elementDefinitions={"ft-ripple":Y,"ft-typography":te,"ft-icon":be,"ft-button":V};oe.styles=Su;Re([g({type:Boolean})],oe.prototype,"highlighted",void 0);Re([g({type:Boolean})],oe.prototype,"removable",void 0);Re([g({type:Boolean})],oe.prototype,"disabled",void 0);Re([g({type:Boolean})],oe.prototype,"clickable",void 0);Re([g({type:Boolean})],oe.prototype,"iconClickable",void 0);Re([g({type:Boolean})],oe.prototype,"dense",void 0);Re([g({type:Boolean})],oe.prototype,"multiLine",void 0);Re([g()],oe.prototype,"label",void 0);Re([g()],oe.prototype,"iconLabel",void 0);Re([g({type:Boolean})],oe.prototype,"hideIconTooltip",void 0);Re([g()],oe.prototype,"icon",void 0);Re([g()],oe.prototype,"iconVariant",void 0);Re([g({type:Boolean})],oe.prototype,"trailingIcon",void 0);Re([g()],oe.prototype,"typographyVariant",void 0);Re([z("ft-typography slot")],oe.prototype,"slottedContent",void 0);var Cu={"ft-chip":oe};K(Cu);var Eu=T`
851
- `;var zo={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",w.colorOnSurface),borderRadiusM:o.external(w.borderRadiusM,"Design system"),colorOutline:o.external(w.colorOutline,"Design system"),colorOnSurface:o.external(w.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(w.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(w.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(w.colorPrimary,"Design system"),colorOnPrimary:o.external(w.colorOnPrimary,"Design system"),fontFamily:o.external(de.fontFamily,"Body2 typography"),fontSize:o.external(de.fontSize,"Body2 typography"),fontWeight:o.external(de.fontWeight,"Body2 typography"),letterSpacing:o.external(de.letterSpacing,"Body2 typography"),lineHeight:o.external(de.lineHeight,"Body2 typography"),textTransform:o.external(de.textTransform,"Body2 typography")},Ou=T`
848
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ei))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ei))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return tn(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};re.elementDefinitions={"ft-ripple":Z,"ft-typography":te,"ft-icon":xe,"ft-button":B};re.styles=Uu;Re([m({type:Boolean})],re.prototype,"highlighted",void 0);Re([m({type:Boolean})],re.prototype,"removable",void 0);Re([m({type:Boolean})],re.prototype,"disabled",void 0);Re([m({type:Boolean})],re.prototype,"clickable",void 0);Re([m({type:Boolean})],re.prototype,"iconClickable",void 0);Re([m({type:Boolean})],re.prototype,"dense",void 0);Re([m({type:Boolean})],re.prototype,"multiLine",void 0);Re([m()],re.prototype,"label",void 0);Re([m()],re.prototype,"iconLabel",void 0);Re([m({type:Boolean})],re.prototype,"hideIconTooltip",void 0);Re([m()],re.prototype,"icon",void 0);Re([m()],re.prototype,"iconVariant",void 0);Re([m({type:Boolean})],re.prototype,"trailingIcon",void 0);Re([m()],re.prototype,"typographyVariant",void 0);Re([H("ft-typography slot")],re.prototype,"slottedContent",void 0);var Bu={"ft-chip":re};j(Bu);var zu=A`
849
+ `;var Uo={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",O.colorOnSurface),borderRadiusM:o.external(O.borderRadiusM,"Design system"),colorOutline:o.external(O.colorOutline,"Design system"),colorOnSurface:o.external(O.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(O.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(O.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(O.colorPrimary,"Design system"),colorOnPrimary:o.external(O.colorOnPrimary,"Design system"),fontFamily:o.external(ce.fontFamily,"Body2 typography"),fontSize:o.external(ce.fontSize,"Body2 typography"),fontWeight:o.external(ce.fontWeight,"Body2 typography"),letterSpacing:o.external(ce.letterSpacing,"Body2 typography"),lineHeight:o.external(ce.lineHeight,"Body2 typography"),textTransform:o.external(ce.textTransform,"Body2 typography")},Hu=A`
852
850
  .ft-filter-level--container {
853
851
  display: flex;
854
852
  flex-direction: column;
@@ -863,14 +861,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
863
861
  flex-shrink: 0;
864
862
  text-decoration: none;
865
863
  position: relative;
866
- border-radius: ${zo.borderRadiusM};
864
+ border-radius: ${Uo.borderRadiusM};
867
865
  overflow: hidden;
868
866
  display: flex;
869
867
  align-items: center;
870
868
  padding: 4px 4px;
871
869
  gap: 4px;
872
870
  cursor: pointer;
873
- color: ${zo.colorOnSurface};
871
+ color: ${Uo.colorOnSurface};
874
872
  }
875
873
 
876
874
  .ft-filter-level--go-back:focus {
@@ -899,11 +897,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
899
897
  }
900
898
 
901
899
  ft-button {
902
- ${F(Z.color,zo.colorOnSurface)};
900
+ ${$(q.color,Uo.colorOnSurface)};
903
901
  }
904
902
 
905
903
  ft-button.ft-filter-level--display-more {
906
- ${F(Z.color,zo.buttonMoreColor)};
904
+ ${$(q.color,Uo.buttonMoreColor)};
907
905
  }
908
906
 
909
907
  ft-radio, ft-checkbox {
@@ -917,9 +915,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
917
915
 
918
916
  .ft-filter-level--no-values {
919
917
  margin: 10px 0;
920
- color: ${zo.colorOnSurfaceMedium};
918
+ color: ${Uo.colorOnSurfaceMedium};
921
919
  }
922
- `;var Be={textColor:o.extend("--ft-checkbox-text-color","",w.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",L.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",w.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",w.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",w.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",w.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",w.colorError)},Au=T`
920
+ `;var Be={textColor:o.extend("--ft-checkbox-text-color","",O.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",_.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",O.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",O.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",O.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",O.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",O.colorError)},Vu=A`
923
921
  * {
924
922
  box-sizing: border-box;
925
923
  }
@@ -1000,7 +998,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1000
998
 
1001
999
  .ft-checkbox.ft-checkbox--error {
1002
1000
  color: ${Be.errorColor};
1003
- ${F(ge.color,Be.errorColor)};
1001
+ ${$(ge.color,Be.errorColor)};
1004
1002
 
1005
1003
  .ft-checkbox--box {
1006
1004
  border-color: ${Be.errorColor};
@@ -1012,7 +1010,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1012
1010
  }
1013
1011
  }
1014
1012
  }
1015
- `;var Ot=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bs=class extends CustomEvent{constructor(e){super("change",{detail:e})}},xe=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}renderBoxContainer(){return O`
1013
+ `;var wt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var 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},Ts=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ve=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}renderBoxContainer(){return C`
1016
1014
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1017
1015
  <ft-ripple part="checkbox-ripple"
1018
1016
  ?disabled=${this.disabled}
@@ -1034,27 +1032,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1034
1032
  @change=${this.onChange}
1035
1033
  >
1036
1034
  </div>
1037
- `}render(){return O`
1038
- <label class="${Te(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
1035
+ `}render(){return C`
1036
+ <label class="${we(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
1039
1037
  ${this.renderBoxContainer()}
1040
- <ft-typography variant="${ye.body2}" part="checkbox-body">
1038
+ <ft-typography variant="${be.body2}" part="checkbox-body">
1041
1039
  <slot @slotchange=${this.onSlotchange}></slot>
1042
1040
  </ft-typography>
1043
1041
  </label>
1044
- `}renderBoxIcon(){return O`
1042
+ `}renderBoxIcon(){return C`
1045
1043
  <svg class="ft-checkbox--checkmark" viewBox="0 0 24 24" part="checkbox-check" aria-hidden="true">
1046
1044
  <path class="ft-checkbox--checkmark-path" fill="none"
1047
1045
  d="${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}"></path>
1048
1046
  </svg>
1049
- `}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new bs(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};xe.elementDefinitions={"ft-ripple":Y,"ft-typography":te};xe.styles=Au;Ot([g()],xe.prototype,"name",void 0);Ot([g()],xe.prototype,"value",void 0);Ot([g({type:Boolean,reflect:!0})],xe.prototype,"checked",void 0);Ot([g({type:Boolean})],xe.prototype,"indeterminate",void 0);Ot([g({type:Boolean})],xe.prototype,"disabled",void 0);Ot([g({type:Boolean})],xe.prototype,"error",void 0);Ot([z(".ft-checkbox")],xe.prototype,"container",void 0);Ot([z("ft-ripple")],xe.prototype,"ripple",void 0);Ot([z("input")],xe.prototype,"input",void 0);var wu={"ft-checkbox":xe};K(wu);var Bt={textColor:o.extend("--ft-radio-text-color","",w.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",L.fontSize),colorPrimary:o.external(w.colorPrimary,"Design system"),colorOnPrimary:o.external(w.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",w.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(w.colorOnSurfaceDisabled,"Design system")},Ru=T`
1047
+ `}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Ts(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};ve.elementDefinitions={"ft-ripple":Z,"ft-typography":te};ve.styles=Vu;wt([m()],ve.prototype,"name",void 0);wt([m()],ve.prototype,"value",void 0);wt([m({type:Boolean,reflect:!0})],ve.prototype,"checked",void 0);wt([m({type:Boolean})],ve.prototype,"indeterminate",void 0);wt([m({type:Boolean})],ve.prototype,"disabled",void 0);wt([m({type:Boolean})],ve.prototype,"error",void 0);wt([H(".ft-checkbox")],ve.prototype,"container",void 0);wt([H("ft-ripple")],ve.prototype,"ripple",void 0);wt([H("input")],ve.prototype,"input",void 0);var Wu={"ft-checkbox":ve};j(Wu);var $t={textColor:o.extend("--ft-radio-text-color","",O.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",_.fontSize),colorPrimary:o.external(O.colorPrimary,"Design system"),colorOnPrimary:o.external(O.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",O.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(O.colorOnSurfaceDisabled,"Design system")},Gu=A`
1050
1048
  * {
1051
1049
  box-sizing: border-box;
1052
1050
  }
1053
1051
 
1054
1052
  .ft-radio {
1055
1053
  box-sizing: border-box;
1056
- color: ${Bt.textColor};
1057
- font-size: ${Bt.fontSize};
1054
+ color: ${$t.textColor};
1055
+ font-size: ${$t.fontSize};
1058
1056
 
1059
1057
  display: inline-flex;
1060
1058
  align-items: center;
@@ -1062,7 +1060,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1062
1060
  }
1063
1061
 
1064
1062
  .ft-radio--disabled {
1065
- color: ${Bt.colorOnSurfaceDisabled};
1063
+ color: ${$t.colorOnSurfaceDisabled};
1066
1064
  }
1067
1065
 
1068
1066
  input {
@@ -1085,7 +1083,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1085
1083
  }
1086
1084
 
1087
1085
  .ft-radio--box {
1088
- border: 2px solid ${Bt.borderColor};
1086
+ border: 2px solid ${$t.borderColor};
1089
1087
  border-radius: 50%;
1090
1088
 
1091
1089
  display: flex;
@@ -1098,7 +1096,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1098
1096
 
1099
1097
  .ft-radio--box:after {
1100
1098
  content: " ";
1101
- background-color: ${Bt.colorPrimary};
1099
+ background-color: ${$t.colorPrimary};
1102
1100
 
1103
1101
  border-radius: 50%;
1104
1102
 
@@ -1110,7 +1108,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1110
1108
  }
1111
1109
 
1112
1110
  .ft-radio--checked .ft-radio--box {
1113
- border-color: ${Bt.colorPrimary};
1111
+ border-color: ${$t.colorPrimary};
1114
1112
  }
1115
1113
 
1116
1114
 
@@ -1119,24 +1117,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1119
1117
  }
1120
1118
 
1121
1119
  .ft-radio--disabled .ft-radio--box {
1122
- border-color: ${Bt.colorOnSurfaceDisabled};
1120
+ border-color: ${$t.colorOnSurfaceDisabled};
1123
1121
  background-color: transparent;
1124
1122
  }
1125
1123
 
1126
1124
  .ft-radio--disabled .ft-radio--box:after {
1127
- background-color: ${Bt.colorOnSurfaceDisabled};
1125
+ background-color: ${$t.colorOnSurfaceDisabled};
1128
1126
  }
1129
1127
 
1130
1128
  .ft-radio:has(:focus-visible) {
1131
- outline: 2px solid ${w.colorPrimary};
1129
+ outline: 2px solid ${O.colorPrimary};
1132
1130
  outline-offset: -2px;
1133
1131
  }
1134
1132
 
1135
1133
  .ft-radio ft-typography {
1136
1134
  padding-right: 2px;
1137
1135
  }
1138
- `;var Ht=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Hn=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},pe=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return O`
1139
- <div class="${Te(this.radioClasses)}"
1136
+ `;var Ut=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},ti=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ue=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return C`
1137
+ <div class="${we(this.radioClasses)}"
1140
1138
  @click=${this.onClick}>
1141
1139
  <div class="ft-radio--box-container">
1142
1140
  <ft-ripple
@@ -1156,12 +1154,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1156
1154
  >
1157
1155
  </div>
1158
1156
  <label for="radio-button" inert>
1159
- <ft-typography variant="${ye.body2}">
1157
+ <ft-typography variant="${be.body2}">
1160
1158
  <slot></slot>
1161
1159
  </ft-typography>
1162
1160
  </label>
1163
1161
  </div>
1164
- `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Hn(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Hn(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};pe.elementDefinitions={"ft-ripple":Y,"ft-typography":te};pe.styles=Ru;Ht([g()],pe.prototype,"name",void 0);Ht([g()],pe.prototype,"value",void 0);Ht([g({type:Boolean,reflect:!0})],pe.prototype,"checked",void 0);Ht([g({attribute:"aria-checked",reflect:!0})],pe.prototype,"ariaChecked",void 0);Ht([g({type:Boolean})],pe.prototype,"disabled",void 0);Ht([z(".ft-radio")],pe.prototype,"container",void 0);Ht([z("ft-ripple")],pe.prototype,"ripple",void 0);Ht([z("input")],pe.prototype,"input",void 0);var Tu=T`
1162
+ `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new ti(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ti(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};ue.elementDefinitions={"ft-ripple":Z,"ft-typography":te};ue.styles=Gu;Ut([m()],ue.prototype,"name",void 0);Ut([m()],ue.prototype,"value",void 0);Ut([m({type:Boolean,reflect:!0})],ue.prototype,"checked",void 0);Ut([m({attribute:"aria-checked",reflect:!0})],ue.prototype,"ariaChecked",void 0);Ut([m({type:Boolean})],ue.prototype,"disabled",void 0);Ut([H(".ft-radio")],ue.prototype,"container",void 0);Ut([H("ft-ripple")],ue.prototype,"ripple",void 0);Ut([H("input")],ue.prototype,"input",void 0);var ju=A`
1165
1163
  :host {
1166
1164
  display: block;
1167
1165
  }
@@ -1169,14 +1167,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1169
1167
  :host(:focus-visible) {
1170
1168
  outline: none;
1171
1169
  }
1172
- `;var Vo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends ${constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio,ftds-radio")?[n]:[...n.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return O`
1170
+ `;var Bo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var 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 U{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio,ftds-radio")?[n]:[...n.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return C`
1173
1171
  <slot @slotchange=${this.onSlotChange}
1174
1172
  @change=${this.onChange}
1175
1173
  @keydown=${this.onKeyDown}
1176
1174
  ></slot>
1177
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};He.elementDefinitions={};He.styles=Tu;Vo([g()],He.prototype,"name",void 0);Vo([g({reflect:!0,attribute:"role"})],He.prototype,"role",void 0);Vo([g({reflect:!0,attribute:"aria-labelledby"})],He.prototype,"ariaLabelledBy",void 0);Vo([ii()],He.prototype,"assignedElements",void 0);Vo([D()],He.prototype,"currentSelectedIndex",void 0);var Lu={"ft-radio":pe,"ft-radio-group":He};K(Lu);var ve=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},xs={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},ne=class extends Cn(ft(ko($)),xs){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new Q(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return O`
1175
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};ze.elementDefinitions={};ze.styles=ju;Bo([m()],ze.prototype,"name",void 0);Bo([m({reflect:!0,attribute:"role"})],ze.prototype,"role",void 0);Bo([m({reflect:!0,attribute:"aria-labelledby"})],ze.prototype,"ariaLabelledBy",void 0);Bo([xi()],ze.prototype,"assignedElements",void 0);Bo([D()],ze.prototype,"currentSelectedIndex",void 0);var Ku={"ft-radio":ue,"ft-radio-group":ze};j(Ku);var Se=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var 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},Ls={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},oe=class extends Mn(pt(Ro(U)),Ls){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new Y(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return C`
1178
1176
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1179
- ${this.parent==null?null:O`
1177
+ ${this.parent==null?null:C`
1180
1178
  <div tabindex="0"
1181
1179
  part="controls go-back"
1182
1180
  class="ft-filter-level--go-back"
@@ -1187,18 +1185,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1187
1185
  @click=${this.goBackOnClick}>
1188
1186
  <ft-ripple></ft-ripple>
1189
1187
  <ft-icon>thin_arrow_left</ft-icon>
1190
- <ft-typography variant="${ye.body2}">${this.parent.label}</ft-typography>
1188
+ <ft-typography variant="${be.body2}">${this.parent.label}</ft-typography>
1191
1189
  </div>
1192
1190
  `}
1193
- ${this.filteredOptions.length===0&&this.noValuesLabel?O`
1194
- <ft-typography class="ft-filter-level--no-values" element="span" variant="${ye.body2}">
1191
+ ${this.filteredOptions.length===0&&this.noValuesLabel?C`
1192
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="${be.body2}">
1195
1193
  ${this.noValuesLabel}
1196
1194
  </ft-typography>
1197
- `:P}
1198
- ${it(e,r=>r.value,r=>{var n;return O`
1195
+ `:N}
1196
+ ${nt(e,r=>r.value,r=>{var n;return C`
1199
1197
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1200
1198
  ${this.multivalued?this.buildMultiValuedOption(r):this.buildMonoValuedOption(r)}
1201
- ${this.preventNavigation||r.selected||((n=r.subOptions)!==null&&n!==void 0?n:[]).length===0?P:O`
1199
+ ${this.preventNavigation||r.selected||((n=r.subOptions)!==null&&n!==void 0?n:[]).length===0?N:C`
1202
1200
  <ft-button icon="thin_arrow_right"
1203
1201
  part="controls navigate-hierarchy"
1204
1202
  aria-label="Expand node"
@@ -1209,7 +1207,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1209
1207
  `}
1210
1208
  </div>
1211
1209
  `})}
1212
- ${e.length<this.filteredOptions.length?O`
1210
+ ${e.length<this.filteredOptions.length?C`
1213
1211
  <ft-button
1214
1212
  class="ft-filter-level--display-more"
1215
1213
  icon="thin_arrow"
@@ -1218,20 +1216,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1218
1216
  @click=${()=>{this.emitAnalyticsAction("more-filters-button-pressed",{}),this.displayMore()}}>
1219
1217
  ${this.moreValuesButtonLabel}
1220
1218
  </ft-button>
1221
- `:P}
1219
+ `:N}
1222
1220
  </div>
1223
- `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,n=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(n?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var r;return O`
1221
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,n=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(n?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var r;return C`
1224
1222
  <ft-checkbox name="${this.filterId}"
1225
1223
  part="multivalued-option option"
1226
1224
  .exportpartsPrefixes=${["multivalued-option","option"]}
1227
1225
  data-value="${e.value}"
1228
1226
  .checked=${e.selected}
1229
1227
  .disabled=${this.disabled}
1230
- .indeterminate=${yt((r=e.subOptions)!==null&&r!==void 0?r:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
1228
+ .indeterminate=${gt((r=e.subOptions)!==null&&r!==void 0?r:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
1231
1229
  @change=${n=>this.optionsChanged(n,e)}>
1232
1230
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1233
1231
  </ft-checkbox>
1234
- `}buildMonoValuedOption(e){return O`
1232
+ `}buildMonoValuedOption(e){return C`
1235
1233
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1236
1234
  part="monovalued-option option"
1237
1235
  data-value="${e.value}"
@@ -1242,7 +1240,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1242
1240
  @change=${r=>this.optionsChanged(r,e)}>
1243
1241
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1244
1242
  </ft-radio>
1245
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ne.elementDefinitions={"ft-button":V,"ft-ripple":Y,"ft-typography":te,"ft-checkbox":xe,"ft-icon":be,"ft-radio":pe};ne.styles=Ou;ve([g({type:String})],ne.prototype,"filterId",void 0);ve([g({type:Object})],ne.prototype,"parent",void 0);ve([g({type:Array,hasChanged:Me})],ne.prototype,"options",void 0);ve([g({type:Boolean})],ne.prototype,"multivalued",void 0);ve([g({type:Boolean})],ne.prototype,"disabled",void 0);ve([g({type:Boolean})],ne.prototype,"hideSelectedOptions",void 0);ve([g({type:Boolean})],ne.prototype,"displayCount",void 0);ve([g({type:Boolean})],ne.prototype,"preventNavigation",void 0);ve([g({type:String})],ne.prototype,"filter",void 0);ve([g({type:String})],ne.prototype,"moreValuesButtonLabel",void 0);ve([g({type:String})],ne.prototype,"noValuesLabel",void 0);ve([g()],ne.prototype,"filteredOptionsNumberAriaNotification",void 0);ve([at()],ne.prototype,"displayedValuesLimit",void 0);ve([z(".ft-filter-level--container")],ne.prototype,"container",void 0);ve([D()],ne.prototype,"radios",void 0);ve([D()],ne.prototype,"displayedPages",void 0);ve([D()],ne.prototype,"filteredOptions",void 0);var zt={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",w.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(w.colorSurface,"Design system")},_u=T`
1243
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};oe.elementDefinitions={"ft-button":B,"ft-ripple":Z,"ft-typography":te,"ft-checkbox":ve,"ft-icon":xe,"ft-radio":ue};oe.styles=Hu;Se([m({type:String})],oe.prototype,"filterId",void 0);Se([m({type:Object})],oe.prototype,"parent",void 0);Se([m({type:Array,hasChanged:De})],oe.prototype,"options",void 0);Se([m({type:Boolean})],oe.prototype,"multivalued",void 0);Se([m({type:Boolean})],oe.prototype,"disabled",void 0);Se([m({type:Boolean})],oe.prototype,"hideSelectedOptions",void 0);Se([m({type:Boolean})],oe.prototype,"displayCount",void 0);Se([m({type:Boolean})],oe.prototype,"preventNavigation",void 0);Se([m({type:String})],oe.prototype,"filter",void 0);Se([m({type:String})],oe.prototype,"moreValuesButtonLabel",void 0);Se([m({type:String})],oe.prototype,"noValuesLabel",void 0);Se([m()],oe.prototype,"filteredOptionsNumberAriaNotification",void 0);Se([it()],oe.prototype,"displayedValuesLimit",void 0);Se([H(".ft-filter-level--container")],oe.prototype,"container",void 0);Se([D()],oe.prototype,"radios",void 0);Se([D()],oe.prototype,"displayedPages",void 0);Se([D()],oe.prototype,"filteredOptions",void 0);var Bt={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",O.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(O.colorSurface,"Design system")},qu=A`
1246
1244
  .ft-snap-scroll {
1247
1245
  box-sizing: border-box;
1248
1246
  position: relative;
@@ -1277,7 +1275,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1277
1275
  flex-wrap: nowrap;
1278
1276
  align-items: flex-start;
1279
1277
  justify-content: flex-start;
1280
- gap: ${zt.gap};
1278
+ gap: ${Bt.gap};
1281
1279
  }
1282
1280
 
1283
1281
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1320,11 +1318,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1320
1318
  .ft-snap-scroll--next {
1321
1319
  position: absolute;
1322
1320
  display: flex;
1323
- z-index: ${zt.buttonsZIndex};
1321
+ z-index: ${Bt.buttonsZIndex};
1324
1322
  opacity: 1;
1325
1323
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1326
- ${F(Z.backgroundColor,"transparent")};
1327
- ${F(Z.color,zt.buttonsColor)};
1324
+ ${$(q.backgroundColor,"transparent")};
1325
+ ${$(q.color,Bt.buttonsColor)};
1328
1326
  }
1329
1327
 
1330
1328
  .ft-snap-scroll--previous[hidden],
@@ -1337,37 +1335,37 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1337
1335
  top: 0;
1338
1336
  left: -1px;
1339
1337
  bottom: 0;
1340
- background: linear-gradient(to right, ${zt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1338
+ background: linear-gradient(to right, ${Bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1341
1339
  }
1342
1340
 
1343
1341
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1344
1342
  top: -1px;
1345
1343
  left: 0;
1346
1344
  right: 0;
1347
- background: linear-gradient(to bottom, ${zt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1345
+ background: linear-gradient(to bottom, ${Bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1348
1346
  }
1349
1347
 
1350
1348
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1351
1349
  top: 0;
1352
1350
  right: -1px;
1353
1351
  bottom: 0;
1354
- background: linear-gradient(to left, ${zt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1352
+ background: linear-gradient(to left, ${Bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1355
1353
  }
1356
1354
 
1357
1355
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1358
1356
  left: 0;
1359
1357
  right: 0;
1360
1358
  bottom: -1px;
1361
- background: linear-gradient(to top, ${zt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1359
+ background: linear-gradient(to top, ${Bt.colorSurface} 50%, var(--snap-scroll-transparent-color));
1362
1360
  }
1363
1361
 
1364
1362
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1365
1363
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1366
1364
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1367
1365
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1368
- background-color: ${zt.colorSurface};
1366
+ background-color: ${Bt.colorSurface};
1369
1367
  }
1370
- `;var ht=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vs=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},fe=class extends ${constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new Q(200),this.updateScrollDebouncer=new Q(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=Te({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ur}),r=this.controls&&this.withScroll;return O`
1368
+ `;var ht=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},ks=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},pe=class extends U{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new Y(200),this.updateScrollDebouncer=new Y(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=we({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":lr}),r=this.controls&&this.withScroll;return C`
1371
1369
  <div part="container" class="${e}">
1372
1370
  <ft-button
1373
1371
  class="ft-snap-scroll--previous"
@@ -1391,7 +1389,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1391
1389
  @click=${this.next}
1392
1390
  ></ft-button>
1393
1391
  </div>
1394
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new vs(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,n;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};fe.elementDefinitions={"ft-button":V};fe.styles=_u;ht([g({type:Boolean})],fe.prototype,"horizontal",void 0);ht([g({type:Boolean})],fe.prototype,"hideScrollbar",void 0);ht([g({type:Boolean})],fe.prototype,"controls",void 0);ht([g({type:Boolean})],fe.prototype,"limitSize",void 0);ht([D()],fe.prototype,"elements",void 0);ht([D()],fe.prototype,"currentElement",void 0);ht([D()],fe.prototype,"withScroll",void 0);ht([D()],fe.prototype,"startReached",void 0);ht([D()],fe.prototype,"endReached",void 0);ht([z(".ft-snap-scroll--content")],fe.prototype,"contentSlot",void 0);var ku={"ft-snap-scroll":fe};K(ku);var Pe={colorOutline:o.external(w.colorOutline,"Design system"),colorOnSurface:o.external(w.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(w.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(w.colorPrimary,"Design system"),colorSurface:o.external(w.colorSurface,"Design system"),transitionDuration:o.external(w.transitionDuration,"Design system"),transitionTimingFunction:o.external(w.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",w.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",L.fontSize,"16px")},Iu=[Dn,ra,T`
1392
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ks(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,n;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};pe.elementDefinitions={"ft-button":B};pe.styles=qu;ht([m({type:Boolean})],pe.prototype,"horizontal",void 0);ht([m({type:Boolean})],pe.prototype,"hideScrollbar",void 0);ht([m({type:Boolean})],pe.prototype,"controls",void 0);ht([m({type:Boolean})],pe.prototype,"limitSize",void 0);ht([D()],pe.prototype,"elements",void 0);ht([D()],pe.prototype,"currentElement",void 0);ht([D()],pe.prototype,"withScroll",void 0);ht([D()],pe.prototype,"startReached",void 0);ht([D()],pe.prototype,"endReached",void 0);ht([H(".ft-snap-scroll--content")],pe.prototype,"contentSlot",void 0);var Zu={"ft-snap-scroll":pe};j(Zu);var Ie={colorOutline:o.external(O.colorOutline,"Design system"),colorOnSurface:o.external(O.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(O.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(O.colorPrimary,"Design system"),colorSurface:o.external(O.colorSurface,"Design system"),transitionDuration:o.external(O.transitionDuration,"Design system"),transitionTimingFunction:o.external(O.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",O.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",_.fontSize,"16px")},Yu=[Zn,ya,A`
1395
1393
  :host {
1396
1394
  display: flex;
1397
1395
  max-height: 100%;
@@ -1419,7 +1417,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1419
1417
  .ft-filter--header ft-button {
1420
1418
  flex-shrink: 0;
1421
1419
  margin-left: auto;
1422
- ${F(Z.iconSize,"18px")};
1420
+ ${$(q.iconSize,"18px")};
1423
1421
  }
1424
1422
 
1425
1423
  .filter-label {
@@ -1431,10 +1429,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1431
1429
  flex-shrink: 1;
1432
1430
  flex-grow: 1;
1433
1431
  word-break: break-word;
1434
- color: ${Pe.labelColor};
1435
- font-size: ${Pe.labelFontSize};
1436
- ${F(L.lineHeight,"22px")};
1437
- ${F(L.fontWeight,"bold")};
1432
+ color: ${Ie.labelColor};
1433
+ font-size: ${Ie.labelFontSize};
1434
+ ${$(_.lineHeight,"22px")};
1435
+ ${$(_.fontWeight,"bold")};
1438
1436
  }
1439
1437
 
1440
1438
  .ft-filter--filter {
@@ -1445,8 +1443,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1445
1443
  padding: 0 10px;
1446
1444
  overflow: hidden;
1447
1445
  height: 32px;
1448
- transition: height ${Pe.transitionDuration} ${Pe.transitionTimingFunction},
1449
- margin ${Pe.transitionDuration} ${Pe.transitionTimingFunction};
1446
+ transition: height ${Ie.transitionDuration} ${Ie.transitionTimingFunction},
1447
+ margin ${Ie.transitionDuration} ${Ie.transitionTimingFunction};
1450
1448
  transition-delay: 500ms;
1451
1449
  }
1452
1450
 
@@ -1459,15 +1457,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1459
1457
  display: block;
1460
1458
  width: 100%;
1461
1459
  border-radius: 4px;
1462
- border: 1px solid ${Pe.colorOutline};
1460
+ border: 1px solid ${Ie.colorOutline};
1463
1461
  padding: 4px;
1464
- background-color: ${Pe.colorSurface};
1465
- color: ${Pe.colorOnSurface};
1466
- outline-color: ${Pe.colorPrimary};
1462
+ background-color: ${Ie.colorSurface};
1463
+ color: ${Ie.colorOnSurface};
1464
+ outline-color: ${Ie.colorPrimary};
1467
1465
  }
1468
1466
 
1469
1467
  input::placeholder {
1470
- color: ${Pe.colorOnSurfaceMedium};
1468
+ color: ${Ie.colorOnSurfaceMedium};
1471
1469
  }
1472
1470
 
1473
1471
  input:placeholder-shown {
@@ -1483,7 +1481,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1483
1481
  }
1484
1482
 
1485
1483
  .ft-filter--separator {
1486
- border-top: 1px solid ${Pe.colorOutline};
1484
+ border-top: 1px solid ${Ie.colorOutline};
1487
1485
  margin: 4px 10px;
1488
1486
  }
1489
1487
 
@@ -1508,19 +1506,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1508
1506
  slot:not([name]) {
1509
1507
  display: none;
1510
1508
  }
1511
- `];var X=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ss=class extends CustomEvent{constructor(e){super("change",{detail:e})}},q=class extends Cn($,xs){constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Q(300),this.changeDebouncer=new Q(10),this.lastDispatchedValues=[]}get flatOptions(){return yt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return yt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return O`
1509
+ `];var X=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},Is=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends Mn(U,Ls){constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Y(300),this.changeDebouncer=new Y(10),this.lastDispatchedValues=[]}get flatOptions(){return gt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return gt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return C`
1512
1510
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1513
1511
  part="container">
1514
- ${!this.label&&!e?null:O`
1512
+ ${!this.label&&!e?null:C`
1515
1513
 
1516
1514
  <div class="ft-filter--header" part="header">
1517
1515
  <div class="filter-label" id="id-group-${this.id}">
1518
- <ft-typography class="ft-filter--label" variant="${ye.overline}" part="label">
1516
+ <ft-typography class="ft-filter--label" variant="${be.overline}" part="label">
1519
1517
  ${this.label}
1520
1518
  </ft-typography>
1521
1519
  <slot name="label"></slot>
1522
1520
  </div>
1523
- ${e&&!this.hideClearButton?O`
1521
+ ${e&&!this.hideClearButton?C`
1524
1522
  <ft-button icon="close"
1525
1523
  aria-label="${this.clearButtonLabel+" "+this.label}"
1526
1524
  dense
@@ -1548,8 +1546,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1548
1546
  @slotchange=${this.updateOptionsFromSlot}
1549
1547
  @option-change=${this.optionsChanged}></slot>
1550
1548
  </div>
1551
- `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>r.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,n,i,a,s,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((n=this.levelsContainer)===null||n===void 0||n.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),n=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=n<0?"ft-filter--level-center":"ft-filter--level-left";return O`
1552
- ${this.raiseSelectedOptions&&r.length>0?O`
1549
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>r.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,n,i,a,s,c;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((n=this.levelsContainer)===null||n===void 0||n.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(c=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&c!==void 0?c:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),n=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=n<0?"ft-filter--level-center":"ft-filter--level-left";return C`
1550
+ ${this.raiseSelectedOptions&&r.length>0?C`
1553
1551
  <ft-filter-level
1554
1552
  filterId="${this.id}"
1555
1553
  ?multivalued=${this.multivalued}
@@ -1568,9 +1566,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1568
1566
  class="ft-filter--levels"
1569
1567
  @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1570
1568
  ${this.renderLevel(i,this.options)}
1571
- ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let d=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===n?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
1569
+ ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var c;let d=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===n?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
1572
1570
  </ft-snap-scroll>
1573
- `}renderLevel(e,r,n){return O`
1571
+ `}renderLevel(e,r,n){return C`
1574
1572
  <ft-filter-level
1575
1573
  class="${e}"
1576
1574
  filterId="${this.id}"
@@ -1592,20 +1590,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1592
1590
  noValuesLabel="${this.noValuesLabel}"
1593
1591
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
1594
1592
  ></ft-filter-level>
1595
- `}goBack(e){this.slideOut=e.detail.value,co(()=>this.slideOut===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,co(()=>this.slideIn===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnBackButton()})}focusOnFirstOption(){co(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;Ae(this.lastDispatchedValues,e)||(this.dispatchEvent(new Ss(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};q.elementDefinitions={"ft-button":V,"ft-filter-level":ne,"ft-snap-scroll":fe,"ft-typography":te};q.styles=Iu;X([g({type:String})],q.prototype,"id",void 0);X([g({type:String})],q.prototype,"label",void 0);X([g({type:String})],q.prototype,"filterPlaceHolder",void 0);X([g({type:String})],q.prototype,"clearButtonLabel",void 0);X([g({type:String})],q.prototype,"moreValuesButtonLabel",void 0);X([g({type:String})],q.prototype,"noValuesLabel",void 0);X([ie([])],q.prototype,"options",void 0);X([g({type:Boolean})],q.prototype,"multivalued",void 0);X([g({type:Boolean})],q.prototype,"disabled",void 0);X([g({type:Boolean})],q.prototype,"raiseSelectedOptions",void 0);X([g({type:Boolean})],q.prototype,"displayCount",void 0);X([at()],q.prototype,"displayedValuesLimit",void 0);X([ie(void 0)],q.prototype,"filteredOptionsNumberAriaNotification",void 0);X([g({type:Boolean})],q.prototype,"hideClearButton",void 0);X([z(".ft-filter--slot")],q.prototype,"slotElement",void 0);X([z(".ft-filter--container")],q.prototype,"container",void 0);X([z(".ft-filter--values")],q.prototype,"valuesContainer",void 0);X([z(".ft-filter--levels")],q.prototype,"levelsContainer",void 0);X([D()],q.prototype,"lastLevelHasHiddenvalues",void 0);X([z(".ft-filter--filter input")],q.prototype,"filterInput",void 0);X([ni(".ft-filter--levels ft-filter-level")],q.prototype,"levels",void 0);X([D()],q.prototype,"withScroll",void 0);X([D()],q.prototype,"filter",void 0);X([D()],q.prototype,"slideIn",void 0);X([D()],q.prototype,"slideOut",void 0);var Jr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},et=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return O`
1593
+ `}goBack(e){this.slideOut=e.detail.value,ro(()=>this.slideOut===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,ro(()=>this.slideIn===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnBackButton()})}focusOnFirstOption(){ro(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;fe(this.lastDispatchedValues,e)||(this.dispatchEvent(new Is(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":B,"ft-filter-level":oe,"ft-snap-scroll":pe,"ft-typography":te};K.styles=Yu;X([m({type:String})],K.prototype,"id",void 0);X([m({type:String})],K.prototype,"label",void 0);X([m({type:String})],K.prototype,"filterPlaceHolder",void 0);X([m({type:String})],K.prototype,"clearButtonLabel",void 0);X([m({type:String})],K.prototype,"moreValuesButtonLabel",void 0);X([m({type:String})],K.prototype,"noValuesLabel",void 0);X([ne([])],K.prototype,"options",void 0);X([m({type:Boolean})],K.prototype,"multivalued",void 0);X([m({type:Boolean})],K.prototype,"disabled",void 0);X([m({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);X([m({type:Boolean})],K.prototype,"displayCount",void 0);X([it()],K.prototype,"displayedValuesLimit",void 0);X([ne(void 0)],K.prototype,"filteredOptionsNumberAriaNotification",void 0);X([m({type:Boolean})],K.prototype,"hideClearButton",void 0);X([H(".ft-filter--slot")],K.prototype,"slotElement",void 0);X([H(".ft-filter--container")],K.prototype,"container",void 0);X([H(".ft-filter--values")],K.prototype,"valuesContainer",void 0);X([H(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);X([D()],K.prototype,"lastLevelHasHiddenvalues",void 0);X([H(".ft-filter--filter input")],K.prototype,"filterInput",void 0);X([bi(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);X([D()],K.prototype,"withScroll",void 0);X([D()],K.prototype,"filter",void 0);X([D()],K.prototype,"slideIn",void 0);X([D()],K.prototype,"slideOut",void 0);var jr=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 U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return C`
1596
1594
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1597
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};et.elementDefinitions={};Jr([g({type:String})],et.prototype,"label",void 0);Jr([g({type:Object,converter:t=>t})],et.prototype,"value",void 0);Jr([g({type:Boolean,reflect:!0})],et.prototype,"selected",void 0);Jr([g({type:Object})],et.prototype,"subOptions",void 0);Jr([ie({})],et.prototype,"renderOption",void 0);Jr([z(".ft-filter-option--slot")],et.prototype,"slotElement",void 0);var Pu={"ft-filter":q,"ft-filter-option":et};K(Pu);var tt=Ut.build("designedSearchType"),zn={label:"Search scope",documentTitlesOnly:"Search in document titles only",matchAllKeywords:"Match all search terms",clear:"Clear",noFilterValuesAvailable:"No values available"};var Wo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rt=class extends ft(Ft){constructor(){super(),this.options={searchInDocumentTitlesOnly:{label:()=>tt.messages.documentTitlesOnly(),selected:()=>!!this.searchInDocumentTitlesOnly,onChange:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(e)},display:()=>!this.hideSearchInDocumentTitlesOnly},matchAllKeywords:{label:()=>tt.messages.matchAllKeywords(),selected:()=>!!this.matchAllKeywords,onChange:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setKeywordMatch(e?$e.MANDATORY:$e.OPTIONAL)},display:()=>!!this.displayMatchAllKeywords}},this.addI18nContext(tt,zn)}render(){let e=Object.keys(this.options).filter(r=>this.options[r].display()).map(r=>({value:r,label:this.options[r].label(),selected:this.options[r].selected()}));return O`
1595
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Xe.elementDefinitions={};jr([m({type:String})],Xe.prototype,"label",void 0);jr([m({type:Object,converter:t=>t})],Xe.prototype,"value",void 0);jr([m({type:Boolean,reflect:!0})],Xe.prototype,"selected",void 0);jr([m({type:Object})],Xe.prototype,"subOptions",void 0);jr([ne({})],Xe.prototype,"renderOption",void 0);jr([H(".ft-filter-option--slot")],Xe.prototype,"slotElement",void 0);var Qu={"ft-filter":K,"ft-filter-option":Xe};j(Qu);var Je=Ft.build("designedSearchType"),ri={label:"Search scope",documentTitlesOnly:"Search in document titles only",matchAllKeywords:"Match all search terms",clear:"Clear",noFilterValuesAvailable:"No values available"};var zo=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},et=class extends pt(Dt){constructor(){super(),this.options={searchInDocumentTitlesOnly:{label:()=>Je.messages.documentTitlesOnly(),selected:()=>!!this.searchInDocumentTitlesOnly,onChange:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(e)},display:()=>!this.hideSearchInDocumentTitlesOnly},matchAllKeywords:{label:()=>Je.messages.matchAllKeywords(),selected:()=>!!this.matchAllKeywords,onChange:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setKeywordMatch(e?$e.MANDATORY:$e.OPTIONAL)},display:()=>!!this.displayMatchAllKeywords}},this.addI18nContext(Je,ri)}render(){let e=Object.keys(this.options).filter(r=>this.options[r].display()).map(r=>({value:r,label:this.options[r].label(),selected:this.options[r].selected()}));return C`
1598
1596
  <ft-filter
1599
- label="${tt.messages.label()}"
1600
- clearButtonLabel="${tt.messages.clear()}"
1601
- noValuesLabel="${tt.messages.noFilterValuesAvailable()}"
1597
+ label="${Je.messages.label()}"
1598
+ clearButtonLabel="${Je.messages.clear()}"
1599
+ noValuesLabel="${Je.messages.noFilterValuesAvailable()}"
1602
1600
  .options=${e}
1603
1601
  part="filter"
1604
1602
  .exportpartsPrefixes=${["filter"]}
1605
1603
  multivalued
1606
1604
  @change=${()=>this.onSelectionChange()}
1607
1605
  ></ft-filter>
1608
- `}onSelectionChange(){var e;(e=this.filter)===null||e===void 0||e.options.forEach(r=>this.options[r.value].onChange(!!r.selected))}};rt.elementDefinitions={"ft-filter":q};rt.styles=Eu;Wo([ue({selector:Pn})],rt.prototype,"searchInDocumentTitlesOnly",void 0);Wo([g({type:Boolean})],rt.prototype,"hideSearchInDocumentTitlesOnly",void 0);Wo([ue({selector:Nn})],rt.prototype,"matchAllKeywords",void 0);Wo([g({type:Boolean})],rt.prototype,"displayMatchAllKeywords",void 0);Wo([z("ft-filter")],rt.prototype,"filter",void 0);var Nu={"ft-search-type":rt};K(Nu);var Vh={headerColor:o.extend("--ft-search-period-filter-header-color","",w.colorOnSurface)},Du=T`
1606
+ `}onSelectionChange(){var e;(e=this.filter)===null||e===void 0||e.options.forEach(r=>this.options[r.value].onChange(!!r.selected))}};et.elementDefinitions={"ft-filter":K};et.styles=zu;zo([de({selector:Kn})],et.prototype,"searchInDocumentTitlesOnly",void 0);zo([m({type:Boolean})],et.prototype,"hideSearchInDocumentTitlesOnly",void 0);zo([de({selector:qn})],et.prototype,"matchAllKeywords",void 0);zo([m({type:Boolean})],et.prototype,"displayMatchAllKeywords",void 0);zo([H("ft-filter")],et.prototype,"filter",void 0);var Xu={"ft-search-type":et};j(Xu);var Sm={headerColor:o.extend("--ft-search-period-filter-header-color","",O.colorOnSurface)},Ju=A`
1609
1607
  [part="container"] {
1610
1608
  flex-grow: 1;
1611
1609
  display: flex;
@@ -1620,7 +1618,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1620
1618
  overflow: auto;
1621
1619
  display: flex;
1622
1620
  flex-direction: column;
1623
- ${F(L.lineHeight,"22px")};
1621
+ ${$(_.lineHeight,"22px")};
1624
1622
  }
1625
1623
 
1626
1624
  [part="header"] {
@@ -1630,7 +1628,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1630
1628
  flex-shrink: 0;
1631
1629
  padding: 0 10px;
1632
1630
  margin-bottom: 8px;
1633
- color: ${Vh.headerColor};
1631
+ color: ${Sm.headerColor};
1634
1632
  }
1635
1633
 
1636
1634
  [part="label"] {
@@ -1638,11 +1636,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1638
1636
  flex-shrink: 1;
1639
1637
  flex-grow: 1;
1640
1638
  word-break: break-word;
1641
- font-size: ${Pe.labelFontSize};
1642
- ${F(L.fontWeight,"bold")};
1639
+ font-size: ${Ie.labelFontSize};
1640
+ ${$(_.fontWeight,"bold")};
1643
1641
  }
1644
1642
 
1645
- `;var Ee=Ut.build("designedSearchPeriodFilter"),Vn={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Vt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ne=class extends ft(Ft){constructor(){super(),this.metadataDescriptors=[],this.dateFilter=void 0,this.addI18nContext(Ee,Vn),this.addStore(M)}get metadataKey(){var e;return(e=this.key)!==null&&e!==void 0?e:"ft:lastEdition"}update(e){var r;super.update(e),(e.has("filters")||e.has("key"))&&(this.dateFilter=(r=this.filters)===null||r===void 0?void 0:r.filter(n=>n.key===this.metadataKey).filter(n=>n.dateFilter).map(n=>n.dateFilter).find(Boolean))}render(){var e,r,n,i;return O`
1643
+ `;var Ce=Ft.build("designedSearchPeriodFilter"),oi={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var zt=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 pt(Dt){constructor(){super(),this.metadataDescriptors=[],this.dateFilter=void 0,this.addI18nContext(Ce,oi),this.addStore(M)}get metadataKey(){var e;return(e=this.key)!==null&&e!==void 0?e:"ft:lastEdition"}update(e){var r;super.update(e),(e.has("filters")||e.has("key"))&&(this.dateFilter=(r=this.filters)===null||r===void 0?void 0:r.filter(n=>n.key===this.metadataKey).filter(n=>n.dateFilter).map(n=>n.dateFilter).find(Boolean))}render(){var e,r,n,i;return C`
1646
1644
  <div part="container">
1647
1645
  <div part="header">
1648
1646
  <ft-typography variant="overline" part="label" id="label">
@@ -1651,84 +1649,84 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1651
1649
  </div>
1652
1650
  <ft-radio-group @change=${a=>this.setPeriodFilter(a)} aria-labelledby="label">
1653
1651
  <ft-radio value="anyTime" ?checked=${this.dateFilter===void 0||this.dateFilter.type===void 0}>
1654
- ${Ee.messages.anyTime()}
1652
+ ${Ce.messages.anyTime()}
1655
1653
  </ft-radio>
1656
- ${this.lessThanAWeek?O`
1657
- <ft-radio ?checked=${((e=this.dateFilter)===null||e===void 0?void 0:e.type)=="LAST_WEEK"} value="LAST_WEEK">${Ee.messages.LAST_WEEK()}
1658
- </ft-radio>`:P}
1659
- ${this.lessThanAMonth?O`
1660
- <ft-radio ?checked=${((r=this.dateFilter)===null||r===void 0?void 0:r.type)=="LAST_MONTH"} value="LAST_MONTH">${Ee.messages.LAST_MONTH()}
1661
- </ft-radio>`:P}
1662
- ${this.lessThanAQuarter?O`
1654
+ ${this.lessThanAWeek?C`
1655
+ <ft-radio ?checked=${((e=this.dateFilter)===null||e===void 0?void 0:e.type)=="LAST_WEEK"} value="LAST_WEEK">${Ce.messages.LAST_WEEK()}
1656
+ </ft-radio>`:N}
1657
+ ${this.lessThanAMonth?C`
1658
+ <ft-radio ?checked=${((r=this.dateFilter)===null||r===void 0?void 0:r.type)=="LAST_MONTH"} value="LAST_MONTH">${Ce.messages.LAST_MONTH()}
1659
+ </ft-radio>`:N}
1660
+ ${this.lessThanAQuarter?C`
1663
1661
  <ft-radio ?checked=${((n=this.dateFilter)===null||n===void 0?void 0:n.type)=="LAST_QUARTER"} value="LAST_QUARTER">
1664
- ${Ee.messages.LAST_QUARTER()}
1665
- </ft-radio>`:P}
1666
- ${this.lessThanAYear?O`
1667
- <ft-radio ?checked=${((i=this.dateFilter)===null||i===void 0?void 0:i.type)=="LAST_YEAR"} value="LAST_YEAR">${Ee.messages.LAST_YEAR()}
1668
- </ft-radio>`:P}
1662
+ ${Ce.messages.LAST_QUARTER()}
1663
+ </ft-radio>`:N}
1664
+ ${this.lessThanAYear?C`
1665
+ <ft-radio ?checked=${((i=this.dateFilter)===null||i===void 0?void 0:i.type)=="LAST_YEAR"} value="LAST_YEAR">${Ce.messages.LAST_YEAR()}
1666
+ </ft-radio>`:N}
1669
1667
  </ft-radio-group>
1670
- </div>`}setPeriodFilter(e){var r,n;let i=Mt[e.detail];i?(r=this.stateManager)===null||r===void 0||r.setDateFilter(this.metadataKey,i):(n=this.stateManager)===null||n===void 0||n.removeDateFilter(this.metadataKey)}header(){var e,r,n;return this.metadataKey==="ft:lastEdition"?Ee.messages.label():(n=(r=(e=this.metadataDescriptors)===null||e===void 0?void 0:e.find(i=>i.key==this.metadataKey))===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:this.metadataKey}};Ne.elementDefinitions={"ft-radio-group":He,"ft-radio":pe,"ft-typography":te};Ne.styles=Du;Vt([g({type:String})],Ne.prototype,"key",void 0);Vt([g({type:Boolean})],Ne.prototype,"lessThanAWeek",void 0);Vt([g({type:Boolean})],Ne.prototype,"lessThanAMonth",void 0);Vt([g({type:Boolean})],Ne.prototype,"lessThanAQuarter",void 0);Vt([g({type:Boolean})],Ne.prototype,"lessThanAYear",void 0);Vt([ue({store:"search",selector:t=>t.request.metadataFilters})],Ne.prototype,"filters",void 0);Vt([ue({store:M.name,selector:t=>{var e,r;return(r=(e=t.metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&r!==void 0?r:[]}})],Ne.prototype,"metadataDescriptors",void 0);Vt([g({attribute:!1})],Ne.prototype,"dateFilter",void 0);var Mu={"ft-search-period-filter":Ne};K(Mu);var Wt=Ut.build("designedSearchSelectedFacets"),Fu={filterGroupLabel:"Filters enabled",removeFilterLabel:"Remove filter"};var mt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends ko(Od(ft(Ft))){get hasSomethingToDisplay(){var e,r;return this.searchInDocumentTitlesOnly||this.keywordMatch||((e=this.facets)===null||e===void 0?void 0:e.some(n=>this.getSelectedValues(n).length>0))||((r=this.filters)===null||r===void 0?void 0:r.some(n=>n.dateFilter||n.rangeFilter))}get numberOfChips(){return pn(this.shadowRoot,"ft-chip").length}constructor(){super(),this.displayLabel=!1,this.forceTooltip=!1,this.multiLine=!1,this.hierarchicalValueTruncatingLevel=3,this.selectedFacetsAriaNotification={context:"officialContext",key:"searchSelectedFacetsAriaNotification",message:""},this.neededSearchRequests=[Po.CLUSTERED_SEARCH],this.ariaNotificationDebouncer=new Q(100),this.addI18nContext(tt,zn),this.addI18nContext(Wt,Fu),this.addI18nContext(Ee,Vn)}render(){var e,r;return this.hasSomethingToDisplay?O`
1671
- <div role="group" class="ft-search-selected-facets--container" aria-label="${Wt.messages.filterGroupLabel()}">
1672
- ${it(this.facets||[],n=>n.key,n=>{let i=this.getSelectedValues(n);return it(i,a=>n.key+"-"+a,a=>this.renderFacet(n.key,n.label,i,a))})}
1668
+ </div>`}setPeriodFilter(e){var r,n;let i=Nt[e.detail];i?(r=this.stateManager)===null||r===void 0||r.setDateFilter(this.metadataKey,i):(n=this.stateManager)===null||n===void 0||n.removeDateFilter(this.metadataKey)}header(){var e,r,n;return this.metadataKey==="ft:lastEdition"?Ce.messages.label():(n=(r=(e=this.metadataDescriptors)===null||e===void 0?void 0:e.find(i=>i.key==this.metadataKey))===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:this.metadataKey}};Pe.elementDefinitions={"ft-radio-group":ze,"ft-radio":ue,"ft-typography":te};Pe.styles=Ju;zt([m({type:String})],Pe.prototype,"key",void 0);zt([m({type:Boolean})],Pe.prototype,"lessThanAWeek",void 0);zt([m({type:Boolean})],Pe.prototype,"lessThanAMonth",void 0);zt([m({type:Boolean})],Pe.prototype,"lessThanAQuarter",void 0);zt([m({type:Boolean})],Pe.prototype,"lessThanAYear",void 0);zt([de({store:"search",selector:t=>t.request.metadataFilters})],Pe.prototype,"filters",void 0);zt([de({store:M.name,selector:t=>{var e,r;return(r=(e=t.metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&r!==void 0?r:[]}})],Pe.prototype,"metadataDescriptors",void 0);zt([m({attribute:!1})],Pe.prototype,"dateFilter",void 0);var ep={"ft-search-period-filter":Pe};j(ep);var Ht=Ft.build("designedSearchSelectedFacets"),tp={filterGroupLabel:"Filters enabled",removeFilterLabel:"Remove filter"};var mt=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},Oe=class extends Ro(Hd(pt(Dt))){get hasSomethingToDisplay(){var e,r;return this.searchInDocumentTitlesOnly||this.keywordMatch||((e=this.facets)===null||e===void 0?void 0:e.some(n=>this.getSelectedValues(n).length>0))||((r=this.filters)===null||r===void 0?void 0:r.some(n=>n.dateFilter||n.rangeFilter))}get numberOfChips(){return dn(this.shadowRoot,"ft-chip").length}constructor(){super(),this.displayLabel=!1,this.forceTooltip=!1,this.multiLine=!1,this.hierarchicalValueTruncatingLevel=3,this.selectedFacetsAriaNotification={context:"officialContext",key:"searchSelectedFacetsAriaNotification",message:""},this.neededSearchRequests=[To.CLUSTERED_SEARCH],this.ariaNotificationDebouncer=new Y(100),this.addI18nContext(Je,ri),this.addI18nContext(Ht,tp),this.addI18nContext(Ce,oi)}render(){var e,r;return this.hasSomethingToDisplay?C`
1669
+ <div role="group" class="ft-search-selected-facets--container" aria-label="${Ht.messages.filterGroupLabel()}">
1670
+ ${nt(this.facets||[],n=>n.key,n=>{let i=this.getSelectedValues(n);return nt(i,a=>n.key+"-"+a,a=>this.renderFacet(n.key,n.label,i,a))})}
1673
1671
  ${this.renderSearchScope()}
1674
- ${it((r=(e=this.filters)===null||e===void 0?void 0:e.filter(n=>n.dateFilter||n.rangeFilter))!==null&&r!==void 0?r:[],n=>n.key,n=>this.renderPeriodFilter(n))}
1672
+ ${nt((r=(e=this.filters)===null||e===void 0?void 0:e.filter(n=>n.dateFilter||n.rangeFilter))!==null&&r!==void 0?r:[],n=>n.key,n=>this.renderPeriodFilter(n))}
1675
1673
  </div>
1676
- `:P}renderFacet(e,r,n,i){if(e==="ft:publicationId")return P;let a=e.replace(":","-"),s=this.getLabelFromValue(e,i),l=this.getBreadcrumbFromValue(e,i),d=r+": "+l,p=!this.forceTooltip&&this.displayLabel&&l==s,h=O`
1674
+ `:N}renderFacet(e,r,n,i){if(e==="ft:publicationId")return N;let a=e.replace(":","-"),s=this.getLabelFromValue(e,i),c=this.getBreadcrumbFromValue(e,i),d=r+": "+c,p=!this.forceTooltip&&this.displayLabel&&c==s,h=C`
1677
1675
  <ft-chip
1678
1676
  part="ft-search-selected-facets ft-search-selected-facet-${a}"
1679
1677
  removable hideIconTooltip
1680
- iconLabel="${Wt.messages.removeFilterLabel()}"
1678
+ iconLabel="${Ht.messages.removeFilterLabel()}"
1681
1679
  label="${d}"
1682
- @icon-click=${f=>{var m;(m=this.stateManager)===null||m===void 0||m.setValueFilter(e,n.filter(y=>y!==i)),this.determineAndApplyFocus(f)}}
1680
+ @icon-click=${f=>{var y;(y=this.stateManager)===null||y===void 0||y.setValueFilter(e,n.filter(x=>x!==i)),this.determineAndApplyFocus(f)}}
1683
1681
  ?multiLine=${this.multiLine}
1684
1682
  data-key="${e}"
1685
1683
  data-value="${i}">
1686
- ${this.displayLabel?O`
1687
- <span part="label">${r}: </span>`:P}
1684
+ ${this.displayLabel?C`
1685
+ <span part="label">${r}: </span>`:N}
1688
1686
  <span part="values">
1689
1687
  ${s}
1690
1688
  </span>
1691
- </ft-chip>`;return p?h:O`
1689
+ </ft-chip>`;return p?h:C`
1692
1690
  <ft-tooltip inline text="${d}"
1693
1691
  part="tooltips tooltip-${a}">
1694
1692
  ${h}
1695
1693
  </ft-tooltip>
1696
- `}getNextChipToFocusOn(e){let r=pn(this.shadowRoot,"ft-chip"),n=r.indexOf(e);return n===-1||r.length<=1?null:n<r.length-1?r[n+1]:r[n-1]}determineAndApplyFocus(e){let r=e.currentTarget,n=this.getNextChipToFocusOn(r);n?n.elementToFocus={selector:"ft-button"}:this.dispatchEvent(new _o)}getSelectedValues(e){return yt(e.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(e,r){return this.readAndFormatValueFromFacet(e,r,this.hierarchicalValueTruncatingLevel)}getBreadcrumbFromValue(e,r){return this.readAndFormatValueFromFacet(e,r)}readAndFormatValueFromFacet(e,r,n){let i=this.getDateFormatter(e);return i?i(r):fo(this.unquote(r).split("|"),n)}unquote(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}renderSearchScope(){return O`
1694
+ `}getNextChipToFocusOn(e){let r=dn(this.shadowRoot,"ft-chip"),n=r.indexOf(e);return n===-1||r.length<=1?null:n<r.length-1?r[n+1]:r[n-1]}determineAndApplyFocus(e){let r=e.currentTarget,n=this.getNextChipToFocusOn(r);n?n.elementToFocus={selector:"ft-button"}:this.dispatchEvent(new Ao)}getSelectedValues(e){return gt(e.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(e,r){return this.readAndFormatValueFromFacet(e,r,this.hierarchicalValueTruncatingLevel)}getBreadcrumbFromValue(e,r){return this.readAndFormatValueFromFacet(e,r)}readAndFormatValueFromFacet(e,r,n){let i=this.getDateFormatter(e);return i?i(r):io(this.unquote(r).split("|"),n)}unquote(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}renderSearchScope(){return C`
1697
1695
  ${this.renderSearchInDocumentTitlesOnly()}
1698
1696
  ${this.renderKeywordMatch()}
1699
- `}renderSearchInDocumentTitlesOnly(){if(!this.searchInDocumentTitlesOnly)return P;let e=tt.messages.documentTitlesOnly(),r=O`
1697
+ `}renderSearchInDocumentTitlesOnly(){if(!this.searchInDocumentTitlesOnly)return N;let e=Je.messages.documentTitlesOnly(),r=C`
1700
1698
  <ft-chip
1701
1699
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1702
1700
  label="${e}"
1703
1701
  removable
1704
1702
  hideIconTooltip
1705
- iconLabel="${Wt.messages.removeFilterLabel()}"
1703
+ iconLabel="${Ht.messages.removeFilterLabel()}"
1706
1704
  @icon-click=${n=>{var i;(i=this.stateManager)===null||i===void 0||i.setSearchInDocumentTitlesOnly(!1),this.determineAndApplyFocus(n)}}
1707
1705
  ?multiLine=${this.multiLine}>
1708
1706
  <span part="values">
1709
1707
  ${e}
1710
1708
  </span>
1711
- </ft-chip>`;return this.forceTooltip?O`
1709
+ </ft-chip>`;return this.forceTooltip?C`
1712
1710
  <ft-tooltip inline text="${e}"
1713
1711
  part="tooltips tooltip-search-in-document-titles-only">
1714
1712
  ${r}
1715
- </ft-tooltip>`:r}renderKeywordMatch(){if(!this.keywordMatch)return P;let e=tt.messages.matchAllKeywords(),r=O`
1713
+ </ft-tooltip>`:r}renderKeywordMatch(){if(!this.keywordMatch)return N;let e=Je.messages.matchAllKeywords(),r=C`
1716
1714
  <ft-chip
1717
1715
  part="ft-search-selected-facets ft-search-selected-facet-match-all-keywords"
1718
1716
  label="${e}"
1719
1717
  removable
1720
1718
  hideIconTooltip
1721
- iconLabel="${Wt.messages.removeFilterLabel()}"
1719
+ iconLabel="${Ht.messages.removeFilterLabel()}"
1722
1720
  @icon-click=${n=>{var i;(i=this.stateManager)===null||i===void 0||i.setKeywordMatch($e.OPTIONAL),this.determineAndApplyFocus(n)}}
1723
1721
  ?multiLine=${this.multiLine}>
1724
1722
  <span part="values">
1725
1723
  ${e}
1726
1724
  </span>
1727
- </ft-chip>`;return this.forceTooltip?O`
1725
+ </ft-chip>`;return this.forceTooltip?C`
1728
1726
  <ft-tooltip inline text="${e}"
1729
1727
  part="tooltips tooltip-match-all-keywords">
1730
1728
  ${r}
1731
- </ft-tooltip>`:r}renderPeriodFilter(e){return e.dateFilter?this.renderDateFilter(e.key,e.dateFilter):e.rangeFilter?this.renderRangeFilter(e.key,e.rangeFilter):P}renderDateFilter(e,r){let n=Ee.messages.period(Ee.messages[r.type]());return O`
1729
+ </ft-tooltip>`:r}renderPeriodFilter(e){return e.dateFilter?this.renderDateFilter(e.key,e.dateFilter):e.rangeFilter?this.renderRangeFilter(e.key,e.rangeFilter):N}renderDateFilter(e,r){let n=Ce.messages.period(Ce.messages[r.type]());return C`
1732
1730
  <ft-tooltip inline text="${n}"
1733
1731
  part=" tooltips tooltip-search-period-filter">
1734
1732
  <ft-chip
@@ -1736,28 +1734,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1736
1734
  removable
1737
1735
  hideIconTooltip
1738
1736
  label="${n}"
1739
- iconLabel="${Wt.messages.removeFilterLabel()}"
1737
+ iconLabel="${Ht.messages.removeFilterLabel()}"
1740
1738
  @icon-click=${i=>{var a;(a=this.stateManager)===null||a===void 0||a.removeDateFilter(e),this.determineAndApplyFocus(i)}}
1741
1739
  ?multiLine=${this.multiLine}>
1742
1740
  <span part="values">
1743
- ${Ee.messages[r.type]()}
1741
+ ${Ce.messages[r.type]()}
1744
1742
  </span>
1745
1743
  </ft-chip>
1746
- </ft-tooltip>`}renderRangeFilter(e,r){let n=Ee.messages.period(Ee.messages.customPeriod(r.from,r.to));return O`
1744
+ </ft-tooltip>`}renderRangeFilter(e,r){let n=Ce.messages.period(Ce.messages.customPeriod(r.from,r.to));return C`
1747
1745
  <ft-tooltip inline text="${n}" part=" tooltips tooltip-search-period-filter">
1748
1746
  <ft-chip
1749
1747
  part="ft-search-selected-facets ft-search-selected-facet-period-filter"
1750
1748
  label="${n}"
1751
1749
  removable
1752
1750
  hideIconTooltip
1753
- iconLabel="${Wt.messages.removeFilterLabel()}"
1751
+ iconLabel="${Ht.messages.removeFilterLabel()}"
1754
1752
  @icon-click=${i=>{var a;(a=this.stateManager)===null||a===void 0||a.removeRangeFilter(e),this.determineAndApplyFocus(i)}}
1755
1753
  ?multiLine=${this.multiLine}>
1756
1754
  <span part="values">
1757
- ${Ee.messages.CUSTOM()}
1755
+ ${Ce.messages.CUSTOM()}
1758
1756
  </span>
1759
1757
  </ft-chip>
1760
- </ft-tooltip>`}updated(e){var r,n,i,a;if(super.updated(e),e.get("filters")){let s=(n=(r=this.filters)===null||r===void 0?void 0:r.filter(d=>d.dateFilter||d.rangeFilter).length)!==null&&n!==void 0?n:0,l=e.get("filters").filter(d=>d.dateFilter||d.rangeFilter).length;(s-l==1||l>0&&!this.hasSomethingToDisplay)&&this.announceFilters()}if(e.get("facets")){let s=(a=(i=this.facets)===null||i===void 0?void 0:i.filter(d=>this.getSelectedValues(d).length>0).length)!==null&&a!==void 0?a:0,l=e.get("facets").filter(d=>this.getSelectedValues(d).length>0).length;(s-l==1||l>0&&!this.hasSomethingToDisplay)&&this.announceFilters()}if(e.has("searchInDocumentTitlesOnly")){let s=e.get("searchInDocumentTitlesOnly");(!s&&this.searchInDocumentTitlesOnly||s&&!this.hasSomethingToDisplay)&&this.announceFilters()}if(e.has("keywordMatch")){let s=e.get("keywordMatch");(!s&&this.keywordMatch||s&&!this.hasSomethingToDisplay)&&this.announceFilters()}}announceFilters(){this.ariaNotificationDebouncer.run(async()=>{let e=await this.awaitI18n({...this.selectedFacetsAriaNotification,args:[this.numberOfChips]});this.sendAriaNotification(e,{checkVisibility:this.numberOfChips!=0})})}};Oe.elementDefinitions={"ft-chip":oe,"ft-tooltip":se};Oe.styles=Ed;mt([g({type:Boolean})],Oe.prototype,"displayLabel",void 0);mt([g({type:Boolean})],Oe.prototype,"forceTooltip",void 0);mt([g({type:Boolean})],Oe.prototype,"multiLine",void 0);mt([at()],Oe.prototype,"hierarchicalValueTruncatingLevel",void 0);mt([ue({store:"search"})],Oe.prototype,"facets",void 0);mt([ue({store:"search",selector:Pn})],Oe.prototype,"searchInDocumentTitlesOnly",void 0);mt([ue({store:"search",selector:Nn})],Oe.prototype,"keywordMatch",void 0);mt([ue({store:"search",selector:t=>t.request.metadataFilters})],Oe.prototype,"filters",void 0);mt([ue({store:"search",selector:t=>t.request.scope})],Oe.prototype,"scope",void 0);mt([ie({context:"officialContext",key:"searchSelectedFacetsAriaNotification"})],Oe.prototype,"selectedFacetsAriaNotification",void 0);var $u={"ft-search-selected-facets":Oe};K($u);})();
1758
+ </ft-tooltip>`}updated(e){var r,n,i,a;if(super.updated(e),e.get("filters")){let s=(n=(r=this.filters)===null||r===void 0?void 0:r.filter(d=>d.dateFilter||d.rangeFilter).length)!==null&&n!==void 0?n:0,c=e.get("filters").filter(d=>d.dateFilter||d.rangeFilter).length;(s-c==1||c>0&&!this.hasSomethingToDisplay)&&this.announceFilters()}if(e.get("facets")){let s=(a=(i=this.facets)===null||i===void 0?void 0:i.filter(d=>this.getSelectedValues(d).length>0).length)!==null&&a!==void 0?a:0,c=e.get("facets").filter(d=>this.getSelectedValues(d).length>0).length;(s-c==1||c>0&&!this.hasSomethingToDisplay)&&this.announceFilters()}if(e.has("searchInDocumentTitlesOnly")){let s=e.get("searchInDocumentTitlesOnly");(!s&&this.searchInDocumentTitlesOnly||s&&!this.hasSomethingToDisplay)&&this.announceFilters()}if(e.has("keywordMatch")){let s=e.get("keywordMatch");(!s&&this.keywordMatch||s&&!this.hasSomethingToDisplay)&&this.announceFilters()}}announceFilters(){this.ariaNotificationDebouncer.run(async()=>{let e=await this.awaitI18n({...this.selectedFacetsAriaNotification,args:[this.numberOfChips]});this.sendAriaNotification(e,{checkVisibility:this.numberOfChips!=0})})}};Oe.elementDefinitions={"ft-chip":re,"ft-tooltip":ae};Oe.styles=zd;mt([m({type:Boolean})],Oe.prototype,"displayLabel",void 0);mt([m({type:Boolean})],Oe.prototype,"forceTooltip",void 0);mt([m({type:Boolean})],Oe.prototype,"multiLine",void 0);mt([it()],Oe.prototype,"hierarchicalValueTruncatingLevel",void 0);mt([de({store:"search"})],Oe.prototype,"facets",void 0);mt([de({store:"search",selector:Kn})],Oe.prototype,"searchInDocumentTitlesOnly",void 0);mt([de({store:"search",selector:qn})],Oe.prototype,"keywordMatch",void 0);mt([de({store:"search",selector:t=>t.request.metadataFilters})],Oe.prototype,"filters",void 0);mt([de({store:"search",selector:t=>t.request.scope})],Oe.prototype,"scope",void 0);mt([ne({context:"officialContext",key:"searchSelectedFacetsAriaNotification"})],Oe.prototype,"selectedFacetsAriaNotification",void 0);var rp={"ft-search-selected-facets":Oe};j(rp);})();
1761
1759
  /*! Bundled license information:
1762
1760
 
1763
1761
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: