@fluid-topics/ft-search-period-filter 2.2.29 → 2.2.31

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 Bu=Object.defineProperty;var B=(t,e)=>{for(var r in e)Bu(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,s=new WeakMap,a=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(b,g){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let v=g.prototype.attributeChangedCallback,w=new Set(g.observedAttributes||[]);m(g,w,v);let D={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:w};this._definitionsByTag.set(b,D),this._definitionsByClass.set(g,D);let G=r.call(n,b);G||(G=f(b),e.call(n,b,G)),this===window.customElements&&(a.set(g,D),D.standInClass=G);let ee=this._awaitingUpgrade.get(b);if(ee){this._awaitingUpgrade.delete(b);for(let H of ee)s.delete(H),S(H,D,!0)}let I=this._whenDefinedPromises.get(b);return I!==void 0&&(I.resolve(g),this._whenDefinedPromises.delete(b)),g}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let g=this._getDefinition(b);if(g!==void 0)return Promise.resolve(g.elementClass);let v=this._whenDefinedPromises.get(b);return v===void 0&&(v={},v.promise=new Promise(w=>v.resolve=w),this._whenDefinedPromises.set(b,v)),v.promise}_upgradeWhenDefined(b,g,v){let w=this._awaitingUpgrade.get(g);w||this._awaitingUpgrade.set(g,w=new Set),v?w.add(b):w.delete(b)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let v=a.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,v),g},window.HTMLElement.prototype=t.prototype;let p=b=>b===document||b instanceof ShadowRoot,h=b=>{let g=b.getRootNode();if(!p(g)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;g=v.getRootNode(),p(g)||(g=c.get(g)?.getRootNode()||document)}return g.customElements},f=b=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let w=h(v)||window.customElements,D=w._getDefinition(b);return D?S(v,D):s.set(v,w),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!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)}},m=(b,g,v)=>{if(g.size===0||v===void 0)return;let w=b.prototype.setAttribute;w&&(b.prototype.setAttribute=function(ee,I){let H=ee.toLowerCase();if(g.has(H)){let oe=this.getAttribute(H);w.call(this,H,I),v.call(this,H,oe,I)}else w.call(this,H,I)});let D=b.prototype.removeAttribute;D&&(b.prototype.removeAttribute=function(ee){let I=ee.toLowerCase();if(g.has(I)){let H=this.getAttribute(I);D.call(this,I),v.call(this,I,H,null)}else D.call(this,I)});let G=b.prototype.toggleAttribute;G&&(b.prototype.toggleAttribute=function(ee,I){let H=ee.toLowerCase();if(g.has(H)){let oe=this.getAttribute(H);G.call(this,H,I);let qe=this.getAttribute(H);v.call(this,H,oe,qe)}else G.call(this,H,I)})},x=b=>{let g=Object.getPrototypeOf(b);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(b,window.HTMLElement):x(g)},S=(b,g,v=!1)=>{Object.setPrototypeOf(b,g.elementClass.prototype),i.set(b,g),d=b;try{new g.elementClass}catch{x(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(w=>{b.hasAttribute(w)&&g.attributeChangedCallback.call(b,w,null,b.getAttribute(w))}),v&&g.connectedCallback&&b.isConnected&&g.connectedCallback.call(b)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let g=R.apply(this,arguments);return b.customElements&&(g.customElements=b.customElements),g};let E=[document],L=(b,g,v=void 0)=>{let w=(v?Object.getPrototypeOf(v):b.prototype)[g];b.prototype[g]=function(){E.push(this);let D=w.apply(v||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let N=(b,g)=>{let v=Object.getOwnPropertyDescriptor(b.prototype,g);Object.defineProperty(b.prototype,g,{...v,set(w){E.push(this),v.set.call(this,w),E.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,g=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let I=g.call(this,...ee);return b.set(I,this),I},v.forEach(ee=>{let I=window.ElementInternals.prototype,H=I[ee];I[ee]=function(...oe){let qe=b.get(this);if(i.get(qe).formAssociated===!0)return H?.call(this,...oe);throw new DOMException(`Failed to execute ${H} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class w extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class D{constructor(I){let H=new Map;I.forEach((oe,qe)=>{let zn=oe.getAttribute("name"),Ra=H.get(zn)||[];this[+qe]=oe,Ra.push(oe),H.set(zn,Ra)}),this.length=I.length,H.forEach((oe,qe)=>{oe&&(oe.length===1?this[qe]=oe[0]:this[qe]=new w(oe))})}namedItem(I){return this[I]}}let G=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=G.get.call(this,[]),I=[];for(let H of ee){let oe=i.get(H);(!oe||oe.formAssociated===!0)&&I.push(H)}return new D(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,a)}}}var ei={};B(ei,{CSSResult:()=>dr,LitElement:()=>nt,ReactiveElement:()=>Pe,_$LE:()=>Xu,_$LH:()=>Qn,adoptStyles:()=>Ur,css:()=>T,defaultConverter:()=>ur,getCompatibleStyle:()=>Lo,html:()=>_,isServer:()=>Rm,mathml:()=>Yn,noChange:()=>ne,notEqual:()=>Br,nothing:()=>F,render:()=>Xn,supportsAdoptingStyleSheets:()=>Mr,svg:()=>Zn,unsafeCSS:()=>Fr});var To=globalThis,Mr=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hn=Symbol(),_a=new WeakMap,dr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Hn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Mr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=_a.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&_a.set(r,e))}return e}toString(){return this.cssText}},Fr=t=>new dr(typeof t=="string"?t:t+"",void 0,Hn),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new dr(r,t,Hn)},Ur=(t,e)=>{if(Mr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Lo=Mr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Fr(r)})(t):t;var{is:zu,defineProperty:Hu,getOwnPropertyDescriptor:Vu,getOwnPropertyNames:Wu,getOwnPropertySymbols:Gu,getPrototypeOf:ju}=Object,ko=globalThis,Ta=ko.trustedTypes,Ku=Ta?Ta.emptyScript:"",qu=ko.reactiveElementPolyfillSupport,$r=(t,e)=>t,ur={toAttribute(t,e){switch(e){case Boolean:t=t?Ku: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}},Br=(t,e)=>!zu(t,e),La={attribute:!0,type:String,converter:ur,reflect:!1,useDefault:!1,hasChanged:Br};Symbol.metadata??=Symbol("metadata"),ko.litPropertyMetadata??=new WeakMap;var Pe=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=La){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:s}=Vu(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let c=i?.call(this);s?.call(this,a),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??La}static _$Ei(){if(this.hasOwnProperty($r("elementProperties")))return;let e=ju(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($r("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($r("properties"))){let r=this.properties,n=[...Wu(r),...Gu(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(Lo(i))}else e!==void 0&&r.push(Lo(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 Ur(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 s=(n.converter?.toAttribute!==void 0?n.converter:ur).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:ur;this._$Em=i;let c=a.fromAttribute(r,s.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Br)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==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,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,c=this[i];a!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,s,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){}};Pe.elementStyles=[],Pe.shadowRootOptions={mode:"open"},Pe[$r("elementProperties")]=new Map,Pe[$r("finalized")]=new Map,qu?.({ReactiveElement:Pe}),(ko.reactiveElementVersions??=[]).push("2.1.2");var Wn=globalThis,ka=t=>t,Io=Wn.trustedTypes,Ia=Io?Io.createPolicy("lit-html",{createHTML:t=>t}):void 0,Gn="$lit$",ot=`lit$${Math.random().toFixed(9).slice(2)}$`,jn="?"+ot,Zu=`<${jn}>`,Pt=document,Hr=()=>Pt.createComment(""),Vr=t=>t===null||typeof t!="object"&&typeof t!="function",Kn=Array.isArray,Ua=t=>Kn(t)||typeof t?.[Symbol.iterator]=="function",Vn=`[
2
- \f\r]`,zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Na=/-->/g,Pa=/>/g,It=RegExp(`>|${Vn}(?:([^\\s"'>=/]+)(${Vn}*=${Vn}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Da=/'/g,Ma=/"/g,$a=/^(?:script|style|textarea|title)$/i,qn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_=qn(1),Zn=qn(2),Yn=qn(3),ne=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Fa=new WeakMap,Nt=Pt.createTreeWalker(Pt,129);function Ba(t,e){if(!Kn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ia!==void 0?Ia.createHTML(e):e}var za=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=zr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===zr?h[1]==="!--"?a=Na:h[1]!==void 0?a=Pa:h[2]!==void 0?($a.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=It):h[3]!==void 0&&(a=It):a===It?h[0]===">"?(a=i??zr,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?It:h[3]==='"'?Ma:Da):a===Ma||a===Da?a=It:a===Na||a===Pa?a=zr:(a=It,i=void 0);let x=a===It&&t[c+1].startsWith("/>")?" ":"";s+=a===zr?d+Zu:f>=0?(n.push(p),d.slice(0,f)+Gn+d.slice(f)+ot+x):d+ot+(f===-2?c:x)}return[Ba(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Wr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,c=e.length-1,d=this.parts,[p,h]=za(e,r);if(this.el=t.createElement(p,n),Nt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Nt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Gn)){let m=h[a++],x=i.getAttribute(f).split(ot),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:x,ctor:S[1]==="."?Po:S[1]==="?"?Do:S[1]==="@"?Mo:Mt}),i.removeAttribute(f)}else f.startsWith(ot)&&(d.push({type:6,index:s}),i.removeAttribute(f));if($a.test(i.tagName)){let f=i.textContent.split(ot),m=f.length-1;if(m>0){i.textContent=Io?Io.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Hr()),Nt.nextNode(),d.push({type:2,index:++s});i.append(f[m],Hr())}}}else if(i.nodeType===8)if(i.data===jn)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(ot,f+1))!==-1;)d.push({type:7,index:s}),f+=ot.length-1}s++}}static createElement(e,r){let n=Pt.createElement("template");return n.innerHTML=e,n}};function Dt(t,e,r=t,n){if(e===ne)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Vr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Dt(t,i._$AS(t,e.values),i,n)),e}var No=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??Pt).importNode(r,!0);Nt.currentNode=i;let s=Nt.nextNode(),a=0,c=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new pr(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Fo(s,this,e)),this._$AV.push(p),d=n[++c]}a!==d?.index&&(s=Nt.nextNode(),a++)}return Nt.currentNode=Pt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},pr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=F,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=Dt(this,e,r),Vr(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==ne&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ua(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!==F&&Vr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Pt.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=Wr.createElement(Ba(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new No(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Fa.get(e.strings);return r===void 0&&Fa.set(e.strings,r=new Wr(e)),r}k(e){Kn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.O(Hr()),this.O(Hr()),this,this.options)):n=r[i],n._$AI(s),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=ka(e).nextSibling;ka(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Mt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=F,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Dt(this,e,r,0),a=!Vr(e)||e!==this._$AH&&e!==ne,a&&(this._$AH=e);else{let c=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Dt(this,c[n+d],r,d),p===ne&&(p=this._$AH[d]),a||=!Vr(p)||p!==this._$AH[d],p===F?e=F:e!==F&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Po=class extends Mt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F?void 0:e}},Do=class extends Mt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},Mo=class extends Mt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Dt(this,e,r,0)??F)===ne)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},Fo=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){Dt(this,e)}},Qn={M:Gn,P:ot,A:jn,C:1,L:za,R:No,D:Ua,V:Dt,I:pr,H:Mt,N:Do,U:Mo,B:Po,F:Fo},Yu=Wn.litHtmlPolyfillSupport;Yu?.(Wr,pr),(Wn.litHtmlVersions??=[]).push("3.3.3");var Xn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new pr(e.insertBefore(Hr(),s),s,void 0,r??{})}return i._$AI(t),i};var Jn=globalThis,nt=class extends Pe{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=Xn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};nt._$litElement$=!0,nt.finalized=!0,Jn.litElementHydrateSupport?.({LitElement:nt});var Qu=Jn.litElementPolyfillSupport;Qu?.({LitElement:nt});var Xu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Jn.litElementVersions??=[]).push("4.2.2");var Rm=!1;var ni={};B(ni,{customElement:()=>Ju,eventOptions:()=>tp,property:()=>y,query:()=>z,queryAll:()=>ti,queryAssignedElements:()=>ri,queryAssignedNodes:()=>oi,queryAsync:()=>op,standardProperty:()=>Ha,state:()=>k});var Ju=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var ep={attribute:!0,type:String,converter:ur,reflect:!1,hasChanged:Br},Ha=(t=ep,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),n==="accessor"){let{name:a}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(a,d,t,!0,c)},init(c){return c!==void 0&&this.C(a,void 0,t,c),c}}}if(n==="setter"){let{name:a}=r;return function(c){let d=this[a];e.call(this,c),this.requestUpdate(a,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function y(t){return(e,r)=>typeof r=="object"?Ha(t,e,r):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function k(t){return y({...t,state:!0,attribute:!1})}function tp(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var $e=(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 s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return $e(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return $e(r,n,{get(){return s(this)}})}}var rp;function ti(t){return(e,r)=>$e(e,r,{get(){return(this.renderRoot??(rp??=document.createDocumentFragment())).querySelectorAll(t)}})}function op(t){return(e,r)=>$e(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ri(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return $e(e,r,{get(){let a=this.renderRoot?.querySelector(s),c=a?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function oi(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return $e(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var ii={};B(ii,{repeat:()=>hr});var Ze={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},_e=t=>(...e)=>({_$litDirective$:t,values:e}),De=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:np}=Qn,Va=t=>t;var Ga=t=>t.strings===void 0,Wa=()=>document.createComment(""),fr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(Wa(),i),a=n.insertBefore(Wa(),i);r=new np(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let p=Va(d).nextSibling;Va(n).insertBefore(d,i),d=p}}}return r},ht=(t,e,r=t)=>(t._$AI(e,r),t),ip={},ja=(t,e=ip)=>t._$AH=e,Ka=t=>t._$AH,Uo=t=>{t._$AR(),t._$AA.remove()};var qa=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},hr=_e(class extends De{constructor(t){if(super(t),t.type!==Ze.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=[],s=[],a=0;for(let c of t)i[a]=n?n(c,a):a,s[a]=r(c,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Ka(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let c=this.ut??=[],d=[],p,h,f=0,m=i.length-1,x=0,S=s.length-1;for(;f<=m&&x<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===a[x])d[x]=ht(i[f],s[x]),f++,x++;else if(c[m]===a[S])d[S]=ht(i[m],s[S]),m--,S--;else if(c[f]===a[S])d[S]=ht(i[f],s[S]),fr(t,d[S+1],i[f]),f++,S--;else if(c[m]===a[x])d[x]=ht(i[m],s[x]),fr(t,i[f],i[m]),m--,x++;else if(p===void 0&&(p=qa(a,x,S),h=qa(c,f,m)),p.has(c[f]))if(p.has(c[m])){let R=h.get(a[x]),E=R!==void 0?i[R]:null;if(E===null){let L=fr(t,i[f]);ht(L,s[x]),d[x]=L}else d[x]=ht(E,s[x]),fr(t,i[f],E),i[R]=null;x++}else Uo(i[m]),m--;else Uo(i[f]),f++;for(;x<=S;){let R=fr(t,d[S+1]);ht(R,s[x]),d[x++]=R}for(;f<=m;){let R=i[f++];R!==null&&Uo(R)}return this.ut=a,ja(t,d),ne}});var si={};B(si,{classMap:()=>Te});var Te=_e(class extends De{constructor(t){if(super(t),t.type!==Ze.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 ne}});var ai={};B(ai,{styleMap:()=>ap});var Za="important",sp=" !"+Za,ap=_e(class extends De{constructor(t){if(super(t),t.type!==Ze.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 s=typeof i=="string"&&i.endsWith(sp);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?Za:""):r[n]=i}}return ne}});var ci={};B(ci,{UnsafeHTMLDirective:()=>mr,unsafeHTML:()=>li});var mr=class extends De{constructor(e){if(super(e),this.it=F,e.type!==Ze.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===F||e==null)return this._t=void 0,this.it=e;if(e===ne)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:[]}}};mr.directiveName="unsafeHTML",mr.resultType=1;var li=_e(mr);var di={};B(di,{splitBreadcrumbForMenu:()=>lp});function lp(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var xi={};B(xi,{CacheRegistry:()=>Ye,ClearCacheEvent:()=>qr});var ui={};B(ui,{CancelablePromise:()=>$o,CanceledPromiseError:()=>mt,cancelable:()=>Bo});var mt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},$o=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new mt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new mt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Bo=t=>new $o((e,r)=>t.then(e).catch(r));var bi={};B(bi,{FtNotificationEvent:()=>Kr,PostResizeEvent:()=>gi,PreResizeEvent:()=>yi,WithEventBus:()=>it,withEventBus:()=>Ho});var mi={};B(mi,{applyMixinOnce:()=>se,customElements:()=>q,dateReviver:()=>pp,deepCopy:()=>Me,deepEqual:()=>pe,delay:()=>zo,eventPathContainsMatchingElement:()=>fi,everyDeep:()=>up,flatDeep:()=>Ft,forEachDeep:()=>Ja,getComposedPathTo:()=>hi,groupBy:()=>gp,hasChanged:()=>Se,ignoreComposingEvents:()=>yp,last:()=>hp,minmax:()=>gt,parseDate:()=>tl,randomId:()=>mp,someDeep:()=>el,unslotText:()=>rl,waitFor:()=>Xa,waitUntil:()=>jr});var pi={};B(pi,{customElement:()=>Gr,dateProperty:()=>dp,isNumber:()=>Qa,jsonProperty:()=>ie,jsonPropertyConverter:()=>Ya,numberProperty:()=>yt,optionalNumberProperty:()=>cp});var Gr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Ya=t=>({fromAttribute:e=>{if(e==null)return Me(t);try{return JSON.parse(e)}catch{return Me(t)}},toAttribute:e=>JSON.stringify(e)});function ie(t,e){return y({type:Object,converter:Ya(t),hasChanged:Se,...e??{}})}function cp(t){return yt(t)}function yt(t){return y({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return Qa(e)?gt(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Qa(t){return!isNaN(parseFloat(t))}function dp(t){return y({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 zo=t=>new Promise(e=>setTimeout(e,t));async function jr(t,e=10,r=2e4){await Xa(async()=>await t()||void 0,e,r)}async function Xa(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await zo(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ft(t,e){return t.flatMap(r=>[r,...Ft(e(r),e)])}function Ja(t,e,r){let n=(i,s)=>{var a;for(let c=0;c<i.length;c++){let d=i[c];if(!(((a=r(d,c,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function el(t,e,r){let n=!1;return Ja(t,e,(i,s,a,c)=>(n=!!r(i,s,a,c),!n)),n}function up(t,e,r){return!el(t,e,(n,i,s,a)=>!r(n,i,s,a))}function pp(...t){return(e,r)=>t.includes(e)?tl(r):r}function tl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function fp(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(!pe(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(!pe(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=a=>Object.keys(a).filter(c=>a[c]!=null),s=i(t);if(r=s.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){let a=s[n];if(!pe(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function pe(t,e){try{return fp(t,e)}catch{return!1}}function Se(t,e){return!pe(t,e)}function fi(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(s=>i.matches(s)))return!0}}return!1}function gt(t,e,r){return Math.min(Math.max(t,e),r)}function hp(t){return t[t.length-1]}function rl(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>rl(e)).join(""):t?.textContent||""}function hi(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 Me(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function mp(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function se(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 yp(){return function(t,e,r){let n=r.value;r.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function q(t){for(let[e,r]of Object.entries(t))Gr(e)(r)}function gp(t,e){var r,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[n=i(a)])!==null&&r!==void 0?r:s[n]=[]).push(a);return s}var Kr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},yi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},gi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ho=se(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)}}}),it=class extends Ho(Object){};var qr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Ye=class extends it{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:r,final:n,status:a}}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 qr(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new qr([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,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,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=Bo(r()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}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 _i={};B(_i,{ClusteringHelper:()=>Ri,formatHierarchicalValues:()=>Ai});var wi={};B(wi,{accessBreadcrumb:()=>Ap,accessResult:()=>Oi,accessResultId:()=>Op,accessResultUrl:()=>wp,enrichReaderUrl:()=>Ci});var Ei={};B(Ei,{SearchPlaceConverter:()=>st,SearchPlaceQueryParams:()=>M,isSearchPlaceQueryParams:()=>Wl,serializeRequest:()=>Ep});var bp=t=>typeof t=="object"&&t!=null;var xp=t=>typeof t=="number",Vo=t=>typeof t=="string",Si=t=>bp(t)&&Vo(t.endpoint)&&Vo(t.method)&&Vo(t.statusText)&&Vo(t.body)&&xp(t.status),ol;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ol||(ol={}));var nl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(nl||(nl={}));var il;(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"})(il||(il={}));var sl;(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"})(sl||(sl={}));var al;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(al||(al={}));var ll;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(ll||(ll={}));var cl;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(cl||(cl={}));var dl;(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"})(dl||(dl={}));var ul;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ul||(ul={}));var pl;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(pl||(pl={}));var fl;(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"})(fl||(fl={}));var hl;(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"})(hl||(hl={}));var ml;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ml||(ml={}));var yl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(yl||(yl={}));var gl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(gl||(gl={}));var bl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(bl||(bl={}));var xl;(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"})(xl||(xl={}));var Ut;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ut||(Ut={}));var vl;(function(t){t.ASC="ASC",t.DESC="DESC"})(vl||(vl={}));var Sl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Sl||(Sl={}));var Wo;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Wo||(Wo={}));var _l=t=>Object.keys(Wo).includes(t);var El;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(El||(El={}));var Cl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Cl||(Cl={}));var Ol;(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"})(Ol||(Ol={}));var bt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(bt||(bt={}));var Tl=t=>Object.keys(bt).includes(t);var wl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(wl||(wl={}));var vi;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(vi||(vi={}));var Al;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Al||(Al={}));var te;(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"})(te||(te={}));var Fe;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Fe||(Fe={}));var Rl;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Rl||(Rl={}));var Ll;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Ll||(Ll={}));var kl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(kl||(kl={}));var Il;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Il||(Il={}));var Nl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Nl||(Nl={}));var Pl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Pl||(Pl={}));var Dl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Dl||(Dl={}));var Ml;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ml||(Ml={}));var Fl;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Fl||(Fl={}));var Ul;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Ul||(Ul={}));var $l;(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"})($l||($l={}));var Bl;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Bl||(Bl={}));var vp={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.BEHAVIOR_DATA_USER],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function zl(t,e){return t===e||(vp[t]??[]).some(r=>zl(r,e))}function Go(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=>zl(n,e))}function Hl(t,...e){return t==null?!1:e.some(r=>Go(t,r))}function Sp(t){return`"${t}"`}function Vl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Ep(t,e){return new st(t).serialize(e)}var M;(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"})(M||(M={}));var Cp=new Set(Object.values(M));function Wl(t){return Cp.has(t)}var st=class t{constructor(e,r=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}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,s,a,c,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(M.LOCALE,e.contentLocale):m.append(M.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(M.QUERY,e.query);let x=t.serializeValueFilters(e.metadataFilters);x&&m.append(M.VALUE_FILTERS,x);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(M.NEGATIVE_VALUE_FILTERS,S);let R=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(b=>b.dateFilter))!==null&&d!==void 0?d:[];if(R.length>0){let b=R.map(g=>{var v;return`${g.key}~${(v=g.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");m.append(M.DATE_FILTERS,b)}let E=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let b=E.map(g=>{var v,w;return`${g.key}~${(v=g.rangeFilter)===null||v===void 0?void 0:v.from}_${(w=g.rangeFilter)===null||w===void 0?void 0:w.to}`}).join("*");m.append(M.RANGE_FILTERS,b)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(M.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(M.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(M.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(c=e.paging)===null||c===void 0?void 0:c.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(M.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(M.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let L=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let b in L)m.append(b,L[b]);let N=new Array;return m.forEach((b,g)=>{N.push(this.encodeQueryString(g)+"="+this.encodeQueryString(b))}),encodeURI(N.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("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,s,a,c,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let p=new URLSearchParams(e),h=(n=p.get(M.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(M.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(M.SORT))===null||r===void 0?void 0:r.toLowerCase(),x=(s=p.get(M.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(M.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),R=p.get(M.KEYWORD_MATCH),E=R?R.toUpperCase()===Ut.MANDATORY?Ut.MANDATORY:Ut.OPTIONAL:void 0,L={};for(let N of p.keys())Wl(N)||(L[N]=p.get(N));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(N=>N.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(c=p.get(M.QUERY))!==null&&c!==void 0?c:"",scope:(d=this.scopeMapping[x])!==null&&d!==void 0?d:"DEFAULT",virtualField:_l(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:gt(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:E,otherQueryParams:L}}parseCompatFilters(e){var r,n,i,s,a,c,d;let p=[];return e.has(M.FILTERS)&&(p=t.parseValueFilters((r=e.get(M.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(M.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(M.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(M.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(M.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((c=e.get(M.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(M.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}static parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Vl).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:bt[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}static superEscapeFilters(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(Tl(e))return[{key:"ft:lastEdition",dateFilter:{type:bt[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var r,n;let i=((n=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>Sp(Vl(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[M.LOCALE,M.FILTERS,M.VALUE_FILTERS,M.NEGATIVE_VALUE_FILTERS,M.DATE_FILTERS,M.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(M.LOCALE),r!==void 0&&n.searchParams.append(M.LOCALE,r),n.toString()}};st.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Oi(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 Op(t){var e,r,n,i,s,a,c,d,p;return(p=(d=(c=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(r=t?.topic)===null||r===void 0?void 0:r.tocId)!==null&&c!==void 0?c:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function wp(t,e){var r,n,i,s,a,c,d,p,h;return(h=(p=(d=(c=Ci((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&c!==void 0?c:Ci((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function Ap(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 Ci(t,e){if(e&&t){let r=URL.parse(t),n=st.serializeValueFilters(e);if(n&&r?.searchParams.append(M.VALUE_FILTERS,n),r)return r.toString()}return t}function Ai(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Ri=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 s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=Oi(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(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(c=>{s.push(Ai(c)),a.push(Ai(c,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(c=d?.label)!==null&&c!==void 0?c:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(S=>S.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 s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(a=="ALPHABET"||a=="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}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>c&&(c=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Ti={};B(Ti,{Debouncer:()=>X});var X=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),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ni={};B(Ni,{designSystemVariables:()=>A});var Ii={};B(Ii,{DesignSystemFamily:()=>Zr,DesignSystemSize:()=>Yr,FtCssVariableFactory:()=>o,badge:()=>Vp,banner:()=>Hp,button:()=>Tp,card:()=>kp,chart:()=>sf,checkbox:()=>Dp,chip:()=>$p,chipChoice:()=>Up,chipGroup:()=>Bp,collapsible:()=>of,combobox:()=>tf,dateRangePicker:()=>uf,drawer:()=>Yp,eventCard:()=>Ip,floatingMenu:()=>ef,foundation:()=>l,link:()=>zp,modal:()=>qp,notice:()=>lf,notification:()=>cf,pageDesigner:()=>af,pageFooter:()=>jp,pageHeader:()=>Gp,pageLayout:()=>Kp,popover:()=>rf,radio:()=>Mp,reorderableList:()=>Zp,resolveFamilyClass:()=>Li,resolveSizeClass:()=>ki,semantic:()=>u,setVariable:()=>V,switch_:()=>nf,table:()=>Fp,tabs:()=>Qp,textArea:()=>Jp,textInput:()=>Xp,titleBreadcrumb:()=>Wp,toc:()=>Pp,toggle:()=>Lp,tooltip:()=>df,treeList:()=>Np,typographies:()=>Rp,typographyBody1Medium:()=>Yl,typographyBody1Regular:()=>Zl,typographyBody1Semibold:()=>Ql,typographyBody2Medium:()=>Jl,typographyBody2MediumUnderline:()=>ec,typographyBody2Regular:()=>Xl,typographyBody2Semibold:()=>tc,typographyCaption1Medium:()=>rc,typographyCaption1Semibold:()=>oc,typographyCaption2Bold:()=>sc,typographyCaption2Medium:()=>nc,typographyCaption2Semibold:()=>ic,typographyDisplay:()=>Gl,typographyTitle1:()=>jl,typographyTitle2:()=>Kl,typographyTitle3:()=>ql,typographyVariants:()=>_p});var xt=t=>typeof t=="string"?Fr(t):t,o=class{static create(e,r,n,i){let s=c=>xt(c??i),a=T`var(${xt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>V(a,c??s(i)),a.get=c=>T`var(${xt(e)}, ${s(c)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=c=>n.get(c??i),a=T`var(${xt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>V(a,c??s(i)),a.get=c=>T`var(${xt(e)}, ${s(c)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=T`var(${xt(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=s=>e.set(s),i.get=s=>T`var(${xt(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function V(t,e){return xt(`${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)")},Gl={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")},jl={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")},Kl={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")},ql={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")},Zl={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")},Yl={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")},Ql={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")},Xl={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")},Jl={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")},ec={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")},tc={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")},rc={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")},oc={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")},nc={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")},ic={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")},sc={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")},Rp={display:Gl,"title-1":jl,"title-2":Kl,"title-3":ql,"body-1-regular":Zl,"body-1-medium":Yl,"body-1-semibold":Ql,"body-2-regular":Xl,"body-2-medium":Jl,"body-2-medium-underline":ec,"body-2-semibold":tc,"caption-1-medium":rc,"caption-1-semibold":oc,"caption-2-medium":nc,"caption-2-semibold":ic,"caption-2-bold":sc},_p=["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 Tp={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 Lp={iconSize:o.extend("--ftds-toggle-icon-size","",l.iconSize1),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),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var kp={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 Ip={borderRadius:o.extend("--ftds-event-card-border-radius","",l.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",l.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",l.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",l.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",l.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var Np={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 Pp={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",l.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",l.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",l.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",l.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",l.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",l.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",l.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",l.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",l.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",l.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",l.opacity8)};var Dp={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.spacing2),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 Mp={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 Fp={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 Up={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 $p={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 Bp={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 zp={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 Hp={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 Vp={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 Wp={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 Gp={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.spacing2),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 jp={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 Kp={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var qp={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 Zp={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",l.spacing2),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 Yp={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 Qp={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 Xp={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),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-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 Jp={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",l.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",l.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",l.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",l.spacing05)};var ef={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 tf={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 rf={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 of={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 nf={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 sf={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)};var af={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 lf={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 cf={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 df={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 uf={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 Zr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Zr||(Zr={}));var Yr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Yr||(Yr={}));function Li(t){return`ftds--family-${t}`}function ki(t){return`ftds--size-${t}`}var A={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 Pi={};B(Pi,{DynamicImporter:()=>jo,dynamicImporter:()=>pf});var jo=class{async import(e){if(e)return import(e)}},pf=new jo;var Ki={};B(Ki,{computeOffsetAutoPosition:()=>Mf,computeOffsetPosition:()=>ji});var lc=["top","right","bottom","left"],ac=["start","end"],Mi=lc.reduce((t,e)=>t.concat(e,e+"-"+ac[0],e+"-"+ac[1]),[]),$t=Math.min,Qe=Math.max,Qr=Math.round;var Xe=t=>({x:t,y:t}),ff={left:"right",right:"left",bottom:"top",top:"bottom"};function cc(t,e,r){return Qe(t,$t(e,r))}function yr(t,e){return typeof t=="function"?t(e):t}function Bt(t){return t.split("-")[0]}function Je(t){return t.split("-")[1]}function Fi(t){return t==="x"?"y":"x"}function Ui(t){return t==="y"?"height":"width"}function gr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function $i(t){return Fi(gr(t))}function dc(t,e,r){r===void 0&&(r=!1);let n=Je(t),i=$i(t),s=Ui(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Di(a)),[a,Di(a)]}function uc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Di(t){let e=Bt(t);return ff[e]+t.slice(e.length)}function hf(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 pc(t){return typeof t!="number"?hf(t):{top:t,right:t,bottom:t,left:t}}function zt(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 fc(t,e,r){let{reference:n,floating:i}=t,s=gr(e),a=$i(e),c=Ui(a),d=Bt(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}let S=Je(e);return S&&(x[a]+=m*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function hc(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=yr(e,t),S=pc(x),E=c[m?f==="floating"?"reference":"floating":f],L=zt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),N=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),g=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},v=zt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:b,strategy:d}):N);return{top:(L.top-v.top+S.top)/g.y,bottom:(v.bottom-L.bottom+S.bottom)/g.y,left:(L.left-v.left+S.left)/g.x,right:(v.right-L.right+S.right)/g.x}}var mf=50,mc=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:hc},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=fc(p,n,d),m=n,x=0,S={};for(let R=0;R<s.length;R++){let E=s[R];if(!E)continue;let{name:L,fn:N}=E,{x:b,y:g,data:v,reset:w}=await N({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=b??h,f=g??f,S[L]={...S[L],...v},w&&x<mf&&(x++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(p=w.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:f}=fc(p,m,d)),R=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function yf(t,e,r){return(t?[...r.filter(i=>Je(i)===t),...r.filter(i=>Je(i)!==t)]:r.filter(i=>Bt(i)===i)).filter(i=>t?Je(i)===t||(e?uc(i)!==i:!1):!0)}var yc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Mi,autoAlignment:x=!0,...S}=yr(t,e),R=f!==void 0||m===Mi?yf(f||null,x,m):m,E=((r=a.autoPlacement)==null?void 0:r.index)||0,L=R[E];if(L==null)return{};if(c!==L)return{reset:{placement:R[0]}};let N=await d.detectOverflow(e,S),b=dc(L,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[N[Bt(L)],N[b[0]],N[b[1]]],v=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:g}],w=R[E+1];if(w)return{data:{index:E+1,overflows:v},reset:{placement:w}};let D=v.map(I=>{let H=Je(I.placement);return[I.placement,H&&h?I.overflows.slice(0,2).reduce((oe,qe)=>oe+qe,0):I.overflows[0],I.overflows]}).sort((I,H)=>I[1]-H[1]),ee=((i=D.filter(I=>I[2].slice(0,Je(I[0])?2:3).every(H=>H<=0))[0])==null?void 0:i[0])||D[0][0];return ee!==c?{data:{index:E+1,overflows:v},reset:{placement:ee}}:{}}}};var gf=new Set(["left","top"]);async function bf(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Bt(r),c=Je(r),d=gr(r)==="y",p=gf.has(a)?-1:1,h=s&&d?-1:1,f=yr(e,t),{mainAxis:m,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:m*p}:{x:m*p,y:x*h}}var gc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:s,placement:a,middlewareData:c}=e,d=await bf(e,t);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},bc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:N=>{let{x:b,y:g}=N;return{x:b,y:g}}},...p}=yr(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=gr(i),x=Fi(m),S=h[x],R=h[m],E=(N,b)=>cc(b+f[N==="y"?"top":"left"],b,b-f[N==="y"?"bottom":"right"]);a&&(S=E(x,S)),c&&(R=E(m,R));let L=d.fn({...e,[x]:S,[m]:R});return{...L,data:{x:L.x-r,y:L.y-n,enabled:{[x]:a,[m]:c}}}}}};var xc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...c}=yr(t,e),d=await i.detectOverflow(e,c),p=Bt(r),h=Je(r),f=gr(r)==="y",{width:m,height:x}=n.floating,S,R;p==="top"||p==="bottom"?(S=p,R=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(R=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,L=m-d.left-d.right,N=$t(x-d[S],E),b=$t(m-d[R],L),g=e.middlewareData.shift,v=!g,w=N,D=b;g!=null&&g.enabled.x&&(D=L),g!=null&&g.enabled.y&&(w=E),v&&!h&&(f?D=m-2*Qe(d.left,d.right):w=x-2*Qe(d.top,d.bottom)),await a({...e,availableWidth:D,availableHeight:w});let G=await i.getDimensions(s.floating);return m!==G.width||x!==G.height?{reset:{rects:!0}}:{}}}};function qo(){return typeof window<"u"}function Vt(t){return Sc(t)?(t.nodeName||"").toLowerCase():"#document"}function Ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function at(t){var e;return(e=(Sc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Sc(t){return qo()?t instanceof Node||t instanceof Ee(t).Node:!1}function Be(t){return qo()?t instanceof Element||t instanceof Ee(t).Element:!1}function lt(t){return qo()?t instanceof HTMLElement||t instanceof Ee(t).HTMLElement:!1}function vc(t){return!qo()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ee(t).ShadowRoot}function Xr(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 Ec(t){return/^(table|td|th)$/.test(Vt(t))}function Jr(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var xf=/transform|translate|scale|rotate|perspective|filter/,vf=/paint|layout|strict|content/,Ht=t=>!!t&&t!=="none",Bi;function br(t){let e=Be(t)?ze(t):t;return Ht(e.transform)||Ht(e.translate)||Ht(e.scale)||Ht(e.rotate)||Ht(e.perspective)||!Zo()&&(Ht(e.backdropFilter)||Ht(e.filter))||xf.test(e.willChange||"")||vf.test(e.contain||"")}function Cc(t){let e=vt(t);for(;lt(e)&&!xr(e);){if(br(e))return e;if(Jr(e))return null;e=vt(e)}return null}function Zo(){return Bi==null&&(Bi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Bi}function xr(t){return/^(html|body|#document)$/.test(Vt(t))}function ze(t){return Ee(t).getComputedStyle(t)}function eo(t){return Be(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function vt(t){if(Vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||vc(t)&&t.host||at(t);return vc(e)?e.host:e}function Oc(t){let e=vt(t);return xr(e)?(t.ownerDocument||t).body:lt(e)&&Xr(e)?e:Oc(e)}function Ko(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Oc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Ee(i);if(s){let c=Yo(a);return e.concat(a,a.visualViewport||[],Xr(i)?i:[],c&&r?Ko(c):[])}else return e.concat(i,Ko(i,[],r))}function Yo(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Rc(t){let e=ze(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=lt(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,c=Qr(r)!==s||Qr(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function _c(t){return Be(t)?t:t.contextElement}function vr(t){let e=_c(t);if(!lt(e))return Xe(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Rc(e),a=(s?Qr(r.width):r.width)/n,c=(s?Qr(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var Sf=Xe(0);function Tc(t){let e=Ee(t);return!Zo()||!e.visualViewport?Sf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ef(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Ee(t)}function to(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=_c(t),a=Xe(1);e&&(n?Be(n)&&(a=vr(n)):a=vr(t));let c=Ef(s,r,n)?Tc(s):Xe(0),d=(i.left+c.x)/a.x,p=(i.top+c.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Ee(s),x=Be(n)?Ee(n):n,S=m,R=Yo(S);for(;R&&x!==S;){let E=vr(R),L=R.getBoundingClientRect(),N=ze(R),b=L.left+(R.clientLeft+parseFloat(N.paddingLeft))*E.x,g=L.top+(R.clientTop+parseFloat(N.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=b,p+=g,S=Ee(R),R=Yo(S)}}return zt({width:h,height:f,x:d,y:p})}function Qo(t,e){let r=eo(t).scrollLeft;return e?e.left+r:to(at(t)).left+r}function Lc(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Qo(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function Cf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=at(n),c=e?Jr(e.floating):!1;if(n===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},p=Xe(1),h=Xe(0),f=lt(n);if((f||!s)&&((Vt(n)!=="body"||Xr(a))&&(d=eo(n)),f)){let x=to(n);p=vr(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let m=a&&!f&&!s?Lc(a,d):Xe(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 Of(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function wf(t){let e=eo(t),r=t.ownerDocument.body,n=Qe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Qe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Qo(t),a=-e.scrollTop;return ze(r).direction==="rtl"&&(s+=Qe(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var Af=25;function Rf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Ee(t),s=at(t),a=i.visualViewport,c=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Zo()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(c=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Qo(s)<=0){let m=s.ownerDocument,x=m.body,S=getComputedStyle(x),R=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(s.clientWidth-x.clientWidth-R),L=getComputedStyle(s).scrollbarGutter==="stable both-edges"?E/2:E;L<=Af&&(c-=L)}return{width:c,height:d,x:p,y:h}}function _f(t,e){let r=to(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=vr(t),a=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:c,x:d,y:p}}function wc(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=Rf(t,r,e);else if(e==="document")n=wf(at(t));else if(Be(e))n=_f(e,r);else{let i=Tc(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return zt(n)}function Tf(t,e){let r=e.get(t);if(r)return r;let n=Ko(t,[],!1).filter(c=>Be(c)&&Vt(c)!=="body"),i=null,s=ze(t).position==="fixed",a=s?vt(t):t;for(;Be(a)&&!xr(a);){let c=ze(a),d=br(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):i=c,a=vt(a)}return e.set(t,n),n}function Lf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Jr(e)?[]:Tf(e,this._c):[].concat(r),n],c=wc(e,a[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){let x=wc(e,a[m],i);d=Qe(x.top,d),p=$t(x.right,p),h=$t(x.bottom,h),f=Qe(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function kf(t){let{width:e,height:r}=Rc(t);return{width:e,height:r}}function If(t,e,r){let n=lt(e),i=at(e),s=r==="fixed",a=to(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=Xe(0);if((n||!s)&&((Vt(e)!=="body"||Xr(i))&&(c=eo(e)),n)){let m=to(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Qo(i));let p=i&&!n&&!s?Lc(i,c):Xe(0),h=a.left+c.scrollLeft-d.x-p.x,f=a.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function zi(t){return ze(t).position==="static"}function Ac(t,e){if(!lt(t)||ze(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return at(t)===r&&(r=r.ownerDocument.body),r}function kc(t,e){let r=Ee(t);if(Jr(t))return r;if(!lt(t)){let i=vt(t);for(;i&&!xr(i);){if(Be(i)&&!zi(i))return i;i=vt(i)}return r}let n=Ac(t,e);for(;n&&Ec(n)&&zi(n);)n=Ac(n,e);return n&&xr(n)&&zi(n)&&!br(n)?r:n||Cc(t)||r}var Nf=async function(t){let e=this.getOffsetParent||kc,r=this.getDimensions,n=await r(t.floating);return{reference:If(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Pf(t){return ze(t).direction==="rtl"}var Sr={convertOffsetParentRelativeRectToViewportRelativeRect:Cf,getDocumentElement:at,getClippingRect:Lf,getOffsetParent:kc,getElementRects:Nf,getClientRects:Of,getDimensions:kf,getScale:vr,isElement:Be,isRTL:Pf};var Ic=gc,Hi=yc,Nc=bc;var Pc=xc;var Vi=(t,e,r)=>{let n=new Map,i=r??{},s={...Sr,...i.platform,_c:n};return mc(t,e,{...i,platform:s})};function Gi(t){return Df(t)}function Wi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Df(t){for(let e=t;e;e=Wi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Wi(t);e;e=Wi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||br(r)||e.tagName==="BODY"))return e}return null}async function ji(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},Vi(t,e,{strategy:n.strategy,platform:{...Sr,getOffsetParent:i=>Sr.getOffsetParent(i,Gi)},middleware:[Nc({crossAxis:!0}),Hi({allowedPlacements:[n.placement]})]})}async function Mf(t,e,r,n,i,s,a){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):c=r,Vi(t,e,{placement:c,strategy:i,platform:{...Sr,getOffsetParent:p=>Sr.getOffsetParent(p,Gi)},middleware:[Ic(a??4),Hi({allowedPlacements:n}),Pc({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`: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 qi={};B(qi,{isSlotEmptyOrWithoutContent:()=>Ff});var Ff=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 es={};B(es,{FtdsBase:()=>Ji,toFtdsBase:()=>zc});var Xi={};B(Xi,{ExportpartsUpdatedEvent:()=>Wt,FtLitElement:()=>U});var Zi={};B(Zi,{ScopedRegistryLitElement:()=>ro});var ro=class extends nt{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 Ur(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){Gr(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={};B(Qi,{shadowQuerySelector:()=>Yi,shadowQuerySelectorAll:()=>Uf});function Yi(t,e,...r){var n;let i=t.querySelector(e);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function Uf(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,c;return[...(c=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Er=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Uc,Dc=Symbol("constructorPrototype"),Mc=Symbol("constructorName"),$c=Symbol("exportpartsDebouncer"),Fc=Symbol("dynamicDependenciesLoaded"),Wt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Wt.eventName="exportparts-updated";var U=class extends ro{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Uc]=new X(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[$c].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Mc]=this.constructor.name,this[Dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mc]&&Object.setPrototypeOf(this,this[Dc])}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[Fc]||(r[Fc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Wt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Wt.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 Wt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Yi(this.shadowRoot,...s)}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(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,n,i,s,a,c;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(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.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(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Uc=$c;Er([y()],U.prototype,"exportpartsPrefix",void 0);Er([ie([])],U.prototype,"exportpartsPrefixes",void 0);Er([y({reflect:!0})],U.prototype,"exportparts",void 0);Er([y()],U.prototype,"customStylesheet",void 0);Er([y()],U.prototype,"elementToFocus",void 0);Er([k()],U.prototype,"useAdoptedStyleSheets",void 0);var Bc=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},zc=se(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Yr.medium,this.family=Zr.neutral}getDesignSystemBaseClasses(){return{[Li(this.family)]:!0,[ki(this.size)]:!0}}}return Bc([y()],e.prototype,"size",void 0),Bc([y()],e.prototype,"family",void 0),e}),Ji=class extends zc(U){};var Hc={};var os={};B(os,{highlightHtml:()=>rs,highlightHtmlColorCssVariable:()=>Vc,highlightHtmlStyles:()=>Bf});var Gt=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 s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}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(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!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,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,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 s=e.querySelectorAll("iframe"),a=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(c)};a||d(),s.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),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let a=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(a&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 s=!1,a=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,a=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let a=this.createIterator(r,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var oo=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 Gt(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 s in r)if(r.hasOwnProperty(s)){let a=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);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 s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?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(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),i.push(a)}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,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(c=>{a+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}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,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=a-s,r.push(i),n=a)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!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?s=!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:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,a=n.length,c=r-a,d=parseInt(e.start,10)-c;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}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 Gt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(a.node))return!1;let p=r-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,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,s(a.node.previousSibling,a.start),n>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let a=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[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,c,s.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,c)=>this.opt.filter(c,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:a}=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,(m,x)=>this.opt.filter(x,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[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,(s,a,c,d)=>this.opt.filter(s,a,c,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{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=Gt.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ts(t){let e=new oo(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 $f=ts,Vc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Bf=T`
1
+ "use strict";(()=>{var Fu=Object.defineProperty;var B=(t,e)=>{for(var r in e)Fu(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,s=new WeakMap,a=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(b,g){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let v=g.prototype.attributeChangedCallback,w=new Set(g.observedAttributes||[]);m(g,w,v);let D={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:w};this._definitionsByTag.set(b,D),this._definitionsByClass.set(g,D);let G=r.call(n,b);G||(G=f(b),e.call(n,b,G)),this===window.customElements&&(a.set(g,D),D.standInClass=G);let ee=this._awaitingUpgrade.get(b);if(ee){this._awaitingUpgrade.delete(b);for(let H of ee)s.delete(H),S(H,D,!0)}let I=this._whenDefinedPromises.get(b);return I!==void 0&&(I.resolve(g),this._whenDefinedPromises.delete(b)),g}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let g=this._getDefinition(b);if(g!==void 0)return Promise.resolve(g.elementClass);let v=this._whenDefinedPromises.get(b);return v===void 0&&(v={},v.promise=new Promise(w=>v.resolve=w),this._whenDefinedPromises.set(b,v)),v.promise}_upgradeWhenDefined(b,g,v){let w=this._awaitingUpgrade.get(g);w||this._awaitingUpgrade.set(g,w=new Set),v?w.add(b):w.delete(b)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let v=a.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,v),g},window.HTMLElement.prototype=t.prototype;let p=b=>b===document||b instanceof ShadowRoot,h=b=>{let g=b.getRootNode();if(!p(g)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;g=v.getRootNode(),p(g)||(g=c.get(g)?.getRootNode()||document)}return g.customElements},f=b=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let w=h(v)||window.customElements,D=w._getDefinition(b);return D?S(v,D):s.set(v,w),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!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)}},m=(b,g,v)=>{if(g.size===0||v===void 0)return;let w=b.prototype.setAttribute;w&&(b.prototype.setAttribute=function(ee,I){let H=ee.toLowerCase();if(g.has(H)){let oe=this.getAttribute(H);w.call(this,H,I),v.call(this,H,oe,I)}else w.call(this,H,I)});let D=b.prototype.removeAttribute;D&&(b.prototype.removeAttribute=function(ee){let I=ee.toLowerCase();if(g.has(I)){let H=this.getAttribute(I);D.call(this,I),v.call(this,I,H,null)}else D.call(this,I)});let G=b.prototype.toggleAttribute;G&&(b.prototype.toggleAttribute=function(ee,I){let H=ee.toLowerCase();if(g.has(H)){let oe=this.getAttribute(H);G.call(this,H,I);let qe=this.getAttribute(H);v.call(this,H,oe,qe)}else G.call(this,H,I)})},x=b=>{let g=Object.getPrototypeOf(b);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(b,window.HTMLElement):x(g)},S=(b,g,v=!1)=>{Object.setPrototypeOf(b,g.elementClass.prototype),i.set(b,g),d=b;try{new g.elementClass}catch{x(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(w=>{b.hasAttribute(w)&&g.attributeChangedCallback.call(b,w,null,b.getAttribute(w))}),v&&g.connectedCallback&&b.isConnected&&g.connectedCallback.call(b)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let g=R.apply(this,arguments);return b.customElements&&(g.customElements=b.customElements),g};let E=[document],L=(b,g,v=void 0)=>{let w=(v?Object.getPrototypeOf(v):b.prototype)[g];b.prototype[g]=function(){E.push(this);let D=w.apply(v||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let P=(b,g)=>{let v=Object.getOwnPropertyDescriptor(b.prototype,g);Object.defineProperty(b.prototype,g,{...v,set(w){E.push(this),v.set.call(this,w),E.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,g=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let I=g.call(this,...ee);return b.set(I,this),I},v.forEach(ee=>{let I=window.ElementInternals.prototype,H=I[ee];I[ee]=function(...oe){let qe=b.get(this);if(i.get(qe).formAssociated===!0)return H?.call(this,...oe);throw new DOMException(`Failed to execute ${H} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class w extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class D{constructor(I){let H=new Map;I.forEach((oe,qe)=>{let Bn=oe.getAttribute("name"),Oa=H.get(Bn)||[];this[+qe]=oe,Oa.push(oe),H.set(Bn,Oa)}),this.length=I.length,H.forEach((oe,qe)=>{oe&&(oe.length===1?this[qe]=oe[0]:this[qe]=new w(oe))})}namedItem(I){return this[I]}}let G=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=G.get.call(this,[]),I=[];for(let H of ee){let oe=i.get(H);(!oe||oe.formAssociated===!0)&&I.push(H)}return new D(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,a)}}}var Jn={};B(Jn,{CSSResult:()=>dr,LitElement:()=>nt,ReactiveElement:()=>Ne,_$LE:()=>Zu,_$LH:()=>Yn,adoptStyles:()=>Ur,css:()=>T,defaultConverter:()=>ur,getCompatibleStyle:()=>To,html:()=>_,isServer:()=>wm,mathml:()=>Zn,noChange:()=>ne,notEqual:()=>Br,nothing:()=>F,render:()=>Qn,supportsAdoptingStyleSheets:()=>Mr,svg:()=>qn,unsafeCSS:()=>Fr});var _o=globalThis,Mr=_o.ShadowRoot&&(_o.ShadyCSS===void 0||_o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zn=Symbol(),wa=new WeakMap,dr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==zn)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(Mr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=wa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&wa.set(r,e))}return e}toString(){return this.cssText}},Fr=t=>new dr(typeof t=="string"?t:t+"",void 0,zn),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new dr(r,t,zn)},Ur=(t,e)=>{if(Mr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=_o.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},To=Mr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Fr(r)})(t):t;var{is:Uu,defineProperty:$u,getOwnPropertyDescriptor:Bu,getOwnPropertyNames:zu,getOwnPropertySymbols:Hu,getPrototypeOf:Vu}=Object,Lo=globalThis,Aa=Lo.trustedTypes,Wu=Aa?Aa.emptyScript:"",Gu=Lo.reactiveElementPolyfillSupport,$r=(t,e)=>t,ur={toAttribute(t,e){switch(e){case Boolean:t=t?Wu: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}},Br=(t,e)=>!Uu(t,e),Ra={attribute:!0,type:String,converter:ur,reflect:!1,useDefault:!1,hasChanged:Br};Symbol.metadata??=Symbol("metadata"),Lo.litPropertyMetadata??=new WeakMap;var Ne=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=Ra){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&&$u(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=Bu(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let c=i?.call(this);s?.call(this,a),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ra}static _$Ei(){if(this.hasOwnProperty($r("elementProperties")))return;let e=Vu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($r("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($r("properties"))){let r=this.properties,n=[...zu(r),...Hu(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(To(i))}else e!==void 0&&r.push(To(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 Ur(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 s=(n.converter?.toAttribute!==void 0?n.converter:ur).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:ur;this._$Em=i;let c=a.fromAttribute(r,s.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Br)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==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,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,c=this[i];a!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,s,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){}};Ne.elementStyles=[],Ne.shadowRootOptions={mode:"open"},Ne[$r("elementProperties")]=new Map,Ne[$r("finalized")]=new Map,Gu?.({ReactiveElement:Ne}),(Lo.reactiveElementVersions??=[]).push("2.1.2");var Vn=globalThis,_a=t=>t,ko=Vn.trustedTypes,Ta=ko?ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wn="$lit$",ot=`lit$${Math.random().toFixed(9).slice(2)}$`,Gn="?"+ot,ju=`<${Gn}>`,Nt=document,Hr=()=>Nt.createComment(""),Vr=t=>t===null||typeof t!="object"&&typeof t!="function",jn=Array.isArray,Da=t=>jn(t)||typeof t?.[Symbol.iterator]=="function",Hn=`[
2
+ \f\r]`,zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,La=/-->/g,ka=/>/g,It=RegExp(`>|${Hn}(?:([^\\s"'>=/]+)(${Hn}*=${Hn}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ia=/'/g,Pa=/"/g,Ma=/^(?:script|style|textarea|title)$/i,Kn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_=Kn(1),qn=Kn(2),Zn=Kn(3),ne=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Na=new WeakMap,Pt=Nt.createTreeWalker(Nt,129);function Fa(t,e){if(!jn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ta!==void 0?Ta.createHTML(e):e}var Ua=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=zr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===zr?h[1]==="!--"?a=La:h[1]!==void 0?a=ka:h[2]!==void 0?(Ma.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=It):h[3]!==void 0&&(a=It):a===It?h[0]===">"?(a=i??zr,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?It:h[3]==='"'?Pa:Ia):a===Pa||a===Ia?a=It:a===La||a===ka?a=zr:(a=It,i=void 0);let x=a===It&&t[c+1].startsWith("/>")?" ":"";s+=a===zr?d+ju:f>=0?(n.push(p),d.slice(0,f)+Wn+d.slice(f)+ot+x):d+ot+(f===-2?c:x)}return[Fa(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Wr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,c=e.length-1,d=this.parts,[p,h]=Ua(e,r);if(this.el=t.createElement(p,n),Pt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Pt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Wn)){let m=h[a++],x=i.getAttribute(f).split(ot),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:x,ctor:S[1]==="."?Po:S[1]==="?"?No:S[1]==="@"?Do:Mt}),i.removeAttribute(f)}else f.startsWith(ot)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(Ma.test(i.tagName)){let f=i.textContent.split(ot),m=f.length-1;if(m>0){i.textContent=ko?ko.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Hr()),Pt.nextNode(),d.push({type:2,index:++s});i.append(f[m],Hr())}}}else if(i.nodeType===8)if(i.data===Gn)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(ot,f+1))!==-1;)d.push({type:7,index:s}),f+=ot.length-1}s++}}static createElement(e,r){let n=Nt.createElement("template");return n.innerHTML=e,n}};function Dt(t,e,r=t,n){if(e===ne)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Vr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Dt(t,i._$AS(t,e.values),i,n)),e}var Io=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??Nt).importNode(r,!0);Pt.currentNode=i;let s=Pt.nextNode(),a=0,c=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new pr(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Mo(s,this,e)),this._$AV.push(p),d=n[++c]}a!==d?.index&&(s=Pt.nextNode(),a++)}return Pt.currentNode=Nt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},pr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=F,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=Dt(this,e,r),Vr(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==ne&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Da(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!==F&&Vr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Nt.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=Wr.createElement(Fa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Io(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Na.get(e.strings);return r===void 0&&Na.set(e.strings,r=new Wr(e)),r}k(e){jn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.O(Hr()),this.O(Hr()),this,this.options)):n=r[i],n._$AI(s),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=_a(e).nextSibling;_a(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Mt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=F,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Dt(this,e,r,0),a=!Vr(e)||e!==this._$AH&&e!==ne,a&&(this._$AH=e);else{let c=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Dt(this,c[n+d],r,d),p===ne&&(p=this._$AH[d]),a||=!Vr(p)||p!==this._$AH[d],p===F?e=F:e!==F&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Po=class extends Mt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F?void 0:e}},No=class extends Mt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},Do=class extends Mt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Dt(this,e,r,0)??F)===ne)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},Mo=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){Dt(this,e)}},Yn={M:Wn,P:ot,A:Gn,C:1,L:Ua,R:Io,D:Da,V:Dt,I:pr,H:Mt,N:No,U:Do,B:Po,F:Mo},Ku=Vn.litHtmlPolyfillSupport;Ku?.(Wr,pr),(Vn.litHtmlVersions??=[]).push("3.3.3");var Qn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new pr(e.insertBefore(Hr(),s),s,void 0,r??{})}return i._$AI(t),i};var Xn=globalThis,nt=class extends Ne{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=Qn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};nt._$litElement$=!0,nt.finalized=!0,Xn.litElementHydrateSupport?.({LitElement:nt});var qu=Xn.litElementPolyfillSupport;qu?.({LitElement:nt});var Zu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Xn.litElementVersions??=[]).push("4.2.2");var wm=!1;var oi={};B(oi,{customElement:()=>Yu,eventOptions:()=>Xu,property:()=>y,query:()=>z,queryAll:()=>ei,queryAssignedElements:()=>ti,queryAssignedNodes:()=>ri,queryAsync:()=>ep,standardProperty:()=>$a,state:()=>k});var Yu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Qu={attribute:!0,type:String,converter:ur,reflect:!1,hasChanged:Br},$a=(t=Qu,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),n==="accessor"){let{name:a}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(a,d,t,!0,c)},init(c){return c!==void 0&&this.C(a,void 0,t,c),c}}}if(n==="setter"){let{name:a}=r;return function(c){let d=this[a];e.call(this,c),this.requestUpdate(a,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function y(t){return(e,r)=>typeof r=="object"?$a(t,e,r):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function k(t){return y({...t,state:!0,attribute:!1})}function Xu(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var $e=(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 s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return $e(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return $e(r,n,{get(){return s(this)}})}}var Ju;function ei(t){return(e,r)=>$e(e,r,{get(){return(this.renderRoot??(Ju??=document.createDocumentFragment())).querySelectorAll(t)}})}function ep(t){return(e,r)=>$e(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ti(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return $e(e,r,{get(){let a=this.renderRoot?.querySelector(s),c=a?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function ri(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return $e(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var ni={};B(ni,{repeat:()=>hr});var Ze={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},_e=t=>(...e)=>({_$litDirective$:t,values:e}),De=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:tp}=Yn,Ba=t=>t;var Ha=t=>t.strings===void 0,za=()=>document.createComment(""),fr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(za(),i),a=n.insertBefore(za(),i);r=new tp(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let p=Ba(d).nextSibling;Ba(n).insertBefore(d,i),d=p}}}return r},ht=(t,e,r=t)=>(t._$AI(e,r),t),rp={},Va=(t,e=rp)=>t._$AH=e,Wa=t=>t._$AH,Fo=t=>{t._$AR(),t._$AA.remove()};var Ga=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},hr=_e(class extends De{constructor(t){if(super(t),t.type!==Ze.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=[],s=[],a=0;for(let c of t)i[a]=n?n(c,a):a,s[a]=r(c,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Wa(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let c=this.ut??=[],d=[],p,h,f=0,m=i.length-1,x=0,S=s.length-1;for(;f<=m&&x<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===a[x])d[x]=ht(i[f],s[x]),f++,x++;else if(c[m]===a[S])d[S]=ht(i[m],s[S]),m--,S--;else if(c[f]===a[S])d[S]=ht(i[f],s[S]),fr(t,d[S+1],i[f]),f++,S--;else if(c[m]===a[x])d[x]=ht(i[m],s[x]),fr(t,i[f],i[m]),m--,x++;else if(p===void 0&&(p=Ga(a,x,S),h=Ga(c,f,m)),p.has(c[f]))if(p.has(c[m])){let R=h.get(a[x]),E=R!==void 0?i[R]:null;if(E===null){let L=fr(t,i[f]);ht(L,s[x]),d[x]=L}else d[x]=ht(E,s[x]),fr(t,i[f],E),i[R]=null;x++}else Fo(i[m]),m--;else Fo(i[f]),f++;for(;x<=S;){let R=fr(t,d[S+1]);ht(R,s[x]),d[x++]=R}for(;f<=m;){let R=i[f++];R!==null&&Fo(R)}return this.ut=a,Va(t,d),ne}});var ii={};B(ii,{classMap:()=>Te});var Te=_e(class extends De{constructor(t){if(super(t),t.type!==Ze.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 ne}});var si={};B(si,{styleMap:()=>np});var ja="important",op=" !"+ja,np=_e(class extends De{constructor(t){if(super(t),t.type!==Ze.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 s=typeof i=="string"&&i.endsWith(op);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?ja:""):r[n]=i}}return ne}});var li={};B(li,{UnsafeHTMLDirective:()=>mr,unsafeHTML:()=>ai});var mr=class extends De{constructor(e){if(super(e),this.it=F,e.type!==Ze.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===F||e==null)return this._t=void 0,this.it=e;if(e===ne)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:[]}}};mr.directiveName="unsafeHTML",mr.resultType=1;var ai=_e(mr);var ci={};B(ci,{splitBreadcrumbForMenu:()=>ip});function ip(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var bi={};B(bi,{CacheRegistry:()=>Ye,ClearCacheEvent:()=>qr});var di={};B(di,{CancelablePromise:()=>Uo,CanceledPromiseError:()=>mt,cancelable:()=>$o});var mt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Uo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new mt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new mt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},$o=t=>new Uo((e,r)=>t.then(e).catch(r));var gi={};B(gi,{FtNotificationEvent:()=>Kr,PostResizeEvent:()=>yi,PreResizeEvent:()=>mi,WithEventBus:()=>it,withEventBus:()=>zo});var hi={};B(hi,{applyMixinOnce:()=>se,customElements:()=>q,dateReviver:()=>cp,deepCopy:()=>Me,deepEqual:()=>pe,delay:()=>Bo,eventPathContainsMatchingElement:()=>pi,everyDeep:()=>lp,flatDeep:()=>Ft,forEachDeep:()=>Ya,getComposedPathTo:()=>fi,groupBy:()=>hp,hasChanged:()=>Se,ignoreComposingEvents:()=>fp,last:()=>up,minmax:()=>gt,parseDate:()=>Xa,randomId:()=>pp,someDeep:()=>Qa,unslotText:()=>Ja,waitFor:()=>Za,waitUntil:()=>jr});var ui={};B(ui,{customElement:()=>Gr,dateProperty:()=>ap,isNumber:()=>qa,jsonProperty:()=>ie,jsonPropertyConverter:()=>Ka,numberProperty:()=>yt,optionalNumberProperty:()=>sp});var Gr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Ka=t=>({fromAttribute:e=>{if(e==null)return Me(t);try{return JSON.parse(e)}catch{return Me(t)}},toAttribute:e=>JSON.stringify(e)});function ie(t,e){return y({type:Object,converter:Ka(t),hasChanged:Se,...e??{}})}function sp(t){return yt(t)}function yt(t){return y({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return qa(e)?gt(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function qa(t){return!isNaN(parseFloat(t))}function ap(t){return y({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 Bo=t=>new Promise(e=>setTimeout(e,t));async function jr(t,e=10,r=2e4){await Za(async()=>await t()||void 0,e,r)}async function Za(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await Bo(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ft(t,e){return t.flatMap(r=>[r,...Ft(e(r),e)])}function Ya(t,e,r){let n=(i,s)=>{var a;for(let c=0;c<i.length;c++){let d=i[c];if(!(((a=r(d,c,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function Qa(t,e,r){let n=!1;return Ya(t,e,(i,s,a,c)=>(n=!!r(i,s,a,c),!n)),n}function lp(t,e,r){return!Qa(t,e,(n,i,s,a)=>!r(n,i,s,a))}function cp(...t){return(e,r)=>t.includes(e)?Xa(r):r}function Xa(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(!pe(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(!pe(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=a=>Object.keys(a).filter(c=>a[c]!=null),s=i(t);if(r=s.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){let a=s[n];if(!pe(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function pe(t,e){try{return dp(t,e)}catch{return!1}}function Se(t,e){return!pe(t,e)}function pi(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(s=>i.matches(s)))return!0}}return!1}function gt(t,e,r){return Math.min(Math.max(t,e),r)}function up(t){return t[t.length-1]}function Ja(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Ja(e)).join(""):t?.textContent||""}function fi(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 Me(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 se(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,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function q(t){for(let[e,r]of Object.entries(t))Gr(e)(r)}function hp(t,e){var r,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[n=i(a)])!==null&&r!==void 0?r:s[n]=[]).push(a);return s}var Kr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},mi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},yi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},zo=se(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)}}}),it=class extends zo(Object){};var qr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Ye=class extends it{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:r,final:n,status:a}}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 qr(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new qr([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,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,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=$o(r()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}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 Ri={};B(Ri,{ClusteringHelper:()=>Ai,formatHierarchicalValues:()=>wi});var Oi={};B(Oi,{accessBreadcrumb:()=>Cp,accessResult:()=>Ci,accessResultId:()=>Sp,accessResultUrl:()=>Ep,enrichReaderUrl:()=>Ei});var Si={};B(Si,{SearchPlaceConverter:()=>st,SearchPlaceQueryParams:()=>M,isSearchPlaceQueryParams:()=>zl,serializeRequest:()=>xp});var mp=t=>typeof t=="object"&&t!=null;var yp=t=>typeof t=="number",Ho=t=>typeof t=="string",vi=t=>mp(t)&&Ho(t.endpoint)&&Ho(t.method)&&Ho(t.statusText)&&Ho(t.body)&&yp(t.status),el;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(el||(el={}));var tl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(tl||(tl={}));var rl;(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"})(rl||(rl={}));var ol;(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"})(ol||(ol={}));var nl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(nl||(nl={}));var il;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(il||(il={}));var sl;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(sl||(sl={}));var al;(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"})(al||(al={}));var ll;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ll||(ll={}));var cl;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(cl||(cl={}));var dl;(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"})(dl||(dl={}));var ul;(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"})(ul||(ul={}));var pl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(pl||(pl={}));var fl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(fl||(fl={}));var hl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(hl||(hl={}));var ml;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ml||(ml={}));var yl;(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"})(yl||(yl={}));var Ut;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ut||(Ut={}));var gl;(function(t){t.ASC="ASC",t.DESC="DESC"})(gl||(gl={}));var bl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(bl||(bl={}));var Vo;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Vo||(Vo={}));var wl=t=>Object.keys(Vo).includes(t);var xl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(xl||(xl={}));var vl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(vl||(vl={}));var Sl;(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"})(Sl||(Sl={}));var bt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(bt||(bt={}));var Al=t=>Object.keys(bt).includes(t);var El;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(El||(El={}));var xi;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(xi||(xi={}));var Cl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Cl||(Cl={}));var te;(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"})(te||(te={}));var Fe;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Fe||(Fe={}));var Ol;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ol||(Ol={}));var Rl;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Rl||(Rl={}));var _l;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(_l||(_l={}));var Tl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Tl||(Tl={}));var Ll;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Ll||(Ll={}));var kl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(kl||(kl={}));var Il;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Il||(Il={}));var Pl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Pl||(Pl={}));var Nl;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Nl||(Nl={}));var Dl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Dl||(Dl={}));var Ml;(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"})(Ml||(Ml={}));var Fl;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Fl||(Fl={}));var gp={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.BEHAVIOR_DATA_USER],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function Ul(t,e){return t===e||(gp[t]??[]).some(r=>Ul(r,e))}function Wo(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=>Ul(n,e))}function $l(t,...e){return t==null?!1:e.some(r=>Wo(t,r))}function bp(t){return`"${t}"`}function Bl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function xp(t,e){return new st(t).serialize(e)}var M;(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"})(M||(M={}));var vp=new Set(Object.values(M));function zl(t){return vp.has(t)}var st=class t{constructor(e,r=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}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,s,a,c,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(M.LOCALE,e.contentLocale):m.append(M.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(M.QUERY,e.query);let x=t.serializeValueFilters(e.metadataFilters);x&&m.append(M.VALUE_FILTERS,x);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(M.NEGATIVE_VALUE_FILTERS,S);let R=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(b=>b.dateFilter))!==null&&d!==void 0?d:[];if(R.length>0){let b=R.map(g=>{var v;return`${g.key}~${(v=g.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");m.append(M.DATE_FILTERS,b)}let E=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let b=E.map(g=>{var v,w;return`${g.key}~${(v=g.rangeFilter)===null||v===void 0?void 0:v.from}_${(w=g.rangeFilter)===null||w===void 0?void 0:w.to}`}).join("*");m.append(M.RANGE_FILTERS,b)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(M.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(M.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(M.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(c=e.paging)===null||c===void 0?void 0:c.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(M.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(M.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let L=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let b in L)m.append(b,L[b]);let P=new Array;return m.forEach((b,g)=>{P.push(this.encodeQueryString(g)+"="+this.encodeQueryString(b))}),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("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,s,a,c,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(P){console.warn("Could not decode search request query params, fallback on raw value",P)}let p=new URLSearchParams(e),h=(n=p.get(M.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(M.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(M.SORT))===null||r===void 0?void 0:r.toLowerCase(),x=(s=p.get(M.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(M.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),R=p.get(M.KEYWORD_MATCH),E=R?R.toUpperCase()===Ut.MANDATORY?Ut.MANDATORY:Ut.OPTIONAL:void 0,L={};for(let P of p.keys())zl(P)||(L[P]=p.get(P));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(P=>P.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(c=p.get(M.QUERY))!==null&&c!==void 0?c:"",scope:(d=this.scopeMapping[x])!==null&&d!==void 0?d:"DEFAULT",virtualField:wl(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:gt(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:E,otherQueryParams:L}}parseCompatFilters(e){var r,n,i,s,a,c,d;let p=[];return e.has(M.FILTERS)&&(p=t.parseValueFilters((r=e.get(M.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(M.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(M.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(M.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(M.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((c=e.get(M.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(M.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}static parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Bl).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:bt[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}static superEscapeFilters(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(Al(e))return[{key:"ft:lastEdition",dateFilter:{type:bt[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var r,n;let i=((n=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>bp(Bl(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[M.LOCALE,M.FILTERS,M.VALUE_FILTERS,M.NEGATIVE_VALUE_FILTERS,M.DATE_FILTERS,M.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(M.LOCALE),r!==void 0&&n.searchParams.append(M.LOCALE,r),n.toString()}};st.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];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 Sp(t){var e,r,n,i,s,a,c,d,p;return(p=(d=(c=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(r=t?.topic)===null||r===void 0?void 0:r.tocId)!==null&&c!==void 0?c:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function Ep(t,e){var r,n,i,s,a,c,d,p,h;return(h=(p=(d=(c=Ei((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&c!==void 0?c:Ei((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function Cp(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 Ei(t,e){if(e&&t){let r=URL.parse(t),n=st.serializeValueFilters(e);if(n&&r?.searchParams.append(M.VALUE_FILTERS,n),r)return r.toString()}return t}function wi(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Ai=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 s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==r))===null||s===void 0?void 0:s.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(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(c=>{s.push(wi(c)),a.push(wi(c,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(c=d?.label)!==null&&c!==void 0?c:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(S=>S.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 s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(a=="ALPHABET"||a=="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}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>c&&(c=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var _i={};B(_i,{Debouncer:()=>X});var X=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),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ii={};B(Ii,{designSystemVariables:()=>A});var ki={};B(ki,{DesignSystemFamily:()=>Zr,DesignSystemSize:()=>Yr,FtCssVariableFactory:()=>o,badge:()=>Bp,banner:()=>$p,button:()=>Ap,card:()=>_p,chart:()=>rf,checkbox:()=>Ip,chip:()=>Mp,chipChoice:()=>Dp,chipGroup:()=>Fp,collapsible:()=>ef,combobox:()=>Xp,dateRangePicker:()=>lf,drawer:()=>Kp,eventCard:()=>Tp,floatingMenu:()=>Qp,foundation:()=>l,link:()=>Up,modal:()=>Gp,notice:()=>nf,notification:()=>sf,pageDesigner:()=>of,pageFooter:()=>Vp,pageHeader:()=>Hp,pageLayout:()=>Wp,popover:()=>Jp,radio:()=>Pp,reorderableList:()=>jp,resolveFamilyClass:()=>Ti,resolveSizeClass:()=>Li,semantic:()=>u,setVariable:()=>V,switch_:()=>tf,table:()=>Np,tabs:()=>qp,textArea:()=>Yp,textInput:()=>Zp,titleBreadcrumb:()=>zp,toc:()=>kp,toggle:()=>Rp,tooltip:()=>af,treeList:()=>Lp,typographies:()=>Op,typographyBody1Medium:()=>Kl,typographyBody1Regular:()=>jl,typographyBody1Semibold:()=>ql,typographyBody2Medium:()=>Yl,typographyBody2MediumUnderline:()=>Ql,typographyBody2Regular:()=>Zl,typographyBody2Semibold:()=>Xl,typographyCaption1Medium:()=>Jl,typographyCaption1Semibold:()=>ec,typographyCaption2Bold:()=>oc,typographyCaption2Medium:()=>tc,typographyCaption2Semibold:()=>rc,typographyDisplay:()=>Hl,typographyTitle1:()=>Vl,typographyTitle2:()=>Wl,typographyTitle3:()=>Gl,typographyVariants:()=>wp});var xt=t=>typeof t=="string"?Fr(t):t,o=class{static create(e,r,n,i){let s=c=>xt(c??i),a=T`var(${xt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>V(a,c??s(i)),a.get=c=>T`var(${xt(e)}, ${s(c)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=c=>n.get(c??i),a=T`var(${xt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>V(a,c??s(i)),a.get=c=>T`var(${xt(e)}, ${s(c)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=T`var(${xt(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=s=>e.set(s),i.get=s=>T`var(${xt(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function V(t,e){return xt(`${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)")},Hl={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")},Vl={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")},Wl={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")},Gl={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")},jl={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")},Kl={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")},ql={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")},Zl={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")},Ql={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")},Xl={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")},Jl={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")},ec={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")},tc={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")},rc={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")},oc={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")},Op={display:Hl,"title-1":Vl,"title-2":Wl,"title-3":Gl,"body-1-regular":jl,"body-1-medium":Kl,"body-1-semibold":ql,"body-2-regular":Zl,"body-2-medium":Yl,"body-2-medium-underline":Ql,"body-2-semibold":Xl,"caption-1-medium":Jl,"caption-1-semibold":ec,"caption-2-medium":tc,"caption-2-semibold":rc,"caption-2-bold":oc},wp=["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 Ap={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 Rp={iconSize:o.extend("--ftds-toggle-icon-size","",l.iconSize1),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),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};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 Tp={borderRadius:o.extend("--ftds-event-card-border-radius","",l.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",l.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",l.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",l.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",l.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var Lp={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 kp={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",l.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",l.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",l.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",l.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",l.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",l.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",l.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",l.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",l.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",l.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",l.opacity8)};var Ip={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.spacing2),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 Pp={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 Np={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 Dp={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 Mp={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 Fp={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 Up={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 $p={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 Bp={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 Hp={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.spacing2),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 Vp={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 Wp={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Gp={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 jp={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",l.spacing2),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 Kp={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 qp={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 Zp={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),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-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 Yp={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",l.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",l.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",l.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",l.spacing05)};var Qp={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 Xp={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 Jp={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 ef={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 tf={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 rf={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)};var of={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 nf={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 sf={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 af={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 lf={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 Zr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Zr||(Zr={}));var Yr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Yr||(Yr={}));function Ti(t){return`ftds--family-${t}`}function Li(t){return`ftds--size-${t}`}var A={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 Pi={};B(Pi,{DynamicImporter:()=>Go,dynamicImporter:()=>cf});var Go=class{async import(e){if(e)return import(e)}},cf=new Go;var ji={};B(ji,{computeOffsetAutoPosition:()=>Pf,computeOffsetPosition:()=>Gi});var ic=["top","right","bottom","left"],nc=["start","end"],Di=ic.reduce((t,e)=>t.concat(e,e+"-"+nc[0],e+"-"+nc[1]),[]),$t=Math.min,Qe=Math.max,Qr=Math.round;var Xe=t=>({x:t,y:t}),df={left:"right",right:"left",bottom:"top",top:"bottom"};function sc(t,e,r){return Qe(t,$t(e,r))}function yr(t,e){return typeof t=="function"?t(e):t}function Bt(t){return t.split("-")[0]}function Je(t){return t.split("-")[1]}function Mi(t){return t==="x"?"y":"x"}function Fi(t){return t==="y"?"height":"width"}function gr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Ui(t){return Mi(gr(t))}function ac(t,e,r){r===void 0&&(r=!1);let n=Je(t),i=Ui(t),s=Fi(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Ni(a)),[a,Ni(a)]}function lc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ni(t){let e=Bt(t);return df[e]+t.slice(e.length)}function uf(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 cc(t){return typeof t!="number"?uf(t):{top:t,right:t,bottom:t,left:t}}function zt(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 dc(t,e,r){let{reference:n,floating:i}=t,s=gr(e),a=Ui(e),c=Fi(a),d=Bt(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}let S=Je(e);return S&&(x[a]+=m*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function uc(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=yr(e,t),S=cc(x),E=c[m?f==="floating"?"reference":"floating":f],L=zt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),P=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),g=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},v=zt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:P,offsetParent:b,strategy:d}):P);return{top:(L.top-v.top+S.top)/g.y,bottom:(v.bottom-L.bottom+S.bottom)/g.y,left:(L.left-v.left+S.left)/g.x,right:(v.right-L.right+S.right)/g.x}}var pf=50,pc=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:uc},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=dc(p,n,d),m=n,x=0,S={};for(let R=0;R<s.length;R++){let E=s[R];if(!E)continue;let{name:L,fn:P}=E,{x:b,y:g,data:v,reset:w}=await P({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=b??h,f=g??f,S[L]={...S[L],...v},w&&x<pf&&(x++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(p=w.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:f}=dc(p,m,d)),R=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function ff(t,e,r){return(t?[...r.filter(i=>Je(i)===t),...r.filter(i=>Je(i)!==t)]:r.filter(i=>Bt(i)===i)).filter(i=>t?Je(i)===t||(e?lc(i)!==i:!1):!0)}var fc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Di,autoAlignment:x=!0,...S}=yr(t,e),R=f!==void 0||m===Di?ff(f||null,x,m):m,E=((r=a.autoPlacement)==null?void 0:r.index)||0,L=R[E];if(L==null)return{};if(c!==L)return{reset:{placement:R[0]}};let P=await d.detectOverflow(e,S),b=ac(L,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[P[Bt(L)],P[b[0]],P[b[1]]],v=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:g}],w=R[E+1];if(w)return{data:{index:E+1,overflows:v},reset:{placement:w}};let D=v.map(I=>{let H=Je(I.placement);return[I.placement,H&&h?I.overflows.slice(0,2).reduce((oe,qe)=>oe+qe,0):I.overflows[0],I.overflows]}).sort((I,H)=>I[1]-H[1]),ee=((i=D.filter(I=>I[2].slice(0,Je(I[0])?2:3).every(H=>H<=0))[0])==null?void 0:i[0])||D[0][0];return ee!==c?{data:{index:E+1,overflows:v},reset:{placement:ee}}:{}}}};var hf=new Set(["left","top"]);async function mf(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Bt(r),c=Je(r),d=gr(r)==="y",p=hf.has(a)?-1:1,h=s&&d?-1:1,f=yr(e,t),{mainAxis:m,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:m*p}:{x:m*p,y:x*h}}var hc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:s,placement:a,middlewareData:c}=e,d=await mf(e,t);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},mc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:P=>{let{x:b,y:g}=P;return{x:b,y:g}}},...p}=yr(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=gr(i),x=Mi(m),S=h[x],R=h[m],E=(P,b)=>sc(b+f[P==="y"?"top":"left"],b,b-f[P==="y"?"bottom":"right"]);a&&(S=E(x,S)),c&&(R=E(m,R));let L=d.fn({...e,[x]:S,[m]:R});return{...L,data:{x:L.x-r,y:L.y-n,enabled:{[x]:a,[m]:c}}}}}};var yc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...c}=yr(t,e),d=await i.detectOverflow(e,c),p=Bt(r),h=Je(r),f=gr(r)==="y",{width:m,height:x}=n.floating,S,R;p==="top"||p==="bottom"?(S=p,R=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(R=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,L=m-d.left-d.right,P=$t(x-d[S],E),b=$t(m-d[R],L),g=e.middlewareData.shift,v=!g,w=P,D=b;g!=null&&g.enabled.x&&(D=L),g!=null&&g.enabled.y&&(w=E),v&&!h&&(f?D=m-2*Qe(d.left,d.right):w=x-2*Qe(d.top,d.bottom)),await a({...e,availableWidth:D,availableHeight:w});let G=await i.getDimensions(s.floating);return m!==G.width||x!==G.height?{reset:{rects:!0}}:{}}}};function Ko(){return typeof window<"u"}function Vt(t){return bc(t)?(t.nodeName||"").toLowerCase():"#document"}function Ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function at(t){var e;return(e=(bc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function bc(t){return Ko()?t instanceof Node||t instanceof Ee(t).Node:!1}function Be(t){return Ko()?t instanceof Element||t instanceof Ee(t).Element:!1}function lt(t){return Ko()?t instanceof HTMLElement||t instanceof Ee(t).HTMLElement:!1}function gc(t){return!Ko()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ee(t).ShadowRoot}function Xr(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 xc(t){return/^(table|td|th)$/.test(Vt(t))}function Jr(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var yf=/transform|translate|scale|rotate|perspective|filter/,gf=/paint|layout|strict|content/,Ht=t=>!!t&&t!=="none",$i;function br(t){let e=Be(t)?ze(t):t;return Ht(e.transform)||Ht(e.translate)||Ht(e.scale)||Ht(e.rotate)||Ht(e.perspective)||!qo()&&(Ht(e.backdropFilter)||Ht(e.filter))||yf.test(e.willChange||"")||gf.test(e.contain||"")}function vc(t){let e=vt(t);for(;lt(e)&&!xr(e);){if(br(e))return e;if(Jr(e))return null;e=vt(e)}return null}function qo(){return $i==null&&($i=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),$i}function xr(t){return/^(html|body|#document)$/.test(Vt(t))}function ze(t){return Ee(t).getComputedStyle(t)}function eo(t){return Be(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function vt(t){if(Vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||gc(t)&&t.host||at(t);return gc(e)?e.host:e}function Sc(t){let e=vt(t);return xr(e)?(t.ownerDocument||t).body:lt(e)&&Xr(e)?e:Sc(e)}function jo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Sc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Ee(i);if(s){let c=Zo(a);return e.concat(a,a.visualViewport||[],Xr(i)?i:[],c&&r?jo(c):[])}else return e.concat(i,jo(i,[],r))}function Zo(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Oc(t){let e=ze(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=lt(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,c=Qr(r)!==s||Qr(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function wc(t){return Be(t)?t:t.contextElement}function vr(t){let e=wc(t);if(!lt(e))return Xe(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Oc(e),a=(s?Qr(r.width):r.width)/n,c=(s?Qr(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var bf=Xe(0);function Ac(t){let e=Ee(t);return!qo()||!e.visualViewport?bf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function xf(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Ee(t)}function to(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=wc(t),a=Xe(1);e&&(n?Be(n)&&(a=vr(n)):a=vr(t));let c=xf(s,r,n)?Ac(s):Xe(0),d=(i.left+c.x)/a.x,p=(i.top+c.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Ee(s),x=Be(n)?Ee(n):n,S=m,R=Zo(S);for(;R&&x!==S;){let E=vr(R),L=R.getBoundingClientRect(),P=ze(R),b=L.left+(R.clientLeft+parseFloat(P.paddingLeft))*E.x,g=L.top+(R.clientTop+parseFloat(P.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=b,p+=g,S=Ee(R),R=Zo(S)}}return zt({width:h,height:f,x:d,y:p})}function Yo(t,e){let r=eo(t).scrollLeft;return e?e.left+r:to(at(t)).left+r}function Rc(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Yo(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function vf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=at(n),c=e?Jr(e.floating):!1;if(n===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},p=Xe(1),h=Xe(0),f=lt(n);if((f||!s)&&((Vt(n)!=="body"||Xr(a))&&(d=eo(n)),f)){let x=to(n);p=vr(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let m=a&&!f&&!s?Rc(a,d):Xe(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 Sf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Ef(t){let e=eo(t),r=t.ownerDocument.body,n=Qe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Qe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Yo(t),a=-e.scrollTop;return ze(r).direction==="rtl"&&(s+=Qe(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var Cf=25;function Of(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Ee(t),s=at(t),a=i.visualViewport,c=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!qo()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(c=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Yo(s)<=0){let m=s.ownerDocument,x=m.body,S=getComputedStyle(x),R=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(s.clientWidth-x.clientWidth-R),L=getComputedStyle(s).scrollbarGutter==="stable both-edges"?E/2:E;L<=Cf&&(c-=L)}return{width:c,height:d,x:p,y:h}}function wf(t,e){let r=to(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=vr(t),a=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:c,x:d,y:p}}function Ec(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=Of(t,r,e);else if(e==="document")n=Ef(at(t));else if(Be(e))n=wf(e,r);else{let i=Ac(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return zt(n)}function Af(t,e){let r=e.get(t);if(r)return r;let n=jo(t,[],!1).filter(c=>Be(c)&&Vt(c)!=="body"),i=null,s=ze(t).position==="fixed",a=s?vt(t):t;for(;Be(a)&&!xr(a);){let c=ze(a),d=br(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):i=c,a=vt(a)}return e.set(t,n),n}function Rf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Jr(e)?[]:Af(e,this._c):[].concat(r),n],c=Ec(e,a[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){let x=Ec(e,a[m],i);d=Qe(x.top,d),p=$t(x.right,p),h=$t(x.bottom,h),f=Qe(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function _f(t){let{width:e,height:r}=Oc(t);return{width:e,height:r}}function Tf(t,e,r){let n=lt(e),i=at(e),s=r==="fixed",a=to(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=Xe(0);if((n||!s)&&((Vt(e)!=="body"||Xr(i))&&(c=eo(e)),n)){let m=to(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Yo(i));let p=i&&!n&&!s?Rc(i,c):Xe(0),h=a.left+c.scrollLeft-d.x-p.x,f=a.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function Bi(t){return ze(t).position==="static"}function Cc(t,e){if(!lt(t)||ze(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return at(t)===r&&(r=r.ownerDocument.body),r}function _c(t,e){let r=Ee(t);if(Jr(t))return r;if(!lt(t)){let i=vt(t);for(;i&&!xr(i);){if(Be(i)&&!Bi(i))return i;i=vt(i)}return r}let n=Cc(t,e);for(;n&&xc(n)&&Bi(n);)n=Cc(n,e);return n&&xr(n)&&Bi(n)&&!br(n)?r:n||vc(t)||r}var Lf=async function(t){let e=this.getOffsetParent||_c,r=this.getDimensions,n=await r(t.floating);return{reference:Tf(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function kf(t){return ze(t).direction==="rtl"}var Sr={convertOffsetParentRelativeRectToViewportRelativeRect:vf,getDocumentElement:at,getClippingRect:Rf,getOffsetParent:_c,getElementRects:Lf,getClientRects:Sf,getDimensions:_f,getScale:vr,isElement:Be,isRTL:kf};var Tc=hc,zi=fc,Lc=mc;var kc=yc;var Hi=(t,e,r)=>{let n=new Map,i=r??{},s={...Sr,...i.platform,_c:n};return pc(t,e,{...i,platform:s})};function Wi(t){return If(t)}function Vi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function If(t){for(let e=t;e;e=Vi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Vi(t);e;e=Vi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||br(r)||e.tagName==="BODY"))return e}return null}async function Gi(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},Hi(t,e,{strategy:n.strategy,platform:{...Sr,getOffsetParent:i=>Sr.getOffsetParent(i,Wi)},middleware:[Lc({crossAxis:!0}),zi({allowedPlacements:[n.placement]})]})}async function Pf(t,e,r,n,i,s,a){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):c=r,Hi(t,e,{placement:c,strategy:i,platform:{...Sr,getOffsetParent:p=>Sr.getOffsetParent(p,Wi)},middleware:[Tc(a??4),zi({allowedPlacements:n}),kc({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`: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 Ki={};B(Ki,{isSlotEmptyOrWithoutContent:()=>Nf});var Nf=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 Ji={};B(Ji,{FtdsBase:()=>Xi,toFtdsBase:()=>Uc});var Qi={};B(Qi,{ExportpartsUpdatedEvent:()=>Wt,FtLitElement:()=>U});var qi={};B(qi,{ScopedRegistryLitElement:()=>ro});var ro=class extends nt{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 Ur(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){Gr(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 Yi={};B(Yi,{shadowQuerySelector:()=>Zi,shadowQuerySelectorAll:()=>Df});function Zi(t,e,...r){var n;let i=t.querySelector(e);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function Df(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,c;return[...(c=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Er=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Dc,Ic=Symbol("constructorPrototype"),Pc=Symbol("constructorName"),Mc=Symbol("exportpartsDebouncer"),Nc=Symbol("dynamicDependenciesLoaded"),Wt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Wt.eventName="exportparts-updated";var U=class extends ro{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Dc]=new X(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[Mc].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Pc]=this.constructor.name,this[Ic]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pc]&&Object.setPrototypeOf(this,this[Ic])}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[Nc]||(r[Nc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Wt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Wt.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 Wt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Zi(this.shadowRoot,...s)}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(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,n,i,s,a,c;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(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.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(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Dc=Mc;Er([y()],U.prototype,"exportpartsPrefix",void 0);Er([ie([])],U.prototype,"exportpartsPrefixes",void 0);Er([y({reflect:!0})],U.prototype,"exportparts",void 0);Er([y()],U.prototype,"customStylesheet",void 0);Er([y()],U.prototype,"elementToFocus",void 0);Er([k()],U.prototype,"useAdoptedStyleSheets",void 0);var Fc=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Uc=se(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Yr.medium,this.family=Zr.neutral}getDesignSystemBaseClasses(){return{[Ti(this.family)]:!0,[Li(this.size)]:!0}}}return Fc([y()],e.prototype,"size",void 0),Fc([y()],e.prototype,"family",void 0),e}),Xi=class extends Uc(U){};var $c={};var rs={};B(rs,{highlightHtml:()=>ts,highlightHtmlColorCssVariable:()=>Bc,highlightHtmlStyles:()=>Ff});var Gt=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 s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}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(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!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,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,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 s=e.querySelectorAll("iframe"),a=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(c)};a||d(),s.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),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let a=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(a&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 s=!1,a=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,a=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let a=this.createIterator(r,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var oo=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 Gt(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 s in r)if(r.hasOwnProperty(s)){let a=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);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 s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?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(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),i.push(a)}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,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(c=>{a+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}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,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=a-s,r.push(i),n=a)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!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?s=!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:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,a=n.length,c=r-a,d=parseInt(e.start,10)-c;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}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 Gt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(a.node))return!1;let p=r-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,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,s(a.node.previousSibling,a.start),n>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let a=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[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,c,s.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,c)=>this.opt.filter(c,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:a}=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,(m,x)=>this.opt.filter(x,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[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,(s,a,c,d)=>this.opt.filter(s,a,c,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{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=Gt.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function es(t){let e=new oo(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 Mf=es,Bc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ff=T`
5
5
  .highlight-html-match {
6
- background: ${Vc};
6
+ background: ${Bc};
7
7
  }
8
- `;function rs(t,e,r){var n,i;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new $f(t);if(a.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])}),a.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>a.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ss={};B(ss,{noTextInputDefaultClearButton:()=>is,noTextSelect:()=>no,safariEllipsisFix:()=>ns,wordWrap:()=>zf});var no=T`
8
+ `;function ts(t,e,r){var n,i;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new Mf(t);if(a.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])}),a.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>a.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var is={};B(is,{noTextInputDefaultClearButton:()=>ns,noTextSelect:()=>no,safariEllipsisFix:()=>os,wordWrap:()=>Uf});var no=T`
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.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,zf=T`
17
+ `,Uf=T`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,ns=T`
29
+ `,os=T`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,14 +37,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,is=T`
40
+ `,ns=T`
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 Wc={};var as={};B(as,{ParametrizedLabelResolver:()=>io});var io=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),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 Rs={};B(Rs,{FtCommandQueue:()=>so,FtLitElementRedux:()=>dt,FtReduxStore:()=>Ct,FtStateManager:()=>Ar,ReduxWatcher:()=>mo,clearAllStores:()=>Uh,isFtReduxStore:()=>Cr,redux:()=>ct,reduxEventListener:()=>Vf,reduxReactive:()=>Hf,watch:()=>$h,withRedux:()=>Gc});var Hf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ct=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:Se,attribute:!1,...e};y(s)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(c=>c[n]),store:e.store})}},Vf=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var so=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 Cr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ao=Symbol("internalReduxEventsUnsubscribers"),St=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores"),Gc=se(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(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(c=>a.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[jt].get(a)}addStore(a,c){var d;c=(d=c??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[jt].set(c,a),this.subscribeToStore(c,a),this.updateFromStores()}removeStore(a){let c=typeof a=="string"?a:a.name;this.unsubscribeFromStore(c),this[jt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[jt].forEach((a,c)=>this.subscribeToStore(c,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(a.store);p&&(a.store?this[St].has(a.store):this[St].size>0)&&(this[c]=a.selector(p.getState(),this))}})}subscribeToStore(a,c){var d,p;this[St].set(a,c.subscribe(()=>this.updateFromStores())),this[ao].set(a,[]),Cr(c)&&(!((d=c.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===c&&c.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",c.name)}),c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||c.name===h.store)){let m=x=>this[f](x);c.addEventListener(h.eventName,m),this[ao].get(a).push(()=>c.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[St].forEach((a,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(a){var c;this[St].has(a)&&this[St].get(a)(),this[St].delete(a),(c=this[ao].get(a))===null||c===void 0||c.forEach(d=>d()),this[ao].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=St,r=jt,n=ao,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),dt=class extends Gc(U){};function fe(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 Wf=typeof Symbol=="function"&&Symbol.observable||"@@observable",jc=Wf,ls=()=>Math.random().toString(36).substring(7).split("").join("."),Gf={INIT:`@@redux/INIT${ls()}`,REPLACE:`@@redux/REPLACE${ls()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ls()}`},Xo=Gf;function Jo(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 cs(t,e,r){if(typeof t!="function")throw new Error(fe(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(fe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(fe(1));return r(cs)(t,e)}let n=t,i=e,s=new Map,a=s,c=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((E,L)=>{a.set(L,E)}))}function h(){if(d)throw new Error(fe(3));return i}function f(E){if(typeof E!="function")throw new Error(fe(4));if(d)throw new Error(fe(5));let L=!0;p();let N=c++;return a.set(N,E),function(){if(L){if(d)throw new Error(fe(6));L=!1,p(),a.delete(N),s=null}}}function m(E){if(!Jo(E))throw new Error(fe(7));if(typeof E.type>"u")throw new Error(fe(8));if(typeof E.type!="string")throw new Error(fe(17));if(d)throw new Error(fe(9));try{d=!0,i=n(i,E)}finally{d=!1}return(s=a).forEach(N=>{N()}),E}function x(E){if(typeof E!="function")throw new Error(fe(10));n=E,m({type:Xo.REPLACE})}function S(){let E=f;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(fe(11));function N(){let g=L;g.next&&g.next(h())}return N(),{unsubscribe:E(N)}},[jc](){return this}}}return m({type:Xo.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:x,[jc]:S}}function jf(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Xo.INIT})>"u")throw new Error(fe(12));if(typeof r(void 0,{type:Xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(fe(13))})}function ds(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let c=e[a];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,s;try{jf(r)}catch(a){s=a}return function(c={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],x=r[m],S=c[m],R=x(S,d);if(typeof R>"u"){let E=d&&d.type;throw new Error(fe(14))}h[m]=R,p=p||R!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function lo(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function Kc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(fe(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},c=t.map(d=>d(a));return s=lo(...c)(i.dispatch),{...i,dispatch:s}}}function qc(t){return Jo(t)&&"type"in t&&typeof t.type=="string"}var od=Symbol.for("immer-nothing"),Zc=Symbol.for("immer-draftable"),ge=Symbol.for("immer-state");function He(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Le=Object,wr=Le.getPrototypeOf,on="constructor",dn="prototype",hs="configurable",nn="enumerable",tn="writable",co="value",et=t=>!!t&&!!t[ge];function ke(t){return t?nd(t)||pn(t)||!!t[Zc]||!!t[on]?.[Zc]||fn(t)||hn(t):!1}var Kf=Le[dn][on].toString(),Yc=new WeakMap;function nd(t){if(!t||!Es(t))return!1;let e=wr(t);if(e===null||e===Le[dn])return!0;let r=Le.hasOwnProperty.call(e,on)&&e[on];if(r===Object)return!0;if(!Or(r))return!1;let n=Yc.get(r);return n===void 0&&(n=Function.toString.call(r),Yc.set(r,n)),n===Kf}function un(t,e,r=!0){fo(t)===0?(r?Reflect.ownKeys(t):Le.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function fo(t){let e=t[ge];return e?e.type_:pn(t)?1:fn(t)?2:hn(t)?3:0}var us=(t,e,r=fo(t))=>r===2?t.has(e):Le[dn].hasOwnProperty.call(t,e),ms=(t,e,r=fo(t))=>r===2?t.get(e):t[e],sn=(t,e,r,n=fo(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function qf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var pn=Array.isArray,fn=t=>t instanceof Map,hn=t=>t instanceof Set,Es=t=>typeof t=="object",Or=t=>typeof t=="function",ps=t=>typeof t=="boolean";function Zf(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ut=t=>t.copy_||t.base_;var Cs=t=>t.modified_?t.copy_:t.base_;function ys(t,e){if(fn(t))return new Map(t);if(hn(t))return new Set(t);if(pn(t))return Array[dn].slice.call(t);let r=nd(t);if(e===!0||e==="class_only"&&!r){let n=Le.getOwnPropertyDescriptors(t);delete n[ge];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],c=n[a];c[tn]===!1&&(c[tn]=!0,c[hs]=!0),(c.get||c.set)&&(n[a]={[hs]:!0,[tn]:!0,[nn]:c[nn],[co]:t[a]})}return Le.create(wr(t),n)}else{let n=wr(t);if(n!==null&&r)return{...t};let i=Le.create(n);return Le.assign(i,t)}}function mn(t,e=!1){return yn(t)||et(t)||!ke(t)||(fo(t)>1&&Le.defineProperties(t,{set:en,add:en,clear:en,delete:en}),Le.freeze(t),e&&un(t,(r,n)=>{mn(n,!0)},!1)),t}function Yf(){He(2)}var en={[co]:Yf};function yn(t){return t===null||!Es(t)?!0:Le.isFrozen(t)}var an="MapSet",gs="Patches",Qc="ArrayMethods",id={};function Kt(t){let e=id[t];return e||He(0,t),e}var Xc=t=>!!id[t];var uo,sd=()=>uo,Qf=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Xc(an)?Kt(an):void 0,arrayMethodsPlugin_:Xc(Qc)?Kt(Qc):void 0});function Jc(t,e){e&&(t.patchPlugin_=Kt(gs),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function bs(t){xs(t),t.drafts_.forEach(Xf),t.drafts_=null}function xs(t){t===uo&&(uo=t.parent_)}var ed=t=>uo=Qf(uo,t);function Xf(t){let e=t[ge];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function td(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[ge].modified_&&(bs(e),He(4)),ke(t)&&(t=rd(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[ge].base_,t,e)}else t=rd(e,r);return Jf(e,t,!0),bs(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==od?t:void 0}function rd(t,e){if(yn(e))return e;let r=e[ge];if(!r)return ln(e,t.handledSet_,t);if(!gn(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);cd(r,t)}return r.copy_}function Jf(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&mn(e,r)}function ad(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var gn=(t,e)=>t.scope_===e,eh=[];function ld(t,e,r,n){let i=ut(t),s=t.type_;if(n!==void 0&&ms(i,n,s)===e){sn(i,n,r,s);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;un(i,(d,p)=>{if(et(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let a=t.draftLocations_.get(e)??eh;for(let c of a)sn(i,c,r,s)}function th(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!gn(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=Cs(s);ld(t,s.draft_??s,a,r),cd(s,i)})}function cd(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)}ad(t)}}function rh(t,e,r){let{scope_:n}=t;if(et(r)){let i=r[ge];gn(i,n)&&i.callbacks_.push(function(){rn(t);let a=Cs(i);ld(t,r,a,e)})}else ke(r)&&t.callbacks_.push(function(){let s=ut(t);t.type_===3?s.has(r)&&ln(r,n.handledSet_,n):ms(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&ln(ms(t.copy_,e,t.type_),n.handledSet_,n)})}function ln(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||et(t)||e.has(t)||!ke(t)||yn(t)||(e.add(t),un(t,(n,i)=>{if(et(i)){let s=i[ge];if(gn(s,r)){let a=Cs(s);sn(t,n,a,t.type_),ad(s)}}else ke(i)&&ln(i,e,r)})),t}function oh(t,e){let r=pn(t),n={type_:r?1:0,scope_:e?e.scope_:sd(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=cn;r&&(i=[n],s=po);let{revoke:a,proxy:c}=Proxy.revocable(i,s);return n.draft_=c,n.revoke_=a,[c,n]}var cn={get(t,e){if(e===ge)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=ut(t);if(!us(i,e,t.type_))return ih(t,i,e);let s=i[e];if(t.finalized_||!ke(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&Zf(e))return s;if(s===fs(t.base_,e)||nh(t,e,s)){rn(t);let a=t.type_===1?+e:e,c=Ss(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,e){return e in ut(t)},ownKeys(t){return Reflect.ownKeys(ut(t))},set(t,e,r){let n=dd(ut(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=fs(ut(t),e),s=i?.[ge];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(qf(r,i)&&(r!==void 0||us(t.base_,e,t.type_)))return!0;rn(t),vs(t)}return t.copy_[e]===r&&(r!==void 0||us(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),rh(t,e,r)),!0},deleteProperty(t,e){return rn(t),fs(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),vs(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=ut(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[tn]:!0,[hs]:t.type_!==1||e!=="length",[nn]:n[nn],[co]:r[e]}},defineProperty(){He(11)},getPrototypeOf(t){return wr(t.base_)},setPrototypeOf(){He(12)}},po={};for(let t in cn){let e=cn[t];po[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}po.deleteProperty=function(t,e){return po.set.call(this,t,e,void 0)};po.set=function(t,e,r){return cn.set.call(this,t[0],e,r,t[0])};function fs(t,e){let r=t[ge];return(r?ut(r):t)[e]}function nh(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!ke(r)||r[ge]?!1:t.baseRefs_.has(r)}function ih(t,e,r){let n=dd(e,r);return n?co in n?n[co]:n.get?.call(t.draft_):void 0}function dd(t,e){if(!(e in t))return;let r=wr(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=wr(r)}}function vs(t){t.modified_||(t.modified_=!0,t.parent_&&vs(t.parent_))}function rn(t){t.copy_||(t.assigned_=new Map,t.copy_=ys(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var sh=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(Or(e)&&!Or(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}Or(r)||He(6),n!==void 0&&!Or(n)&&He(7);let i;if(ke(e)){let s=ed(this),a=Ss(s,e,void 0),c=!0;try{i=r(a),c=!1}finally{c?bs(s):xs(s)}return Jc(s,n),td(i,s)}else if(!e||!Es(e)){if(i=r(e),i===void 0&&(i=e),i===od&&(i=void 0),this.autoFreeze_&&mn(i,!0),n){let s=[],a=[];Kt(gs).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else He(1,e)},this.produceWithPatches=(e,r)=>{if(Or(e))return(a,...c)=>this.produceWithPatches(a,d=>e(d,...c));let n,i;return[this.produce(e,r,(a,c)=>{n=a,i=c}),n,i]},ps(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),ps(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),ps(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){ke(t)||He(8),et(t)&&(t=ud(t));let e=ed(this),r=Ss(e,t,void 0);return r[ge].isManual_=!0,xs(e),r}finishDraft(t,e){let r=t&&t[ge];(!r||!r.isManual_)&&He(9);let{scope_:n}=r;return Jc(n,e),td(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=Kt(gs).applyPatches_;return et(t)?n(t,e):this.produce(t,i=>n(i,e))}};function Ss(t,e,r,n){let[i,s]=fn(e)?Kt(an).proxyMap_(e,r):hn(e)?Kt(an).proxySet_(e,r):oh(e,r);return(r?.scope_??sd()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?th(r,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function ud(t){return et(t)||He(10,t),pd(t)}function pd(t){if(!ke(t)||yn(t))return t;let e=t[ge],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=ys(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=ys(t,!0);return un(r,(i,s)=>{sn(r,i,pd(s))},n),e&&(e.finalized_=!1),r}var ah=globalThis.Iterator,_0=typeof ah?.from=="function";var lh=new sh,Os=lh.produce;function fd(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var hd=fd(),md=fd;var ch=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var dh=t=>t&&typeof t.match=="function";function Et(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(tt(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=>qc(n)&&n.type===t,r}var vd=class ho extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,ho.prototype)}static get[Symbol.species](){return ho}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new ho(...e[0].concat(this)):new ho(...e.concat(this))}};function yd(t){return ke(t)?Os(t,()=>{}):t}function bn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function uh(t){return typeof t=="boolean"}var ph=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new vd;return r&&(uh(r)?a.push(hd):a.push(md(r.extraArgument))),a},fh="RTK_autoBatch";var gd=t=>e=>{setTimeout(e,t)},hh=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},mh=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?hh(window.requestAnimationFrame,100):gd(10):t.type==="callback"?t.queueNotification:gd(t.timeout),p=()=>{a=!1,s&&(s=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return c.add(h),()=>{m(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[fh],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},yh=t=>function(r){let{autoBatch:n=!0}=r??{},i=new vd(t);return n&&i.push(mh(typeof n=="object"?n:void 0)),i};function Sd(t){let e=ph(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Jo(r))d=ds(r);else throw new Error(tt(1));let p;typeof n=="function"?p=n(e):p=e();let h=lo;i&&(h=ch({trace:!1,...typeof i=="object"&&i}));let f=Kc(...p),m=yh(f),x=typeof c=="function"?c(m):m(),S=h(...x);return cs(d,a,S)}function Ed(t){let e={},r=[],n,i={addCase(s,a){let c=typeof s=="string"?s:s.type;if(!c)throw new Error(tt(28));if(c in e)throw new Error(tt(29));return e[c]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return r.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,r,n]}function gh(t){return typeof t=="function"}function bh(t,e){let[r,n,i]=Ed(e),s;if(gh(t))s=()=>yd(t());else{let c=yd(t);s=()=>c}function a(c=s(),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(et(h)){let m=f(h,d);return m===void 0?h:m}else{if(ke(h))return Os(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(tt(9))}return m}}return h},c)}return a.getInitialState=s,a}var xh=(t,e)=>dh(t)?t.match(e):t(e);function vh(...t){return e=>t.some(r=>xh(r,e))}var Sh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Eh=(t=21)=>{let e="",r=t;for(;r--;)e+=Sh[Math.random()*64|0];return e},Ch=["name","message","stack","code"],ws=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},bd=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Oh=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of Ch)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},xd="External signal was aborted",wh=(()=>{function t(e,r,n){let i=Et(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=Et(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=Et(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Oh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,m)=>{let x=n?.idGenerator?n.idGenerator(d):Eh(),S=new AbortController,R,E;function L(b){E=b,S.abort()}p&&(p.aborted?L(xd):p.addEventListener("abort",()=>L(xd),{once:!0}));let N=(async function(){let b;try{let g=n?.condition?.(d,{getState:f,extra:m});if(Rh(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let v=new Promise((w,D)=>{R=()=>{D({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",R,{once:!0})});h(s(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:m}))),b=await Promise.race([v,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:x,signal:S.signal,abort:L,rejectWithValue:((w,D)=>new ws(w,D)),fulfillWithValue:((w,D)=>new bd(w,D))})).then(w=>{if(w instanceof ws)throw w;return w instanceof bd?i(w.payload,x,d,w.meta):i(w,x,d)})])}catch(g){b=g instanceof ws?a(null,x,d,g.payload,g.meta):a(g,x,d)}finally{R&&S.signal.removeEventListener("abort",R)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||h(b),b})();return Object.assign(N,{abort:L,requestId:x,arg:d,unwrap(){return N.then(Ah)}})}}return Object.assign(c,{pending:s,rejected:a,fulfilled:i,settled:vh(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function Ah(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Rh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Cd=Symbol.for("rtk-slice-createasyncthunk"),M0={[Cd]:wh};function _h(t,e){return`${t}/${e}`}function Th({creators:t}={}){let e=t?.asyncThunk?.[Cd];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(tt(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(kh()):n.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(b,g){let v=typeof b=="string"?b:b.type;if(!v)throw new Error(tt(12));if(v in d.sliceCaseReducersByType)throw new Error(tt(13));return d.sliceCaseReducersByType[v]=g,p},addMatcher(b,g){return d.sliceMatchers.push({matcher:b,reducer:g}),p},exposeAction(b,g){return d.actionCreators[b]=g,p},exposeCaseReducer(b,g){return d.sliceCaseReducersByName[b]=g,p}};c.forEach(b=>{let g=a[b],v={reducerName:b,type:_h(i,b),createNotation:typeof n.reducers=="function"};Nh(g)?Dh(v,g,p,e):Ih(v,g,p)});function h(){let[b={},g=[],v=void 0]=typeof n.extraReducers=="function"?Ed(n.extraReducers):[n.extraReducers],w={...b,...d.sliceCaseReducersByType};return bh(n.initialState,D=>{for(let G in w)D.addCase(G,w[G]);for(let G of d.sliceMatchers)D.addMatcher(G.matcher,G.reducer);for(let G of g)D.addMatcher(G.matcher,G.reducer);v&&D.addDefaultCase(v)})}let f=b=>b,m=new Map,x=new WeakMap,S;function R(b,g){return S||(S=h()),S(b,g)}function E(){return S||(S=h()),S.getInitialState()}function L(b,g=!1){function v(D){let G=D[b];return typeof G>"u"&&g&&(G=bn(x,v,E)),G}function w(D=f){return bn(bn(m,g,()=>new WeakMap),D,()=>{let G={};for(let[ee,I]of Object.entries(n.selectors??{}))G[ee]=Lh(I,D,()=>bn(x,D,E),g);return G})}return{reducerPath:b,getSelectors:w,get selectors(){return w(v)},selectSlice:v}}let N={name:i,reducer:R,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...L(s),injectInto(b,{reducerPath:g,...v}={}){let w=g??s;return b.inject({reducerPath:w,reducer:R},v),{...N,...L(w,!0)}}};return N}}function Lh(t,e,r,n){function i(s,...a){let c=e(s);return typeof c>"u"&&n&&(c=r()),t(c,...a)}return i.unwrapped=t,i}var Od=Th();function kh(){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 Ih({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!Ph(n))throw new Error(tt(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?Et(t,a):Et(t))}function Nh(t){return t._reducerDefinitionType==="asyncThunk"}function Ph(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Dh({type:t,reducerName:e},r,n,i){if(!i)throw new Error(tt(18));let{payloadCreator:s,fulfilled:a,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||xn,pending:c||xn,rejected:d||xn,settled:p||xn})}function xn(){}var wd="listener",Ad="completed",Rd="cancelled",F0=`task-${Rd}`,U0=`task-${Ad}`,$0=`${wd}-${Rd}`,B0=`${wd}-${Ad}`;var{assign:_d}=Object;var As="listenerMiddleware";var Mh=_d(Et(`${As}/add`),{withTypes:()=>Mh}),z0=Et(`${As}/removeAll`),Fh=_d(Et(`${As}/remove`),{withTypes:()=>Fh});function tt(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 Ct=class t extends it{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Cr(s))return s;if(i==null)return;let a=Od({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Sd({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Me(a.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 a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,c,i.eventBus,i.deprecatedKeys)}constructor(e,r,n,i){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new so,this.injectInto=(a,c)=>this.reduxSlice.injectInto(a,c),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,d)=>{let p=c,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,x=this.getState()[m];pe(x,f)||this.setState({[m]:s(f)})}}}),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 Uh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Cr(e)&&e.clear()}var mo=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);Se(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 $h(t,e,r){return new mo(t,e,r).watch()}var Ar=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 Ls={};B(Ls,{scrollHelper:()=>Bh});var _s,vn=new Map,Ts=class{lock(e,r){if(r){let n=vn.get(r);if(n==null||n===e)return vn.set(r,e),r}}release(e,r){r&&vn.get(r)===e&&vn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of hi(e)){let a=s,c=this.elementCanScroll(a);if(c&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else c&&i==null&&(i=a)}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 s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return s+((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),s=i-n.clientHeight+e.clientHeight,a=i,c=gt(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,c)*(s-a)+a;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=(_s=window.FluidTopicsScrollHelper)!==null&&_s!==void 0?_s:new Ts;var Bh=window.FluidTopicsScrollHelper;var Ns={};B(Ns,{toFtFormComponent:()=>Is});var ks=Symbol("elementInternals"),Is=se(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ks].form}constructor(...n){super(n),this[ks]=this.attachInternals()}setFormValue(n){this[ks].setFormValue(n)}}return e});var Ps={};B(Ps,{DateFormatter:()=>qt});var qt=class{static format(e,r,n,i,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,r,n,i,!!s)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,s){let a=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?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 Ms={};B(Ms,{ALL_KEYS_VALUE:()=>Ds,SameWindowStorageEvent:()=>Rr});var Ds="__all__",Rr=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==Ds}};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 Rr(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 Rr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Rr(Ds))}});var Us={};B(Us,{FocusMainContentEvent:()=>Fs});var Fs=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Td={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function zh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Hh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",zh);document.addEventListener("click",Hh);var Ld=T`
47
+ `;var zc={};var ss={};B(ss,{ParametrizedLabelResolver:()=>io});var io=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),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 As={};B(As,{FtCommandQueue:()=>so,FtLitElementRedux:()=>dt,FtReduxStore:()=>Ct,FtStateManager:()=>Ar,ReduxWatcher:()=>mo,clearAllStores:()=>Dh,isFtReduxStore:()=>Cr,redux:()=>ct,reduxEventListener:()=>Bf,reduxReactive:()=>$f,watch:()=>Mh,withRedux:()=>Hc});var $f=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ct=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:Se,attribute:!1,...e};y(s)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(c=>c[n]),store:e.store})}},Bf=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var so=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 Cr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ao=Symbol("internalReduxEventsUnsubscribers"),St=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores"),Hc=se(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(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(c=>a.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[jt].get(a)}addStore(a,c){var d;c=(d=c??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[jt].set(c,a),this.subscribeToStore(c,a),this.updateFromStores()}removeStore(a){let c=typeof a=="string"?a:a.name;this.unsubscribeFromStore(c),this[jt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[jt].forEach((a,c)=>this.subscribeToStore(c,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(a.store);p&&(a.store?this[St].has(a.store):this[St].size>0)&&(this[c]=a.selector(p.getState(),this))}})}subscribeToStore(a,c){var d,p;this[St].set(a,c.subscribe(()=>this.updateFromStores())),this[ao].set(a,[]),Cr(c)&&(!((d=c.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===c&&c.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",c.name)}),c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||c.name===h.store)){let m=x=>this[f](x);c.addEventListener(h.eventName,m),this[ao].get(a).push(()=>c.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[St].forEach((a,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(a){var c;this[St].has(a)&&this[St].get(a)(),this[St].delete(a),(c=this[ao].get(a))===null||c===void 0||c.forEach(d=>d()),this[ao].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=St,r=jt,n=ao,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),dt=class extends Hc(U){};function fe(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",Vc=zf,as=()=>Math.random().toString(36).substring(7).split("").join("."),Hf={INIT:`@@redux/INIT${as()}`,REPLACE:`@@redux/REPLACE${as()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${as()}`},Qo=Hf;function Xo(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 ls(t,e,r){if(typeof t!="function")throw new Error(fe(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(fe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(fe(1));return r(ls)(t,e)}let n=t,i=e,s=new Map,a=s,c=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((E,L)=>{a.set(L,E)}))}function h(){if(d)throw new Error(fe(3));return i}function f(E){if(typeof E!="function")throw new Error(fe(4));if(d)throw new Error(fe(5));let L=!0;p();let P=c++;return a.set(P,E),function(){if(L){if(d)throw new Error(fe(6));L=!1,p(),a.delete(P),s=null}}}function m(E){if(!Xo(E))throw new Error(fe(7));if(typeof E.type>"u")throw new Error(fe(8));if(typeof E.type!="string")throw new Error(fe(17));if(d)throw new Error(fe(9));try{d=!0,i=n(i,E)}finally{d=!1}return(s=a).forEach(P=>{P()}),E}function x(E){if(typeof E!="function")throw new Error(fe(10));n=E,m({type:Qo.REPLACE})}function S(){let E=f;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(fe(11));function P(){let g=L;g.next&&g.next(h())}return P(),{unsubscribe:E(P)}},[Vc](){return this}}}return m({type:Qo.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:x,[Vc]:S}}function Vf(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Qo.INIT})>"u")throw new Error(fe(12));if(typeof r(void 0,{type:Qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(fe(13))})}function cs(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let c=e[a];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,s;try{Vf(r)}catch(a){s=a}return function(c={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],x=r[m],S=c[m],R=x(S,d);if(typeof R>"u"){let E=d&&d.type;throw new Error(fe(14))}h[m]=R,p=p||R!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function lo(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function Wc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(fe(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},c=t.map(d=>d(a));return s=lo(...c)(i.dispatch),{...i,dispatch:s}}}function Gc(t){return Xo(t)&&"type"in t&&typeof t.type=="string"}var ed=Symbol.for("immer-nothing"),jc=Symbol.for("immer-draftable"),ge=Symbol.for("immer-state");function He(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Le=Object,wr=Le.getPrototypeOf,rn="constructor",cn="prototype",fs="configurable",on="enumerable",en="writable",co="value",et=t=>!!t&&!!t[ge];function ke(t){return t?td(t)||un(t)||!!t[jc]||!!t[rn]?.[jc]||pn(t)||fn(t):!1}var Wf=Le[cn][rn].toString(),Kc=new WeakMap;function td(t){if(!t||!Ss(t))return!1;let e=wr(t);if(e===null||e===Le[cn])return!0;let r=Le.hasOwnProperty.call(e,rn)&&e[rn];if(r===Object)return!0;if(!Or(r))return!1;let n=Kc.get(r);return n===void 0&&(n=Function.toString.call(r),Kc.set(r,n)),n===Wf}function dn(t,e,r=!0){fo(t)===0?(r?Reflect.ownKeys(t):Le.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function fo(t){let e=t[ge];return e?e.type_:un(t)?1:pn(t)?2:fn(t)?3:0}var ds=(t,e,r=fo(t))=>r===2?t.has(e):Le[cn].hasOwnProperty.call(t,e),hs=(t,e,r=fo(t))=>r===2?t.get(e):t[e],nn=(t,e,r,n=fo(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Gf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var un=Array.isArray,pn=t=>t instanceof Map,fn=t=>t instanceof Set,Ss=t=>typeof t=="object",Or=t=>typeof t=="function",us=t=>typeof t=="boolean";function jf(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ut=t=>t.copy_||t.base_;var Es=t=>t.modified_?t.copy_:t.base_;function ms(t,e){if(pn(t))return new Map(t);if(fn(t))return new Set(t);if(un(t))return Array[cn].slice.call(t);let r=td(t);if(e===!0||e==="class_only"&&!r){let n=Le.getOwnPropertyDescriptors(t);delete n[ge];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],c=n[a];c[en]===!1&&(c[en]=!0,c[fs]=!0),(c.get||c.set)&&(n[a]={[fs]:!0,[en]:!0,[on]:c[on],[co]:t[a]})}return Le.create(wr(t),n)}else{let n=wr(t);if(n!==null&&r)return{...t};let i=Le.create(n);return Le.assign(i,t)}}function hn(t,e=!1){return mn(t)||et(t)||!ke(t)||(fo(t)>1&&Le.defineProperties(t,{set:Jo,add:Jo,clear:Jo,delete:Jo}),Le.freeze(t),e&&dn(t,(r,n)=>{hn(n,!0)},!1)),t}function Kf(){He(2)}var Jo={[co]:Kf};function mn(t){return t===null||!Ss(t)?!0:Le.isFrozen(t)}var sn="MapSet",ys="Patches",qc="ArrayMethods",rd={};function Kt(t){let e=rd[t];return e||He(0,t),e}var Zc=t=>!!rd[t];var uo,od=()=>uo,qf=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Zc(sn)?Kt(sn):void 0,arrayMethodsPlugin_:Zc(qc)?Kt(qc):void 0});function Yc(t,e){e&&(t.patchPlugin_=Kt(ys),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function gs(t){bs(t),t.drafts_.forEach(Zf),t.drafts_=null}function bs(t){t===uo&&(uo=t.parent_)}var Qc=t=>uo=qf(uo,t);function Zf(t){let e=t[ge];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[ge].modified_&&(gs(e),He(4)),ke(t)&&(t=Jc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[ge].base_,t,e)}else t=Jc(e,r);return Yf(e,t,!0),gs(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==ed?t:void 0}function Jc(t,e){if(mn(e))return e;let r=e[ge];if(!r)return an(e,t.handledSet_,t);if(!yn(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);sd(r,t)}return r.copy_}function Yf(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&hn(e,r)}function nd(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var yn=(t,e)=>t.scope_===e,Qf=[];function id(t,e,r,n){let i=ut(t),s=t.type_;if(n!==void 0&&hs(i,n,s)===e){nn(i,n,r,s);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;dn(i,(d,p)=>{if(et(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let a=t.draftLocations_.get(e)??Qf;for(let c of a)nn(i,c,r,s)}function Xf(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!yn(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=Es(s);id(t,s.draft_??s,a,r),sd(s,i)})}function sd(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)}nd(t)}}function Jf(t,e,r){let{scope_:n}=t;if(et(r)){let i=r[ge];yn(i,n)&&i.callbacks_.push(function(){tn(t);let a=Es(i);id(t,r,a,e)})}else ke(r)&&t.callbacks_.push(function(){let s=ut(t);t.type_===3?s.has(r)&&an(r,n.handledSet_,n):hs(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&an(hs(t.copy_,e,t.type_),n.handledSet_,n)})}function an(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||et(t)||e.has(t)||!ke(t)||mn(t)||(e.add(t),dn(t,(n,i)=>{if(et(i)){let s=i[ge];if(yn(s,r)){let a=Es(s);nn(t,n,a,t.type_),nd(s)}}else ke(i)&&an(i,e,r)})),t}function eh(t,e){let r=un(t),n={type_:r?1:0,scope_:e?e.scope_:od(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=ln;r&&(i=[n],s=po);let{revoke:a,proxy:c}=Proxy.revocable(i,s);return n.draft_=c,n.revoke_=a,[c,n]}var ln={get(t,e){if(e===ge)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=ut(t);if(!ds(i,e,t.type_))return rh(t,i,e);let s=i[e];if(t.finalized_||!ke(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&jf(e))return s;if(s===ps(t.base_,e)||th(t,e,s)){tn(t);let a=t.type_===1?+e:e,c=vs(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,e){return e in ut(t)},ownKeys(t){return Reflect.ownKeys(ut(t))},set(t,e,r){let n=ad(ut(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=ps(ut(t),e),s=i?.[ge];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Gf(r,i)&&(r!==void 0||ds(t.base_,e,t.type_)))return!0;tn(t),xs(t)}return t.copy_[e]===r&&(r!==void 0||ds(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),Jf(t,e,r)),!0},deleteProperty(t,e){return tn(t),ps(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),xs(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=ut(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[en]:!0,[fs]:t.type_!==1||e!=="length",[on]:n[on],[co]:r[e]}},defineProperty(){He(11)},getPrototypeOf(t){return wr(t.base_)},setPrototypeOf(){He(12)}},po={};for(let t in ln){let e=ln[t];po[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}po.deleteProperty=function(t,e){return po.set.call(this,t,e,void 0)};po.set=function(t,e,r){return ln.set.call(this,t[0],e,r,t[0])};function ps(t,e){let r=t[ge];return(r?ut(r):t)[e]}function th(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!ke(r)||r[ge]?!1:t.baseRefs_.has(r)}function rh(t,e,r){let n=ad(e,r);return n?co in n?n[co]:n.get?.call(t.draft_):void 0}function ad(t,e){if(!(e in t))return;let r=wr(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=wr(r)}}function xs(t){t.modified_||(t.modified_=!0,t.parent_&&xs(t.parent_))}function tn(t){t.copy_||(t.assigned_=new Map,t.copy_=ms(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var oh=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(Or(e)&&!Or(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}Or(r)||He(6),n!==void 0&&!Or(n)&&He(7);let i;if(ke(e)){let s=Qc(this),a=vs(s,e,void 0),c=!0;try{i=r(a),c=!1}finally{c?gs(s):bs(s)}return Yc(s,n),Xc(i,s)}else if(!e||!Ss(e)){if(i=r(e),i===void 0&&(i=e),i===ed&&(i=void 0),this.autoFreeze_&&hn(i,!0),n){let s=[],a=[];Kt(ys).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else He(1,e)},this.produceWithPatches=(e,r)=>{if(Or(e))return(a,...c)=>this.produceWithPatches(a,d=>e(d,...c));let n,i;return[this.produce(e,r,(a,c)=>{n=a,i=c}),n,i]},us(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),us(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),us(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){ke(t)||He(8),et(t)&&(t=ld(t));let e=Qc(this),r=vs(e,t,void 0);return r[ge].isManual_=!0,bs(e),r}finishDraft(t,e){let r=t&&t[ge];(!r||!r.isManual_)&&He(9);let{scope_:n}=r;return Yc(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=Kt(ys).applyPatches_;return et(t)?n(t,e):this.produce(t,i=>n(i,e))}};function vs(t,e,r,n){let[i,s]=pn(e)?Kt(sn).proxyMap_(e,r):fn(e)?Kt(sn).proxySet_(e,r):eh(e,r);return(r?.scope_??od()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?Xf(r,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function ld(t){return et(t)||He(10,t),cd(t)}function cd(t){if(!ke(t)||mn(t))return t;let e=t[ge],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=ms(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=ms(t,!0);return dn(r,(i,s)=>{nn(r,i,cd(s))},n),e&&(e.finalized_=!1),r}var nh=globalThis.Iterator,A0=typeof nh?.from=="function";var ih=new oh,Cs=ih.produce;function dd(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var ud=dd(),pd=dd;var sh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var ah=t=>t&&typeof t.match=="function";function Et(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(tt(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=>Gc(n)&&n.type===t,r}var gd=class ho extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,ho.prototype)}static get[Symbol.species](){return ho}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new ho(...e[0].concat(this)):new ho(...e.concat(this))}};function fd(t){return ke(t)?Cs(t,()=>{}):t}function gn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function lh(t){return typeof t=="boolean"}var ch=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new gd;return r&&(lh(r)?a.push(ud):a.push(pd(r.extraArgument))),a},dh="RTK_autoBatch";var hd=t=>e=>{setTimeout(e,t)},uh=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},ph=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?uh(window.requestAnimationFrame,100):hd(10):t.type==="callback"?t.queueNotification:hd(t.timeout),p=()=>{a=!1,s&&(s=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return c.add(h),()=>{m(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[dh],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},fh=t=>function(r){let{autoBatch:n=!0}=r??{},i=new gd(t);return n&&i.push(ph(typeof n=="object"?n:void 0)),i};function bd(t){let e=ch(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Xo(r))d=cs(r);else throw new Error(tt(1));let p;typeof n=="function"?p=n(e):p=e();let h=lo;i&&(h=sh({trace:!1,...typeof i=="object"&&i}));let f=Wc(...p),m=fh(f),x=typeof c=="function"?c(m):m(),S=h(...x);return ls(d,a,S)}function xd(t){let e={},r=[],n,i={addCase(s,a){let c=typeof s=="string"?s:s.type;if(!c)throw new Error(tt(28));if(c in e)throw new Error(tt(29));return e[c]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return r.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,r,n]}function hh(t){return typeof t=="function"}function mh(t,e){let[r,n,i]=xd(e),s;if(hh(t))s=()=>fd(t());else{let c=fd(t);s=()=>c}function a(c=s(),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(et(h)){let m=f(h,d);return m===void 0?h:m}else{if(ke(h))return Cs(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(tt(9))}return m}}return h},c)}return a.getInitialState=s,a}var yh=(t,e)=>ah(t)?t.match(e):t(e);function gh(...t){return e=>t.some(r=>yh(r,e))}var bh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",xh=(t=21)=>{let e="",r=t;for(;r--;)e+=bh[Math.random()*64|0];return e},vh=["name","message","stack","code"],Os=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},md=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Sh=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of vh)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},yd="External signal was aborted",Eh=(()=>{function t(e,r,n){let i=Et(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=Et(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=Et(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Sh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,m)=>{let x=n?.idGenerator?n.idGenerator(d):xh(),S=new AbortController,R,E;function L(b){E=b,S.abort()}p&&(p.aborted?L(yd):p.addEventListener("abort",()=>L(yd),{once:!0}));let P=(async function(){let b;try{let g=n?.condition?.(d,{getState:f,extra:m});if(Oh(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let v=new Promise((w,D)=>{R=()=>{D({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",R,{once:!0})});h(s(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:m}))),b=await Promise.race([v,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:x,signal:S.signal,abort:L,rejectWithValue:((w,D)=>new Os(w,D)),fulfillWithValue:((w,D)=>new md(w,D))})).then(w=>{if(w instanceof Os)throw w;return w instanceof md?i(w.payload,x,d,w.meta):i(w,x,d)})])}catch(g){b=g instanceof Os?a(null,x,d,g.payload,g.meta):a(g,x,d)}finally{R&&S.signal.removeEventListener("abort",R)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||h(b),b})();return Object.assign(P,{abort:L,requestId:x,arg:d,unwrap(){return P.then(Ch)}})}}return Object.assign(c,{pending:s,rejected:a,fulfilled:i,settled:gh(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function Ch(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Oh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var vd=Symbol.for("rtk-slice-createasyncthunk"),N0={[vd]:Eh};function wh(t,e){return`${t}/${e}`}function Ah({creators:t}={}){let e=t?.asyncThunk?.[vd];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(tt(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(_h()):n.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(b,g){let v=typeof b=="string"?b:b.type;if(!v)throw new Error(tt(12));if(v in d.sliceCaseReducersByType)throw new Error(tt(13));return d.sliceCaseReducersByType[v]=g,p},addMatcher(b,g){return d.sliceMatchers.push({matcher:b,reducer:g}),p},exposeAction(b,g){return d.actionCreators[b]=g,p},exposeCaseReducer(b,g){return d.sliceCaseReducersByName[b]=g,p}};c.forEach(b=>{let g=a[b],v={reducerName:b,type:wh(i,b),createNotation:typeof n.reducers=="function"};Lh(g)?Ih(v,g,p,e):Th(v,g,p)});function h(){let[b={},g=[],v=void 0]=typeof n.extraReducers=="function"?xd(n.extraReducers):[n.extraReducers],w={...b,...d.sliceCaseReducersByType};return mh(n.initialState,D=>{for(let G in w)D.addCase(G,w[G]);for(let G of d.sliceMatchers)D.addMatcher(G.matcher,G.reducer);for(let G of g)D.addMatcher(G.matcher,G.reducer);v&&D.addDefaultCase(v)})}let f=b=>b,m=new Map,x=new WeakMap,S;function R(b,g){return S||(S=h()),S(b,g)}function E(){return S||(S=h()),S.getInitialState()}function L(b,g=!1){function v(D){let G=D[b];return typeof G>"u"&&g&&(G=gn(x,v,E)),G}function w(D=f){return gn(gn(m,g,()=>new WeakMap),D,()=>{let G={};for(let[ee,I]of Object.entries(n.selectors??{}))G[ee]=Rh(I,D,()=>gn(x,D,E),g);return G})}return{reducerPath:b,getSelectors:w,get selectors(){return w(v)},selectSlice:v}}let P={name:i,reducer:R,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...L(s),injectInto(b,{reducerPath:g,...v}={}){let w=g??s;return b.inject({reducerPath:w,reducer:R},v),{...P,...L(w,!0)}}};return P}}function Rh(t,e,r,n){function i(s,...a){let c=e(s);return typeof c>"u"&&n&&(c=r()),t(c,...a)}return i.unwrapped=t,i}var Sd=Ah();function _h(){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 Th({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!kh(n))throw new Error(tt(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?Et(t,a):Et(t))}function Lh(t){return t._reducerDefinitionType==="asyncThunk"}function kh(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Ih({type:t,reducerName:e},r,n,i){if(!i)throw new Error(tt(18));let{payloadCreator:s,fulfilled:a,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||bn,pending:c||bn,rejected:d||bn,settled:p||bn})}function bn(){}var Ed="listener",Cd="completed",Od="cancelled",D0=`task-${Od}`,M0=`task-${Cd}`,F0=`${Ed}-${Od}`,U0=`${Ed}-${Cd}`;var{assign:wd}=Object;var ws="listenerMiddleware";var Ph=wd(Et(`${ws}/add`),{withTypes:()=>Ph}),$0=Et(`${ws}/removeAll`),Nh=wd(Et(`${ws}/remove`),{withTypes:()=>Nh});function tt(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 Ct=class t extends it{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Cr(s))return s;if(i==null)return;let a=Sd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=bd({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Me(a.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 a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,c,i.eventBus,i.deprecatedKeys)}constructor(e,r,n,i){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new so,this.injectInto=(a,c)=>this.reduxSlice.injectInto(a,c),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,d)=>{let p=c,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,x=this.getState()[m];pe(x,f)||this.setState({[m]:s(f)})}}}),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 Dh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Cr(e)&&e.clear()}var mo=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);Se(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 Mh(t,e,r){return new mo(t,e,r).watch()}var Ar=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 Ts={};B(Ts,{scrollHelper:()=>Fh});var Rs,xn=new Map,_s=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 s of fi(e)){let a=s,c=this.elementCanScroll(a);if(c&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else c&&i==null&&(i=a)}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 s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return s+((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),s=i-n.clientHeight+e.clientHeight,a=i,c=gt(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,c)*(s-a)+a;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=(Rs=window.FluidTopicsScrollHelper)!==null&&Rs!==void 0?Rs:new _s;var Fh=window.FluidTopicsScrollHelper;var Is={};B(Is,{toFtFormComponent:()=>ks});var Ls=Symbol("elementInternals"),ks=se(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ls].form}constructor(...n){super(n),this[Ls]=this.attachInternals()}setFormValue(n){this[Ls].setFormValue(n)}}return e});var Ps={};B(Ps,{DateFormatter:()=>qt});var qt=class{static format(e,r,n,i,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,r,n,i,!!s)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,s){let a=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?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 Ds={};B(Ds,{ALL_KEYS_VALUE:()=>Ns,SameWindowStorageEvent:()=>Rr});var Ns="__all__",Rr=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==Ns}};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 Rr(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 Rr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Rr(Ns))}});var Fs={};B(Fs,{FocusMainContentEvent:()=>Ms});var Ms=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Ad={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Uh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function $h(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Uh);document.addEventListener("click",$h);var Rd=T`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var Bs={};B(Bs,{withAriaNotification:()=>$s});var Vh={checkVisibility:!0},$s=se(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Vh,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Kr({type:"aria",message:n})))},20)}}return e});var zs={};B(zs,{withConditionalVisibility:()=>Wh});var kd=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};function Wh(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}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 kd([y({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),kd([k()],e.prototype,"isVisible",void 0),e}var Vs={};B(Vs,{FormController:()=>Hs});function Gh(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var Hs=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Gh(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 s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,r);s!==void 0&&this.errors.set(e,s)}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(s){let a=Si(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Gs={};B(Gs,{MetadataValueLocalizer:()=>Ws});var Ws=class{constructor(e){this.contentLocales=e}localize(e){var r,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(n=>n.lang===e.value))===null||r===void 0?void 0:r.label}};function js(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function Id(t,e,r){return t?e(t):r?.(t)}var le=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Zt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Zt||(Zt={}));var Ot;(function(t){t.default="default",t.warning="warning",t.error="error"})(Ot||(Ot={}));var Ks=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var AS=se(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Zt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ot.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Zt.blur||this.validateOn===Zt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ot.default&&this.validateOn===Zt.blurWithStatusResolutionOnInput||this.validateOn===Zt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...js(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=js(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Ks(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return _`
71
+ `;var $s={};B($s,{withAriaNotification:()=>Us});var Bh={checkVisibility:!0},Us=se(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Bh,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Kr({type:"aria",message:n})))},20)}}return e});var Bs={};B(Bs,{withConditionalVisibility:()=>zh});var _d=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};function zh(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}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 _d([y({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),_d([k()],e.prototype,"isVisible",void 0),e}var Hs={};B(Hs,{FormController:()=>zs});function Hh(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var zs=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Hh(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 s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,r);s!==void 0&&this.errors.set(e,s)}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(s){let a=vi(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Ws={};B(Ws,{MetadataValueLocalizer:()=>Vs});var Vs=class{constructor(e){this.contentLocales=e}localize(e){var r,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(n=>n.lang===e.value))===null||r===void 0?void 0:r.label}};function Gs(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function Td(t,e,r){return t?e(t):r?.(t)}var le=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Zt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Zt||(Zt={}));var Ot;(function(t){t.default="default",t.warning="warning",t.error="error"})(Ot||(Ot={}));var js=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var OS=se(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Zt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ot.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Zt.blur||this.validateOn===Zt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ot.default&&this.validateOn===Zt.blurWithStatusResolutionOnInput||this.validateOn===Zt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Gs(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Gs(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new js(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return _`
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
74
  ${hr(this.errorMessages,n=>_`
@@ -77,11 +77,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
77
77
  ${hr(this.warningMessages,n=>_`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${Id(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>_`
80
+ ${Td(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>_`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ot.error:this.warningMessages.length?Ot.warning:Ot.default}}return le([y()],e.prototype,"warningRules",void 0),le([y()],e.prototype,"errorRules",void 0),le([y()],e.prototype,"validateOn",void 0),le([y({type:Boolean})],e.prototype,"validateAtRender",void 0),le([y()],e.prototype,"label",void 0),le([y({type:Boolean})],e.prototype,"hideLabel",void 0),le([y()],e.prototype,"name",void 0),le([y({type:Boolean})],e.prototype,"disabled",void 0),le([y()],e.prototype,"helperText",void 0),le([y()],e.prototype,"forceStatus",void 0),le([y({reflect:!0})],e.prototype,"value",void 0),le([k()],e.prototype,"errorMessages",void 0),le([k()],e.prototype,"warningMessages",void 0),le([k()],e.prototype,"status",void 0),le([k()],e.prototype,"focused",void 0),le([k()],e.prototype,"additionalWarningRules",void 0),le([k()],e.prototype,"additionalErrorRules",void 0),le([k()],e.prototype,"forceErrorMessages",void 0),e});var yo=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),yo(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)},Nd=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),Zh(e)}};function Kh(t){this._$AN!==void 0?(Sn(this),this._$AM=t,Nd(this)):this._$AM=t}function qh(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 s=r;s<n.length;s++)yo(n[s],!1),Sn(n[s]);else n!=null&&(yo(n,!1),Sn(n));else yo(this,t)}var Zh=t=>{t.type==Ze.CHILD&&(t._$AP??=qh,t._$AQ??=Kh)},_r=class extends De{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Nd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(yo(this,e),Sn(this))}setValue(e){if(Ga(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 qs=class extends _r{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 ne}update(e){return this.part=e,this.ensureFocusTrap(e.element),ne}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 Pe&&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}},tE=_e(qs);var Pd;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Pd||(Pd={}));var Yh={sm:640,md:768,lg:1024,xl:1280},Zs=class extends _r{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),s=n??(()=>F);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:Yh[e]}},iE=_e(Zs);var Qh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ys=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function En(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(i,s){var a,c;let d=(c=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[i])===null||c===void 0?void 0:c.eventName;if(!d)return;let p=e[i];this.dispatchEvent(new Ys({eventName:d,actionType:i,componentType:this.tagName.toLowerCase(),componentId:this.id||p?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,Qh([ie({})],r.prototype,"configuredAnalyticsActions",void 0),r}var go=class t{static isShadowRoot(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}static getShadowRoots(e){let r=[],n=e.getRootNode();for(;t.isShadowRoot(n);)r.push(n),n=n.host.getRootNode();return r}static compareDeepPosition(e,r){if(e===r)return 0;let n=t.getShadowRoots(e),i=t.getShadowRoots(r),s=n.findIndex(p=>i.includes(p)),a=s<0?-1:i.findIndex(p=>p===n[s]),c=s===0||n.length===0?e:n[(s<0?n.length:s)-1].host,d=a===0||i.length===0?r:i[(a<0?i.length:a)-1].host;return c===d?c===e?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:c.compareDocumentPosition(d)}static getDeepActiveElement(){var e;if(!document.activeElement)return null;let r=document.activeElement;for(;!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement;)r=r.shadowRoot.activeElement;return r}};var Qs=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Xs)return!1;let r=go.getDeepActiveElement();if(!r)return!0;let n=go.compareDeepPosition(r,e);return(n&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(n&Node.DOCUMENT_POSITION_CONTAINS)===0||(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=Qs;var Js,ea,ta,ra,bo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ta=(ea=(Js=window.safari)===null||Js===void 0?void 0:Js.pushNotification)===null||ea===void 0?void 0:ea.toString())!==null&&ta!==void 0?ta:"")==="[object SafariRemoteNotification]",Xs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ra=window.ftGlobals)!==null&&ra!==void 0?ra:{lit:ei,litDecorators:ni,litRepeat:ii,litClassMap:si,litStyleMap:ai,litUnsafeHTML:ci,wcUtils:{...di,...xi,...ui,..._i,...Ps,...Ti,...pi,...Ni,...bi,...Ki,...Us,...Td,...Ls,...qi,...Ii,...es,...Ns,...Xi,...Bs,...zs,...Hc,...mi,...os,...Gs,...Pi,...ss,...Ld,...Wc,...as,...Rs,...Ms,...Zi,...Qi,...Ei,...wi,...Vs,isSafari:bo,isTouchScreen:Xs,setVariable:V}};var Dd=o.extend("--ft-typography-font-family","",A.titleFont),pt=o.extend("--ft-typography-font-family","",A.contentFont),O={fontFamily:pt,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"),textDecoration:o.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Yt={fontFamily:o.extend("--ft-typography-title-font-family","",Dd),fontSize:o.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-text-decoration","",O.textDecoration,"inherit")},Qt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Dd),fontSize:o.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-dense-text-decoration","",O.textDecoration,"inherit")},Xt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",pt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle1-text-decoration","",O.textDecoration,"inherit")},Jt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",pt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle2-text-decoration","",O.textDecoration,"inherit")},er={fontFamily:o.extend("--ft-typography-body1-font-family","",pt),fontSize:o.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body1-text-decoration","",O.textDecoration,"inherit")},Ce={fontFamily:o.extend("--ft-typography-body2-font-family","",pt),fontSize:o.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body2-text-decoration","",O.textDecoration,"inherit")},tr={fontFamily:o.extend("--ft-typography-caption-font-family","",pt),fontSize:o.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-caption-text-decoration","",O.textDecoration,"inherit")},rr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",pt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-breadcrumb-text-decoration","",O.textDecoration,"inherit")},or={fontFamily:o.extend("--ft-typography-overline-font-family","",pt),fontSize:o.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-overline-text-decoration","",O.textDecoration,"inherit")},Ve={fontFamily:o.extend("--ft-typography-button-font-family","",pt),fontSize:o.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-button-text-decoration","",O.textDecoration,"inherit")},Md=T`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ot.error:this.warningMessages.length?Ot.warning:Ot.default}}return le([y()],e.prototype,"warningRules",void 0),le([y()],e.prototype,"errorRules",void 0),le([y()],e.prototype,"validateOn",void 0),le([y({type:Boolean})],e.prototype,"validateAtRender",void 0),le([y()],e.prototype,"label",void 0),le([y({type:Boolean})],e.prototype,"hideLabel",void 0),le([y()],e.prototype,"name",void 0),le([y({type:Boolean})],e.prototype,"disabled",void 0),le([y()],e.prototype,"helperText",void 0),le([y()],e.prototype,"forceStatus",void 0),le([y({reflect:!0})],e.prototype,"value",void 0),le([k()],e.prototype,"errorMessages",void 0),le([k()],e.prototype,"warningMessages",void 0),le([k()],e.prototype,"status",void 0),le([k()],e.prototype,"focused",void 0),le([k()],e.prototype,"additionalWarningRules",void 0),le([k()],e.prototype,"additionalErrorRules",void 0),le([k()],e.prototype,"forceErrorMessages",void 0),e});var yo=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),yo(n,e);return!0},vn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Ld=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),jh(e)}};function Wh(t){this._$AN!==void 0?(vn(this),this._$AM=t,Ld(this)):this._$AM=t}function Gh(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 s=r;s<n.length;s++)yo(n[s],!1),vn(n[s]);else n!=null&&(yo(n,!1),vn(n));else yo(this,t)}var jh=t=>{t.type==Ze.CHILD&&(t._$AP??=Gh,t._$AQ??=Wh)},_r=class extends De{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Ld(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(yo(this,e),vn(this))}setValue(e){if(Ha(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 Ks=class extends _r{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 ne}update(e){return this.part=e,this.ensureFocusTrap(e.element),ne}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 Ne&&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}},JS=_e(Ks);var kd;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(kd||(kd={}));var Kh={sm:640,md:768,lg:1024,xl:1280},qs=class extends _r{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),s=n??(()=>F);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:Kh[e]}},oE=_e(qs);var qh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Zs=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function Sn(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(i,s){var a,c;let d=(c=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[i])===null||c===void 0?void 0:c.eventName;if(!d)return;let p=e[i];this.dispatchEvent(new Zs({eventName:d,actionType:i,componentType:this.tagName.toLowerCase(),componentId:this.id||p?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,qh([ie({})],r.prototype,"configuredAnalyticsActions",void 0),r}var Ys,Qs,Xs,Js,go=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Xs=(Qs=(Ys=window.safari)===null||Ys===void 0?void 0:Ys.pushNotification)===null||Qs===void 0?void 0:Qs.toString())!==null&&Xs!==void 0?Xs:"")==="[object SafariRemoteNotification]",Zh="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Js=window.ftGlobals)!==null&&Js!==void 0?Js:{lit:Jn,litDecorators:oi,litRepeat:ni,litClassMap:ii,litStyleMap:si,litUnsafeHTML:li,wcUtils:{...ci,...bi,...di,...Ri,...Ps,..._i,...ui,...Ii,...gi,...ji,...Fs,...Ad,...Ts,...Ki,...ki,...Ji,...Is,...Qi,...$s,...Bs,...$c,...hi,...rs,...Ws,...Pi,...is,...Rd,...zc,...ss,...As,...Ds,...qi,...Yi,...Si,...Oi,...Hs,isSafari:go,isTouchScreen:Zh,setVariable:V}};var Id=o.extend("--ft-typography-font-family","",A.titleFont),pt=o.extend("--ft-typography-font-family","",A.contentFont),O={fontFamily:pt,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"),textDecoration:o.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Yt={fontFamily:o.extend("--ft-typography-title-font-family","",Id),fontSize:o.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-text-decoration","",O.textDecoration,"inherit")},Qt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Id),fontSize:o.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-dense-text-decoration","",O.textDecoration,"inherit")},Xt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",pt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle1-text-decoration","",O.textDecoration,"inherit")},Jt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",pt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle2-text-decoration","",O.textDecoration,"inherit")},er={fontFamily:o.extend("--ft-typography-body1-font-family","",pt),fontSize:o.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body1-text-decoration","",O.textDecoration,"inherit")},Ce={fontFamily:o.extend("--ft-typography-body2-font-family","",pt),fontSize:o.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body2-text-decoration","",O.textDecoration,"inherit")},tr={fontFamily:o.extend("--ft-typography-caption-font-family","",pt),fontSize:o.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-caption-text-decoration","",O.textDecoration,"inherit")},rr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",pt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-breadcrumb-text-decoration","",O.textDecoration,"inherit")},or={fontFamily:o.extend("--ft-typography-overline-font-family","",pt),fontSize:o.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-overline-text-decoration","",O.textDecoration,"inherit")},Ve={fontFamily:o.extend("--ft-typography-button-font-family","",pt),fontSize:o.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-button-text-decoration","",O.textDecoration,"inherit")},Pd=T`
85
85
  .ft-typography--title {
86
86
  font-family: ${Yt.fontFamily};
87
87
  font-size: ${Yt.fontSize};
@@ -91,7 +91,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
91
91
  text-transform: ${Yt.textTransform};
92
92
  text-decoration: ${Yt.textDecoration};
93
93
  }
94
- `,Fd=T`
94
+ `,Nd=T`
95
95
  .ft-typography--title-dense {
96
96
  font-family: ${Qt.fontFamily};
97
97
  font-size: ${Qt.fontSize};
@@ -101,7 +101,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
101
101
  text-transform: ${Qt.textTransform};
102
102
  text-decoration: ${Qt.textDecoration};
103
103
  }
104
- `,Ud=T`
104
+ `,Dd=T`
105
105
  .ft-typography--subtitle1 {
106
106
  font-family: ${Xt.fontFamily};
107
107
  font-size: ${Xt.fontSize};
@@ -111,7 +111,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
111
111
  text-transform: ${Xt.textTransform};
112
112
  text-decoration: ${Xt.textDecoration};
113
113
  }
114
- `,$d=T`
114
+ `,Md=T`
115
115
  .ft-typography--subtitle2 {
116
116
  font-family: ${Jt.fontFamily};
117
117
  font-size: ${Jt.fontSize};
@@ -122,7 +122,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
122
122
  text-decoration: ${Jt.textDecoration};
123
123
  }
124
124
 
125
- `,Bd=T`
125
+ `,Fd=T`
126
126
  .ft-typography--body1 {
127
127
  font-family: ${er.fontFamily};
128
128
  font-size: ${er.fontSize};
@@ -132,7 +132,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
132
132
  text-transform: ${er.textTransform};
133
133
  text-decoration: ${er.textDecoration};
134
134
  }
135
- `,zd=T`
135
+ `,Ud=T`
136
136
  .ft-typography--body2 {
137
137
  font-family: ${Ce.fontFamily};
138
138
  font-size: ${Ce.fontSize};
@@ -142,7 +142,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
142
142
  text-transform: ${Ce.textTransform};
143
143
  text-decoration: ${Ce.textDecoration};
144
144
  }
145
- `,Cn=T`
145
+ `,En=T`
146
146
  .ft-typography--caption {
147
147
  font-family: ${tr.fontFamily};
148
148
  font-size: ${tr.fontSize};
@@ -152,7 +152,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
152
152
  text-transform: ${tr.textTransform};
153
153
  text-decoration: ${tr.textDecoration};
154
154
  }
155
- `,Hd=T`
155
+ `,$d=T`
156
156
  .ft-typography--breadcrumb {
157
157
  font-family: ${rr.fontFamily};
158
158
  font-size: ${rr.fontSize};
@@ -162,7 +162,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
162
162
  text-transform: ${rr.textTransform};
163
163
  text-decoration: ${rr.textDecoration};
164
164
  }
165
- `,Vd=T`
165
+ `,Bd=T`
166
166
  .ft-typography--overline {
167
167
  font-family: ${or.fontFamily};
168
168
  font-size: ${or.fontSize};
@@ -172,7 +172,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
172
172
  text-transform: ${or.textTransform};
173
173
  text-decoration: ${or.textDecoration};
174
174
  }
175
- `,Wd=T`
175
+ `,zd=T`
176
176
  .ft-typography--button {
177
177
  font-family: ${Ve.fontFamily};
178
178
  font-size: ${Ve.fontSize};
@@ -182,11 +182,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
182
182
  text-transform: ${Ve.textTransform};
183
183
  text-decoration: ${Ve.textDecoration};
184
184
  }
185
- `,Gd=T`
185
+ `,Hd=T`
186
186
  .ft-typography {
187
187
  vertical-align: inherit;
188
188
  }
189
- `;var jd=o.extend("--ft-ripple-color","",A.colorContent),be={color:jd,backgroundColor:o.extend("--ft-ripple-background-color","",jd),opacityContentOnSurfacePressed:o.external(A.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(A.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(A.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(A.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Kd=o.extend("--ft-ripple-color","",A.colorPrimary),qd={color:Kd,backgroundColor:o.extend("--ft-ripple-background-color","",Kd)},Zd=o.extend("--ft-ripple-color","",A.colorSecondary),Yd={color:Zd,backgroundColor:o.extend("--ft-ripple-background-color","",Zd)},Qd=T`
189
+ `;var Vd=o.extend("--ft-ripple-color","",A.colorContent),be={color:Vd,backgroundColor:o.extend("--ft-ripple-background-color","",Vd),opacityContentOnSurfacePressed:o.external(A.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(A.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(A.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(A.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Wd=o.extend("--ft-ripple-color","",A.colorPrimary),Gd={color:Wd,backgroundColor:o.extend("--ft-ripple-background-color","",Wd)},jd=o.extend("--ft-ripple-color","",A.colorSecondary),Kd={color:jd,backgroundColor:o.extend("--ft-ripple-background-color","",jd)},qd=T`
190
190
  :host {
191
191
  display: contents;
192
192
  }
@@ -241,19 +241,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
241
241
  }
242
242
 
243
243
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
244
- background-color: ${Yd.backgroundColor};
244
+ background-color: ${Kd.backgroundColor};
245
245
  }
246
246
 
247
247
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
248
- background-color: ${Yd.color};
248
+ background-color: ${Kd.color};
249
249
  }
250
250
 
251
251
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
252
- background-color: ${qd.backgroundColor};
252
+ background-color: ${Gd.backgroundColor};
253
253
  }
254
254
 
255
255
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
256
- background-color: ${qd.color};
256
+ background-color: ${Gd.color};
257
257
  }
258
258
 
259
259
  .ft-ripple .ft-ripple--background {
@@ -298,7 +298,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
298
298
  opacity: ${be.opacityContentOnSurfacePressed};
299
299
  transform: translate(-50%, -50%) scale(1);
300
300
  }
301
- `;var nr={color:o.extend("--ft-loader-color","",A.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Xd=T`
301
+ `;var nr={color:o.extend("--ft-loader-color","",A.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Zd=T`
302
302
  :host {
303
303
  line-height: 0;
304
304
  }
@@ -367,7 +367,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
367
367
  transform: translate(calc(0.35 * ${nr.size}), 0);
368
368
  }
369
369
  }
370
- `;var We={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")},Jd=[T`
370
+ `;var We={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")},Yd=[T`
371
371
  :host, i.ft-icon {
372
372
  display: inline-flex;
373
373
  align-items: center;
@@ -415,7 +415,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
415
415
  .ft-icon--material {
416
416
  font-family: ${We.materialFontFamily}, "Material Icons", sans-serif;
417
417
  }
418
- `,no];var eu=o.extend("--ft-button-color","",A.colorPrimary),j={backgroundColor:o.extend("--ft-button-background-color","",A.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",A.borderRadiusL),color:eu,fontSize:o.extend("--ft-button-font-size","",Ve.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",eu),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(A.colorOpacityDisabled,"Design system")},tu=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",A.colorOnPrimary)),oa={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",A.colorPrimary)),color:tu,rippleColor:o.extend("--ft-button-primary-ripple-color","",tu)},Ge={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",A.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")},ru=T`
418
+ `,no];var Qd=o.extend("--ft-button-color","",A.colorPrimary),j={backgroundColor:o.extend("--ft-button-background-color","",A.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",A.borderRadiusL),color:Qd,fontSize:o.extend("--ft-button-font-size","",Ve.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Qd),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(A.colorOpacityDisabled,"Design system")},Xd=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",A.colorOnPrimary)),ea={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",A.colorPrimary)),color:Xd,rippleColor:o.extend("--ft-button-primary-ripple-color","",Xd)},Ge={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",A.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")},Jd=T`
419
419
  :host {
420
420
  display: inline-block;
421
421
  max-width: 100%;
@@ -494,9 +494,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
494
494
  }
495
495
 
496
496
  &.ft-button--primary {
497
- background-color: ${oa.backgroundColor};
498
- --button-internal-color: ${oa.color};
499
- ${V(be.color,oa.rippleColor)};
497
+ background-color: ${ea.backgroundColor};
498
+ --button-internal-color: ${ea.color};
499
+ ${V(be.color,ea.rippleColor)};
500
500
  }
501
501
 
502
502
  &.ft-button--outlined {
@@ -557,7 +557,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
557
557
  ${V(nr.size,j.iconSize)};
558
558
  ${V(nr.color,"var(--button-internal-color)")};
559
559
  }
560
- `;var xo={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",A.colorOnSurface),borderRadiusM:o.external(A.borderRadiusM,"Design system"),colorOutline:o.external(A.colorOutline,"Design system"),colorOnSurface:o.external(A.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(A.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(A.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(A.colorPrimary,"Design system"),colorOnPrimary:o.external(A.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")},ou=T`
560
+ `;var bo={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",A.colorOnSurface),borderRadiusM:o.external(A.borderRadiusM,"Design system"),colorOutline:o.external(A.colorOutline,"Design system"),colorOnSurface:o.external(A.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(A.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(A.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(A.colorPrimary,"Design system"),colorOnPrimary:o.external(A.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")},eu=T`
561
561
  .ft-filter-level--container {
562
562
  display: flex;
563
563
  flex-direction: column;
@@ -572,14 +572,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
572
572
  flex-shrink: 0;
573
573
  text-decoration: none;
574
574
  position: relative;
575
- border-radius: ${xo.borderRadiusM};
575
+ border-radius: ${bo.borderRadiusM};
576
576
  overflow: hidden;
577
577
  display: flex;
578
578
  align-items: center;
579
579
  padding: 4px 4px;
580
580
  gap: 4px;
581
581
  cursor: pointer;
582
- color: ${xo.colorOnSurface};
582
+ color: ${bo.colorOnSurface};
583
583
  }
584
584
 
585
585
  .ft-filter-level--go-back:focus {
@@ -608,11 +608,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
608
608
  }
609
609
 
610
610
  ft-button {
611
- ${V(j.color,xo.colorOnSurface)};
611
+ ${V(j.color,bo.colorOnSurface)};
612
612
  }
613
613
 
614
614
  ft-button.ft-filter-level--display-more {
615
- ${V(j.color,xo.buttonMoreColor)};
615
+ ${V(j.color,bo.buttonMoreColor)};
616
616
  }
617
617
 
618
618
  ft-radio, ft-checkbox {
@@ -626,17 +626,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
626
626
 
627
627
  .ft-filter-level--no-values {
628
628
  margin: 10px 0;
629
- color: ${xo.colorOnSurfaceMedium};
629
+ color: ${bo.colorOnSurfaceMedium};
630
630
  }
631
- `;var iu=Symbol.for(""),Xh=t=>{if(t?.r===iu)return t?._$litStatic$},na=t=>({_$litStatic$:t,r:iu});var nu=new Map,ia=t=>(e,...r)=>{let n=r.length,i,s,a=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=r[p],(i=Xh(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=nu.get(f))===void 0&&(a.raw=a,nu.set(f,e=a)),r=c}return t(e,...r)},sa=ia(_),DC=ia(Zn),MC=ia(Yn);var he;(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"})(he||(he={}));var su=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},re=class extends U{constructor(){super(...arguments),this.variant=he.body1}render(){return this.element?sa`
632
- <${na(this.element)}
631
+ `;var ru=Symbol.for(""),Yh=t=>{if(t?.r===ru)return t?._$litStatic$},ta=t=>({_$litStatic$:t,r:ru});var tu=new Map,ra=t=>(e,...r)=>{let n=r.length,i,s,a=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=r[p],(i=Yh(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=tu.get(f))===void 0&&(a.raw=a,tu.set(f,e=a)),r=c}return t(e,...r)},oa=ra(_),_C=ra(qn),TC=ra(Zn);var he;(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"})(he||(he={}));var ou=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},re=class extends U{constructor(){super(...arguments),this.variant=he.body1}render(){return this.element?oa`
632
+ <${ta(this.element)}
633
633
  part="text"
634
634
  class="ft-typography ft-typography--${this.variant}">
635
635
  <slot></slot>
636
- </${na(this.element)}>
637
- `:sa`
636
+ </${ta(this.element)}>
637
+ `:oa`
638
638
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
639
- `}};re.styles=[Md,Fd,Ud,$d,Bd,zd,Cn,Hd,Vd,Wd,Gd];su([y()],re.prototype,"element",void 0);su([y()],re.prototype,"variant",void 0);var au={"ft-typography":re};q(au);var Oe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},K=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 X(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 X(10),this.moveRipple=e=>{var r,n;let{x:i,y:s}=this.getCoordinates(e),a=(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-a.x:a.width/2),this.originY=Math.round(s!=null?s-a.y:a.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 _`
639
+ `}};re.styles=[Pd,Nd,Dd,Md,Fd,Ud,En,$d,Bd,zd,Hd];ou([y()],re.prototype,"element",void 0);ou([y()],re.prototype,"variant",void 0);var nu={"ft-typography":re};q(nu);var Oe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},K=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 X(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 X(10),this.moveRipple=e=>{var r,n;let{x:i,y:s}=this.getCoordinates(e),a=(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-a.x:a.width/2),this.originY=Math.round(s!=null?s-a.y:a.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 _`
640
640
  <style>
641
641
  .ft-ripple .ft-ripple--effect {
642
642
  left: ${this.originX}px;
@@ -647,7 +647,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
647
647
  <div class="ft-ripple--background"></div>
648
648
  <div class="ft-ripple--effect"></div>
649
649
  </div>
650
- `}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"),s=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",n,a),e.addEventListener("touchstart",i,a),e.addEventListener("touchmove",this.moveRipple,a),e.addEventListener("keydown",s,a),e.addEventListener("focus",this.startFocus,a),e.addEventListener("blur",this.endFocus,a),e.addEventListener("focusin",this.startFocus,a),e.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,a),e.removeEventListener("mousemove",this.moveRipple,a),e.removeEventListener("mouseleave",this.endHover,a),e.removeEventListener("mousedown",n,a),e.removeEventListener("touchstart",i,a),e.removeEventListener("touchmove",this.moveRipple,a),e.removeEventListener("keydown",s,a),e.removeEventListener("focus",this.startFocus,a),e.removeEventListener("blur",this.endFocus,a),e.removeEventListener("focusin",this.startFocus,a),e.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}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()}};K.elementDefinitions={};K.styles=Qd;Oe([y({type:Boolean})],K.prototype,"primary",void 0);Oe([y({type:Boolean})],K.prototype,"secondary",void 0);Oe([y({type:Boolean})],K.prototype,"unbounded",void 0);Oe([y({type:Boolean})],K.prototype,"activated",void 0);Oe([y({type:Boolean})],K.prototype,"selected",void 0);Oe([y({type:Boolean})],K.prototype,"disabled",void 0);Oe([k()],K.prototype,"hovered",void 0);Oe([k()],K.prototype,"focused",void 0);Oe([k()],K.prototype,"pressed",void 0);Oe([k()],K.prototype,"rippling",void 0);Oe([k()],K.prototype,"originX",void 0);Oe([k()],K.prototype,"originY",void 0);Oe([z(".ft-ripple")],K.prototype,"ripple",void 0);Oe([z(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);var lu={"ft-ripple":K};q(lu);var vo={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","",A.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},cu=T`
650
+ `}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"),s=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",n,a),e.addEventListener("touchstart",i,a),e.addEventListener("touchmove",this.moveRipple,a),e.addEventListener("keydown",s,a),e.addEventListener("focus",this.startFocus,a),e.addEventListener("blur",this.endFocus,a),e.addEventListener("focusin",this.startFocus,a),e.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,a),e.removeEventListener("mousemove",this.moveRipple,a),e.removeEventListener("mouseleave",this.endHover,a),e.removeEventListener("mousedown",n,a),e.removeEventListener("touchstart",i,a),e.removeEventListener("touchmove",this.moveRipple,a),e.removeEventListener("keydown",s,a),e.removeEventListener("focus",this.startFocus,a),e.removeEventListener("blur",this.endFocus,a),e.removeEventListener("focusin",this.startFocus,a),e.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}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()}};K.elementDefinitions={};K.styles=qd;Oe([y({type:Boolean})],K.prototype,"primary",void 0);Oe([y({type:Boolean})],K.prototype,"secondary",void 0);Oe([y({type:Boolean})],K.prototype,"unbounded",void 0);Oe([y({type:Boolean})],K.prototype,"activated",void 0);Oe([y({type:Boolean})],K.prototype,"selected",void 0);Oe([y({type:Boolean})],K.prototype,"disabled",void 0);Oe([k()],K.prototype,"hovered",void 0);Oe([k()],K.prototype,"focused",void 0);Oe([k()],K.prototype,"pressed",void 0);Oe([k()],K.prototype,"rippling",void 0);Oe([k()],K.prototype,"originX",void 0);Oe([k()],K.prototype,"originY",void 0);Oe([z(".ft-ripple")],K.prototype,"ripple",void 0);Oe([z(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);var iu={"ft-ripple":K};q(iu);var xo={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","",A.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},su=T`
651
651
  .ft-tooltip--container {
652
652
  display: block;
653
653
  }
@@ -665,28 +665,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
665
665
  box-sizing: border-box;
666
666
  overflow: hidden;
667
667
  width: max-content;
668
- max-width: ${vo.maxWidth};
668
+ max-width: ${xo.maxWidth};
669
669
  text-align: center;
670
- padding: ${vo.distance};
670
+ padding: ${xo.distance};
671
671
  }
672
672
 
673
673
  .ft-tooltip--content {
674
674
  padding: 4px 8px;
675
- border-radius: ${vo.borderRadiusS};
676
- background-color: ${vo.backgroundColor};
677
- color: ${vo.color};
675
+ border-radius: ${xo.borderRadiusS};
676
+ background-color: ${xo.backgroundColor};
677
+ color: ${xo.color};
678
678
  position: relative;
679
679
  word-break: break-word;
680
680
  }
681
- `;var Jh="ft-app-info",wt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};wt.eventName="authentication-change";var So=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};So.eventName="ui-locale-changed";var em={session:(t,e)=>{pe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>P.dispatchEvent(new wt(e.payload)),0))}},P=Ct.get({name:Jh,reducers:em,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,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var On=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},RO=se(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(P)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?c=>qt.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return On([y({type:Boolean})],e.prototype,"useLongDateFormat",void 0),On([y({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),On([ct({store:P.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),On([ct({store:P.name})],e.prototype,"uiLocale",void 0),e});var ir=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=P.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=P.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Tr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ir.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ir.await()}};var we=class extends Tr{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ye,this.cache=e?i.commonCache:new Ye}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 wn=class extends we{async listMySearches(){let{session:e}=P.getState();return Go(e,te.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var An=class extends we{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Rn=class extends we{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=P.getState().session;return!!e?.sessionAuthenticated}};var _n=class extends we{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=P.getState().session;return!!e?.sessionAuthenticated}};var tm="ft-user-assets",rm={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Fe).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;la(t,r,[...aa(t,r),i]),du(t,r,1,n),uu(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;la(t,r,aa(t,r).map(i=>i.id===n.id?n:i)),uu(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;la(t,r,aa(t,r).filter(s=>s.id!==i)),du(t,r,-1,n)}},pu={[Fe.SEARCHES]:"savedSearches",[Fe.BOOKMARKS]:"bookmarks",[Fe.BOOKS]:void 0,[Fe.COLLECTIONS]:void 0},aa=(t,e)=>{var r;let n=pu[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},la=(t,e,r)=>{let n=pu[e];n&&(t[n]=r)},du=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Fe.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},uu=(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)},xe=Ct.get({name:tm,reducers:rm,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Fe).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ca=class{constructor(e=new Rn,r=new _n){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new An,this.savedSearchesService=new wn,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();pe((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(),xe.actions.clearAssetCount(),xe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),xe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),xe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();xe.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();xe.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&xe.getState().assetCounts.allAsset[e]!==r.count&&xe.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&xe.getState().assetCounts.bookmarkByMap[e]!==r.count&&xe.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(xe.getState().assetCounts.bookmarkByMap).length!==0;e===Fe.BOOKMARKS&&r&&xe.actions.clearBookmarkCountByMap(),xe.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;xe.actions.bookmarks(r)}}},om=new ca;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=om);var da=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new da;var fu,Lr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},nm=Symbol("clearAfterUnitTest"),Tn=class extends Ho(we){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[fu]=()=>{this.defaultMessages={},this.cache=new Ye,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=P.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};pe(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 s=e.toLowerCase(),a=this.resolveContext(s);return new io((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).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 mt)&&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 Lr({loadedContexts:e})),this.dispatchEvent(new Lr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Lr({loadedContexts:[e]})),this.dispatchEvent(new Lr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>zo(0).then(()=>n()).catch(()=>null)))}};fu=nm;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 kr=window.FluidTopicsI18nService,Ln=window.FluidTopicsCustomI18nService;var ua=class{highlightHtml(e,r,n){rs(e,r,n)}};window.FluidTopicsHighlightHtmlService=new ua;var pa=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s,a;if(e==null)return"";try{return qt.format(e,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new pa;var Eo=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=P.getState()){var a;if(!r||s.length>0&&!s.some(c=>c.lang===r)){let c=i?.defaultLocales.defaultContentLocale;r=c?`${c.lang}-${c.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new st(n,e??20,i?.allLanguagesAllowed,r,s)}};var fa=class{urlToSearchRequest(e){return Eo.get().parse(e)}searchRequestToUrl(e){return Eo.get().serialize(e)}};window.FluidTopicsUrlService=new fa;var sr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};sr.eventName="before-location-change";var ar=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ar.eventName="change";var ha=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))}},hu=new ha;var kn=class t extends it{static build(){return new t(window.history,hu,()=>window.location,!1)}constructor(e,r,n,i){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a: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),pe(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new ar(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,c])=>{let d=new sr(new URL(typeof c=="string"?c:(c??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=r(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!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)}addBeforeLocationChangeListener(e){this.addEventListener(sr.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(sr.eventName,e)}addHistoryChangeListener(e){this.addEventListener(ar.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ar.eventName,e)}currentItem(){return Me(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 Me(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return Me(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 Me(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,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;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,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=kn.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),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var mu=T`
682
- `;function yu(t,e){let{authenticationRequired:r,session:n}=P.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var In=class extends Tr{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var ma=class t extends Ar{static build(e){return new t(P,e)}constructor(e,r){super(),this.store=e,this.cache=new Ye,this.withManualResources=!0,this.userLocaleService=new In,this.cleanSessionDebouncer=new X,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new X(500),this.apiProvider=r??(()=>ir.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(wt.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(wt.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",()=>yu(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}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 So(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)}setNoCustomCode(e){this.store.actions.noCustomCode(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)}userHasAnyRole(...e){return Hl(P.getState().session,...e)}},ya=ma.build();var lr=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 Co=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:s}of n){let a=i.deref(),c=s.deref();a===void 0||c===void 0||a.dispatchEvent(new lr(e.context,a,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 s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.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 ce=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Q=class extends dt{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.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=ya,this.contextRoot=new Co}render(){return _`
681
+ `;var Qh="ft-app-info",wt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};wt.eventName="authentication-change";var vo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};vo.eventName="ui-locale-changed";var Xh={session:(t,e)=>{pe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>N.dispatchEvent(new wt(e.payload)),0))}},N=Ct.get({name:Qh,reducers:Xh,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,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var Cn=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},vO=se(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(N)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?c=>qt.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Cn([y({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Cn([y({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Cn([ct({store:N.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),Cn([ct({store:N.name})],e.prototype,"uiLocale",void 0),e});var ir=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=N.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=N.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Tr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ir.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ir.await()}};var we=class extends Tr{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ye,this.cache=e?i.commonCache:new Ye}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 we{async listMySearches(){let{session:e}=N.getState();return Wo(e,te.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var wn=class extends we{async listMyBookmarks(){let e=N.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var An=class extends we{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=N.getState().session;return!!e?.sessionAuthenticated}};var Rn=class extends we{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=N.getState().session;return!!e?.sessionAuthenticated}};var Jh="ft-user-assets",em={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Fe).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;ia(t,r,[...na(t,r),i]),au(t,r,1,n),lu(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;ia(t,r,na(t,r).map(i=>i.id===n.id?n:i)),lu(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;ia(t,r,na(t,r).filter(s=>s.id!==i)),au(t,r,-1,n)}},cu={[Fe.SEARCHES]:"savedSearches",[Fe.BOOKMARKS]:"bookmarks",[Fe.BOOKS]:void 0,[Fe.COLLECTIONS]:void 0},na=(t,e)=>{var r;let n=cu[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},ia=(t,e,r)=>{let n=cu[e];n&&(t[n]=r)},au=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Fe.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},lu=(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)},xe=Ct.get({name:Jh,reducers:em,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Fe).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),sa=class{constructor(e=new An,r=new Rn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wn,this.savedSearchesService=new On,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=N.getState();pe((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(),xe.actions.clearAssetCount(),xe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),xe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),xe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();xe.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();xe.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&xe.getState().assetCounts.allAsset[e]!==r.count&&xe.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&xe.getState().assetCounts.bookmarkByMap[e]!==r.count&&xe.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(xe.getState().assetCounts.bookmarkByMap).length!==0;e===Fe.BOOKMARKS&&r&&xe.actions.clearBookmarkCountByMap(),xe.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;xe.actions.bookmarks(r)}}},tm=new sa;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=tm);var aa=class{addCommand(e,r=!1){N.commands.add(e,r)}consumeCommand(e){return N.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new aa;var du,Lr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},rm=Symbol("clearAfterUnitTest"),_n=class extends zo(we){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[du]=()=>{this.defaultMessages={},this.cache=new Ye,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=N.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};pe(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 s=e.toLowerCase(),a=this.resolveContext(s);return new io((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).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 mt)&&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 Lr({loadedContexts:e})),this.dispatchEvent(new Lr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Lr({loadedContexts:[e]})),this.dispatchEvent(new Lr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Bo(0).then(()=>n()).catch(()=>null)))}};du=rm;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends _n{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends _n{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var kr=window.FluidTopicsI18nService,Tn=window.FluidTopicsCustomI18nService;var la=class{highlightHtml(e,r,n){ts(e,r,n)}};window.FluidTopicsHighlightHtmlService=new la;var ca=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=N.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s,a;if(e==null)return"";try{return qt.format(e,(n=r?.locale)!==null&&n!==void 0?n:N.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new ca;var So=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=N.getState()){var a;if(!r||s.length>0&&!s.some(c=>c.lang===r)){let c=i?.defaultLocales.defaultContentLocale;r=c?`${c.lang}-${c.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new st(n,e??20,i?.allLanguagesAllowed,r,s)}};var da=class{urlToSearchRequest(e){return So.get().parse(e)}searchRequestToUrl(e){return So.get().serialize(e)}};window.FluidTopicsUrlService=new da;var sr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};sr.eventName="before-location-change";var ar=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ar.eventName="change";var ua=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))}},uu=new ua;var Ln=class t extends it{static build(){return new t(window.history,uu,()=>window.location,!1)}constructor(e,r,n,i){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a: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),pe(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new ar(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,c])=>{let d=new sr(new URL(typeof c=="string"?c:(c??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=r(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!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)}addBeforeLocationChangeListener(e){this.addEventListener(sr.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(sr.eventName,e)}addHistoryChangeListener(e){this.addEventListener(ar.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ar.eventName,e)}currentItem(){return Me(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 Me(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return Me(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 Me(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,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;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,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ln.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),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var pu=T`
682
+ `;function fu(t,e){let{authenticationRequired:r,session:n}=N.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var kn=class extends Tr{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var pa=class t extends Ar{static build(e){return new t(N,e)}constructor(e,r){super(),this.store=e,this.cache=new Ye,this.withManualResources=!0,this.userLocaleService=new kn,this.cleanSessionDebouncer=new X,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new X(500),this.apiProvider=r??(()=>ir.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(wt.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(wt.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",()=>fu(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}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 vo(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)}setNoCustomCode(e){this.store.actions.noCustomCode(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)}userHasAnyRole(...e){return $l(N.getState().session,...e)}},fa=pa.build();var lr=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 Eo=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:s}of n){let a=i.deref(),c=s.deref();a===void 0||c===void 0||a.dispatchEvent(new lr(e.context,a,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 s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.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 ce=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Q=class extends dt{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.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=fa,this.contextRoot=new Eo}render(){return _`
683
683
  <slot></slot>
684
- `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),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("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>kr.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())}};Q.elementDefinitions={};Q.styles=mu;ce([y()],Q.prototype,"baseUrl",void 0);ce([y()],Q.prototype,"tenantId",void 0);ce([y()],Q.prototype,"apiIntegrationIdentifier",void 0);ce([y()],Q.prototype,"apiIntegrationAppVersion",void 0);ce([y()],Q.prototype,"uiLocale",void 0);ce([ie(null)],Q.prototype,"availableUiLocales",void 0);ce([ie(null)],Q.prototype,"metadataConfiguration",void 0);ce([y({type:Boolean})],Q.prototype,"editorMode",void 0);ce([y({type:Boolean})],Q.prototype,"noCustom",void 0);ce([y({type:Boolean})],Q.prototype,"openExternalDocumentInNewTab",void 0);ce([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Q.prototype,"noCustomComponent",void 0);ce([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Q.prototype,"noCustomCode",void 0);ce([y({type:Boolean})],Q.prototype,"withManualResources",void 0);ce([y({type:Boolean})],Q.prototype,"navigatorOnline",void 0);ce([y({type:Boolean})],Q.prototype,"forcedOffline",void 0);ce([y({type:Boolean})],Q.prototype,"authenticationRequired",void 0);ce([ie([])],Q.prototype,"messageContexts",void 0);ce([ie(void 0)],Q.prototype,"session",void 0);var gu={"ft-app-context":Q};q(gu);var ga=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-]+$/)}},Ir=new ga;var am=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},wo=Symbol("i18nAttributes"),bu=Symbol("i18nListAttributes"),xu=Symbol("i18nProperties"),Nn=Symbol("i18nContexts"),Oo=Symbol("i18nUnsubs"),Nr=se(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(s){return s??this.useCustomMessageContexts?Ln:kr}i18n(s){let{context:a,key:c,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&c){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,c,...m)}return d}async awaitI18n(s){let{context:a,custom:c}=s;return a&&await this.getI18nService(c).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Ir.isI18nKey(s)){let[c,d]=s.split(".");return this.i18n({custom:!0,context:c,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,c,d)=>s.has(c)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,c;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[wo])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[bu])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(x=>p(h,f,x))})}updateI18nProperties(s){var a;(a=this[xu])===null||a===void 0||a.forEach((c,d)=>{s(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(s,a,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,c)}addI18nContext(s,a,c){let d=(typeof s=="string"?s:s.name).toLowerCase();c=typeof s=="string"?c:s.custom,this[Nn].set(d,{isCustomContext:c}),this[Oo].has(d)||this[Oo].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,a)}hasI18nContext(s){return this[Nn].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Nn].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(s=>s()),this[Oo].clear()}}return e=Nn,r=Oo,am([y({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Pn=class extends Nr(U){},Dn=class extends Nr(dt){};var ba=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Ir.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},lm=new ba;var vu=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:Se,converter:Ir,...e}),r[wo]=(i=r[wo])!==null&&i!==void 0?i:new Map,r[wo].set(n,t??{})};var Mn=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:kr}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),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 Su=T`
685
- `;var Pr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ue=class extends Dn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:F:_`
684
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),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("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>kr.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())}};Q.elementDefinitions={};Q.styles=pu;ce([y()],Q.prototype,"baseUrl",void 0);ce([y()],Q.prototype,"tenantId",void 0);ce([y()],Q.prototype,"apiIntegrationIdentifier",void 0);ce([y()],Q.prototype,"apiIntegrationAppVersion",void 0);ce([y()],Q.prototype,"uiLocale",void 0);ce([ie(null)],Q.prototype,"availableUiLocales",void 0);ce([ie(null)],Q.prototype,"metadataConfiguration",void 0);ce([y({type:Boolean})],Q.prototype,"editorMode",void 0);ce([y({type:Boolean})],Q.prototype,"noCustom",void 0);ce([y({type:Boolean})],Q.prototype,"openExternalDocumentInNewTab",void 0);ce([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Q.prototype,"noCustomComponent",void 0);ce([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Q.prototype,"noCustomCode",void 0);ce([y({type:Boolean})],Q.prototype,"withManualResources",void 0);ce([y({type:Boolean})],Q.prototype,"navigatorOnline",void 0);ce([y({type:Boolean})],Q.prototype,"forcedOffline",void 0);ce([y({type:Boolean})],Q.prototype,"authenticationRequired",void 0);ce([ie([])],Q.prototype,"messageContexts",void 0);ce([ie(void 0)],Q.prototype,"session",void 0);var hu={"ft-app-context":Q};q(hu);var ha=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-]+$/)}},Ir=new ha;var im=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Oo=Symbol("i18nAttributes"),mu=Symbol("i18nListAttributes"),yu=Symbol("i18nProperties"),In=Symbol("i18nContexts"),Co=Symbol("i18nUnsubs"),Pr=se(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(s){return s??this.useCustomMessageContexts?Tn:kr}i18n(s){let{context:a,key:c,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&c){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,c,...m)}return d}async awaitI18n(s){let{context:a,custom:c}=s;return a&&await this.getI18nService(c).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Ir.isI18nKey(s)){let[c,d]=s.split(".");return this.i18n({custom:!0,context:c,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,c,d)=>s.has(c)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,c;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[Oo])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[mu])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(x=>p(h,f,x))})}updateI18nProperties(s){var a;(a=this[yu])===null||a===void 0||a.forEach((c,d)=>{s(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(s,a,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,c)}addI18nContext(s,a,c){let d=(typeof s=="string"?s:s.name).toLowerCase();c=typeof s=="string"?c:s.custom,this[In].set(d,{isCustomContext:c}),this[Co].has(d)||this[Co].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,a)}hasI18nContext(s){return this[In].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[In].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Co].forEach(s=>s()),this[Co].clear()}}return e=In,r=Co,im([y({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Pn=class extends Pr(U){},Nn=class extends Pr(dt){};var ma=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Ir.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},sm=new ma;var gu=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:Se,converter:Ir,...e}),r[Oo]=(i=r[Oo])!==null&&i!==void 0?i:new Map,r[Oo].set(n,t??{})};var Dn=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?Tn:kr}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),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 bu=T`
685
+ `;var Nr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ue=class extends Nn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:F:_`
686
686
  <span class="ft-i18n">
687
687
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
688
688
  </span>
689
- `}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:""})}};Ue.elementDefinitions={};Ue.styles=Su;Pr([ct()],Ue.prototype,"editorMode",void 0);Pr([y()],Ue.prototype,"context",void 0);Pr([y()],Ue.prototype,"key",void 0);Pr([ie([])],Ue.prototype,"args",void 0);Pr([y()],Ue.prototype,"defaultMessage",void 0);Pr([k()],Ue.prototype,"editorMessage",void 0);var Eu={"ft-i18n":Ue};q(Eu);var je=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ae=class extends Pn{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 X,this.revealDebouncer=new X,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 _`
689
+ `}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:""})}};Ue.elementDefinitions={};Ue.styles=bu;Nr([ct()],Ue.prototype,"editorMode",void 0);Nr([y()],Ue.prototype,"context",void 0);Nr([y()],Ue.prototype,"key",void 0);Nr([ie([])],Ue.prototype,"args",void 0);Nr([y()],Ue.prototype,"defaultMessage",void 0);Nr([k()],Ue.prototype,"editorMessage",void 0);var xu={"ft-i18n":Ue};q(xu);var je=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ae=class extends Pn{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 X,this.revealDebouncer=new X,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 _`
690
690
  <div part="container"
691
691
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
692
692
  <slot part="slot"></slot>
@@ -701,19 +701,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
701
701
  </div>
702
702
  </div>
703
703
  </div>
704
- `}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&&ji(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 ${A.transitionDuration}, left ${A.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return fi(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};ae.elementDefinitions={"ft-typography":re};ae.styles=cu;je([vu()],ae.prototype,"text",void 0);je([y({type:Boolean})],ae.prototype,"manual",void 0);je([y({type:Boolean})],ae.prototype,"inline",void 0);je([yt()],ae.prototype,"delay",void 0);je([y()],ae.prototype,"position",void 0);je([ie([])],ae.prototype,"ignoreMatchingElements",void 0);je([oi()],ae.prototype,"slotNodes",void 0);je([z(".ft-tooltip--container")],ae.prototype,"container",void 0);je([z(".ft-tooltip")],ae.prototype,"tooltip",void 0);je([z(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);je([k()],ae.prototype,"visible",void 0);var Cu={"ft-tooltip":ae};q(Cu);var At;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(At||(At={}));var Fn;(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;"})(Fn||(Fn={}));var C;(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;"})(C||(C={}));var s_=new Map([...["abw"].map(t=>[t,C.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,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.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,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.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,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.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,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var a_={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Ao=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ve=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=F}render(){let e=this.variant&&Object.values(At).includes(this.variant)?this.variant:At.fluid_topics,r=e!==At.material||!!this.value;return _`
704
+ `}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&&Gi(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 ${A.transitionDuration}, left ${A.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return pi(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};ae.elementDefinitions={"ft-typography":re};ae.styles=su;je([gu()],ae.prototype,"text",void 0);je([y({type:Boolean})],ae.prototype,"manual",void 0);je([y({type:Boolean})],ae.prototype,"inline",void 0);je([yt()],ae.prototype,"delay",void 0);je([y()],ae.prototype,"position",void 0);je([ie([])],ae.prototype,"ignoreMatchingElements",void 0);je([ri()],ae.prototype,"slotNodes",void 0);je([z(".ft-tooltip--container")],ae.prototype,"container",void 0);je([z(".ft-tooltip")],ae.prototype,"tooltip",void 0);je([z(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);je([k()],ae.prototype,"visible",void 0);var vu={"ft-tooltip":ae};q(vu);var At;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(At||(At={}));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 C;(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;"})(C||(C={}));var JR=new Map([...["abw"].map(t=>[t,C.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,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.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,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.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,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.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,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var e_={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var wo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ve=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=F}render(){let e=this.variant&&Object.values(At).includes(this.variant)?this.variant:At.fluid_topics,r=e!==At.material||!!this.value;return _`
705
705
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
706
- ${li(this.resolvedIcon)}
706
+ ${ai(this.resolvedIcon)}
707
707
  <slot ?hidden=${r}></slot>
708
708
  </i>
709
- `}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 At.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case At.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(r=Fn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=Jd;Ao([y()],ve.prototype,"variant",void 0);Ao([y()],ve.prototype,"value",void 0);Ao([y({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);Ao([k()],ve.prototype,"resolvedIcon",void 0);Ao([z("slot")],ve.prototype,"slottedContent",void 0);var Ou={"ft-icon":ve};q(Ou);var cr=class extends U{render(){return _`
709
+ `}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 At.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case At.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(r=Mn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=Yd;wo([y()],ve.prototype,"variant",void 0);wo([y()],ve.prototype,"value",void 0);wo([y({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);wo([k()],ve.prototype,"resolvedIcon",void 0);wo([z("slot")],ve.prototype,"slottedContent",void 0);var Su={"ft-icon":ve};q(Su);var cr=class extends U{render(){return _`
710
710
  <div class="ft-loader">
711
711
  <div></div>
712
712
  <div></div>
713
713
  <div></div>
714
714
  <div></div>
715
715
  </div>
716
- `}};cr.styles=Xd;var wu={"ft-loader":cr};q(wu);var Ro=t=>t??F;var Z=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},$=class t extends Is(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-button--no-text":!this.hasTextContent,"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":bo},s=_`
716
+ `}};cr.styles=Zd;var Eu={"ft-loader":cr};q(Eu);var Ao=t=>t??F;var Z=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},$=class t extends ks(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-button--no-text":!this.hasTextContent,"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":go},s=_`
717
717
  <ft-ripple part="ripple"
718
718
  ?disabled=${this.isDisabled()}
719
719
  ?activated=${this.activated}
@@ -730,16 +730,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
730
730
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
731
731
  part="button"
732
732
  class="${Te(this.buttonClasses)}"
733
- aria-label="${Ro((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
733
+ aria-label="${Ao((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
734
734
  ?disabled=${this.isDisabled()}>
735
735
  ${s}
736
736
  </a>
737
737
  `:_`
738
738
  <button part="button"
739
739
  class="${Te(this.buttonClasses)}"
740
- aria-label="${Ro((n=this.ariaLabel)!==null&&n!==void 0?n:this.label)}"
741
- aria-haspopup="${Ro(this.ariaHasPopup)}"
742
- aria-pressed="${Ro(this.ariaPressed)}"
740
+ aria-label="${Ao((n=this.ariaLabel)!==null&&n!==void 0?n:this.label)}"
741
+ aria-haspopup="${Ao(this.ariaHasPopup)}"
742
+ aria-pressed="${Ao(this.ariaPressed)}"
743
743
  ?disabled=${this.isDisabled()}>
744
744
  ${s}
745
745
  </button>
@@ -754,7 +754,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
754
754
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
755
755
  `:_`
756
756
  <slot part="icon" name="icon"></slot>
757
- `}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)}};$.elementDefinitions={"ft-ripple":K,"ft-tooltip":ae,"ft-icon":ve,"ft-loader":cr,"ft-typography":re};$.styles=[ns,ru,no];$.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:$.labelsObserver.unobserve(e.target)}});Z([y({type:Boolean})],$.prototype,"primary",void 0);Z([y({type:Boolean})],$.prototype,"outlined",void 0);Z([y({type:Boolean})],$.prototype,"dense",void 0);Z([y({type:Boolean})],$.prototype,"round",void 0);Z([y({type:Boolean})],$.prototype,"disabled",void 0);Z([y()],$.prototype,"icon",void 0);Z([y()],$.prototype,"iconVariant",void 0);Z([y({type:Boolean})],$.prototype,"trailingIcon",void 0);Z([y()],$.prototype,"label",void 0);Z([y()],$.prototype,"type",void 0);Z([y()],$.prototype,"href",void 0);Z([y()],$.prototype,"target",void 0);Z([y({type:Boolean})],$.prototype,"loading",void 0);Z([y({attribute:"aria-label"})],$.prototype,"ariaLabel",void 0);Z([y()],$.prototype,"ariaHasPopup",void 0);Z([y({attribute:"aria-pressed"})],$.prototype,"ariaPressed",void 0);Z([y()],$.prototype,"tooltipPosition",void 0);Z([y({type:Boolean})],$.prototype,"hideTooltip",void 0);Z([y({type:Boolean})],$.prototype,"forceTooltip",void 0);Z([y({type:Boolean})],$.prototype,"activated",void 0);Z([z(".ft-button")],$.prototype,"button",void 0);Z([z(".ft-button--label")],$.prototype,"labelContainer",void 0);Z([k()],$.prototype,"hasTextContent",void 0);Z([z(".ft-button--label slot")],$.prototype,"slottedContent",void 0);Z([z("[part=tooltip]")],$.prototype,"tooltip",void 0);var Au={"ft-button":$};q(Au);var Ie={textColor:o.extend("--ft-checkbox-text-color","",A.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",O.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",A.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",A.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",A.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",A.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",A.colorError)},Ru=T`
757
+ `}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)}};$.elementDefinitions={"ft-ripple":K,"ft-tooltip":ae,"ft-icon":ve,"ft-loader":cr,"ft-typography":re};$.styles=[os,Jd,no];$.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:$.labelsObserver.unobserve(e.target)}});Z([y({type:Boolean})],$.prototype,"primary",void 0);Z([y({type:Boolean})],$.prototype,"outlined",void 0);Z([y({type:Boolean})],$.prototype,"dense",void 0);Z([y({type:Boolean})],$.prototype,"round",void 0);Z([y({type:Boolean})],$.prototype,"disabled",void 0);Z([y()],$.prototype,"icon",void 0);Z([y()],$.prototype,"iconVariant",void 0);Z([y({type:Boolean})],$.prototype,"trailingIcon",void 0);Z([y()],$.prototype,"label",void 0);Z([y()],$.prototype,"type",void 0);Z([y()],$.prototype,"href",void 0);Z([y()],$.prototype,"target",void 0);Z([y({type:Boolean})],$.prototype,"loading",void 0);Z([y({attribute:"aria-label"})],$.prototype,"ariaLabel",void 0);Z([y()],$.prototype,"ariaHasPopup",void 0);Z([y({attribute:"aria-pressed"})],$.prototype,"ariaPressed",void 0);Z([y()],$.prototype,"tooltipPosition",void 0);Z([y({type:Boolean})],$.prototype,"hideTooltip",void 0);Z([y({type:Boolean})],$.prototype,"forceTooltip",void 0);Z([y({type:Boolean})],$.prototype,"activated",void 0);Z([z(".ft-button")],$.prototype,"button",void 0);Z([z(".ft-button--label")],$.prototype,"labelContainer",void 0);Z([k()],$.prototype,"hasTextContent",void 0);Z([z(".ft-button--label slot")],$.prototype,"slottedContent",void 0);Z([z("[part=tooltip]")],$.prototype,"tooltip",void 0);var Cu={"ft-button":$};q(Cu);var Ie={textColor:o.extend("--ft-checkbox-text-color","",A.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",O.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",A.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",A.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",A.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",A.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",A.colorError)},Ou=T`
758
758
  * {
759
759
  box-sizing: border-box;
760
760
  }
@@ -856,7 +856,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
856
856
  .ft-checkbox ft-typography {
857
857
  padding-right: 2px;
858
858
  }
859
- `;var ft=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xa=class extends CustomEvent{constructor(e){super("change",{detail:e})}},me=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 _`
859
+ `;var ft=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ya=class extends CustomEvent{constructor(e){super("change",{detail:e})}},me=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 _`
860
860
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
861
861
  <ft-ripple part="checkbox-ripple"
862
862
  ?disabled=${this.disabled}
@@ -890,7 +890,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
890
890
  <path class="ft-checkbox--checkmark-path" fill="none"
891
891
  d="${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}"></path>
892
892
  </svg>
893
- `}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 xa(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)}};me.elementDefinitions={"ft-ripple":K,"ft-typography":re};me.styles=Ru;ft([y()],me.prototype,"name",void 0);ft([y()],me.prototype,"value",void 0);ft([y({type:Boolean,reflect:!0})],me.prototype,"checked",void 0);ft([y({type:Boolean})],me.prototype,"indeterminate",void 0);ft([y({type:Boolean})],me.prototype,"disabled",void 0);ft([y({type:Boolean})],me.prototype,"error",void 0);ft([z(".ft-checkbox")],me.prototype,"container",void 0);ft([z("ft-ripple")],me.prototype,"ripple",void 0);ft([z("input")],me.prototype,"input",void 0);var _u={"ft-checkbox":me};q(_u);var Rt={textColor:o.extend("--ft-radio-text-color","",A.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",O.fontSize),colorPrimary:o.external(A.colorPrimary,"Design system"),colorOnPrimary:o.external(A.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",A.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(A.colorOnSurfaceDisabled,"Design system")},Tu=T`
893
+ `}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 ya(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)}};me.elementDefinitions={"ft-ripple":K,"ft-typography":re};me.styles=Ou;ft([y()],me.prototype,"name",void 0);ft([y()],me.prototype,"value",void 0);ft([y({type:Boolean,reflect:!0})],me.prototype,"checked",void 0);ft([y({type:Boolean})],me.prototype,"indeterminate",void 0);ft([y({type:Boolean})],me.prototype,"disabled",void 0);ft([y({type:Boolean})],me.prototype,"error",void 0);ft([z(".ft-checkbox")],me.prototype,"container",void 0);ft([z("ft-ripple")],me.prototype,"ripple",void 0);ft([z("input")],me.prototype,"input",void 0);var wu={"ft-checkbox":me};q(wu);var Rt={textColor:o.extend("--ft-radio-text-color","",A.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",O.fontSize),colorPrimary:o.external(A.colorPrimary,"Design system"),colorOnPrimary:o.external(A.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",A.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(A.colorOnSurfaceDisabled,"Design system")},Au=T`
894
894
  * {
895
895
  box-sizing: border-box;
896
896
  }
@@ -979,7 +979,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
979
979
  .ft-radio ft-typography {
980
980
  padding-right: 2px;
981
981
  }
982
- `;var _t=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Un=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},de=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 _`
982
+ `;var _t=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Fn=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},de=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 _`
983
983
  <div class="${Te(this.radioClasses)}"
984
984
  @click=${this.onClick}>
985
985
  <div class="ft-radio--box-container">
@@ -1005,7 +1005,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1005
1005
  </ft-typography>
1006
1006
  </label>
1007
1007
  </div>
1008
- `}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 Un(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 Un(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())}};de.elementDefinitions={"ft-ripple":K,"ft-typography":re};de.styles=Tu;_t([y()],de.prototype,"name",void 0);_t([y()],de.prototype,"value",void 0);_t([y({type:Boolean,reflect:!0})],de.prototype,"checked",void 0);_t([y({attribute:"aria-checked",reflect:!0})],de.prototype,"ariaChecked",void 0);_t([y({type:Boolean})],de.prototype,"disabled",void 0);_t([z(".ft-radio")],de.prototype,"container",void 0);_t([z("ft-ripple")],de.prototype,"ripple",void 0);_t([z("input")],de.prototype,"input",void 0);var Lu=T`
1008
+ `}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 Fn(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 Fn(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())}};de.elementDefinitions={"ft-ripple":K,"ft-typography":re};de.styles=Au;_t([y()],de.prototype,"name",void 0);_t([y()],de.prototype,"value",void 0);_t([y({type:Boolean,reflect:!0})],de.prototype,"checked",void 0);_t([y({attribute:"aria-checked",reflect:!0})],de.prototype,"ariaChecked",void 0);_t([y({type:Boolean})],de.prototype,"disabled",void 0);_t([z(".ft-radio")],de.prototype,"container",void 0);_t([z("ft-ripple")],de.prototype,"ripple",void 0);_t([z("input")],de.prototype,"input",void 0);var Ru=T`
1009
1009
  :host {
1010
1010
  display: block;
1011
1011
  }
@@ -1013,12 +1013,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1013
1013
  :host(:focus-visible) {
1014
1014
  outline: none;
1015
1015
  }
1016
- `;var _o=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ne=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 _`
1016
+ `;var Ro=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Pe=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 _`
1017
1017
  <slot @slotchange=${this.onSlotChange}
1018
1018
  @change=${this.onChange}
1019
1019
  @keydown=${this.onKeyDown}
1020
1020
  ></slot>
1021
- `}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()}};Ne.elementDefinitions={};Ne.styles=Lu;_o([y()],Ne.prototype,"name",void 0);_o([y({reflect:!0,attribute:"role"})],Ne.prototype,"role",void 0);_o([y({reflect:!0,attribute:"aria-labelledby"})],Ne.prototype,"ariaLabelledBy",void 0);_o([ri()],Ne.prototype,"assignedElements",void 0);_o([k()],Ne.prototype,"currentSelectedIndex",void 0);var ku={"ft-radio":de,"ft-radio-group":Ne};q(ku);var ye=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},va={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},J=class extends En(Nr($s(U)),va){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 X(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 _`
1021
+ `}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()}};Pe.elementDefinitions={};Pe.styles=Ru;Ro([y()],Pe.prototype,"name",void 0);Ro([y({reflect:!0,attribute:"role"})],Pe.prototype,"role",void 0);Ro([y({reflect:!0,attribute:"aria-labelledby"})],Pe.prototype,"ariaLabelledBy",void 0);Ro([ti()],Pe.prototype,"assignedElements",void 0);Ro([k()],Pe.prototype,"currentSelectedIndex",void 0);var _u={"ft-radio":de,"ft-radio-group":Pe};q(_u);var ye=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ga={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},J=class extends Sn(Pr(Us(U)),ga){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 X(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 _`
1022
1022
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1023
1023
  ${this.parent==null?null:_`
1024
1024
  <div tabindex="0"
@@ -1086,7 +1086,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1086
1086
  @change=${r=>this.optionsChanged(r,e)}>
1087
1087
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1088
1088
  </ft-radio>
1089
- `}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)})}};J.elementDefinitions={"ft-button":$,"ft-ripple":K,"ft-typography":re,"ft-checkbox":me,"ft-icon":ve,"ft-radio":de};J.styles=ou;ye([y({type:String})],J.prototype,"filterId",void 0);ye([y({type:Object})],J.prototype,"parent",void 0);ye([y({type:Array,hasChanged:Se})],J.prototype,"options",void 0);ye([y({type:Boolean})],J.prototype,"multivalued",void 0);ye([y({type:Boolean})],J.prototype,"disabled",void 0);ye([y({type:Boolean})],J.prototype,"hideSelectedOptions",void 0);ye([y({type:Boolean})],J.prototype,"displayCount",void 0);ye([y({type:Boolean})],J.prototype,"preventNavigation",void 0);ye([y({type:String})],J.prototype,"filter",void 0);ye([y({type:String})],J.prototype,"moreValuesButtonLabel",void 0);ye([y({type:String})],J.prototype,"noValuesLabel",void 0);ye([y()],J.prototype,"filteredOptionsNumberAriaNotification",void 0);ye([yt()],J.prototype,"displayedValuesLimit",void 0);ye([z(".ft-filter-level--container")],J.prototype,"container",void 0);ye([k()],J.prototype,"radios",void 0);ye([k()],J.prototype,"displayedPages",void 0);ye([k()],J.prototype,"filteredOptions",void 0);var Tt={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",A.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(A.colorSurface,"Design system")},Iu=T`
1089
+ `}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)})}};J.elementDefinitions={"ft-button":$,"ft-ripple":K,"ft-typography":re,"ft-checkbox":me,"ft-icon":ve,"ft-radio":de};J.styles=eu;ye([y({type:String})],J.prototype,"filterId",void 0);ye([y({type:Object})],J.prototype,"parent",void 0);ye([y({type:Array,hasChanged:Se})],J.prototype,"options",void 0);ye([y({type:Boolean})],J.prototype,"multivalued",void 0);ye([y({type:Boolean})],J.prototype,"disabled",void 0);ye([y({type:Boolean})],J.prototype,"hideSelectedOptions",void 0);ye([y({type:Boolean})],J.prototype,"displayCount",void 0);ye([y({type:Boolean})],J.prototype,"preventNavigation",void 0);ye([y({type:String})],J.prototype,"filter",void 0);ye([y({type:String})],J.prototype,"moreValuesButtonLabel",void 0);ye([y({type:String})],J.prototype,"noValuesLabel",void 0);ye([y()],J.prototype,"filteredOptionsNumberAriaNotification",void 0);ye([yt()],J.prototype,"displayedValuesLimit",void 0);ye([z(".ft-filter-level--container")],J.prototype,"container",void 0);ye([k()],J.prototype,"radios",void 0);ye([k()],J.prototype,"displayedPages",void 0);ye([k()],J.prototype,"filteredOptions",void 0);var Tt={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",A.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(A.colorSurface,"Design system")},Tu=T`
1090
1090
  .ft-snap-scroll {
1091
1091
  box-sizing: border-box;
1092
1092
  position: relative;
@@ -1211,7 +1211,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1211
1211
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1212
1212
  background-color: ${Tt.colorSurface};
1213
1213
  }
1214
- `;var rt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Sa=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ue=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 X(200),this.updateScrollDebouncer=new X(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":bo}),r=this.controls&&this.withScroll;return _`
1214
+ `;var rt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ba=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ue=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 X(200),this.updateScrollDebouncer=new X(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":go}),r=this.controls&&this.withScroll;return _`
1215
1215
  <div part="container" class="${e}">
1216
1216
  <ft-button
1217
1217
  class="ft-snap-scroll--previous"
@@ -1235,7 +1235,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1235
1235
  @click=${this.next}
1236
1236
  ></ft-button>
1237
1237
  </div>
1238
- `}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 Sa(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)}};ue.elementDefinitions={"ft-button":$};ue.styles=Iu;rt([y({type:Boolean})],ue.prototype,"horizontal",void 0);rt([y({type:Boolean})],ue.prototype,"hideScrollbar",void 0);rt([y({type:Boolean})],ue.prototype,"controls",void 0);rt([y({type:Boolean})],ue.prototype,"limitSize",void 0);rt([k()],ue.prototype,"elements",void 0);rt([k()],ue.prototype,"currentElement",void 0);rt([k()],ue.prototype,"withScroll",void 0);rt([k()],ue.prototype,"startReached",void 0);rt([k()],ue.prototype,"endReached",void 0);rt([z(".ft-snap-scroll--content")],ue.prototype,"contentSlot",void 0);var Nu={"ft-snap-scroll":ue};q(Nu);var Ae={colorOutline:o.external(A.colorOutline,"Design system"),colorOnSurface:o.external(A.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(A.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(A.colorPrimary,"Design system"),colorSurface:o.external(A.colorSurface,"Design system"),transitionDuration:o.external(A.transitionDuration,"Design system"),transitionTimingFunction:o.external(A.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",A.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",O.fontSize,"16px")},Pu=[Cn,is,T`
1238
+ `}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 ba(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)}};ue.elementDefinitions={"ft-button":$};ue.styles=Tu;rt([y({type:Boolean})],ue.prototype,"horizontal",void 0);rt([y({type:Boolean})],ue.prototype,"hideScrollbar",void 0);rt([y({type:Boolean})],ue.prototype,"controls",void 0);rt([y({type:Boolean})],ue.prototype,"limitSize",void 0);rt([k()],ue.prototype,"elements",void 0);rt([k()],ue.prototype,"currentElement",void 0);rt([k()],ue.prototype,"withScroll",void 0);rt([k()],ue.prototype,"startReached",void 0);rt([k()],ue.prototype,"endReached",void 0);rt([z(".ft-snap-scroll--content")],ue.prototype,"contentSlot",void 0);var Lu={"ft-snap-scroll":ue};q(Lu);var Ae={colorOutline:o.external(A.colorOutline,"Design system"),colorOnSurface:o.external(A.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(A.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(A.colorPrimary,"Design system"),colorSurface:o.external(A.colorSurface,"Design system"),transitionDuration:o.external(A.transitionDuration,"Design system"),transitionTimingFunction:o.external(A.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",A.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",O.fontSize,"16px")},ku=[En,ns,T`
1239
1239
  :host {
1240
1240
  display: flex;
1241
1241
  max-height: 100%;
@@ -1352,7 +1352,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1352
1352
  slot:not([name]) {
1353
1353
  display: none;
1354
1354
  }
1355
- `];var Y=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ea=class extends CustomEvent{constructor(e){super("change",{detail:e})}},W=class extends En(U,va){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 X(300),this.changeDebouncer=new X(10),this.lastDispatchedValues=[]}get flatOptions(){return Ft(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return Ft(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 _`
1355
+ `];var Y=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xa=class extends CustomEvent{constructor(e){super("change",{detail:e})}},W=class extends Sn(U,ga){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 X(300),this.changeDebouncer=new X(10),this.lastDispatchedValues=[]}get flatOptions(){return Ft(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return Ft(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 _`
1356
1356
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1357
1357
  part="container">
1358
1358
  ${!this.label&&!e?null:_`
@@ -1436,9 +1436,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1436
1436
  noValuesLabel="${this.noValuesLabel}"
1437
1437
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
1438
1438
  ></ft-filter-level>
1439
- `}goBack(e){this.slideOut=e.detail.value,jr(()=>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,jr(()=>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(){jr(()=>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(s=>s.value===e.detail.value);n.selected=!n.selected;let i=s=>{var a;s!==n&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.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;pe(this.lastDispatchedValues,e)||(this.dispatchEvent(new Ea(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)}};W.elementDefinitions={"ft-button":$,"ft-filter-level":J,"ft-snap-scroll":ue,"ft-typography":re};W.styles=Pu;Y([y({type:String})],W.prototype,"id",void 0);Y([y({type:String})],W.prototype,"label",void 0);Y([y({type:String})],W.prototype,"filterPlaceHolder",void 0);Y([y({type:String})],W.prototype,"clearButtonLabel",void 0);Y([y({type:String})],W.prototype,"moreValuesButtonLabel",void 0);Y([y({type:String})],W.prototype,"noValuesLabel",void 0);Y([ie([])],W.prototype,"options",void 0);Y([y({type:Boolean})],W.prototype,"multivalued",void 0);Y([y({type:Boolean})],W.prototype,"disabled",void 0);Y([y({type:Boolean})],W.prototype,"raiseSelectedOptions",void 0);Y([y({type:Boolean})],W.prototype,"displayCount",void 0);Y([yt()],W.prototype,"displayedValuesLimit",void 0);Y([ie(void 0)],W.prototype,"filteredOptionsNumberAriaNotification",void 0);Y([y({type:Boolean})],W.prototype,"hideClearButton",void 0);Y([z(".ft-filter--slot")],W.prototype,"slotElement",void 0);Y([z(".ft-filter--container")],W.prototype,"container",void 0);Y([z(".ft-filter--values")],W.prototype,"valuesContainer",void 0);Y([z(".ft-filter--levels")],W.prototype,"levelsContainer",void 0);Y([k()],W.prototype,"lastLevelHasHiddenvalues",void 0);Y([z(".ft-filter--filter input")],W.prototype,"filterInput",void 0);Y([ti(".ft-filter--levels ft-filter-level")],W.prototype,"levels",void 0);Y([k()],W.prototype,"withScroll",void 0);Y([k()],W.prototype,"filter",void 0);Y([k()],W.prototype,"slideIn",void 0);Y([k()],W.prototype,"slideOut",void 0);var Dr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ke=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _`
1439
+ `}goBack(e){this.slideOut=e.detail.value,jr(()=>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,jr(()=>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(){jr(()=>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(s=>s.value===e.detail.value);n.selected=!n.selected;let i=s=>{var a;s!==n&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.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;pe(this.lastDispatchedValues,e)||(this.dispatchEvent(new xa(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)}};W.elementDefinitions={"ft-button":$,"ft-filter-level":J,"ft-snap-scroll":ue,"ft-typography":re};W.styles=ku;Y([y({type:String})],W.prototype,"id",void 0);Y([y({type:String})],W.prototype,"label",void 0);Y([y({type:String})],W.prototype,"filterPlaceHolder",void 0);Y([y({type:String})],W.prototype,"clearButtonLabel",void 0);Y([y({type:String})],W.prototype,"moreValuesButtonLabel",void 0);Y([y({type:String})],W.prototype,"noValuesLabel",void 0);Y([ie([])],W.prototype,"options",void 0);Y([y({type:Boolean})],W.prototype,"multivalued",void 0);Y([y({type:Boolean})],W.prototype,"disabled",void 0);Y([y({type:Boolean})],W.prototype,"raiseSelectedOptions",void 0);Y([y({type:Boolean})],W.prototype,"displayCount",void 0);Y([yt()],W.prototype,"displayedValuesLimit",void 0);Y([ie(void 0)],W.prototype,"filteredOptionsNumberAriaNotification",void 0);Y([y({type:Boolean})],W.prototype,"hideClearButton",void 0);Y([z(".ft-filter--slot")],W.prototype,"slotElement",void 0);Y([z(".ft-filter--container")],W.prototype,"container",void 0);Y([z(".ft-filter--values")],W.prototype,"valuesContainer",void 0);Y([z(".ft-filter--levels")],W.prototype,"levelsContainer",void 0);Y([k()],W.prototype,"lastLevelHasHiddenvalues",void 0);Y([z(".ft-filter--filter input")],W.prototype,"filterInput",void 0);Y([ei(".ft-filter--levels ft-filter-level")],W.prototype,"levels",void 0);Y([k()],W.prototype,"withScroll",void 0);Y([k()],W.prototype,"filter",void 0);Y([k()],W.prototype,"slideIn",void 0);Y([k()],W.prototype,"slideOut",void 0);var Dr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ke=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _`
1440
1440
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1441
- `}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}))}};Ke.elementDefinitions={};Dr([y({type:String})],Ke.prototype,"label",void 0);Dr([y({type:Object,converter:t=>t})],Ke.prototype,"value",void 0);Dr([y({type:Boolean,reflect:!0})],Ke.prototype,"selected",void 0);Dr([y({type:Object})],Ke.prototype,"subOptions",void 0);Dr([ie({})],Ke.prototype,"renderOption",void 0);Dr([z(".ft-filter-option--slot")],Ke.prototype,"slotElement",void 0);var Du={"ft-filter":W,"ft-filter-option":Ke};q(Du);var cm={headerColor:o.extend("--ft-search-period-filter-header-color","",A.colorOnSurface)},Mu=T`
1441
+ `}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}))}};Ke.elementDefinitions={};Dr([y({type:String})],Ke.prototype,"label",void 0);Dr([y({type:Object,converter:t=>t})],Ke.prototype,"value",void 0);Dr([y({type:Boolean,reflect:!0})],Ke.prototype,"selected",void 0);Dr([y({type:Object})],Ke.prototype,"subOptions",void 0);Dr([ie({})],Ke.prototype,"renderOption",void 0);Dr([z(".ft-filter-option--slot")],Ke.prototype,"slotElement",void 0);var Iu={"ft-filter":W,"ft-filter-option":Ke};q(Iu);var am={headerColor:o.extend("--ft-search-period-filter-header-color","",A.colorOnSurface)},Pu=T`
1442
1442
  [part="container"] {
1443
1443
  flex-grow: 1;
1444
1444
  display: flex;
@@ -1463,7 +1463,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1463
1463
  flex-shrink: 0;
1464
1464
  padding: 0 10px;
1465
1465
  margin-bottom: 8px;
1466
- color: ${cm.headerColor};
1466
+ color: ${am.headerColor};
1467
1467
  }
1468
1468
 
1469
1469
  [part="label"] {
@@ -1475,7 +1475,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1475
1475
  ${V(O.fontWeight,"bold")};
1476
1476
  }
1477
1477
 
1478
- `;var Ca;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Ca||(Ca={}));var $n=class t extends Event{constructor(){super(t.eventName)}};$n.eventName="search-context-clear-all-filters";var Oa=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Aa=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},Fu=Symbol("registerInterval"),wa=Symbol("registerAttempts"),dm=40,um=se(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,a;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[wa]=0,this.tryToRegisterToContext(),this[Fu]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[wa]>dm?window.clearInterval(this[Fu]):(this[wa]++,this.dispatchEvent(new Aa(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Oa([k()],e.prototype,"stateManager",void 0),Oa([k({hasChanged:Se})],e.prototype,"neededSearchRequests",void 0),Oa([y()],e.prototype,"searchRegistrationId",void 0),e}),Bn=class extends um(dt){};var Lt=Mn.build("designedSearchPeriodFilter"),Uu={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 kt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Re=class extends Nr(Bn){constructor(){super(),this.metadataDescriptors=[],this.dateFilter=void 0,this.addI18nContext(Lt,Uu),this.addStore(P)}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 _`
1478
+ `;var va;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(va||(va={}));var Un=class t extends Event{constructor(){super(t.eventName)}};Un.eventName="search-context-clear-all-filters";var Sa=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ca=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},Nu=Symbol("registerInterval"),Ea=Symbol("registerAttempts"),lm=40,cm=se(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,a;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[Ea]=0,this.tryToRegisterToContext(),this[Nu]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Ea]>lm?window.clearInterval(this[Nu]):(this[Ea]++,this.dispatchEvent(new Ca(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Sa([k()],e.prototype,"stateManager",void 0),Sa([k({hasChanged:Se})],e.prototype,"neededSearchRequests",void 0),Sa([y()],e.prototype,"searchRegistrationId",void 0),e}),$n=class extends cm(dt){};var Lt=Dn.build("designedSearchPeriodFilter"),Du={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 kt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Re=class extends Pr($n){constructor(){super(),this.metadataDescriptors=[],this.dateFilter=void 0,this.addI18nContext(Lt,Du),this.addStore(N)}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 _`
1479
1479
  <div part="container">
1480
1480
  <div part="header">
1481
1481
  <ft-typography variant="overline" part="label" id="label">
@@ -1500,7 +1500,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1500
1500
  <ft-radio ?checked=${((i=this.dateFilter)===null||i===void 0?void 0:i.type)=="LAST_YEAR"} value="LAST_YEAR">${Lt.messages.LAST_YEAR()}
1501
1501
  </ft-radio>`:F}
1502
1502
  </ft-radio-group>
1503
- </div>`}setPeriodFilter(e){var r,n;let i=bt[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"?Lt.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}};Re.elementDefinitions={"ft-radio-group":Ne,"ft-radio":de,"ft-typography":re};Re.styles=Mu;kt([y({type:String})],Re.prototype,"key",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAWeek",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAMonth",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAQuarter",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAYear",void 0);kt([ct({store:"search",selector:t=>t.request.metadataFilters})],Re.prototype,"filters",void 0);kt([ct({store:P.name,selector:t=>{var e,r;return(r=(e=t.metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&r!==void 0?r:[]}})],Re.prototype,"metadataDescriptors",void 0);kt([y({attribute:!1})],Re.prototype,"dateFilter",void 0);var $u={"ft-search-period-filter":Re};q($u);})();
1503
+ </div>`}setPeriodFilter(e){var r,n;let i=bt[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"?Lt.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}};Re.elementDefinitions={"ft-radio-group":Pe,"ft-radio":de,"ft-typography":re};Re.styles=Pu;kt([y({type:String})],Re.prototype,"key",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAWeek",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAMonth",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAQuarter",void 0);kt([y({type:Boolean})],Re.prototype,"lessThanAYear",void 0);kt([ct({store:"search",selector:t=>t.request.metadataFilters})],Re.prototype,"filters",void 0);kt([ct({store:N.name,selector:t=>{var e,r;return(r=(e=t.metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&r!==void 0?r:[]}})],Re.prototype,"metadataDescriptors",void 0);kt([y({attribute:!1})],Re.prototype,"dateFilter",void 0);var Mu={"ft-search-period-filter":Re};q(Mu);})();
1504
1504
  /*! Bundled license information:
1505
1505
 
1506
1506
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: