@fluid-topics/ft-reader-search-in-document 2.2.36 → 2.2.37

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 J0=Object.defineProperty;var u=(t,e,r)=>()=>{if(r)throw r[0];try{return t&&(e=t(t=0)),e}catch(o){throw r=[o],o}};var G=(t,e)=>{for(var r in e)J0(t,r,{get:e[r],enumerable:!0})};var $p=u(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(S,v){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=v.prototype.attributeChangedCallback,N=new Set(v.observedAttributes||[]);y(v,N,R);let q={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(S,q),this._definitionsByClass.set(v,q);let ue=r.call(o,S);ue||(ue=m(S),e.call(o,S,ue)),this===window.customElements&&(a.set(v,q),q.standInClass=ue);let Ae=this._awaitingUpgrade.get(S);if(Ae){this._awaitingUpgrade.delete(S);for(let se of Ae)s.delete(se),A(se,q,!0)}let V=this._whenDefinedPromises.get(S);return V!==void 0&&(V.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){I.push(this),o.upgrade.apply(o,arguments),I.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let v=this._getDefinition(S);if(v!==void 0)return Promise.resolve(v.elementClass);let R=this._whenDefinedPromises.get(S);return R===void 0&&(R={},R.promise=new Promise(N=>R.resolve=N),this._whenDefinedPromises.set(S,R)),R.promise}_upgradeWhenDefined(S,v,R){let N=this._awaitingUpgrade.get(v);N||this._awaitingUpgrade.set(v,N=new Set),R?N.add(S):N.delete(S)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let R=a.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),n.set(v,R),v},window.HTMLElement.prototype=t.prototype;let f=S=>S===document||S instanceof ShadowRoot,g=S=>{let v=S.getRootNode();if(!f(v)){let R=I[I.length-1];if(R instanceof CustomElementRegistry)return R;v=R.getRootNode(),f(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},m=S=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let N=g(R)||window.customElements,q=N._getDefinition(S);return q?A(R,q):s.set(R,N),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},y=(S,v,R)=>{if(v.size===0||R===void 0)return;let N=S.prototype.setAttribute;N&&(S.prototype.setAttribute=function(Ae,V){let se=Ae.toLowerCase();if(v.has(se)){let De=this.getAttribute(se);N.call(this,se,V),R.call(this,se,De,V)}else N.call(this,se,V)});let q=S.prototype.removeAttribute;q&&(S.prototype.removeAttribute=function(Ae){let V=Ae.toLowerCase();if(v.has(V)){let se=this.getAttribute(V);q.call(this,V),R.call(this,V,se,null)}else q.call(this,V)});let ue=S.prototype.toggleAttribute;ue&&(S.prototype.toggleAttribute=function(Ae,V){let se=Ae.toLowerCase();if(v.has(se)){let De=this.getAttribute(se);ue.call(this,se,V);let tr=this.getAttribute(se);R.call(this,se,De,tr)}else ue.call(this,se,V)})},E=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):E(v)},A=(S,v,R=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),n.set(S,v),d=S;try{new v.elementClass}catch{E(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(N=>{S.hasAttribute(N)&&v.attributeChangedCallback.call(S,N,null,S.getAttribute(N))}),R&&v.connectedCallback&&S.isConnected&&v.connectedCallback.call(S)},F=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let v=F.apply(this,arguments);return S.customElements&&(v.customElements=S.customElements),v};let I=[document],U=(S,v,R=void 0)=>{let N=(R?Object.getPrototypeOf(R):S.prototype)[v];S.prototype[v]=function(){I.push(this);let q=N.apply(R||this,arguments);return q!==void 0&&l.set(q,this),I.pop(),q}};U(ShadowRoot,"createElement",document),U(ShadowRoot,"importNode",document),U(Element,"insertAdjacentHTML");let H=(S,v)=>{let R=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...R,set(N){I.push(this),R.set.call(this,N),I.pop()}})};if(H(Element,"innerHTML"),H(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Ae){let V=v.call(this,...Ae);return S.set(V,this),V},R.forEach(Ae=>{let V=window.ElementInternals.prototype,se=V[Ae];V[Ae]=function(...De){let tr=S.get(this);if(n.get(tr).formAssociated===!0)return se?.call(this,...De);throw new DOMException(`Failed to execute ${se} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(V){super(...V),this._elements=V}get value(){return this._elements.find(V=>V.checked===!0)?.value||""}}class q{constructor(V){let se=new Map;V.forEach((De,tr)=>{let Ua=De.getAttribute("name"),Mp=se.get(Ua)||[];this[+tr]=De,Mp.push(De),se.set(Ua,Mp)}),this.length=V.length,se.forEach((De,tr)=>{De&&(De.length===1?this[tr]=De[0]:this[tr]=new N(De))})}namedItem(V){return this[V]}}let ue=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Ae=ue.get.call(this,[]),V=[];for(let se of Ae){let De=n.get(se);(!De||De.formAssociated===!0)&&V.push(se)}return new q(V)}})}}});var Bp=u(()=>{"use strict";$p();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,n)=>{var s;if(o!==null)try{e.bind(window.customElements)(r,o,n)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},n):console.info(r,o,n,a)}}}});var Hn,Mi,za,Up,Zo,eo,O,$i,Wn,Va=u(()=>{Hn=globalThis,Mi=Hn.ShadowRoot&&(Hn.ShadyCSS===void 0||Hn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,za=Symbol(),Up=new WeakMap,Zo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==za)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(Mi&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Up.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Up.set(r,e))}return e}toString(){return this.cssText}},eo=t=>new Zo(typeof t=="string"?t:t+"",void 0,za),O=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,n,s)=>o+(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.")})(n)+t[s+1],t[0]);return new Zo(r,t,za)},$i=(t,e)=>{if(Mi)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=Hn.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},Wn=Mi?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return eo(r)})(t):t});var eS,tS,rS,oS,iS,nS,Gn,zp,sS,aS,Bi,Qo,Ui,Vp,At,zi=u(()=>{Va();Va();({is:eS,defineProperty:tS,getOwnPropertyDescriptor:rS,getOwnPropertyNames:oS,getOwnPropertySymbols:iS,getPrototypeOf:nS}=Object),Gn=globalThis,zp=Gn.trustedTypes,sS=zp?zp.emptyScript:"",aS=Gn.reactiveElementPolyfillSupport,Bi=(t,e)=>t,Qo={toAttribute(t,e){switch(e){case Boolean:t=t?sS: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}},Ui=(t,e)=>!eS(t,e),Vp={attribute:!0,type:String,converter:Qo,reflect:!1,useDefault:!1,hasChanged:Ui};Symbol.metadata??=Symbol("metadata"),Gn.litPropertyMetadata??=new WeakMap;At=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=Vp){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 o=Symbol(),n=this.getPropertyDescriptor(e,o,r);n!==void 0&&tS(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:s}=rS(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){let l=n?.call(this);s?.call(this,a),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Vp}static _$Ei(){if(this.hasOwnProperty(Bi("elementProperties")))return;let e=nS(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Bi("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bi("properties"))){let r=this.properties,o=[...oS(r),...iS(r)];for(let n of o)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,n]of r)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let n=this._$Eu(r,o);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let n of o)r.unshift(Wn(n))}else e!==void 0&&r.push(Wn(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o: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 o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $i(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,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,o);if(n!==void 0&&o.reflect===!0){let s=(o.converter?.toAttribute!==void 0?o.converter:Qo).toAttribute(r,o.type);this._$Em=e,s==null?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(e,r){let o=this.constructor,n=o._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let s=o.getPropertyOptions(n),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:Qo;this._$Em=n;let l=a.fromAttribute(r,s.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,o,n=!1,s){if(e!==void 0){let a=this.constructor;if(n===!1&&(s=this[e]),o??=a.getPropertyOptions(e),!((o.hasChanged??Ui)(s,r)||o.useDefault&&o.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:n,wrapped:s},a){o&&!(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||o||(r=void 0),this._$AL.set(e,r)),n===!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[n,s]of this._$Ep)this[n]=s;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,s]of o){let{wrapped:a}=s,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,s,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}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){}};At.elementStyles=[],At.shadowRootOptions={mode:"open"},At[Bi("elementProperties")]=new Map,At[Bi("finalized")]=new Map,aS?.({ReactiveElement:At}),(Gn.reactiveElementVersions??=[]).push("2.1.2")});function Xp(t,e){if(!Ka(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wp!==void 0?Wp.createHTML(e):e}function io(t,e,r=t,o){if(e===Me)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,s=Wi(e)?void 0:e._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=io(t,n._$AS(t,e.values),n,o)),e}var Wa,Hp,jn,Wp,Ga,vr,ja,lS,oo,Hi,Wi,Ka,Qp,Ha,Vi,Gp,jp,to,Kp,qp,Yp,qa,b,Za,Qa,Me,_,Zp,ro,Jp,Gi,Kn,Yo,no,qn,Zn,Qn,Yn,Ya,cS,Xa,Mt=u(()=>{Wa=globalThis,Hp=t=>t,jn=Wa.trustedTypes,Wp=jn?jn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ga="$lit$",vr=`lit$${Math.random().toFixed(9).slice(2)}$`,ja="?"+vr,lS=`<${ja}>`,oo=document,Hi=()=>oo.createComment(""),Wi=t=>t===null||typeof t!="object"&&typeof t!="function",Ka=Array.isArray,Qp=t=>Ka(t)||typeof t?.[Symbol.iterator]=="function",Ha=`[
2
- \f\r]`,Vi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gp=/-->/g,jp=/>/g,to=RegExp(`>|${Ha}(?:([^\\s"'>=/]+)(${Ha}*=${Ha}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Kp=/'/g,qp=/"/g,Yp=/^(?:script|style|textarea|title)$/i,qa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),b=qa(1),Za=qa(2),Qa=qa(3),Me=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),Zp=new WeakMap,ro=oo.createTreeWalker(oo,129);Jp=(t,e)=>{let r=t.length-1,o=[],n,s=e===2?"<svg>":e===3?"<math>":"",a=Vi;for(let l=0;l<r;l++){let d=t[l],f,g,m=-1,y=0;for(;y<d.length&&(a.lastIndex=y,g=a.exec(d),g!==null);)y=a.lastIndex,a===Vi?g[1]==="!--"?a=Gp:g[1]!==void 0?a=jp:g[2]!==void 0?(Yp.test(g[2])&&(n=RegExp("</"+g[2],"g")),a=to):g[3]!==void 0&&(a=to):a===to?g[0]===">"?(a=n??Vi,m=-1):g[1]===void 0?m=-2:(m=a.lastIndex-g[2].length,f=g[1],a=g[3]===void 0?to:g[3]==='"'?qp:Kp):a===qp||a===Kp?a=to:a===Gp||a===jp?a=Vi:(a=to,n=void 0);let E=a===to&&t[l+1].startsWith("/>")?" ":"";s+=a===Vi?d+lS:m>=0?(o.push(f),d.slice(0,m)+Ga+d.slice(m)+vr+E):d+vr+(m===-2?l:E)}return[Xp(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Gi=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[f,g]=Jp(e,r);if(this.el=t.createElement(f,o),ro.currentNode=this.el.content,r===2||r===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ro.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(Ga)){let y=g[a++],E=n.getAttribute(m).split(vr),A=/([.?@])?(.*)/.exec(y);d.push({type:1,index:s,name:A[2],strings:E,ctor:A[1]==="."?qn:A[1]==="?"?Zn:A[1]==="@"?Qn:no}),n.removeAttribute(m)}else m.startsWith(vr)&&(d.push({type:6,index:s}),n.removeAttribute(m));if(Yp.test(n.tagName)){let m=n.textContent.split(vr),y=m.length-1;if(y>0){n.textContent=jn?jn.emptyScript:"";for(let E=0;E<y;E++)n.append(m[E],Hi()),ro.nextNode(),d.push({type:2,index:++s});n.append(m[y],Hi())}}}else if(n.nodeType===8)if(n.data===ja)d.push({type:2,index:s});else{let m=-1;for(;(m=n.data.indexOf(vr,m+1))!==-1;)d.push({type:7,index:s}),m+=vr.length-1}s++}}static createElement(e,r){let o=oo.createElement("template");return o.innerHTML=e,o}};Kn=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:o}=this._$AD,n=(e?.creationScope??oo).importNode(r,!0);ro.currentNode=n;let s=ro.nextNode(),a=0,l=0,d=o[0];for(;d!==void 0;){if(a===d.index){let f;d.type===2?f=new Yo(s,s.nextSibling,this,e):d.type===1?f=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(f=new Yn(s,this,e)),this._$AV.push(f),d=o[++l]}a!==d?.index&&(s=ro.nextNode(),a++)}return ro.currentNode=oo,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Yo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.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=io(this,e,r),Wi(e)?e===_||e==null||e===""?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==Me&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Qp(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!==_&&Wi(this._$AH)?this._$AA.nextSibling.data=e:this.T(oo.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Gi.createElement(Xp(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let s=new Kn(n,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Zp.get(e.strings);return r===void 0&&Zp.set(e.strings,r=new Gi(e)),r}k(e){Ka(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let s of e)n===r.length?r.push(o=new t(this.O(Hi()),this.O(Hi()),this,this.options)):o=r[n],o._$AI(s),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){let o=Hp(e).nextSibling;Hp(e).remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},no=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,s){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=_}_$AI(e,r=this,o,n){let s=this.strings,a=!1;if(s===void 0)e=io(this,e,r,0),a=!Wi(e)||e!==this._$AH&&e!==Me,a&&(this._$AH=e);else{let l=e,d,f;for(e=s[0],d=0;d<s.length-1;d++)f=io(this,l[o+d],r,d),f===Me&&(f=this._$AH[d]),a||=!Wi(f)||f!==this._$AH[d],f===_?e=_:e!==_&&(e+=(f??"")+s[d+1]),this._$AH[d]=f}a&&!n&&this.j(e)}j(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},qn=class extends no{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_?void 0:e}},Zn=class extends no{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==_)}},Qn=class extends no{constructor(e,r,o,n,s){super(e,r,o,n,s),this.type=5}_$AI(e,r=this){if((e=io(this,e,r,0)??_)===Me)return;let o=this._$AH,n=e===_&&o!==_||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,s=e!==_&&(o===_||n);n&&this.element.removeEventListener(this.name,this,o),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)}},Yn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){io(this,e)}},Ya={M:Ga,P:vr,A:ja,C:1,L:Jp,R:Kn,D:Qp,V:io,I:Yo,H:no,N:Zn,U:Qn,B:qn,F:Yn},cS=Wa.litHtmlPolyfillSupport;cS?.(Gi,Yo),(Wa.litHtmlVersions??=[]).push("3.3.3");Xa=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let s=r?.renderBefore??null;o._$litPart$=n=new Yo(e.insertBefore(Hi(),s),s,void 0,r??{})}return n._$AI(t),n}});var Ja,$t,dS,uS,ef=u(()=>{zi();zi();Mt();Mt();Ja=globalThis,$t=class extends At{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=Xa(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Me}};$t._$litElement$=!0,$t.finalized=!0,Ja.litElementHydrateSupport?.({LitElement:$t});dS=Ja.litElementPolyfillSupport;dS?.({LitElement:$t});uS={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Ja.litElementVersions??=[]).push("4.2.2")});var HO,tf=u(()=>{HO=!1});var el={};G(el,{CSSResult:()=>Zo,LitElement:()=>$t,ReactiveElement:()=>At,_$LE:()=>uS,_$LH:()=>Ya,adoptStyles:()=>$i,css:()=>O,defaultConverter:()=>Qo,getCompatibleStyle:()=>Wn,html:()=>b,isServer:()=>HO,mathml:()=>Qa,noChange:()=>Me,notEqual:()=>Ui,nothing:()=>_,render:()=>Xa,supportsAdoptingStyleSheets:()=>Mi,svg:()=>Za,unsafeCSS:()=>eo});var L=u(()=>{zi();Mt();ef();tf()});var pS,rf=u(()=>{pS=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function h(t){return(e,r)=>typeof r=="object"?of(t,e,r):((o,n,s)=>{let a=n.hasOwnProperty(s);return n.constructor.createProperty(s,o),a?Object.getOwnPropertyDescriptor(n,s):void 0})(t,e,r)}var fS,of,tl=u(()=>{zi();fS={attribute:!0,type:String,converter:Qo,reflect:!1,hasChanged:Ui},of=(t=fS,e,r)=>{let{kind:o,metadata:n}=r,s=globalThis.litPropertyMetadata.get(n);if(s===void 0&&globalThis.litPropertyMetadata.set(n,s=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),o==="accessor"){let{name:a}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(o==="setter"){let{name:a}=r;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+o)}});function k(t){return h({...t,state:!0,attribute:!1})}var nf=u(()=>{tl();});function hS(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var sf=u(()=>{});var Bt,Xo=u(()=>{Bt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function M(t,e){return(r,o,n)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Bt(r,o,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Bt(r,o,{get(){return s(this)}})}}var af=u(()=>{Xo();});function rl(t){return(e,r)=>Bt(e,r,{get(){return(this.renderRoot??(mS??=document.createDocumentFragment())).querySelectorAll(t)}})}var mS,lf=u(()=>{Xo();});function gS(t){return(e,r)=>Bt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var cf=u(()=>{Xo();});function ol(t){return(e,r)=>{let{slot:o,selector:n}=t??{},s="slot"+(o?`[name=${o}]`:":not([name])");return Bt(e,r,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var df=u(()=>{Xo();});function il(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Bt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var uf=u(()=>{Xo();});var nl={};G(nl,{customElement:()=>pS,eventOptions:()=>hS,property:()=>h,query:()=>M,queryAll:()=>rl,queryAssignedElements:()=>ol,queryAssignedNodes:()=>il,queryAsync:()=>gS,standardProperty:()=>of,state:()=>k});var j=u(()=>{rf();tl();nf();sf();af();lf();cf();df();uf()});var rr,mt,_t,so=u(()=>{rr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},mt=t=>(...e)=>({_$litDirective$:t,values:e}),_t=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var yS,pf,hf,ff,Jo,Dr,bS,mf,gf,Xn,sl=u(()=>{Mt();({I:yS}=Ya),pf=t=>t,hf=t=>t.strings===void 0,ff=()=>document.createComment(""),Jo=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=o.insertBefore(ff(),n),a=o.insertBefore(ff(),n);r=new yS(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==n||l){let d=r._$AA;for(;d!==s;){let f=pf(d).nextSibling;pf(o).insertBefore(d,n),d=f}}}return r},Dr=(t,e,r=t)=>(t._$AI(e,r),t),bS={},mf=(t,e=bS)=>t._$AH=e,gf=t=>t._$AH,Xn=t=>{t._$AR(),t._$AA.remove()}});var yf,ge,bf=u(()=>{Mt();so();sl();yf=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},ge=mt(class extends _t{constructor(t){if(super(t),t.type!==rr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],s=[],a=0;for(let l of t)n[a]=o?o(l,a):a,s[a]=r(l,a),a++;return{values:s,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=gf(t),{values:s,keys:a}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=a,s;let l=this.ut??=[],d=[],f,g,m=0,y=n.length-1,E=0,A=s.length-1;for(;m<=y&&E<=A;)if(n[m]===null)m++;else if(n[y]===null)y--;else if(l[m]===a[E])d[E]=Dr(n[m],s[E]),m++,E++;else if(l[y]===a[A])d[A]=Dr(n[y],s[A]),y--,A--;else if(l[m]===a[A])d[A]=Dr(n[m],s[A]),Jo(t,d[A+1],n[m]),m++,A--;else if(l[y]===a[E])d[E]=Dr(n[y],s[E]),Jo(t,n[m],n[y]),y--,E++;else if(f===void 0&&(f=yf(a,E,A),g=yf(l,m,y)),f.has(l[m]))if(f.has(l[y])){let F=g.get(a[E]),I=F!==void 0?n[F]:null;if(I===null){let U=Jo(t,n[m]);Dr(U,s[E]),d[E]=U}else d[E]=Dr(I,s[E]),Jo(t,n[m],I),n[F]=null;E++}else Xn(n[y]),y--;else Xn(n[m]),m++;for(;E<=A;){let F=Jo(t,d[A+1]);Dr(F,s[E]),d[E++]=F}for(;m<=y;){let F=n[m++];F!==null&&Xn(F)}return this.ut=a,mf(t,d),Me}})});var al={};G(al,{repeat:()=>ge});var Ut=u(()=>{bf()});var fe,xf=u(()=>{Mt();so();fe=mt(class extends _t{constructor(t){if(super(t),t.type!==rr.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(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let n=!!e[o];n===this.st.has(o)||this.nt?.has(o)||(n?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return Me}})});var ll={};G(ll,{classMap:()=>fe});var rt=u(()=>{xf()});var vf,xS,vS,Sf=u(()=>{Mt();so();vf="important",xS=" !"+vf,vS=mt(class extends _t{constructor(t){if(super(t),t.type!==rr.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 o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}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 o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ft.add(o);let s=typeof n=="string"&&n.endsWith(xS);o.includes("-")||s?r.setProperty(o,s?n.slice(0,-11):n,s?vf:""):r[o]=n}}return Me}})});var cl={};G(cl,{styleMap:()=>vS});var Cf=u(()=>{Sf()});var ei,ao,Ef=u(()=>{Mt();so();ei=class extends _t{constructor(e){if(super(e),this.it=_,e.type!==rr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===_||e==null)return this._t=void 0,this.it=e;if(e===Me)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:[]}}};ei.directiveName="unsafeHTML",ei.resultType=1;ao=mt(ei)});var dl={};G(dl,{UnsafeHTMLDirective:()=>ei,unsafeHTML:()=>ao});var ji=u(()=>{Ef()});var ul={};G(ul,{splitBreadcrumbForMenu:()=>SS});function SS(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let o=Math.max(r,1),n=t.slice(o*-1);return e+o>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-n.length),afterMenu:n}}var pl=u(()=>{"use strict"});var fl={};G(fl,{CancelablePromise:()=>Jn,CanceledPromiseError:()=>or,cancelable:()=>ti});var or,Jn,ti,es=u(()=>{"use strict";or=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Jn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new or("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new or("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ti=t=>new Jn((e,r)=>t.then(e).catch(r))});var hl={};G(hl,{customElement:()=>Ki,dateProperty:()=>ES,isNumber:()=>wf,jsonProperty:()=>ce,jsonPropertyConverter:()=>Of,numberProperty:()=>kt,optionalNumberProperty:()=>CS});function ce(t,e){return h({type:Object,converter:Of(t),hasChanged:lt,...e??{}})}function CS(t){return kt(t)}function kt(t){return h({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(o=t?.max)!==null&&o!==void 0?o:1/0;return wf(e)?Sr(n,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function wf(t){return!isNaN(parseFloat(t))}function ES(t){return h({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 Ki,Of,lo=u(()=>{"use strict";j();Ze();Ki=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Of=t=>({fromAttribute:e=>{if(e==null)return gt(t);try{return JSON.parse(e)}catch{return gt(t)}},toAttribute:e=>JSON.stringify(e)})});var xl={};G(xl,{AbstractRegistry:()=>ri,applyMixinOnce:()=>we,customElements:()=>B,dateReviver:()=>wS,deepCopy:()=>gt,deepEqual:()=>Le,delay:()=>ts,eventPathContainsMatchingElement:()=>ml,everyDeep:()=>OS,flatDeep:()=>yt,forEachDeep:()=>Rf,getComposedPathTo:()=>yl,groupBy:()=>AS,hasChanged:()=>lt,ignoreComposingEvents:()=>Mr,last:()=>gl,minmax:()=>Sr,parseDate:()=>_f,randomId:()=>bl,someDeep:()=>Af,unslotText:()=>rs,waitFor:()=>oi,waitUntil:()=>qi});async function qi(t,e=10,r=2e4){await oi(async()=>await t()||void 0,e,r)}async function oi(t,e=10,r=2e4){let o=await t(),n=performance.now(),s=n;for(;o==null&&(!r||s-n<r);)await ts(e),o=await t(),s=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function yt(t,e){return t.flatMap(r=>[r,...yt(e(r),e)])}function Rf(t,e,r){let o=(n,s)=>{var a;for(let l=0;l<n.length;l++){let d=n[l];if(!(((a=r(d,l,n,s))!==null&&a!==void 0?a:!0)&&o(e(d),[...s,d])))return!1}return!0};o(t,[])}function Af(t,e,r){let o=!1;return Rf(t,e,(n,s,a,l)=>(o=!!r(n,s,a,l),!o)),o}function OS(t,e,r){return!Af(t,e,(o,n,s,a)=>!r(o,n,s,a))}function wS(...t){return(e,r)=>t.includes(e)?_f(r):r}function _f(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,o,n)=>r+o+":"+n),new Date(t)}function RS(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,o;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Le(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Le(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[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 n=a=>Object.keys(a).filter(l=>a[l]!=null),s=n(t);if(r=s.length,r!==n(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=r;o--!==0;){let a=s[o];if(!Le(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Le(t,e){try{return RS(t,e)}catch{return!1}}function lt(t,e){return!Le(t,e)}function ml(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(s=>n.matches(s)))return!0}}return!1}function Sr(t,e,r){return Math.min(Math.max(t,e),r)}function gl(t){return t[t.length-1]}function rs(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>rs(e)).join(""):t?.textContent||""}function yl(t){let e=[],r=o=>{o.stopPropagation(),e=o.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 gt(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function bl(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function we(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}function Mr(){return function(t,e,r){let o=r.value;r.value=function(n,...s){if(n.isComposing||n.keyCode===229){n.stopPropagation();return}return o.apply(this,[n].concat(s))}}}function B(t){for(let[e,r]of Object.entries(t))Ki(e)(r)}function AS(t,e){var r,o;let n=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[o=n(a)])!==null&&r!==void 0?r:s[o]=[]).push(a);return s}var ts,ri,Ze=u(()=>{"use strict";lo();ts=t=>new Promise(e=>setTimeout(e,t));ri=class{constructor(){this.knownElements=new Set}register(e){this.knownElements.add(e)}unregister(e){this.knownElements.delete(e)}list(){return Array.from(this.knownElements)}}});var Cl={};G(Cl,{FtContextRegistrationEvent:()=>Er,FtNotificationEvent:()=>Zi,PostResizeEvent:()=>Sl,PreResizeEvent:()=>vl,WithEventBus:()=>Cr,withEventBus:()=>os});var Zi,vl,Sl,os,Cr,Er,ii=u(()=>{"use strict";Ze();Zi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},vl=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Sl=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},os=we(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,n){this.eventBus.addEventListener(r,o,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,n){this.eventBus.removeEventListener(r,o,n)}}}),Cr=class extends os(Object){},Er=class extends CustomEvent{constructor(e,r){super(e,{composed:!0,bubbles:!0,detail:r})}}});var El={};G(El,{CacheRegistry:()=>ir,ClearCacheEvent:()=>Qi});var Qi,ir,Ol=u(()=>{"use strict";es();ii();Qi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ir=class extends Cr{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let s=this.content[e],a=(n=s?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...s,loader:r,final:o,status:a}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Qi(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Qi([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let n=async()=>r,s="RESOLVED";this.content[e]={loader:n,final:o,status:s,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=ti(r()),n.promise.then(s=>(n.status="RESOLVED",n.value=s,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),s)).catch(s=>{var a;throw!((a=n.promise)===null||a===void 0)&&a.isCanceled||(n.status="ERROR",n.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,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.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 wl=u(()=>{});var _S,kS,is,Rl,kf,Lf,If,$r,Tf,Pf,Nf,co,Ff,Df,Mf,$f,Bf,Uf,zf,Vf,Hf,Br,Wf,Gf,uo,Qf,jf,ns,Kf,ni,Yf,nr,si,qf,_e,Lt,Zf,Al=u(()=>{_S=t=>typeof t=="object"&&t!=null,kS=t=>typeof t=="number",is=t=>typeof t=="string",Rl=t=>_S(t)&&is(t.endpoint)&&is(t.method)&&is(t.statusText)&&is(t.body)&&kS(t.status);(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(kf||(kf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Lf||(Lf={}));(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"})(If||(If={}));(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"})($r||($r={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Tf||(Tf={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Pf||(Pf={}));(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Nf||(Nf={}));(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"})(co||(co={}));(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Ff||(Ff={}));(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Df||(Df={}));(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",t.DOC_DIFF="DOC_DIFF"})(Mf||(Mf={}));(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"})($f||($f={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Bf||(Bf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Uf||(Uf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(zf||(zf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Vf||(Vf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Hf||(Hf={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Br||(Br={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Wf||(Wf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Gf||(Gf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(uo||(uo={}));Qf=t=>Object.keys(uo).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(jf||(jf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ns||(ns={}));(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"})(Kf||(Kf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ni||(ni={}));Yf=t=>Object.keys(ni).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(nr||(nr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(si||(si={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(qf||(qf={}));(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"})(_e||(_e={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Lt||(Lt={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Zf||(Zf={}))});var Xf,Jf,eh,th,rh,oh,ih,nh,sh,ah,lh,ch=u(()=>{(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Xf||(Xf={}));(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Jf||(Jf={}));(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"})(eh||(eh={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(th||(th={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(rh||(rh={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(oh||(oh={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ih||(ih={}));(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(nh||(nh={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(sh||(sh={}));(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"})(ah||(ah={}));(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(lh||(lh={}))});var dh=u(()=>{Al();ch()});function uh(t,e){return t===e||(LS[t]??[]).some(r=>uh(r,e))}function Yi(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(o=>uh(o,e))}function ph(t,...e){return t==null?!1:e.some(r=>Yi(t,r))}var LS,fh=u(()=>{Al();LS={[_e.PERSONAL_BOOK_SHARE_USER]:[_e.PERSONAL_BOOK_USER],[_e.HTML_EXPORT_USER]:[_e.PERSONAL_BOOK_USER],[_e.PDF_EXPORT_USER]:[_e.PERSONAL_BOOK_USER],[_e.KHUB_ADMIN]:[_e.CONTENT_PUBLISHER],[_e.ADMIN]:[_e.KHUB_ADMIN,_e.USERS_ADMIN,_e.PORTAL_ADMIN,_e.BEHAVIOR_DATA_USER],[_e.GENERATIVE_AI_EXPORT_USER]:[_e.GENERATIVE_AI_USER]}});var hh=u(()=>{});var zt=u(()=>{wl();dh();fh();hh();wl()});var _l={};G(_l,{SearchPlaceConverter:()=>Vt,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>gh,serializeRequest:()=>TS});function IS(t){return`"${t}"`}function mh(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function TS(t,e){return new Vt(t).serialize(e)}function gh(t){return PS.has(t)}var Y,PS,Vt,ss=u(()=>{"use strict";zt();Ze();(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"})(Y||(Y={}));PS=new Set(Object.values(Y));Vt=class t{constructor(e,r=20,o=!1,n="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=n,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,n=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var o,n,s,a,l,d,f,g,m;let y=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&y.append(Y.LOCALE,e.contentLocale):y.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&y.append(Y.QUERY,e.query);let E=t.serializeValueFilters(e.metadataFilters);E&&y.append(Y.VALUE_FILTERS,E);let A=t.serializeNegativeValueFilters(e.metadataFilters);A&&y.append(Y.NEGATIVE_VALUE_FILTERS,A);let F=(d=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(F.length>0){let S=F.map(v=>{var R;return`${v.key}~${(R=v.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");y.append(Y.DATE_FILTERS,S)}let I=(f=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.rangeFilter))!==null&&f!==void 0?f:[];if(I.length>0){let S=I.map(v=>{var R,N;return`${v.key}~${(R=v.rangeFilter)===null||R===void 0?void 0:R.from}_${(N=v.rangeFilter)===null||N===void 0?void 0:N.to}`}).join("*");y.append(Y.RANGE_FILTERS,S)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(Y.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&y.append(Y.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&y.append(Y.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((g=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&y.append(Y.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&y.append(Y.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let U=(m=e.otherQueryParams)!==null&&m!==void 0?m:{};for(let S in U)y.append(S,U[S]);let H=new Array;return y.forEach((S,v)=>{H.push(this.encodeQueryString(v)+"="+this.encodeQueryString(S))}),encodeURI(H.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),n=this.fromURLSearchParams(o.slice(1).join("?")),s=o[0].split("/search/")[1];return s==null?n:{...n,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,s,a,l,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(H){console.warn("Could not decode search request query params, fallback on raw value",H)}let f=new URLSearchParams(e),g=(o=f.get(Y.LOCALE))!==null&&o!==void 0?o:void 0,m=((n=f.get(Y.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),y=(r=f.get(Y.SORT))===null||r===void 0?void 0:r.toLowerCase(),E=(s=f.get(Y.SCOPE))!==null&&s!==void 0?s:"default",A=+((a=f.get(Y.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),F=f.get(Y.KEYWORD_MATCH),I=F?F.toUpperCase()===Br.MANDATORY?Br.MANDATORY:Br.OPTIONAL:void 0,U={};for(let H of f.keys())gh(H)||(U[H]=f.get(H));return g==="all"?g=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!g||this.availableContentLocales.length>0&&!this.availableContentLocales.some(H=>H.lang===g))&&(g=this.defaultContentLocale),{contentLocale:g,query:(l=f.get(Y.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[E])!==null&&d!==void 0?d:"DEFAULT",virtualField:Qf(m)?m:"EVERYWHERE",sortId:y,metadataFilters:this.parseCompatFilters(f),facets:[],paging:{page:1,perPage:Sr(1,isNaN(A)?this.defaultPerPage:A,1e3)},keywordMatch:I,otherQueryParams:U}}parseCompatFilters(e){var r,o,n,s,a,l,d;let f=[];return e.has(Y.FILTERS)&&(f=t.parseValueFilters((r=e.get(Y.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(Y.PERIOD))!==null&&o!==void 0&&o&&(f=[...f,...this.parseLegacyPeriodFilter(((n=e.get(Y.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...f,...t.parseValueFilters((s=e.get(Y.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(Y.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(Y.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(Y.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(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(mh).map(n=>this.unescapeFilterValue(n)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ni[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,o,n]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}static superEscapeFilters(e){for(let[r,o,n]of t.filtersEscapeMapping)e=e.replaceAll(o,n);return e}static unescapeFilterValue(e){for(let[r,o,n]of t.filtersEscapeMapping)e=e.replaceAll(n,r);return e}parseLegacyPeriodFilter(e){if(Yf(e))return[{key:"ft:lastEdition",dateFilter:{type:ni[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}static serializeValueFilter(e){var r,o;let n=((o=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&o!==void 0?o:[]).map(s=>t.escapeFilters(s)).map(s=>IS(mh(s))).join("_");return`${e.key}~${n}`}static serializeValueFilters(e){var r;let o=(r=e?.filter(n=>n.valueFilter&&!n.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let o=(r=e?.filter(n=>n.valueFilter&&n.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[Y.LOCALE,Y.FILTERS,Y.VALUE_FILTERS,Y.NEGATIVE_VALUE_FILTERS,Y.DATE_FILTERS,Y.RANGE_FILTERS].forEach(n=>{r.searchParams.delete(n)}),r.toString()}static updateLocaleParamInUrl(e,r){let o=new URL(e);return o.searchParams.delete(Y.LOCALE),r!==void 0&&o.searchParams.append(Y.LOCALE,r),o.toString()}};Vt.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]});var Il={};G(Il,{accessBreadcrumb:()=>NS,accessResult:()=>It,accessResultId:()=>as,accessResultUrl:()=>Ll,enrichReaderUrl:()=>kl});function It(t){var e,r,o,n;return(n=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function as(t){var e,r,o,n,s,a,l,d,f;return(f=(d=(l=(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&&l!==void 0?l:(o=t?.document)===null||o===void 0?void 0:o.documentId)!==null&&d!==void 0?d:(n=t?.htmlPackage)===null||n===void 0?void 0:n.packageId)!==null&&f!==void 0?f:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function Ll(t,e){var r,o,n,s,a,l,d,f,g;return(g=(f=(d=(l=kl((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&l!==void 0?l:kl((o=t?.topic)===null||o===void 0?void 0:o.readerUrl,e))!==null&&d!==void 0?d:(n=t?.document)===null||n===void 0?void 0:n.viewerUrl)!==null&&f!==void 0?f:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&g!==void 0?g:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function NS(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 kl(t,e){if(e&&t){let r=URL.parse(t),o=Vt.serializeValueFilters(e);if(o&&r?.searchParams.append(Y.VALUE_FILTERS,o),r)return r.toString()}return t}var ls=u(()=>{"use strict";ss()});var Nl={};G(Nl,{ClusteringHelper:()=>Pl,formatHierarchicalValues:()=>Tl});function Tl(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Pl,Fl=u(()=>{"use strict";ls();Pl=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static findResultWithMetadataValue(e,r,o){return e?.find(n=>{var s;return((s=this.extractResultMetadata({result:n}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==o})}static extractResultMetadata(e){var r,o;let n=(o=(r=It(e.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return e.key==null?t.flattenMetadata(n,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(n.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,o)).filter(s=>s!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let s=[],a=[];return e.hierarchicalValues.forEach(l=>{s.push(Tl(l)),a.push(Tl(l,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(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,o="No value",n,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),f=(l=d?.label)!==null&&l!==void 0?l:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(m=>t.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:s})).map(m=>m??{key:e,label:f,value:void 0,displayValue:o}).filter(m=>m.value!=d?.value).filter((m,y,E)=>E.findIndex(A=>A.value===m.value)===y).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,y)=>this.compareMetadata(m.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(o),a=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,s);if(f>l&&(l=f,a=d,f===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}}});var Dl={};G(Dl,{Debouncer:()=>ie});var ie,cs=u(()=>{"use strict";ie=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,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(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 o)try{await a()}catch(l){n(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});function w(t,e){return Ur(`${t.name}: ${e}`)}var Ur,i,X=u(()=>{L();Ur=t=>typeof t=="string"?eo(t):t,i=class{static create(e,r,o,n){let s=l=>Ur(l??n),a=O`var(${Ur(e)}, ${s(n)})`;return a.name=e,a.description=r,a.category=o,a.defaultValue=n,a.defaultCssValue=s,a.set=l=>w(a,l??s(n)),a.get=l=>O`var(${Ur(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(e,r,o,n){let s=l=>o.get(l??n),a=O`var(${Ur(e)}, ${s(n)})`;return a.name=e,a.description=r,a.category=o.category,a.fallbackVariable=o,a.defaultValue=n,a.defaultCssValue=s,a.set=l=>w(a,l??s(n)),a.get=l=>O`var(${Ur(e)}, ${s(l)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),a}static external(e,r){let o=s=>e.defaultCssValue(s),n=O`var(${Ur(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.set=s=>e.set(s),n.get=s=>O`var(${Ur(e.name)}, ${o(s)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,yh,bh,xh,vh,Sh,Ch,Eh,Oh,wh,Rh,Ah,_h,kh,Lh,Ih,Th,FS,DS,ee=u(()=>{X();c={colorWhite:i.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:i.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:i.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:i.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:i.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:i.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:i.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:i.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:i.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:i.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:i.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:i.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:i.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:i.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:i.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:i.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity4:i.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:i.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:i.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:i.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:i.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:i.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:i.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:i.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:i.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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)")},yh={fontFamily:i.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:i.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-display-text-case","","UNKNOWN","none")},bh={fontFamily:i.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:i.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},xh={fontFamily:i.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:i.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},vh={fontFamily:i.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:i.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Sh={fontFamily:i.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ch={fontFamily:i.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Eh={fontFamily:i.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Oh={fontFamily:i.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},wh={fontFamily:i.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Rh={fontFamily:i.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:i.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:i.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ah={fontFamily:i.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},_h={fontFamily:i.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},kh={fontFamily:i.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Lh={fontFamily:i.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ih={fontFamily:i.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Th={fontFamily:i.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:i.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},FS={display:yh,"title-1":bh,"title-2":xh,"title-3":vh,"body-1-regular":Sh,"body-1-medium":Ch,"body-1-semibold":Eh,"body-2-regular":Oh,"body-2-medium":wh,"body-2-medium-underline":Rh,"body-2-semibold":Ah,"caption-1-medium":_h,"caption-1-semibold":kh,"caption-2-medium":Lh,"caption-2-semibold":Ih,"caption-2-bold":Th},DS=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"]});var p,ae=u(()=>{X();ee();p={backgroundActionPrimary:i.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:i.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:i.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:i.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:i.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:i.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:i.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:i.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:i.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:i.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:i.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:i.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:i.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:i.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:i.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:i.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:i.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:i.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:i.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:i.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:i.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:i.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:i.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:i.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:i.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:i.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:i.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:i.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:i.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:i.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:i.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:i.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:i.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:i.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var MS,Ph=u(()=>{X();ee();ae();MS={largeHeight:i.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:i.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:i.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:i.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:i.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:i.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:i.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:i.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:i.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:i.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:i.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:i.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:i.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:i.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:i.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:i.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:i.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:i.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:i.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:i.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:i.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:i.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:i.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:i.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:i.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:i.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:i.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:i.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:i.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:i.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:i.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:i.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:i.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:i.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:i.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:i.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:i.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:i.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:i.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:i.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:i.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:i.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:i.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:i.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:i.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:i.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:i.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:i.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:i.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var $S,Nh=u(()=>{X();ee();ae();$S={iconSize:i.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:i.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:i.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:i.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:i.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:i.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:i.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:i.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:i.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:i.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3),width:i.create("--ftds-toggle-width","","SIZE","36px"),height:i.create("--ftds-toggle-height","","SIZE","20px")}});var BS,Fh=u(()=>{X();ee();ae();BS={borderRadius:i.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:i.extend("--ftds-card-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:i.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:i.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:i.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:i.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:i.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:i.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:i.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:i.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:i.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:i.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:i.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:i.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:i.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:i.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:i.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:i.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:i.extend("--ftds-card-non-selectable-state-layer-color","",p.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:i.extend("--ftds-card-non-selectable-default-background-color","",p.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:i.extend("--ftds-card-non-selectable-default-border-color","",p.borderGlobalSecondary),nonSelectableHoverBorderColor:i.extend("--ftds-card-non-selectable-hover-border-color","",p.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:i.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:i.extend("--ftds-card-non-selectable-focus-border-color","",p.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:i.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:i.extend("--ftds-card-internal-border-color","",p.borderGlobalSecondary),selectableUnselectedBorderWidth:i.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:i.extend("--ftds-card-selectable-unselected-state-layer-color","",p.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:i.extend("--ftds-card-selectable-unselected-default-background-color","",p.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:i.extend("--ftds-card-selectable-unselected-default-border-color","",p.borderGlobalSecondary),selectableUnselectedHoverBorderColor:i.extend("--ftds-card-selectable-unselected-hover-border-color","",p.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:i.extend("--ftds-card-selectable-unselected-focus-border-color","",p.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:i.extend("--ftds-card-selectable-selected-border-color","",p.borderActionPrimary),selectableSelectedBorderWidth:i.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:i.extend("--ftds-card-selectable-selected-state-layer-color","",p.contentActionPrimary),selectableSelectedBackgroundColor:i.extend("--ftds-card-selectable-selected-background-color","",p.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:i.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:i.create("--ftds-card-internal-border-width","","SIZE","1px")}});var US,Dh=u(()=>{X();ee();ae();US={borderRadius:i.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:i.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:i.extend("--ftds-event-card-background-color","",p.backgroundGlobalSurface),thumbnailWidth:i.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:i.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:i.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:i.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:i.extend("--ftds-event-card-primary-thumbnail-icon-color","",p.contentGlobalOnColor),secondaryThumbnailBackgroundColor:i.extend("--ftds-event-card-secondary-thumbnail-background-color","",p.backgroundGlobalSurface)}});var zS,Mh=u(()=>{X();ee();ae();zS={loadMoreIconSize:i.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:i.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:i.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:i.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:i.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:i.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:i.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:i.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:i.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:i.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:i.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:i.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:i.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:i.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:i.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:i.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:i.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:i.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:i.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:i.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:i.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:i.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:i.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:i.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:i.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:i.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:i.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:i.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:i.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:i.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:i.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)}});var VS,$h=u(()=>{X();ee();ae();VS={titleColor:i.extend("--ftds-toc-title-color","",p.contentGlobalSubtle),titleGap:i.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:i.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:i.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:i.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:i.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:i.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:i.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:i.extend("--ftds-toc-item-focus-focus-ring-color","",p.borderActionFocusRing),itemFocusFocusRingWidth:i.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:i.extend("--ftds-toc-item-inactive-label-color","",p.contentGlobalSubtle),itemInactiveBorderColor:i.extend("--ftds-toc-item-inactive-border-color","",p.borderGlobalSubtle),itemInactiveStateLayerColor:i.extend("--ftds-toc-item-inactive-state-layer-color","",p.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:i.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:i.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:i.extend("--ftds-toc-item-active-label-color","",p.contentActionPrimary),itemActiveBorderColor:i.extend("--ftds-toc-item-active-border-color","",p.borderActionPrimary),itemActiveBorderWidth:i.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:i.extend("--ftds-toc-item-active-state-layer-color","",p.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:i.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:i.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:i.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:i.extend("--ftds-toc-item-child-active-label-color","",p.contentActionPrimary),itemChildActiveBorderColor:i.extend("--ftds-toc-item-child-active-border-color","",p.borderGlobalSubtle),itemChildActiveStateLayerColor:i.extend("--ftds-toc-item-child-active-state-layer-color","",p.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:i.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:i.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)}});var HS,Bh=u(()=>{X();ee();ae();HS={iconSize:i.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:i.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:i.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:i.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:i.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:i.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:i.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:i.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:i.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:i.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:i.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:i.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:i.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:i.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:i.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:i.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:i.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:i.extend("--ftds-checkbox-error-unchecked-border-color","",p.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",p.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",p.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",p.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",p.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)}});var WS,Uh=u(()=>{X();ee();ae();WS={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:i.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:i.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:i.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:i.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:i.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:i.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:i.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var GS,zh=u(()=>{X();ee();ae();GS={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:i.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:i.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:i.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:i.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:i.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:i.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:i.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:i.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:i.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:i.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:i.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:i.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:i.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:i.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var jS,Vh=u(()=>{X();ee();ae();jS={neutralOffHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:i.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:i.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:i.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:i.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:i.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:i.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:i.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var KS,Hh=u(()=>{X();ee();ae();KS={largeMinHeight:i.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:i.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:i.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:i.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:i.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:i.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:i.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:i.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:i.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:i.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:i.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:i.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)}});var qS,Wh=u(()=>{X();ee();ae();qS={horizontalGap:i.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:i.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:i.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:i.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:i.extend("--ftds-chip-group-count-chip-default-content-color","",p.contentActionPrimary),countChipHoverBackgroundColor:i.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:i.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:i.extend("--ftds-chip-group-count-chip-hover-content-color","",p.contentActionPrimary),countChipFocusedBackgroundColor:i.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:i.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:i.extend("--ftds-chip-group-count-chip-focused-content-color","",p.contentActionPrimary)}});var ZS,Gh=u(()=>{X();ee();ae();ZS={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:i.extend("--ftds-link-horizontal-gap","",c.spacing1)}});var QS,jh=u(()=>{X();ee();ae();QS={iconSize:i.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:i.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:i.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:i.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:i.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:i.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:i.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:i.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:i.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)}});var YS,Kh=u(()=>{X();ee();ae();YS={horizontalPadding:i.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:i.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:i.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:i.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",p.contentActionPrimary)}});var XS,qh=u(()=>{X();ee();ae();XS={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var JS,Zh=u(()=>{X();ee();ae();JS={parentHorizontalPadding:i.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:i.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:i.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:i.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:i.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:i.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:i.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:i.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:i.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:i.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:i.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:i.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:i.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:i.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:i.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:i.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:i.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:i.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:i.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:i.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:i.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:i.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:i.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:i.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var eC,Qh=u(()=>{X();ee();ae();eC={horizontalPadding:i.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:i.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:i.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:i.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:i.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var tC,Yh=u(()=>{X();ee();tC={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var rC,Xh=u(()=>{X();ee();ae();rC={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:i.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:i.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:i.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:i.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:i.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:i.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:i.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:i.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:i.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:i.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:i.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:i.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:i.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:i.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:i.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var oC,Jh=u(()=>{X();ee();ae();oC={grabberIconSize:i.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:i.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:i.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:i.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:i.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:i.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:i.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:i.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:i.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:i.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:i.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:i.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:i.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:i.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:i.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)}});var iC,em=u(()=>{X();ee();ae();iC={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:i.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:i.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:i.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:i.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:i.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:i.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:i.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:i.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:i.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var nC,tm=u(()=>{X();ee();ae();nC={offBorderBottomWidth:i.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:i.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:i.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:i.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:i.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:i.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:i.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:i.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:i.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:i.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:i.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:i.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:i.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:i.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:i.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:i.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing),mainIconIconSize:i.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:i.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)}});var sC,rm=u(()=>{X();ee();ae();sC={largeFieldHorizontalPadding:i.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-text-input-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var aC,om=u(()=>{X();ee();aC={fieldPaddingLeft:i.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:i.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:i.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:i.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:i.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:i.extend("--ftds-text-area-resize-right","",c.spacing05)}});var lC,im=u(()=>{X();ee();ae();lC={height:i.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:i.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:i.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:i.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:i.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",p.contentActionPrimary),multiselectCheckedColor:i.extend("--ftds-floating-menu-multiselect-checked-color","",p.contentGlobalPrimary),multiselectCheckedIconColor:i.extend("--ftds-floating-menu-multiselect-checked-icon-color","",p.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",p.contentActionPrimary),multiselectIndeterminatedColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-color","",p.contentGlobalPrimary),multiselectIndeterminatedIconColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",p.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",p.contentGlobalPrimary),multiselectUncheckedColor:i.extend("--ftds-floating-menu-multiselect-unchecked-color","",p.contentGlobalPrimary),multiselectUncheckedIconColor:i.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",p.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",p.contentActionPrimary),selectAllCheckedColor:i.extend("--ftds-floating-menu-select-all-checked-color","",p.contentGlobalPrimary),selectAllCheckedIconColor:i.extend("--ftds-floating-menu-select-all-checked-icon-color","",p.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",p.contentGlobalPrimary),selectAllIndeterminatedColor:i.extend("--ftds-floating-menu-select-all-indeterminated-color","",p.contentGlobalPrimary),selectAllIndeterminatedIconColor:i.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",p.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",p.contentGlobalPrimary),selectAllUncheckedColor:i.extend("--ftds-floating-menu-select-all-unchecked-color","",p.contentGlobalPrimary),selectAllUncheckedIconColor:i.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",p.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:i.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",p.contentGlobalPrimary),defaultUncheckedColor:i.extend("--ftds-floating-menu-default-unchecked-color","",p.contentGlobalPrimary),defaultUncheckedIconColor:i.extend("--ftds-floating-menu-default-unchecked-icon-color","",p.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:i.extend("--ftds-floating-menu-default-checked-state-layer-color","",p.contentActionPrimary),defaultCheckedColor:i.extend("--ftds-floating-menu-default-checked-color","",p.contentActionPrimary),defaultCheckedIconColor:i.extend("--ftds-floating-menu-default-checked-icon-color","",p.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)}});var cC,nm=u(()=>{X();ee();ae();cC={menuVerticalGap:i.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:i.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:i.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:i.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:i.extend("--ftds-combobox-menu-new-value-label-color","",p.contentGlobalSubtle),menuNewValueBorderColor:i.extend("--ftds-combobox-menu-new-value-border-color","",p.borderGlobalPrimary),menuNewValueBorderWidth:i.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:i.extend("--ftds-combobox-menu-new-value-error-background-color","",p.backgroundErrorSubtle),menuNewValueErrorBorderColor:i.extend("--ftds-combobox-menu-new-value-error-border-color","",p.borderErrorPrimary),menuNewValueErrorStateLayerColor:i.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",p.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:i.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:i.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:i.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:i.extend("--ftds-combobox-menu-message-label-color","",p.contentGlobalSubtle),valuesChipBackgroundColor:i.extend("--ftds-combobox-values-chip-background-color","",p.backgroundGlobalOnSurface),valuesChipBorderColor:i.extend("--ftds-combobox-values-chip-border-color","",p.borderInputPrimary)}});var dC,sm=u(()=>{X();ee();ae();dC={backgroundColor:i.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),titleColor:i.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:i.extend("--ftds-popover-gap","",c.spacing2),borderRadius:i.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:i.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:i.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:i.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:i.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:i.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:i.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:i.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)}});var uC,am=u(()=>{X();ee();ae();uC={hoverStateLayerOpacity:i.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:i.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:i.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:i.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:i.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var pC,lm=u(()=>{X();ee();ae();pC={groupHorizontalPadding:i.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:i.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:i.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:i.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:i.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:i.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:i.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:i.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:i.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:i.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:i.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:i.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:i.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:i.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:i.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:i.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var fC,cm=u(()=>{X();ee();fC={color1Light:i.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:i.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:i.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:i.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:i.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:i.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:i.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:i.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:i.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:i.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:i.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:i.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:i.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:i.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:i.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:i.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:i.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:i.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:i.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:i.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:i.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:i.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:i.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:i.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:i.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:i.extend("--ftds-chart-monochrome-60","",c.colorBrand200)}});var hC,dm=u(()=>{X();ee();hC={color1IconColor:i.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:i.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:i.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:i.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:i.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:i.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:i.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:i.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:i.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:i.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:i.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:i.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:i.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:i.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:i.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:i.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var mC,um=u(()=>{X();ee();ae();mC={borderWidth:i.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:i.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:i.extend("--ftds-notice-gap","",c.spacing2),iconSize:i.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:i.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:i.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:i.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:i.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:i.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:i.create("--ftds-notice-dense-border-width","","SIZE","0")}});var gC,pm=u(()=>{X();ee();ae();gC={iconSize:i.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:i.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:i.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:i.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:i.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:i.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:i.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:i.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var yC,fm=u(()=>{X();ee();ae();yC={horizontalPadding:i.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:i.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:i.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:i.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:i.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ftds-tooltip-gap","",c.spacing05)}});var bC,hm=u(()=>{X();ee();bC={menuHorizontalPadding:i.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:i.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:i.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:i.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var mm=u(()=>{ee();ae();Ph();Nh();Fh();Dh();Mh();$h();Bh();Uh();zh();Vh();Hh();Wh();Gh();jh();Kh();qh();Zh();Qh();Yh();Xh();Jh();em();tm();rm();om();im();nm();sm();am();lm();cm();dm();um();pm();fm();hm()});function Ml(t){return`ftds--family-${t}`}function $l(t){return`ftds--size-${t}`}var Xi,Ji,gm=u(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Xi||(Xi={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(Ji||(Ji={}))});var ai=u(()=>{X();mm();gm()});var Bl={};G(Bl,{DesignSystemFamily:()=>Xi,DesignSystemSize:()=>Ji,FtCssVariableFactory:()=>i,badge:()=>YS,banner:()=>QS,button:()=>MS,card:()=>BS,chart:()=>fC,checkbox:()=>HS,chip:()=>KS,chipChoice:()=>jS,chipGroup:()=>qS,collapsible:()=>uC,combobox:()=>cC,dateRangePicker:()=>bC,drawer:()=>iC,eventCard:()=>US,floatingMenu:()=>lC,foundation:()=>c,link:()=>ZS,modal:()=>rC,notice:()=>mC,notification:()=>gC,pageDesigner:()=>hC,pageFooter:()=>eC,pageHeader:()=>JS,pageLayout:()=>tC,popover:()=>dC,radio:()=>WS,reorderableList:()=>oC,resolveFamilyClass:()=>Ml,resolveSizeClass:()=>$l,semantic:()=>p,setVariable:()=>w,switch_:()=>pC,table:()=>GS,tabs:()=>nC,textArea:()=>aC,textInput:()=>sC,titleBreadcrumb:()=>XS,toc:()=>VS,toggle:()=>$S,tooltip:()=>yC,treeList:()=>zS,typographies:()=>FS,typographyBody1Medium:()=>Ch,typographyBody1Regular:()=>Sh,typographyBody1Semibold:()=>Eh,typographyBody2Medium:()=>wh,typographyBody2MediumUnderline:()=>Rh,typographyBody2Regular:()=>Oh,typographyBody2Semibold:()=>Ah,typographyCaption1Medium:()=>_h,typographyCaption1Semibold:()=>kh,typographyCaption2Bold:()=>Th,typographyCaption2Medium:()=>Lh,typographyCaption2Semibold:()=>Ih,typographyDisplay:()=>yh,typographyTitle1:()=>bh,typographyTitle2:()=>xh,typographyTitle3:()=>vh,typographyVariants:()=>DS});var ds=u(()=>{"use strict";ai()});var Ul={};G(Ul,{designSystemVariables:()=>x});var x,zl=u(()=>{"use strict";ds();x={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:i.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:i.create("--ft-color-warning","","COLOR","#B74706"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:i.create("--ft-color-success","","COLOR","#187856"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:i.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var Vl={};G(Vl,{DynamicImporter:()=>us,dynamicImporter:()=>xC});var us,xC,Hl=u(()=>{"use strict";us=class{async import(e){if(e)return import(e)}},xC=new us});function xm(t,e,r){return sr(t,po(e,r))}function li(t,e){return typeof t=="function"?t(e):t}function fo(t){return t.split("-")[0]}function lr(t){return t.split("-")[1]}function jl(t){return t==="x"?"y":"x"}function Kl(t){return t==="y"?"height":"width"}function ci(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function ql(t){return jl(ci(t))}function vm(t,e,r){r===void 0&&(r=!1);let o=lr(t),n=ql(t),s=Kl(n),a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Wl(a)),[a,Wl(a)]}function Sm(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Wl(t){let e=fo(t);return vC[e]+t.slice(e.length)}function SC(t){var e,r,o,n;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(o=t.bottom)!=null?o:0,left:(n=t.left)!=null?n:0}}function Cm(t){return typeof t!="number"?SC(t):{top:t,right:t,bottom:t,left:t}}function ho(t){let{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}var bm,ym,Gl,po,sr,en,ar,vC,ps=u(()=>{bm=["top","right","bottom","left"],ym=["start","end"],Gl=bm.reduce((t,e)=>t.concat(e,e+"-"+ym[0],e+"-"+ym[1]),[]),po=Math.min,sr=Math.max,en=Math.round,ar=t=>({x:t,y:t}),vC={left:"right",right:"left",bottom:"top",top:"bottom"}});function Em(t,e,r){let{reference:o,floating:n}=t,s=ci(e),a=ql(e),l=Kl(a),d=fo(e),f=s==="y",g=o.x+o.width/2-n.width/2,m=o.y+o.height/2-n.height/2,y=o[l]/2-n[l]/2,E;switch(d){case"top":E={x:g,y:o.y-n.height};break;case"bottom":E={x:g,y:o.y+o.height};break;case"right":E={x:o.x+o.width,y:m};break;case"left":E={x:o.x-n.width,y:m};break;default:E={x:o.x,y:o.y}}let A=lr(e);return A&&(E[a]+=y*(A==="end"?1:-1)*(r&&f?-1:1)),E}async function Om(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:y=!1,padding:E=0}=li(e,t),A=Cm(E),I=l[y?m==="floating"?"reference":"floating":m],U=ho(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(I)))==null||r?I:I.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),H=m==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),v=await(s.isElement==null?void 0:s.isElement(S))&&await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1},R=ho(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:H,offsetParent:S,strategy:d}):H);return{top:(U.top-R.top+A.top)/v.y,bottom:(R.bottom-U.bottom+A.bottom)/v.y,left:(U.left-R.left+A.left)/v.x,right:(R.right-U.right+A.right)/v.x}}function EC(t,e,r){return(t?[...r.filter(n=>lr(n)===t),...r.filter(n=>lr(n)!==t)]:r.filter(n=>fo(n)===n)).filter(n=>t?lr(n)===t||(e?Sm(n)!==n:!1):!0)}async function wC(t,e){let{placement:r,platform:o,elements:n}=t,s=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=fo(r),l=lr(r),d=ci(r)==="y",f=OC.has(a)?-1:1,g=s&&d?-1:1,m=li(e,t),{mainAxis:y,crossAxis:E,alignmentAxis:A}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof A=="number"&&(E=l==="end"?A*-1:A),d?{x:E*g,y:y*f}:{x:y*f,y:E*g}}var CC,wm,Rm,OC,Am,_m,km,Lm=u(()=>{ps();ps();CC=50,wm=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:s=[],platform:a}=r,l=a.detectOverflow?a:{...a,detectOverflow:Om},d=await(a.isRTL==null?void 0:a.isRTL(e)),f=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:g,y:m}=Em(f,o,d),y=o,E=0,A={};for(let F=0;F<s.length;F++){let I=s[F];if(!I)continue;let{name:U,fn:H}=I,{x:S,y:v,data:R,reset:N}=await H({x:g,y:m,initialPlacement:o,placement:y,strategy:n,middlewareData:A,rects:f,platform:l,elements:{reference:t,floating:e}});g=S??g,m=v??m,A[U]={...A[U],...R},N&&E<CC&&(E++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(f=N.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):N.rects),{x:g,y:m}=Em(f,y,d)),F=-1)}return{x:g,y:m,placement:y,strategy:n,middlewareData:A}};Rm=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:s,middlewareData:a,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:y=Gl,autoAlignment:E=!0,...A}=li(t,e),F=m!==void 0||y===Gl?EC(m||null,E,y):y,I=((r=a.autoPlacement)==null?void 0:r.index)||0,U=F[I];if(U==null)return{};if(l!==U)return{reset:{placement:F[0]}};let H=await d.detectOverflow(e,A),S=vm(U,s,await(d.isRTL==null?void 0:d.isRTL(f.floating))),v=[H[fo(U)],H[S[0]],H[S[1]]],R=[...((o=a.autoPlacement)==null?void 0:o.overflows)||[],{placement:U,overflows:v}],N=F[I+1];if(N)return{data:{index:I+1,overflows:R},reset:{placement:N}};let q=R.map(V=>{let se=lr(V.placement);return[V.placement,se&&g?V.overflows.slice(0,2).reduce((De,tr)=>De+tr,0):V.overflows[0],V.overflows]}).sort((V,se)=>V[1]-se[1]),Ae=((n=q.filter(V=>V[2].slice(0,lr(V[0])?2:3).every(se=>se<=0))[0])==null?void 0:n[0])||q[0][0];return Ae!==l?{data:{index:I+1,overflows:R},reset:{placement:Ae}}:{}}}},OC=new Set(["left","top"]);Am=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:s,placement:a,middlewareData:l}=e,d=await wC(e,t);return a===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:s+d.y,data:{...d,placement:a}}}}},_m=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:s}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:d={fn:H=>{let{x:S,y:v}=H;return{x:S,y:v}}},...f}=li(t,e),g={x:r,y:o},m=await s.detectOverflow(e,f),y=ci(n),E=jl(y),A=g[E],F=g[y],I=(H,S)=>xm(S+m[H==="y"?"top":"left"],S,S-m[H==="y"?"bottom":"right"]);a&&(A=I(E,A)),l&&(F=I(y,F));let U=d.fn({...e,[E]:A,[y]:F});return{...U,data:{x:U.x-r,y:U.y-o,enabled:{[E]:a,[y]:l}}}}}},km=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:o,platform:n,elements:s}=e,{apply:a=()=>{},...l}=li(t,e),d=await n.detectOverflow(e,l),f=fo(r),g=lr(r),m=ci(r)==="y",{width:y,height:E}=o.floating,A,F;f==="top"||f==="bottom"?(A=f,F=g===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(F=f,A=g==="end"?"top":"bottom");let I=E-d.top-d.bottom,U=y-d.left-d.right,H=po(E-d[A],I),S=po(y-d[F],U),v=e.middlewareData.shift,R=!v,N=H,q=S;v!=null&&v.enabled.x&&(q=U),v!=null&&v.enabled.y&&(N=I),R&&!g&&(m?q=y-2*sr(d.left,d.right):N=E-2*sr(d.top,d.bottom)),await a({...e,availableWidth:q,availableHeight:N});let ue=await n.getDimensions(s.floating);return y!==ue.width||E!==ue.height?{reset:{rects:!0}}:{}}}}});function hs(){return typeof window<"u"}function go(t){return Tm(t)?(t.nodeName||"").toLowerCase():"#document"}function ct(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Or(t){var e;return(e=(Tm(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Tm(t){return hs()?t instanceof Node||t instanceof ct(t).Node:!1}function Ht(t){return hs()?t instanceof Element||t instanceof ct(t).Element:!1}function wr(t){return hs()?t instanceof HTMLElement||t instanceof ct(t).HTMLElement:!1}function Im(t){return!hs()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ct(t).ShadowRoot}function tn(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Wt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function Pm(t){return/^(table|td|th)$/.test(go(t))}function rn(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}function di(t){let e=Ht(t)?Wt(t):t;return mo(e.transform)||mo(e.translate)||mo(e.scale)||mo(e.rotate)||mo(e.perspective)||!ms()&&(mo(e.backdropFilter)||mo(e.filter))||RC.test(e.willChange||"")||AC.test(e.contain||"")}function Nm(t){let e=zr(t);for(;wr(e)&&!ui(e);){if(di(e))return e;if(rn(e))return null;e=zr(e)}return null}function ms(){return Zl==null&&(Zl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Zl}function ui(t){return/^(html|body|#document)$/.test(go(t))}function Wt(t){return ct(t).getComputedStyle(t)}function on(t){return Ht(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function zr(t){if(go(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Im(t)&&t.host||Or(t);return Im(e)?e.host:e}function Fm(t){let e=zr(t);return ui(e)?(t.ownerDocument||t).body:wr(e)&&tn(e)?e:Fm(e)}function fs(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Fm(t),s=n===((o=t.ownerDocument)==null?void 0:o.body),a=ct(n);if(s){let l=gs(a);return e.concat(a,a.visualViewport||[],tn(n)?n:[],l&&r?fs(l):[])}else return e.concat(n,fs(n,[],r))}function gs(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}var RC,AC,mo,Zl,Ql=u(()=>{RC=/transform|translate|scale|rotate|perspective|filter/,AC=/paint|layout|strict|content/,mo=t=>!!t&&t!=="none"});function $m(t){let e=Wt(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=wr(t),s=n?t.offsetWidth:r,a=n?t.offsetHeight:o,l=en(r)!==s||en(o)!==a;return l&&(r=s,o=a),{width:r,height:o,$:l}}function Bm(t){return Ht(t)?t:t.contextElement}function pi(t){let e=Bm(t);if(!wr(e))return ar(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:s}=$m(e),a=(s?en(r.width):r.width)/o,l=(s?en(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}function Um(t){let e=ct(t);return!ms()||!e.visualViewport?_C:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function kC(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===ct(t)}function nn(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),s=Bm(t),a=ar(1);e&&(o?Ht(o)&&(a=pi(o)):a=pi(t));let l=kC(s,r,o)?Um(s):ar(0),d=(n.left+l.x)/a.x,f=(n.top+l.y)/a.y,g=n.width/a.x,m=n.height/a.y;if(s&&o){let y=ct(s),E=Ht(o)?ct(o):o,A=y,F=gs(A);for(;F&&E!==A;){let I=pi(F),U=F.getBoundingClientRect(),H=Wt(F),S=U.left+(F.clientLeft+parseFloat(H.paddingLeft))*I.x,v=U.top+(F.clientTop+parseFloat(H.paddingTop))*I.y;d*=I.x,f*=I.y,g*=I.x,m*=I.y,d+=S,f+=v,A=ct(F),F=gs(A)}}return ho({width:g,height:m,x:d,y:f})}function ys(t,e){let r=on(t).scrollLeft;return e?e.left+r:nn(Or(t)).left+r}function zm(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-ys(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function LC(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,s=n==="fixed",a=Or(o),l=e?rn(e.floating):!1;if(o===a||l&&s)return r;let d={scrollLeft:0,scrollTop:0},f=ar(1),g=ar(0),m=wr(o);if((m||!s)&&((go(o)!=="body"||tn(a))&&(d=on(o)),m)){let E=nn(o);f=pi(o),g.x=E.x+o.clientLeft,g.y=E.y+o.clientTop}let y=a&&!m&&!s?zm(a,d):ar(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+g.x+y.x,y:r.y*f.y-d.scrollTop*f.y+g.y+y.y}}function IC(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function TC(t){let e=on(t),r=t.ownerDocument.body,o=sr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=sr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+ys(t),a=-e.scrollTop;return Wt(r).direction==="rtl"&&(s+=sr(t.clientWidth,r.clientWidth)-o),{width:o,height:n,x:s,y:a}}function NC(t,e,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",n=ct(t),s=Or(t),a=n.visualViewport,l=s.clientWidth,d=s.clientHeight,f=0,g=0;if(a){let y=!ms()||e==="fixed";o?y||(f=-a.offsetLeft,g=-a.offsetTop):(l=a.width,d=a.height,y&&(f=a.offsetLeft,g=a.offsetTop))}if(ys(s)<=0){let y=s.ownerDocument,E=y.body,A=getComputedStyle(E),F=y.compatMode==="CSS1Compat"&&parseFloat(A.marginLeft)+parseFloat(A.marginRight)||0,I=Math.abs(s.clientWidth-E.clientWidth-F),U=getComputedStyle(s).scrollbarGutter==="stable both-edges"?I/2:I;U<=PC&&(l-=U)}return{width:l,height:d,x:f,y:g}}function FC(t,e){let r=nn(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,s=pi(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=n*s.x,f=o*s.y;return{width:a,height:l,x:d,y:f}}function Dm(t,e,r){let o;if(e==="viewport"||e==="layoutViewport")o=NC(t,r,e);else if(e==="document")o=TC(Or(t));else if(Ht(e))o=FC(e,r);else{let n=Um(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return ho(o)}function DC(t,e){let r=e.get(t);if(r)return r;let o=fs(t,[],!1).filter(l=>Ht(l)&&go(l)!=="body"),n=null,s=Wt(t).position==="fixed",a=s?zr(t):t;for(;Ht(a)&&!ui(a);){let l=Wt(a),d=di(a),f=n?n.position:s?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?o=o.filter(m=>m!==a):n=l,a=zr(a)}return e.set(t,o),o}function MC(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,a=[...r==="clippingAncestors"?rn(e)?[]:DC(e,this._c):[].concat(r),o],l=Dm(e,a[0],n),d=l.top,f=l.right,g=l.bottom,m=l.left;for(let y=1;y<a.length;y++){let E=Dm(e,a[y],n);d=sr(E.top,d),f=po(E.right,f),g=po(E.bottom,g),m=sr(E.left,m)}return{width:f-m,height:g-d,x:m,y:d}}function $C(t){let{width:e,height:r}=$m(t);return{width:e,height:r}}function BC(t,e,r){let o=wr(e),n=Or(e),s=r==="fixed",a=nn(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=ar(0);if((o||!s)&&((go(e)!=="body"||tn(n))&&(l=on(e)),o)){let y=nn(e,!0,s,e);d.x=y.x+e.clientLeft,d.y=y.y+e.clientTop}!o&&n&&(d.x=ys(n));let f=n&&!o&&!s?zm(n,l):ar(0),g=a.left+l.scrollLeft-d.x-f.x,m=a.top+l.scrollTop-d.y-f.y;return{x:g,y:m,width:a.width,height:a.height}}function Yl(t){return Wt(t).position==="static"}function Mm(t,e){if(!wr(t)||Wt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Or(t)===r&&(r=r.ownerDocument.body),r}function Vm(t,e){let r=ct(t);if(rn(t))return r;if(!wr(t)){let n=zr(t);for(;n&&!ui(n);){if(Ht(n)&&!Yl(n))return n;n=zr(n)}return r}let o=Mm(t,e);for(;o&&Pm(o)&&Yl(o);)o=Mm(o,e);return o&&ui(o)&&Yl(o)&&!di(o)?r:o||Nm(t)||r}function zC(t){return Wt(t).direction==="rtl"}var _C,PC,UC,fi,Hm,Xl,Wm,Gm,Jl,jm=u(()=>{Lm();ps();Ql();_C=ar(0);PC=25;UC=async function(t){let e=this.getOffsetParent||Vm,r=this.getDimensions,o=await r(t.floating);return{reference:BC(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};fi={convertOffsetParentRelativeRectToViewportRelativeRect:LC,getDocumentElement:Or,getClippingRect:MC,getOffsetParent:Vm,getElementRects:UC,getClientRects:IC,getDimensions:$C,getScale:pi,isElement:Ht,isRTL:zC},Hm=Am,Xl=Rm,Wm=_m,Gm=km,Jl=(t,e,r)=>{let o=new Map,n=r??{},s={...fi,...n.platform,_c:o};return wm(t,e,{...n,platform:s})}});function tc(t){return VC(t)}function ec(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function VC(t){for(let e=t;e;e=ec(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ec(t);e;e=ec(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||di(r)||e.tagName==="BODY"))return e}return null}var Km=u(()=>{Ql()});var ic={};G(ic,{computeOffsetAutoPosition:()=>oc,computeOffsetPosition:()=>rc});async function rc(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},Jl(t,e,{strategy:o.strategy,platform:{...fi,getOffsetParent:n=>fi.getOffsetParent(n,tc)},middleware:[Wm({crossAxis:!0}),Xl({allowedPlacements:[o.placement]})]})}async function oc(t,e,r,o,n,s,a){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):l=r,Jl(t,e,{placement:l,strategy:n,platform:{...fi,getOffsetParent:f=>fi.getOffsetParent(f,tc)},middleware:[Hm(a??4),Xl({allowedPlacements:o}),Gm({apply({availableHeight:f,availableWidth:g,elements:m}){typeof s=="string"&&(s=`var(${s})`),s?m.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${s})`:m.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?m.floating.style.maxWidth=`min(${Math.max(0,g)}px, ${d})`:m.floating.style.maxWidth=`${Math.max(0,g)}px`}})]})}var bs=u(()=>{"use strict";jm();Km()});var nc={};G(nc,{isSlotEmptyOrWithoutContent:()=>sn});var sn,sc=u(()=>{"use strict";sn=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var n;return o.nodeType===Node.TEXT_NODE?((n=o.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0});var ac={};G(ac,{ScopedRegistryLitElement:()=>an});var an,xs=u(()=>{"use strict";L();lo();an=class extends $t{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},o=this.renderOptions.creationScope=this.attachShadow(r);return $i(o,e.elementStyles),o}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,o])=>this.defineScopedElement(r,o))}static defineScopedElement(e,r){Ki(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 cc={};G(cc,{shadowQuerySelector:()=>lc,shadowQuerySelectorAll:()=>HC});function lc(t,e,...r){var o;let n=t.querySelector(e);for(let s of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(s);return n}function HC(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var vs=u(()=>{"use strict"});var dc={};G(dc,{ExportpartsUpdatedEvent:()=>yo,FtLitElement:()=>$});var hi,Ym,qm,Zm,Xm,Qm,yo,$,ln=u(()=>{"use strict";j();lo();cs();xs();vs();hi=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},qm=Symbol("constructorPrototype"),Zm=Symbol("constructorName"),Xm=Symbol("exportpartsDebouncer"),Qm=Symbol("dynamicDependenciesLoaded"),yo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};yo.eventName="exportparts-updated";$=class extends an{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ym]=new ie(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Xm].run(()=>{var n,s;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.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[Zm]=this.constructor.name,this[qm]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zm]&&Object.setPrototypeOf(this,this[qm])}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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Qm]||(r[Qm]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(yo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(yo.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 yo)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let s=[...n??[],o];r=lc(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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,o,n,s,a,l;let d=y=>y!=null&&y.trim().length>0,f=e.filter(d).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let g=new Set;for(let y of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let E=(a=(o=y.getAttribute("part"))===null||o===void 0?void 0:o.split(" "))!==null&&a!==void 0?a:[],A=(l=(n=y.getAttribute("exportparts"))===null||n===void 0?void 0:n.split(",").map(I=>I.split(":")[1]))!==null&&l!==void 0?l:[],F=[...E,...A].filter(d).map(I=>I.trim());for(let I of F)g.add(I)}if(g.size===0){this.exportparts=void 0;return}let m=[...g.values()].flatMap(y=>f.map(E=>`${y}:${E}--${y}`));this.exportparts=[...this.part,...m].join(", ")}};Ym=Xm;hi([h()],$.prototype,"exportpartsPrefix",void 0);hi([ce([])],$.prototype,"exportpartsPrefixes",void 0);hi([h({reflect:!0})],$.prototype,"exportparts",void 0);hi([h()],$.prototype,"customStylesheet",void 0);hi([h()],$.prototype,"elementToFocus",void 0);hi([k()],$.prototype,"useAdoptedStyleSheets",void 0)});var pc={};G(pc,{FtdsBase:()=>uc,toFtdsBase:()=>eg});var Jm,eg,uc,fc=u(()=>{"use strict";ln();j();ai();Ze();Jm=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},eg=we(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Ji.medium,this.family=Xi.neutral}getDesignSystemBaseClasses(){return{[Ml(this.family)]:!0,[$l(this.size)]:!0}}}return Jm([h()],e.prototype,"size",void 0),Jm([h()],e.prototype,"family",void 0),e}),uc=class extends eg($){}});var tg={};var hc=u(()=>{"use strict"});var bo,rg=u(()=>{bo=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let s=!1;return o.every(a=>n.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(o=>{let n=r.filter(s=>s.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let s=e.contentWindow;if(n=s.document,!s||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,s=null,a=()=>{if(!n){n=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&n(l)};a||d(),s.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{r(f)&&(l++,o(g)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),s=Node.DOCUMENT_POSITION_PRECEDING;if(n&s)if(r!==null){let a=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let s=!1,a=!1;return n.forEach((l,d)=>{l.val===o&&(s=d,a=l.handled)}),this.compareNodeIframe(e,r,o)?(s===!1&&!a?n.push({val:o,handled:!0}):s!==!1&&!a&&(n[s].handled=!0),!0):(s===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,s){let a=this.createIterator(r,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(a),f);for(;m();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,g,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,E=>d.push(E),n)}),d.push(f);d.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(l,e,o,n),s()}forEachNode(e,r,o,n=()=>{}){let s=this.getContexts(),a=s.length;a||n(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--a<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var cn,og=u(()=>{rg();cn=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 bo(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[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,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let a=r[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,o,n)=>{let s=n.charAt(o+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.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",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(s=>{o.every(a=>{if(a.indexOf(s)!==-1){if(n.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),n.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,s=typeof o=="string"?[]:o.limiters,a="";switch(s.forEach(l=>{a+=`|${this.escapeStr(l)}`}),n){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(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.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=[],o=0;return e.sort((n,s)=>n.start-s.start).forEach(n=>{let{start:s,end:a,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=s,n.length=a-s,r.push(n),o=a)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,s=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>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:o,end:n,valid:s}}checkWhitespaceRanges(e,r,o){let n,s=!0,a=o.length,l=r-a,d=parseInt(e.start,10)-l;return d=d>a?a:d,n=d+parseInt(e.length,10),n>a&&(n=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||n-d<0||d>a||n>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:s}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return bo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,r,o,n,s){e.nodes.every((a,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(a.node))return!1;let f=r-a.start,g=(o>a.end?a.end:o)-a.start,m=e.value.substr(0,a.start),y=e.value.substr(g+a.start);if(a.node=this.wrapRangeInTextNode(a.node,f,g),e.value=m+y,e.nodes.forEach((E,A)=>{A>=l&&(e.nodes[A].start>0&&A!==l&&(e.nodes[A].start-=g),e.nodes[A].end-=g)}),o-=g,s(a.node.previousSibling,a.start),o>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,o,n,s){let a=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[a]!=="";){if(!o(f[a],d))continue;let g=f.index;if(a!==0)for(let m=1;m<a;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[a].length),n(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,o,n,s){let a=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[a]!=="";){let f=d.index;if(a!==0)for(let m=1;m<a;m++)f+=d[m].length;let g=f+d[a].length;this.wrapRangeInMappedTextNode(l,f,g,m=>o(d[a],m),(m,y)=>{e.lastIndex=y,n(m)})}s()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(s=>{let a=s.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,a,s.value);m&&this.wrapRangeInMappedTextNode(s,f,g,y=>r(y,l,s.value.substring(f,g),d),y=>{o(y,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,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 o=0,n="wrapMatches",s=a=>{o++,this.opt.each(a)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(a,l)=>this.opt.filter(l,a,o),s,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(y,E)=>this.opt.filter(E,f,o,m),y=>{m++,o++,this.opt.each(y)},()=>{m===0&&this.opt.noMatch(f),s[a-1]===f?this.opt.done(o):d(s[s.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),a===0?this.opt.done(o):d(s[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(s,a,l,d)=>this.opt.filter(s,a,l,d),(s,a)=>{o++,this.opt.each(s,a)},()=>{this.opt.done(o)})):this.opt.done(o)}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,o=>{this.unwrapMatches(o)},o=>{let n=bo.matches(o,r),s=this.matchesExclude(o);return!n||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function mc(t){let e=new cn(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var ig=u(()=>{og()});var yc={};G(yc,{highlightHtml:()=>gc,highlightHtmlColorCssVariable:()=>ng,highlightHtmlStyles:()=>GC});function gc(t,e,r){var o,n;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new WC(t);if(a.unmark(),e&&e.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let g in r.attributes)f.setAttribute(g,r.attributes[g])}),a.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>a.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var WC,ng,GC,bc=u(()=>{"use strict";L();ai();ig();WC=mc,ng=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),GC=O`
1
+ "use strict";(()=>{var tS=Object.defineProperty;var u=(t,e,r)=>()=>{if(r)throw r[0];try{return t&&(e=t(t=0)),e}catch(o){throw r=[o],o}};var G=(t,e)=>{for(var r in e)tS(t,r,{get:e[r],enumerable:!0})};var Up=u(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(S,v){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=v.prototype.attributeChangedCallback,N=new Set(v.observedAttributes||[]);y(v,N,R);let q={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(S,q),this._definitionsByClass.set(v,q);let de=r.call(o,S);de||(de=m(S),e.call(o,S,de)),this===window.customElements&&(a.set(v,q),q.standInClass=de);let we=this._awaitingUpgrade.get(S);if(we){this._awaitingUpgrade.delete(S);for(let se of we)s.delete(se),A(se,q,!0)}let V=this._whenDefinedPromises.get(S);return V!==void 0&&(V.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){I.push(this),o.upgrade.apply(o,arguments),I.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let v=this._getDefinition(S);if(v!==void 0)return Promise.resolve(v.elementClass);let R=this._whenDefinedPromises.get(S);return R===void 0&&(R={},R.promise=new Promise(N=>R.resolve=N),this._whenDefinedPromises.set(S,R)),R.promise}_upgradeWhenDefined(S,v,R){let N=this._awaitingUpgrade.get(v);N||this._awaitingUpgrade.set(v,N=new Set),R?N.add(S):N.delete(S)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let R=a.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),n.set(v,R),v},window.HTMLElement.prototype=t.prototype;let f=S=>S===document||S instanceof ShadowRoot,g=S=>{let v=S.getRootNode();if(!f(v)){let R=I[I.length-1];if(R instanceof CustomElementRegistry)return R;v=R.getRootNode(),f(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},m=S=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let N=g(R)||window.customElements,q=N._getDefinition(S);return q?A(R,q):s.set(R,N),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},y=(S,v,R)=>{if(v.size===0||R===void 0)return;let N=S.prototype.setAttribute;N&&(S.prototype.setAttribute=function(we,V){let se=we.toLowerCase();if(v.has(se)){let De=this.getAttribute(se);N.call(this,se,V),R.call(this,se,De,V)}else N.call(this,se,V)});let q=S.prototype.removeAttribute;q&&(S.prototype.removeAttribute=function(we){let V=we.toLowerCase();if(v.has(V)){let se=this.getAttribute(V);q.call(this,V),R.call(this,V,se,null)}else q.call(this,V)});let de=S.prototype.toggleAttribute;de&&(S.prototype.toggleAttribute=function(we,V){let se=we.toLowerCase();if(v.has(se)){let De=this.getAttribute(se);de.call(this,se,V);let rr=this.getAttribute(se);R.call(this,se,De,rr)}else de.call(this,se,V)})},E=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):E(v)},A=(S,v,R=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),n.set(S,v),d=S;try{new v.elementClass}catch{E(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(N=>{S.hasAttribute(N)&&v.attributeChangedCallback.call(S,N,null,S.getAttribute(N))}),R&&v.connectedCallback&&S.isConnected&&v.connectedCallback.call(S)},F=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let v=F.apply(this,arguments);return S.customElements&&(v.customElements=S.customElements),v};let I=[document],U=(S,v,R=void 0)=>{let N=(R?Object.getPrototypeOf(R):S.prototype)[v];S.prototype[v]=function(){I.push(this);let q=N.apply(R||this,arguments);return q!==void 0&&l.set(q,this),I.pop(),q}};U(ShadowRoot,"createElement",document),U(ShadowRoot,"importNode",document),U(Element,"insertAdjacentHTML");let H=(S,v)=>{let R=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...R,set(N){I.push(this),R.set.call(this,N),I.pop()}})};if(H(Element,"innerHTML"),H(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...we){let V=v.call(this,...we);return S.set(V,this),V},R.forEach(we=>{let V=window.ElementInternals.prototype,se=V[we];V[we]=function(...De){let rr=S.get(this);if(n.get(rr).formAssociated===!0)return se?.call(this,...De);throw new DOMException(`Failed to execute ${se} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(V){super(...V),this._elements=V}get value(){return this._elements.find(V=>V.checked===!0)?.value||""}}class q{constructor(V){let se=new Map;V.forEach((De,rr)=>{let za=De.getAttribute("name"),Bp=se.get(za)||[];this[+rr]=De,Bp.push(De),se.set(za,Bp)}),this.length=V.length,se.forEach((De,rr)=>{De&&(De.length===1?this[rr]=De[0]:this[rr]=new N(De))})}namedItem(V){return this[V]}}let de=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let we=de.get.call(this,[]),V=[];for(let se of we){let De=n.get(se);(!De||De.formAssociated===!0)&&V.push(se)}return new q(V)}})}}});var zp=u(()=>{"use strict";Up();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,n)=>{var s;if(o!==null)try{e.bind(window.customElements)(r,o,n)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},n):console.info(r,o,n,a)}}}});var Wn,$i,Va,Vp,Qo,eo,O,Bi,Gn,Ha=u(()=>{Wn=globalThis,$i=Wn.ShadowRoot&&(Wn.ShadyCSS===void 0||Wn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Va=Symbol(),Vp=new WeakMap,Qo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Va)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($i&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Vp.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Vp.set(r,e))}return e}toString(){return this.cssText}},eo=t=>new Qo(typeof t=="string"?t:t+"",void 0,Va),O=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,n,s)=>o+(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.")})(n)+t[s+1],t[0]);return new Qo(r,t,Va)},Bi=(t,e)=>{if($i)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=Wn.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},Gn=$i?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return eo(r)})(t):t});var rS,oS,iS,nS,sS,aS,jn,Hp,lS,cS,Ui,Yo,zi,Wp,_t,Vi=u(()=>{Ha();Ha();({is:rS,defineProperty:oS,getOwnPropertyDescriptor:iS,getOwnPropertyNames:nS,getOwnPropertySymbols:sS,getPrototypeOf:aS}=Object),jn=globalThis,Hp=jn.trustedTypes,lS=Hp?Hp.emptyScript:"",cS=jn.reactiveElementPolyfillSupport,Ui=(t,e)=>t,Yo={toAttribute(t,e){switch(e){case Boolean:t=t?lS: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}},zi=(t,e)=>!rS(t,e),Wp={attribute:!0,type:String,converter:Yo,reflect:!1,useDefault:!1,hasChanged:zi};Symbol.metadata??=Symbol("metadata"),jn.litPropertyMetadata??=new WeakMap;_t=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=Wp){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 o=Symbol(),n=this.getPropertyDescriptor(e,o,r);n!==void 0&&oS(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:s}=iS(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){let l=n?.call(this);s?.call(this,a),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Wp}static _$Ei(){if(this.hasOwnProperty(Ui("elementProperties")))return;let e=aS(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ui("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ui("properties"))){let r=this.properties,o=[...nS(r),...sS(r)];for(let n of o)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,n]of r)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let n=this._$Eu(r,o);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let n of o)r.unshift(Gn(n))}else e!==void 0&&r.push(Gn(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o: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 o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Bi(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,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,o);if(n!==void 0&&o.reflect===!0){let s=(o.converter?.toAttribute!==void 0?o.converter:Yo).toAttribute(r,o.type);this._$Em=e,s==null?this.removeAttribute(n):this.setAttribute(n,s),this._$Em=null}}_$AK(e,r){let o=this.constructor,n=o._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let s=o.getPropertyOptions(n),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:Yo;this._$Em=n;let l=a.fromAttribute(r,s.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,o,n=!1,s){if(e!==void 0){let a=this.constructor;if(n===!1&&(s=this[e]),o??=a.getPropertyOptions(e),!((o.hasChanged??zi)(s,r)||o.useDefault&&o.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:n,wrapped:s},a){o&&!(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||o||(r=void 0),this._$AL.set(e,r)),n===!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[n,s]of this._$Ep)this[n]=s;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,s]of o){let{wrapped:a}=s,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,s,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}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){}};_t.elementStyles=[],_t.shadowRootOptions={mode:"open"},_t[Ui("elementProperties")]=new Map,_t[Ui("finalized")]=new Map,cS?.({ReactiveElement:_t}),(jn.reactiveElementVersions??=[]).push("2.1.2")});function ef(t,e){if(!qa(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return jp!==void 0?jp.createHTML(e):e}function io(t,e,r=t,o){if(e===Me)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,s=Gi(e)?void 0:e._$litDirective$;return n?.constructor!==s&&(n?._$AO?.(!1),s===void 0?n=void 0:(n=new s(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=io(t,n._$AS(t,e.values),n,o)),e}var Ga,Gp,Kn,jp,ja,vr,Ka,dS,oo,Wi,Gi,qa,Xp,Wa,Hi,Kp,qp,to,Zp,Qp,Jp,Za,b,Qa,Ya,Me,_,Yp,ro,tf,ji,qn,Xo,no,Zn,Qn,Yn,Xn,Xa,uS,Ja,$t=u(()=>{Ga=globalThis,Gp=t=>t,Kn=Ga.trustedTypes,jp=Kn?Kn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ja="$lit$",vr=`lit$${Math.random().toFixed(9).slice(2)}$`,Ka="?"+vr,dS=`<${Ka}>`,oo=document,Wi=()=>oo.createComment(""),Gi=t=>t===null||typeof t!="object"&&typeof t!="function",qa=Array.isArray,Xp=t=>qa(t)||typeof t?.[Symbol.iterator]=="function",Wa=`[
2
+ \f\r]`,Hi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kp=/-->/g,qp=/>/g,to=RegExp(`>|${Wa}(?:([^\\s"'>=/]+)(${Wa}*=${Wa}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Zp=/'/g,Qp=/"/g,Jp=/^(?:script|style|textarea|title)$/i,Za=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),b=Za(1),Qa=Za(2),Ya=Za(3),Me=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),Yp=new WeakMap,ro=oo.createTreeWalker(oo,129);tf=(t,e)=>{let r=t.length-1,o=[],n,s=e===2?"<svg>":e===3?"<math>":"",a=Hi;for(let l=0;l<r;l++){let d=t[l],f,g,m=-1,y=0;for(;y<d.length&&(a.lastIndex=y,g=a.exec(d),g!==null);)y=a.lastIndex,a===Hi?g[1]==="!--"?a=Kp:g[1]!==void 0?a=qp:g[2]!==void 0?(Jp.test(g[2])&&(n=RegExp("</"+g[2],"g")),a=to):g[3]!==void 0&&(a=to):a===to?g[0]===">"?(a=n??Hi,m=-1):g[1]===void 0?m=-2:(m=a.lastIndex-g[2].length,f=g[1],a=g[3]===void 0?to:g[3]==='"'?Qp:Zp):a===Qp||a===Zp?a=to:a===Kp||a===qp?a=Hi:(a=to,n=void 0);let E=a===to&&t[l+1].startsWith("/>")?" ":"";s+=a===Hi?d+dS:m>=0?(o.push(f),d.slice(0,m)+ja+d.slice(m)+vr+E):d+vr+(m===-2?l:E)}return[ef(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},ji=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[f,g]=tf(e,r);if(this.el=t.createElement(f,o),ro.currentNode=this.el.content,r===2||r===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ro.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(ja)){let y=g[a++],E=n.getAttribute(m).split(vr),A=/([.?@])?(.*)/.exec(y);d.push({type:1,index:s,name:A[2],strings:E,ctor:A[1]==="."?Zn:A[1]==="?"?Qn:A[1]==="@"?Yn:no}),n.removeAttribute(m)}else m.startsWith(vr)&&(d.push({type:6,index:s}),n.removeAttribute(m));if(Jp.test(n.tagName)){let m=n.textContent.split(vr),y=m.length-1;if(y>0){n.textContent=Kn?Kn.emptyScript:"";for(let E=0;E<y;E++)n.append(m[E],Wi()),ro.nextNode(),d.push({type:2,index:++s});n.append(m[y],Wi())}}}else if(n.nodeType===8)if(n.data===Ka)d.push({type:2,index:s});else{let m=-1;for(;(m=n.data.indexOf(vr,m+1))!==-1;)d.push({type:7,index:s}),m+=vr.length-1}s++}}static createElement(e,r){let o=oo.createElement("template");return o.innerHTML=e,o}};qn=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:o}=this._$AD,n=(e?.creationScope??oo).importNode(r,!0);ro.currentNode=n;let s=ro.nextNode(),a=0,l=0,d=o[0];for(;d!==void 0;){if(a===d.index){let f;d.type===2?f=new Xo(s,s.nextSibling,this,e):d.type===1?f=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(f=new Xn(s,this,e)),this._$AV.push(f),d=o[++l]}a!==d?.index&&(s=ro.nextNode(),a++)}return ro.currentNode=oo,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Xo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.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=io(this,e,r),Gi(e)?e===_||e==null||e===""?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==Me&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Xp(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!==_&&Gi(this._$AH)?this._$AA.nextSibling.data=e:this.T(oo.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=ji.createElement(ef(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let s=new qn(n,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Yp.get(e.strings);return r===void 0&&Yp.set(e.strings,r=new ji(e)),r}k(e){qa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let s of e)n===r.length?r.push(o=new t(this.O(Wi()),this.O(Wi()),this,this.options)):o=r[n],o._$AI(s),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){let o=Gp(e).nextSibling;Gp(e).remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},no=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,s){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=s,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=_}_$AI(e,r=this,o,n){let s=this.strings,a=!1;if(s===void 0)e=io(this,e,r,0),a=!Gi(e)||e!==this._$AH&&e!==Me,a&&(this._$AH=e);else{let l=e,d,f;for(e=s[0],d=0;d<s.length-1;d++)f=io(this,l[o+d],r,d),f===Me&&(f=this._$AH[d]),a||=!Gi(f)||f!==this._$AH[d],f===_?e=_:e!==_&&(e+=(f??"")+s[d+1]),this._$AH[d]=f}a&&!n&&this.j(e)}j(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Zn=class extends no{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_?void 0:e}},Qn=class extends no{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==_)}},Yn=class extends no{constructor(e,r,o,n,s){super(e,r,o,n,s),this.type=5}_$AI(e,r=this){if((e=io(this,e,r,0)??_)===Me)return;let o=this._$AH,n=e===_&&o!==_||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,s=e!==_&&(o===_||n);n&&this.element.removeEventListener(this.name,this,o),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)}},Xn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){io(this,e)}},Xa={M:ja,P:vr,A:Ka,C:1,L:tf,R:qn,D:Xp,V:io,I:Xo,H:no,N:Qn,U:Yn,B:Zn,F:Xn},uS=Ga.litHtmlPolyfillSupport;uS?.(ji,Xo),(Ga.litHtmlVersions??=[]).push("3.3.3");Ja=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let s=r?.renderBefore??null;o._$litPart$=n=new Xo(e.insertBefore(Wi(),s),s,void 0,r??{})}return n._$AI(t),n}});var el,Bt,pS,fS,rf=u(()=>{Vi();Vi();$t();$t();el=globalThis,Bt=class extends _t{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=Ja(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Me}};Bt._$litElement$=!0,Bt.finalized=!0,el.litElementHydrateSupport?.({LitElement:Bt});pS=el.litElementPolyfillSupport;pS?.({LitElement:Bt});fS={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(el.litElementVersions??=[]).push("4.2.2")});var GO,of=u(()=>{GO=!1});var tl={};G(tl,{CSSResult:()=>Qo,LitElement:()=>Bt,ReactiveElement:()=>_t,_$LE:()=>fS,_$LH:()=>Xa,adoptStyles:()=>Bi,css:()=>O,defaultConverter:()=>Yo,getCompatibleStyle:()=>Gn,html:()=>b,isServer:()=>GO,mathml:()=>Ya,noChange:()=>Me,notEqual:()=>zi,nothing:()=>_,render:()=>Ja,supportsAdoptingStyleSheets:()=>$i,svg:()=>Qa,unsafeCSS:()=>eo});var L=u(()=>{Vi();$t();rf();of()});var hS,nf=u(()=>{hS=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function h(t){return(e,r)=>typeof r=="object"?sf(t,e,r):((o,n,s)=>{let a=n.hasOwnProperty(s);return n.constructor.createProperty(s,o),a?Object.getOwnPropertyDescriptor(n,s):void 0})(t,e,r)}var mS,sf,rl=u(()=>{Vi();mS={attribute:!0,type:String,converter:Yo,reflect:!1,hasChanged:zi},sf=(t=mS,e,r)=>{let{kind:o,metadata:n}=r,s=globalThis.litPropertyMetadata.get(n);if(s===void 0&&globalThis.litPropertyMetadata.set(n,s=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),o==="accessor"){let{name:a}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(o==="setter"){let{name:a}=r;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+o)}});function k(t){return h({...t,state:!0,attribute:!1})}var af=u(()=>{rl();});function gS(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var lf=u(()=>{});var Ut,Jo=u(()=>{Ut=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function M(t,e){return(r,o,n)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ut(r,o,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ut(r,o,{get(){return s(this)}})}}var cf=u(()=>{Jo();});function ol(t){return(e,r)=>Ut(e,r,{get(){return(this.renderRoot??(yS??=document.createDocumentFragment())).querySelectorAll(t)}})}var yS,df=u(()=>{Jo();});function bS(t){return(e,r)=>Ut(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var uf=u(()=>{Jo();});function il(t){return(e,r)=>{let{slot:o,selector:n}=t??{},s="slot"+(o?`[name=${o}]`:":not([name])");return Ut(e,r,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var pf=u(()=>{Jo();});function nl(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Ut(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var ff=u(()=>{Jo();});var sl={};G(sl,{customElement:()=>hS,eventOptions:()=>gS,property:()=>h,query:()=>M,queryAll:()=>ol,queryAssignedElements:()=>il,queryAssignedNodes:()=>nl,queryAsync:()=>bS,standardProperty:()=>sf,state:()=>k});var j=u(()=>{nf();rl();af();lf();cf();df();uf();pf();ff()});var or,mt,kt,so=u(()=>{or={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},mt=t=>(...e)=>({_$litDirective$:t,values:e}),kt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var xS,hf,gf,mf,ei,Dr,vS,yf,bf,Jn,al=u(()=>{$t();({I:xS}=Xa),hf=t=>t,gf=t=>t.strings===void 0,mf=()=>document.createComment(""),ei=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=o.insertBefore(mf(),n),a=o.insertBefore(mf(),n);r=new xS(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==n||l){let d=r._$AA;for(;d!==s;){let f=hf(d).nextSibling;hf(o).insertBefore(d,n),d=f}}}return r},Dr=(t,e,r=t)=>(t._$AI(e,r),t),vS={},yf=(t,e=vS)=>t._$AH=e,bf=t=>t._$AH,Jn=t=>{t._$AR(),t._$AA.remove()}});var xf,ge,vf=u(()=>{$t();so();al();xf=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},ge=mt(class extends kt{constructor(t){if(super(t),t.type!==or.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],s=[],a=0;for(let l of t)n[a]=o?o(l,a):a,s[a]=r(l,a),a++;return{values:s,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=bf(t),{values:s,keys:a}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=a,s;let l=this.ut??=[],d=[],f,g,m=0,y=n.length-1,E=0,A=s.length-1;for(;m<=y&&E<=A;)if(n[m]===null)m++;else if(n[y]===null)y--;else if(l[m]===a[E])d[E]=Dr(n[m],s[E]),m++,E++;else if(l[y]===a[A])d[A]=Dr(n[y],s[A]),y--,A--;else if(l[m]===a[A])d[A]=Dr(n[m],s[A]),ei(t,d[A+1],n[m]),m++,A--;else if(l[y]===a[E])d[E]=Dr(n[y],s[E]),ei(t,n[m],n[y]),y--,E++;else if(f===void 0&&(f=xf(a,E,A),g=xf(l,m,y)),f.has(l[m]))if(f.has(l[y])){let F=g.get(a[E]),I=F!==void 0?n[F]:null;if(I===null){let U=ei(t,n[m]);Dr(U,s[E]),d[E]=U}else d[E]=Dr(I,s[E]),ei(t,n[m],I),n[F]=null;E++}else Jn(n[y]),y--;else Jn(n[m]),m++;for(;E<=A;){let F=ei(t,d[A+1]);Dr(F,s[E]),d[E++]=F}for(;m<=y;){let F=n[m++];F!==null&&Jn(F)}return this.ut=a,yf(t,d),Me}})});var ll={};G(ll,{repeat:()=>ge});var zt=u(()=>{vf()});var pe,Sf=u(()=>{$t();so();pe=mt(class extends kt{constructor(t){if(super(t),t.type!==or.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(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let n=!!e[o];n===this.st.has(o)||this.nt?.has(o)||(n?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return Me}})});var cl={};G(cl,{classMap:()=>pe});var tt=u(()=>{Sf()});var Cf,SS,CS,Ef=u(()=>{$t();so();Cf="important",SS=" !"+Cf,CS=mt(class extends kt{constructor(t){if(super(t),t.type!==or.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 o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}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 o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ft.add(o);let s=typeof n=="string"&&n.endsWith(SS);o.includes("-")||s?r.setProperty(o,s?n.slice(0,-11):n,s?Cf:""):r[o]=n}}return Me}})});var dl={};G(dl,{styleMap:()=>CS});var Of=u(()=>{Ef()});var ti,ao,wf=u(()=>{$t();so();ti=class extends kt{constructor(e){if(super(e),this.it=_,e.type!==or.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===_||e==null)return this._t=void 0,this.it=e;if(e===Me)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:[]}}};ti.directiveName="unsafeHTML",ti.resultType=1;ao=mt(ti)});var ul={};G(ul,{UnsafeHTMLDirective:()=>ti,unsafeHTML:()=>ao});var Ki=u(()=>{wf()});var pl={};G(pl,{splitBreadcrumbForMenu:()=>ES});function ES(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let o=Math.max(r,1),n=t.slice(o*-1);return e+o>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-n.length),afterMenu:n}}var fl=u(()=>{"use strict"});var hl={};G(hl,{CancelablePromise:()=>es,CanceledPromiseError:()=>ir,cancelable:()=>ri});var ir,es,ri,ts=u(()=>{"use strict";ir=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},es=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new ir("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new ir("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ri=t=>new es((e,r)=>t.then(e).catch(r))});var ml={};G(ml,{customElement:()=>qi,dateProperty:()=>wS,isNumber:()=>Af,jsonProperty:()=>le,jsonPropertyConverter:()=>Rf,numberProperty:()=>Lt,optionalNumberProperty:()=>OS});function le(t,e){return h({type:Object,converter:Rf(t),hasChanged:lt,...e??{}})}function OS(t){return Lt(t)}function Lt(t){return h({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(o=t?.max)!==null&&o!==void 0?o:1/0;return Af(e)?Sr(n,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Af(t){return!isNaN(parseFloat(t))}function wS(t){return h({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 qi,Rf,lo=u(()=>{"use strict";j();qe();qi=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Rf=t=>({fromAttribute:e=>{if(e==null)return gt(t);try{return JSON.parse(e)}catch{return gt(t)}},toAttribute:e=>JSON.stringify(e)})});var vl={};G(vl,{AbstractRegistry:()=>oi,applyMixinOnce:()=>Oe,customElements:()=>B,dateReviver:()=>AS,deepCopy:()=>gt,deepEqual:()=>_e,delay:()=>rs,eventPathContainsMatchingElement:()=>gl,everyDeep:()=>RS,flatDeep:()=>yt,forEachDeep:()=>_f,getComposedPathTo:()=>bl,groupBy:()=>kS,hasChanged:()=>lt,ignoreComposingEvents:()=>Mr,last:()=>yl,minmax:()=>Sr,parseDate:()=>Lf,randomId:()=>xl,someDeep:()=>kf,unslotText:()=>os,waitFor:()=>ii,waitUntil:()=>Zi});async function Zi(t,e=10,r=2e4){await ii(async()=>await t()||void 0,e,r)}async function ii(t,e=10,r=2e4){let o=await t(),n=performance.now(),s=n;for(;o==null&&(!r||s-n<r);)await rs(e),o=await t(),s=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function yt(t,e){return t.flatMap(r=>[r,...yt(e(r),e)])}function _f(t,e,r){let o=(n,s)=>{var a;for(let l=0;l<n.length;l++){let d=n[l];if(!(((a=r(d,l,n,s))!==null&&a!==void 0?a:!0)&&o(e(d),[...s,d])))return!1}return!0};o(t,[])}function kf(t,e,r){let o=!1;return _f(t,e,(n,s,a,l)=>(o=!!r(n,s,a,l),!o)),o}function RS(t,e,r){return!kf(t,e,(o,n,s,a)=>!r(o,n,s,a))}function AS(...t){return(e,r)=>t.includes(e)?Lf(r):r}function Lf(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,o,n)=>r+o+":"+n),new Date(t)}function _S(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,o;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!_e(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!_e(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[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 n=a=>Object.keys(a).filter(l=>a[l]!=null),s=n(t);if(r=s.length,r!==n(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=r;o--!==0;){let a=s[o];if(!_e(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function _e(t,e){try{return _S(t,e)}catch{return!1}}function lt(t,e){return!_e(t,e)}function gl(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(s=>n.matches(s)))return!0}}return!1}function Sr(t,e,r){return Math.min(Math.max(t,e),r)}function yl(t){return t[t.length-1]}function os(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>os(e)).join(""):t?.textContent||""}function bl(t){let e=[],r=o=>{o.stopPropagation(),e=o.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 gt(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function xl(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Oe(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}function Mr(){return function(t,e,r){let o=r.value;r.value=function(n,...s){if(n.isComposing||n.keyCode===229){n.stopPropagation();return}return o.apply(this,[n].concat(s))}}}function B(t){for(let[e,r]of Object.entries(t))qi(e)(r)}function kS(t,e){var r,o;let n=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[o=n(a)])!==null&&r!==void 0?r:s[o]=[]).push(a);return s}var rs,oi,qe=u(()=>{"use strict";lo();rs=t=>new Promise(e=>setTimeout(e,t));oi=class{constructor(){this.knownElements=new Set}register(e){this.knownElements.add(e)}unregister(e){this.knownElements.delete(e)}list(){return Array.from(this.knownElements)}}});var El={};G(El,{FtContextRegistrationEvent:()=>Er,FtNotificationEvent:()=>Qi,PostResizeEvent:()=>Cl,PreResizeEvent:()=>Sl,WithEventBus:()=>Cr,withEventBus:()=>is});var Qi,Sl,Cl,is,Cr,Er,ni=u(()=>{"use strict";qe();Qi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Sl=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Cl=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},is=Oe(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,n){this.eventBus.addEventListener(r,o,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,n){this.eventBus.removeEventListener(r,o,n)}}}),Cr=class extends is(Object){},Er=class extends CustomEvent{constructor(e,r){super(e,{composed:!0,bubbles:!0,detail:r})}}});var Ol={};G(Ol,{CacheRegistry:()=>nr,ClearCacheEvent:()=>Yi});var Yi,nr,wl=u(()=>{"use strict";ts();ni();Yi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},nr=class extends Cr{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let s=this.content[e],a=(n=s?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...s,loader:r,final:o,status:a}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Yi(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Yi([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let n=async()=>r,s="RESOLVED";this.content[e]={loader:n,final:o,status:s,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=ri(r()),n.promise.then(s=>(n.status="RESOLVED",n.value=s,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),s)).catch(s=>{var a;throw!((a=n.promise)===null||a===void 0)&&a.isCanceled||(n.status="ERROR",n.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,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.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 Rl=u(()=>{});var LS,IS,ns,Al,If,Tf,Pf,$r,Nf,Ff,Df,co,Mf,$f,Bf,Uf,zf,Vf,Hf,Wf,Gf,Br,jf,Kf,uo,Xf,qf,ss,Zf,si,Jf,sr,ai,Qf,Re,It,Yf,_l=u(()=>{LS=t=>typeof t=="object"&&t!=null,IS=t=>typeof t=="number",ns=t=>typeof t=="string",Al=t=>LS(t)&&ns(t.endpoint)&&ns(t.method)&&ns(t.statusText)&&ns(t.body)&&IS(t.status);(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(If||(If={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Tf||(Tf={}));(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"})(Pf||(Pf={}));(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"})($r||($r={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Nf||(Nf={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ff||(Ff={}));(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Df||(Df={}));(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"})(co||(co={}));(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Mf||(Mf={}));(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})($f||($f={}));(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",t.DOC_DIFF="DOC_DIFF"})(Bf||(Bf={}));(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"})(Uf||(Uf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(zf||(zf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Vf||(Vf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Hf||(Hf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Wf||(Wf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Gf||(Gf={}));(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Br||(Br={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(jf||(jf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Kf||(Kf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(uo||(uo={}));Xf=t=>Object.keys(uo).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(qf||(qf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ss||(ss={}));(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"})(Zf||(Zf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(si||(si={}));Jf=t=>Object.keys(si).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(sr||(sr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ai||(ai={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Qf||(Qf={}));(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"})(Re||(Re={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(It||(It={}));(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Yf||(Yf={}))});var eh,th,rh,oh,ih,nh,sh,ah,lh,ch,dh,uh=u(()=>{(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(eh||(eh={}));(function(t){t.VALID="VALID",t.INVALID="INVALID"})(th||(th={}));(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"})(rh||(rh={}));(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(oh||(oh={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ih||(ih={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(nh||(nh={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(sh||(sh={}));(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(ah||(ah={}));(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(lh||(lh={}));(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"})(ch||(ch={}));(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(dh||(dh={}))});var ph=u(()=>{_l();uh()});function fh(t,e){return t===e||(TS[t]??[]).some(r=>fh(r,e))}function Xi(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(o=>fh(o,e))}function hh(t,...e){return t==null?!1:e.some(r=>Xi(t,r))}var TS,mh=u(()=>{_l();TS={[Re.PERSONAL_BOOK_SHARE_USER]:[Re.PERSONAL_BOOK_USER],[Re.HTML_EXPORT_USER]:[Re.PERSONAL_BOOK_USER],[Re.PDF_EXPORT_USER]:[Re.PERSONAL_BOOK_USER],[Re.KHUB_ADMIN]:[Re.CONTENT_PUBLISHER],[Re.ADMIN]:[Re.KHUB_ADMIN,Re.USERS_ADMIN,Re.PORTAL_ADMIN,Re.BEHAVIOR_DATA_USER],[Re.GENERATIVE_AI_EXPORT_USER]:[Re.GENERATIVE_AI_USER]}});var gh=u(()=>{});var Vt=u(()=>{Rl();ph();mh();gh();Rl()});var kl={};G(kl,{SearchPlaceConverter:()=>Ht,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>bh,serializeRequest:()=>NS});function PS(t){return`"${t}"`}function yh(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function NS(t,e){return new Ht(t).serialize(e)}function bh(t){return FS.has(t)}var Y,FS,Ht,as=u(()=>{"use strict";Vt();qe();(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"})(Y||(Y={}));FS=new Set(Object.values(Y));Ht=class t{constructor(e,r=20,o=!1,n="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=n,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,n=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var o,n,s,a,l,d,f,g,m;let y=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&y.append(Y.LOCALE,e.contentLocale):y.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&y.append(Y.QUERY,e.query);let E=t.serializeValueFilters(e.metadataFilters);E&&y.append(Y.VALUE_FILTERS,E);let A=t.serializeNegativeValueFilters(e.metadataFilters);A&&y.append(Y.NEGATIVE_VALUE_FILTERS,A);let F=(d=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(F.length>0){let S=F.map(v=>{var R;return`${v.key}~${(R=v.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");y.append(Y.DATE_FILTERS,S)}let I=(f=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.rangeFilter))!==null&&f!==void 0?f:[];if(I.length>0){let S=I.map(v=>{var R,N;return`${v.key}~${(R=v.rangeFilter)===null||R===void 0?void 0:R.from}_${(N=v.rangeFilter)===null||N===void 0?void 0:N.to}`}).join("*");y.append(Y.RANGE_FILTERS,S)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(Y.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&y.append(Y.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&y.append(Y.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((g=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&y.append(Y.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&y.append(Y.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let U=(m=e.otherQueryParams)!==null&&m!==void 0?m:{};for(let S in U)y.append(S,U[S]);let H=new Array;return y.forEach((S,v)=>{H.push(this.encodeQueryString(v)+"="+this.encodeQueryString(S))}),encodeURI(H.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),n=this.fromURLSearchParams(o.slice(1).join("?")),s=o[0].split("/search/")[1];return s==null?n:{...n,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,s,a,l,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(H){console.warn("Could not decode search request query params, fallback on raw value",H)}let f=new URLSearchParams(e),g=(o=f.get(Y.LOCALE))!==null&&o!==void 0?o:void 0,m=((n=f.get(Y.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),y=(r=f.get(Y.SORT))===null||r===void 0?void 0:r.toLowerCase(),E=(s=f.get(Y.SCOPE))!==null&&s!==void 0?s:"default",A=+((a=f.get(Y.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),F=f.get(Y.KEYWORD_MATCH),I=F?F.toUpperCase()===Br.MANDATORY?Br.MANDATORY:Br.OPTIONAL:void 0,U={};for(let H of f.keys())bh(H)||(U[H]=f.get(H));return g==="all"?g=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!g||this.availableContentLocales.length>0&&!this.availableContentLocales.some(H=>H.lang===g))&&(g=this.defaultContentLocale),{contentLocale:g,query:(l=f.get(Y.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[E])!==null&&d!==void 0?d:"DEFAULT",virtualField:Xf(m)?m:"EVERYWHERE",sortId:y,metadataFilters:this.parseCompatFilters(f),facets:[],paging:{page:1,perPage:Sr(1,isNaN(A)?this.defaultPerPage:A,1e3)},keywordMatch:I,otherQueryParams:U}}parseCompatFilters(e){var r,o,n,s,a,l,d;let f=[];return e.has(Y.FILTERS)&&(f=t.parseValueFilters((r=e.get(Y.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(Y.PERIOD))!==null&&o!==void 0&&o&&(f=[...f,...this.parseLegacyPeriodFilter(((n=e.get(Y.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...f,...t.parseValueFilters((s=e.get(Y.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(Y.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(Y.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(Y.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(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(yh).map(n=>this.unescapeFilterValue(n)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:si[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,o,n]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}static superEscapeFilters(e){for(let[r,o,n]of t.filtersEscapeMapping)e=e.replaceAll(o,n);return e}static unescapeFilterValue(e){for(let[r,o,n]of t.filtersEscapeMapping)e=e.replaceAll(n,r);return e}parseLegacyPeriodFilter(e){if(Jf(e))return[{key:"ft:lastEdition",dateFilter:{type:si[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}static serializeValueFilter(e){var r,o;let n=((o=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&o!==void 0?o:[]).map(s=>t.escapeFilters(s)).map(s=>PS(yh(s))).join("_");return`${e.key}~${n}`}static serializeValueFilters(e){var r;let o=(r=e?.filter(n=>n.valueFilter&&!n.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let o=(r=e?.filter(n=>n.valueFilter&&n.valueFilter.negative))!==null&&r!==void 0?r:[];if(o.length>0)return o.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[Y.LOCALE,Y.FILTERS,Y.VALUE_FILTERS,Y.NEGATIVE_VALUE_FILTERS,Y.DATE_FILTERS,Y.RANGE_FILTERS].forEach(n=>{r.searchParams.delete(n)}),r.toString()}static updateLocaleParamInUrl(e,r){let o=new URL(e);return o.searchParams.delete(Y.LOCALE),r!==void 0&&o.searchParams.append(Y.LOCALE,r),o.toString()}};Ht.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]});var Tl={};G(Tl,{accessBreadcrumb:()=>DS,accessResult:()=>Tt,accessResultId:()=>ls,accessResultUrl:()=>Il,enrichReaderUrl:()=>Ll});function Tt(t){var e,r,o,n;return(n=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function ls(t){var e,r,o,n,s,a,l,d,f;return(f=(d=(l=(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&&l!==void 0?l:(o=t?.document)===null||o===void 0?void 0:o.documentId)!==null&&d!==void 0?d:(n=t?.htmlPackage)===null||n===void 0?void 0:n.packageId)!==null&&f!==void 0?f:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function Il(t,e){var r,o,n,s,a,l,d,f,g;return(g=(f=(d=(l=Ll((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&l!==void 0?l:Ll((o=t?.topic)===null||o===void 0?void 0:o.readerUrl,e))!==null&&d!==void 0?d:(n=t?.document)===null||n===void 0?void 0:n.viewerUrl)!==null&&f!==void 0?f:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&g!==void 0?g:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function DS(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 Ll(t,e){if(e&&t){let r=URL.parse(t),o=Ht.serializeValueFilters(e);if(o&&r?.searchParams.append(Y.VALUE_FILTERS,o),r)return r.toString()}return t}var cs=u(()=>{"use strict";as()});var Fl={};G(Fl,{ClusteringHelper:()=>Nl,formatHierarchicalValues:()=>Pl});function Pl(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Nl,Dl=u(()=>{"use strict";cs();Nl=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static findResultWithMetadataValue(e,r,o){return e?.find(n=>{var s;return((s=this.extractResultMetadata({result:n}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==o})}static extractResultMetadata(e){var r,o;let n=(o=(r=Tt(e.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return e.key==null?t.flattenMetadata(n,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(n.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,o)).filter(s=>s!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let s=[],a=[];return e.hierarchicalValues.forEach(l=>{s.push(Pl(l)),a.push(Pl(l,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(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,o="No value",n,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),f=(l=d?.label)!==null&&l!==void 0?l:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(m=>t.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:s})).map(m=>m??{key:e,label:f,value:void 0,displayValue:o}).filter(m=>m.value!=d?.value).filter((m,y,E)=>E.findIndex(A=>A.value===m.value)===y).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,y)=>this.compareMetadata(m.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(o),a=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,s);if(f>l&&(l=f,a=d,f===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}}});var Ml={};G(Ml,{Debouncer:()=>ie});var ie,ds=u(()=>{"use strict";ie=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,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(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 o)try{await a()}catch(l){n(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});function w(t,e){return Ur(`${t.name}: ${e}`)}var Ur,i,X=u(()=>{L();Ur=t=>typeof t=="string"?eo(t):t,i=class{static create(e,r,o,n){let s=l=>Ur(l??n),a=O`var(${Ur(e)}, ${s(n)})`;return a.name=e,a.description=r,a.category=o,a.defaultValue=n,a.defaultCssValue=s,a.set=l=>w(a,l??s(n)),a.get=l=>O`var(${Ur(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(e,r,o,n){let s=l=>o.get(l??n),a=O`var(${Ur(e)}, ${s(n)})`;return a.name=e,a.description=r,a.category=o.category,a.fallbackVariable=o,a.defaultValue=n,a.defaultCssValue=s,a.set=l=>w(a,l??s(n)),a.get=l=>O`var(${Ur(e)}, ${s(l)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),a}static external(e,r){let o=s=>e.defaultCssValue(s),n=O`var(${Ur(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.set=s=>e.set(s),n.get=s=>O`var(${Ur(e.name)}, ${o(s)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,xh,vh,Sh,Ch,Eh,Oh,wh,Rh,Ah,_h,kh,Lh,Ih,Th,Ph,Nh,MS,$S,ee=u(()=>{X();c={colorWhite:i.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:i.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:i.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:i.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:i.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:i.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:i.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:i.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:i.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:i.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:i.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:i.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:i.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:i.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:i.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:i.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity4:i.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:i.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:i.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:i.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:i.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:i.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:i.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:i.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:i.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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)")},xh={fontFamily:i.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:i.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-display-text-case","","UNKNOWN","none")},vh={fontFamily:i.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:i.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Sh={fontFamily:i.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:i.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ch={fontFamily:i.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:i.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Eh={fontFamily:i.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Oh={fontFamily:i.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},wh={fontFamily:i.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Rh={fontFamily:i.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ah={fontFamily:i.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},_h={fontFamily:i.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:i.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:i.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},kh={fontFamily:i.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Lh={fontFamily:i.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ih={fontFamily:i.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Th={fontFamily:i.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ph={fontFamily:i.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Nh={fontFamily:i.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:i.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},MS={display:xh,"title-1":vh,"title-2":Sh,"title-3":Ch,"body-1-regular":Eh,"body-1-medium":Oh,"body-1-semibold":wh,"body-2-regular":Rh,"body-2-medium":Ah,"body-2-medium-underline":_h,"body-2-semibold":kh,"caption-1-medium":Lh,"caption-1-semibold":Ih,"caption-2-medium":Th,"caption-2-semibold":Ph,"caption-2-bold":Nh},$S=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"]});var p,ae=u(()=>{X();ee();p={backgroundActionPrimary:i.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:i.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:i.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:i.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:i.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:i.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:i.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:i.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:i.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:i.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:i.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:i.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:i.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:i.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:i.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:i.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:i.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:i.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:i.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:i.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:i.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:i.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:i.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:i.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:i.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:i.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:i.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:i.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:i.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:i.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:i.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:i.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:i.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:i.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var BS,Fh=u(()=>{X();ee();ae();BS={largeHeight:i.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:i.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:i.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:i.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:i.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:i.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:i.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:i.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:i.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:i.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:i.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:i.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:i.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:i.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:i.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:i.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:i.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:i.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:i.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:i.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:i.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:i.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:i.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:i.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:i.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:i.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:i.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:i.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:i.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:i.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:i.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:i.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:i.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:i.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:i.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:i.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:i.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:i.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:i.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:i.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:i.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:i.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:i.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:i.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:i.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:i.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:i.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:i.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:i.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var US,Dh=u(()=>{X();ee();ae();US={iconSize:i.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:i.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:i.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:i.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:i.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:i.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:i.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:i.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:i.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:i.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3),width:i.create("--ftds-toggle-width","","SIZE","36px"),height:i.create("--ftds-toggle-height","","SIZE","20px")}});var zS,Mh=u(()=>{X();ee();ae();zS={borderRadius:i.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:i.extend("--ftds-card-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:i.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:i.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:i.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:i.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:i.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:i.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:i.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:i.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:i.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:i.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:i.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:i.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:i.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:i.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:i.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:i.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:i.extend("--ftds-card-non-selectable-state-layer-color","",p.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:i.extend("--ftds-card-non-selectable-default-background-color","",p.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:i.extend("--ftds-card-non-selectable-default-border-color","",p.borderGlobalSecondary),nonSelectableHoverBorderColor:i.extend("--ftds-card-non-selectable-hover-border-color","",p.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:i.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:i.extend("--ftds-card-non-selectable-focus-border-color","",p.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:i.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:i.extend("--ftds-card-internal-border-color","",p.borderGlobalSecondary),selectableUnselectedBorderWidth:i.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:i.extend("--ftds-card-selectable-unselected-state-layer-color","",p.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:i.extend("--ftds-card-selectable-unselected-default-background-color","",p.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:i.extend("--ftds-card-selectable-unselected-default-border-color","",p.borderGlobalSecondary),selectableUnselectedHoverBorderColor:i.extend("--ftds-card-selectable-unselected-hover-border-color","",p.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:i.extend("--ftds-card-selectable-unselected-focus-border-color","",p.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:i.extend("--ftds-card-selectable-selected-border-color","",p.borderActionPrimary),selectableSelectedBorderWidth:i.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:i.extend("--ftds-card-selectable-selected-state-layer-color","",p.contentActionPrimary),selectableSelectedBackgroundColor:i.extend("--ftds-card-selectable-selected-background-color","",p.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:i.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:i.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:i.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:i.create("--ftds-card-internal-border-width","","SIZE","1px")}});var VS,$h=u(()=>{X();ee();ae();VS={borderRadius:i.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:i.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:i.extend("--ftds-event-card-background-color","",p.backgroundGlobalSurface),thumbnailWidth:i.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:i.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:i.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:i.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:i.extend("--ftds-event-card-primary-thumbnail-icon-color","",p.contentGlobalOnColor),secondaryThumbnailBackgroundColor:i.extend("--ftds-event-card-secondary-thumbnail-background-color","",p.backgroundGlobalSurface)}});var HS,Bh=u(()=>{X();ee();ae();HS={loadMoreIconSize:i.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:i.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:i.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:i.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:i.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:i.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:i.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:i.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:i.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:i.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:i.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:i.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:i.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:i.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:i.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:i.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:i.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:i.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:i.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:i.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:i.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:i.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:i.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:i.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:i.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:i.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:i.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:i.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:i.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:i.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:i.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)}});var WS,Uh=u(()=>{X();ee();ae();WS={titleColor:i.extend("--ftds-toc-title-color","",p.contentGlobalSubtle),titleGap:i.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:i.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:i.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:i.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:i.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:i.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:i.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:i.extend("--ftds-toc-item-focus-focus-ring-color","",p.borderActionFocusRing),itemFocusFocusRingWidth:i.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:i.extend("--ftds-toc-item-inactive-label-color","",p.contentGlobalSubtle),itemInactiveBorderColor:i.extend("--ftds-toc-item-inactive-border-color","",p.borderGlobalSubtle),itemInactiveStateLayerColor:i.extend("--ftds-toc-item-inactive-state-layer-color","",p.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:i.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:i.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:i.extend("--ftds-toc-item-active-label-color","",p.contentActionPrimary),itemActiveBorderColor:i.extend("--ftds-toc-item-active-border-color","",p.borderActionPrimary),itemActiveBorderWidth:i.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:i.extend("--ftds-toc-item-active-state-layer-color","",p.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:i.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:i.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:i.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:i.extend("--ftds-toc-item-child-active-label-color","",p.contentActionPrimary),itemChildActiveBorderColor:i.extend("--ftds-toc-item-child-active-border-color","",p.borderGlobalSubtle),itemChildActiveStateLayerColor:i.extend("--ftds-toc-item-child-active-state-layer-color","",p.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:i.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:i.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)}});var GS,zh=u(()=>{X();ee();ae();GS={iconSize:i.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:i.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:i.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:i.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:i.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:i.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:i.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:i.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:i.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:i.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:i.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:i.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:i.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:i.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:i.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:i.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:i.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:i.extend("--ftds-checkbox-error-unchecked-border-color","",p.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",p.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",p.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",p.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",p.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)}});var jS,Vh=u(()=>{X();ee();ae();jS={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:i.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:i.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:i.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:i.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:i.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:i.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:i.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var KS,Hh=u(()=>{X();ee();ae();KS={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:i.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:i.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:i.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:i.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:i.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:i.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:i.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:i.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:i.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:i.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:i.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:i.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:i.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:i.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var qS,Wh=u(()=>{X();ee();ae();qS={neutralOffHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:i.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:i.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:i.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:i.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:i.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:i.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:i.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var ZS,Gh=u(()=>{X();ee();ae();ZS={largeMinHeight:i.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:i.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:i.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:i.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:i.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:i.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:i.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:i.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:i.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:i.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:i.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:i.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)}});var QS,jh=u(()=>{X();ee();ae();QS={horizontalGap:i.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:i.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:i.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:i.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:i.extend("--ftds-chip-group-count-chip-default-content-color","",p.contentActionPrimary),countChipHoverBackgroundColor:i.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:i.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:i.extend("--ftds-chip-group-count-chip-hover-content-color","",p.contentActionPrimary),countChipFocusedBackgroundColor:i.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:i.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:i.extend("--ftds-chip-group-count-chip-focused-content-color","",p.contentActionPrimary)}});var YS,Kh=u(()=>{X();ee();ae();YS={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:i.extend("--ftds-link-horizontal-gap","",c.spacing1)}});var XS,qh=u(()=>{X();ee();ae();XS={iconSize:i.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:i.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:i.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:i.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:i.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:i.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:i.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:i.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:i.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)}});var JS,Zh=u(()=>{X();ee();ae();JS={horizontalPadding:i.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:i.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:i.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:i.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",p.contentActionPrimary)}});var eC,Qh=u(()=>{X();ee();ae();eC={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var tC,Yh=u(()=>{X();ee();ae();tC={parentHorizontalPadding:i.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:i.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:i.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:i.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:i.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:i.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:i.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:i.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:i.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:i.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:i.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:i.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:i.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:i.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:i.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:i.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:i.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:i.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:i.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:i.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:i.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:i.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:i.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:i.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var rC,Xh=u(()=>{X();ee();ae();rC={horizontalPadding:i.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:i.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:i.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:i.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:i.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var oC,Jh=u(()=>{X();ee();oC={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var iC,em=u(()=>{X();ee();ae();iC={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:i.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:i.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:i.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:i.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:i.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:i.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:i.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:i.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:i.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:i.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:i.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:i.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:i.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:i.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:i.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var nC,tm=u(()=>{X();ee();ae();nC={grabberIconSize:i.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:i.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:i.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:i.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:i.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:i.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:i.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:i.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:i.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:i.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:i.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:i.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:i.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:i.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:i.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)}});var sC,rm=u(()=>{X();ee();ae();sC={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:i.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:i.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:i.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:i.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:i.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:i.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:i.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:i.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:i.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var aC,om=u(()=>{X();ee();ae();aC={offBorderBottomWidth:i.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:i.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:i.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:i.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:i.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:i.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:i.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:i.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:i.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:i.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:i.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:i.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:i.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:i.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:i.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:i.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing),mainIconIconSize:i.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:i.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)}});var lC,im=u(()=>{X();ee();ae();lC={largeFieldHorizontalPadding:i.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-text-input-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var cC,nm=u(()=>{X();ee();cC={fieldPaddingLeft:i.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:i.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:i.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:i.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:i.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:i.extend("--ftds-text-area-resize-right","",c.spacing05)}});var dC,sm=u(()=>{X();ee();ae();dC={height:i.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:i.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:i.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:i.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:i.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",p.contentActionPrimary),multiselectCheckedColor:i.extend("--ftds-floating-menu-multiselect-checked-color","",p.contentGlobalPrimary),multiselectCheckedIconColor:i.extend("--ftds-floating-menu-multiselect-checked-icon-color","",p.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",p.contentActionPrimary),multiselectIndeterminatedColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-color","",p.contentGlobalPrimary),multiselectIndeterminatedIconColor:i.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",p.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:i.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",p.contentGlobalPrimary),multiselectUncheckedColor:i.extend("--ftds-floating-menu-multiselect-unchecked-color","",p.contentGlobalPrimary),multiselectUncheckedIconColor:i.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",p.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",p.contentActionPrimary),selectAllCheckedColor:i.extend("--ftds-floating-menu-select-all-checked-color","",p.contentGlobalPrimary),selectAllCheckedIconColor:i.extend("--ftds-floating-menu-select-all-checked-icon-color","",p.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:i.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",p.contentGlobalPrimary),selectAllIndeterminatedColor:i.extend("--ftds-floating-menu-select-all-indeterminated-color","",p.contentGlobalPrimary),selectAllIndeterminatedIconColor:i.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",p.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:i.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",p.contentGlobalPrimary),selectAllUncheckedColor:i.extend("--ftds-floating-menu-select-all-unchecked-color","",p.contentGlobalPrimary),selectAllUncheckedIconColor:i.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",p.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:i.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",p.contentGlobalPrimary),defaultUncheckedColor:i.extend("--ftds-floating-menu-default-unchecked-color","",p.contentGlobalPrimary),defaultUncheckedIconColor:i.extend("--ftds-floating-menu-default-unchecked-icon-color","",p.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:i.extend("--ftds-floating-menu-default-checked-state-layer-color","",p.contentActionPrimary),defaultCheckedColor:i.extend("--ftds-floating-menu-default-checked-color","",p.contentActionPrimary),defaultCheckedIconColor:i.extend("--ftds-floating-menu-default-checked-icon-color","",p.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:i.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)}});var uC,am=u(()=>{X();ee();ae();uC={menuVerticalGap:i.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:i.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:i.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:i.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:i.extend("--ftds-combobox-menu-new-value-label-color","",p.contentGlobalSubtle),menuNewValueBorderColor:i.extend("--ftds-combobox-menu-new-value-border-color","",p.borderGlobalPrimary),menuNewValueBorderWidth:i.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:i.extend("--ftds-combobox-menu-new-value-error-background-color","",p.backgroundErrorSubtle),menuNewValueErrorBorderColor:i.extend("--ftds-combobox-menu-new-value-error-border-color","",p.borderErrorPrimary),menuNewValueErrorStateLayerColor:i.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",p.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:i.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:i.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:i.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:i.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:i.extend("--ftds-combobox-menu-message-label-color","",p.contentGlobalSubtle),valuesChipBackgroundColor:i.extend("--ftds-combobox-values-chip-background-color","",p.backgroundGlobalOnSurface),valuesChipBorderColor:i.extend("--ftds-combobox-values-chip-border-color","",p.borderInputPrimary)}});var pC,lm=u(()=>{X();ee();ae();pC={backgroundColor:i.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),titleColor:i.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:i.extend("--ftds-popover-gap","",c.spacing2),borderRadius:i.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:i.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:i.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:i.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:i.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:i.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:i.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:i.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)}});var fC,cm=u(()=>{X();ee();ae();fC={hoverStateLayerOpacity:i.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:i.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:i.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:i.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:i.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var hC,dm=u(()=>{X();ee();ae();hC={groupHorizontalPadding:i.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:i.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:i.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:i.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:i.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:i.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:i.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:i.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:i.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:i.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:i.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:i.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:i.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:i.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:i.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:i.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var mC,um=u(()=>{X();ee();mC={color1Light:i.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:i.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:i.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:i.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:i.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:i.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:i.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:i.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:i.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:i.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:i.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:i.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:i.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:i.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:i.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:i.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:i.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:i.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:i.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:i.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:i.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:i.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:i.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:i.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:i.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:i.extend("--ftds-chart-monochrome-60","",c.colorBrand200)}});var gC,pm=u(()=>{X();ee();gC={color1IconColor:i.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:i.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:i.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:i.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:i.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:i.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:i.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:i.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:i.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:i.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:i.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:i.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:i.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:i.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:i.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:i.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var yC,fm=u(()=>{X();ee();ae();yC={borderWidth:i.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:i.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:i.extend("--ftds-notice-gap","",c.spacing2),iconSize:i.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:i.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:i.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:i.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:i.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:i.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:i.create("--ftds-notice-dense-border-width","","SIZE","0")}});var bC,hm=u(()=>{X();ee();ae();bC={iconSize:i.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:i.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:i.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:i.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:i.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:i.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:i.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:i.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var xC,mm=u(()=>{X();ee();ae();xC={horizontalPadding:i.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:i.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:i.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:i.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:i.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ftds-tooltip-gap","",c.spacing05)}});var vC,gm=u(()=>{X();ee();vC={menuHorizontalPadding:i.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:i.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:i.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:i.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var ym=u(()=>{ee();ae();Fh();Dh();Mh();$h();Bh();Uh();zh();Vh();Hh();Wh();Gh();jh();Kh();qh();Zh();Qh();Yh();Xh();Jh();em();tm();rm();om();im();nm();sm();am();lm();cm();dm();um();pm();fm();hm();mm();gm()});function $l(t){return`ftds--family-${t}`}function Bl(t){return`ftds--size-${t}`}var Ji,en,bm=u(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ji||(Ji={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(en||(en={}))});var li=u(()=>{X();ym();bm()});var Ul={};G(Ul,{DesignSystemFamily:()=>Ji,DesignSystemSize:()=>en,FtCssVariableFactory:()=>i,badge:()=>JS,banner:()=>XS,button:()=>BS,card:()=>zS,chart:()=>mC,checkbox:()=>GS,chip:()=>ZS,chipChoice:()=>qS,chipGroup:()=>QS,collapsible:()=>fC,combobox:()=>uC,dateRangePicker:()=>vC,drawer:()=>sC,eventCard:()=>VS,floatingMenu:()=>dC,foundation:()=>c,link:()=>YS,modal:()=>iC,notice:()=>yC,notification:()=>bC,pageDesigner:()=>gC,pageFooter:()=>rC,pageHeader:()=>tC,pageLayout:()=>oC,popover:()=>pC,radio:()=>jS,reorderableList:()=>nC,resolveFamilyClass:()=>$l,resolveSizeClass:()=>Bl,semantic:()=>p,setVariable:()=>w,switch_:()=>hC,table:()=>KS,tabs:()=>aC,textArea:()=>cC,textInput:()=>lC,titleBreadcrumb:()=>eC,toc:()=>WS,toggle:()=>US,tooltip:()=>xC,treeList:()=>HS,typographies:()=>MS,typographyBody1Medium:()=>Oh,typographyBody1Regular:()=>Eh,typographyBody1Semibold:()=>wh,typographyBody2Medium:()=>Ah,typographyBody2MediumUnderline:()=>_h,typographyBody2Regular:()=>Rh,typographyBody2Semibold:()=>kh,typographyCaption1Medium:()=>Lh,typographyCaption1Semibold:()=>Ih,typographyCaption2Bold:()=>Nh,typographyCaption2Medium:()=>Th,typographyCaption2Semibold:()=>Ph,typographyDisplay:()=>xh,typographyTitle1:()=>vh,typographyTitle2:()=>Sh,typographyTitle3:()=>Ch,typographyVariants:()=>$S});var us=u(()=>{"use strict";li()});var zl={};G(zl,{designSystemVariables:()=>x});var x,Vl=u(()=>{"use strict";us();x={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:i.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:i.create("--ft-color-warning","","COLOR","#B74706"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:i.create("--ft-color-success","","COLOR","#187856"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.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:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:i.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var Hl={};G(Hl,{DynamicImporter:()=>ps,dynamicImporter:()=>SC});var ps,SC,Wl=u(()=>{"use strict";ps=class{async import(e){if(e)return import(e)}},SC=new ps});function Sm(t,e,r){return ar(t,po(e,r))}function ci(t,e){return typeof t=="function"?t(e):t}function fo(t){return t.split("-")[0]}function cr(t){return t.split("-")[1]}function Kl(t){return t==="x"?"y":"x"}function ql(t){return t==="y"?"height":"width"}function di(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Zl(t){return Kl(di(t))}function Cm(t,e,r){r===void 0&&(r=!1);let o=cr(t),n=Zl(t),s=ql(n),a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Gl(a)),[a,Gl(a)]}function Em(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Gl(t){let e=fo(t);return CC[e]+t.slice(e.length)}function EC(t){var e,r,o,n;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(o=t.bottom)!=null?o:0,left:(n=t.left)!=null?n:0}}function Om(t){return typeof t!="number"?EC(t):{top:t,right:t,bottom:t,left:t}}function ho(t){let{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}var vm,xm,jl,po,ar,tn,lr,CC,fs=u(()=>{vm=["top","right","bottom","left"],xm=["start","end"],jl=vm.reduce((t,e)=>t.concat(e,e+"-"+xm[0],e+"-"+xm[1]),[]),po=Math.min,ar=Math.max,tn=Math.round,lr=t=>({x:t,y:t}),CC={left:"right",right:"left",bottom:"top",top:"bottom"}});function wm(t,e,r){let{reference:o,floating:n}=t,s=di(e),a=Zl(e),l=ql(a),d=fo(e),f=s==="y",g=o.x+o.width/2-n.width/2,m=o.y+o.height/2-n.height/2,y=o[l]/2-n[l]/2,E;switch(d){case"top":E={x:g,y:o.y-n.height};break;case"bottom":E={x:g,y:o.y+o.height};break;case"right":E={x:o.x+o.width,y:m};break;case"left":E={x:o.x-n.width,y:m};break;default:E={x:o.x,y:o.y}}let A=cr(e);return A&&(E[a]+=y*(A==="end"?1:-1)*(r&&f?-1:1)),E}async function Rm(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:y=!1,padding:E=0}=ci(e,t),A=Om(E),I=l[y?m==="floating"?"reference":"floating":m],U=ho(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(I)))==null||r?I:I.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),H=m==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),v=await(s.isElement==null?void 0:s.isElement(S))&&await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1},R=ho(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:H,offsetParent:S,strategy:d}):H);return{top:(U.top-R.top+A.top)/v.y,bottom:(R.bottom-U.bottom+A.bottom)/v.y,left:(U.left-R.left+A.left)/v.x,right:(R.right-U.right+A.right)/v.x}}function wC(t,e,r){return(t?[...r.filter(n=>cr(n)===t),...r.filter(n=>cr(n)!==t)]:r.filter(n=>fo(n)===n)).filter(n=>t?cr(n)===t||(e?Em(n)!==n:!1):!0)}async function AC(t,e){let{placement:r,platform:o,elements:n}=t,s=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=fo(r),l=cr(r),d=di(r)==="y",f=RC.has(a)?-1:1,g=s&&d?-1:1,m=ci(e,t),{mainAxis:y,crossAxis:E,alignmentAxis:A}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof A=="number"&&(E=l==="end"?A*-1:A),d?{x:E*g,y:y*f}:{x:y*f,y:E*g}}var OC,Am,_m,RC,km,Lm,Im,Tm=u(()=>{fs();fs();OC=50,Am=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:s=[],platform:a}=r,l=a.detectOverflow?a:{...a,detectOverflow:Rm},d=await(a.isRTL==null?void 0:a.isRTL(e)),f=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:g,y:m}=wm(f,o,d),y=o,E=0,A={};for(let F=0;F<s.length;F++){let I=s[F];if(!I)continue;let{name:U,fn:H}=I,{x:S,y:v,data:R,reset:N}=await H({x:g,y:m,initialPlacement:o,placement:y,strategy:n,middlewareData:A,rects:f,platform:l,elements:{reference:t,floating:e}});g=S??g,m=v??m,A[U]={...A[U],...R},N&&E<OC&&(E++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(f=N.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):N.rects),{x:g,y:m}=wm(f,y,d)),F=-1)}return{x:g,y:m,placement:y,strategy:n,middlewareData:A}};_m=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:s,middlewareData:a,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:y=jl,autoAlignment:E=!0,...A}=ci(t,e),F=m!==void 0||y===jl?wC(m||null,E,y):y,I=((r=a.autoPlacement)==null?void 0:r.index)||0,U=F[I];if(U==null)return{};if(l!==U)return{reset:{placement:F[0]}};let H=await d.detectOverflow(e,A),S=Cm(U,s,await(d.isRTL==null?void 0:d.isRTL(f.floating))),v=[H[fo(U)],H[S[0]],H[S[1]]],R=[...((o=a.autoPlacement)==null?void 0:o.overflows)||[],{placement:U,overflows:v}],N=F[I+1];if(N)return{data:{index:I+1,overflows:R},reset:{placement:N}};let q=R.map(V=>{let se=cr(V.placement);return[V.placement,se&&g?V.overflows.slice(0,2).reduce((De,rr)=>De+rr,0):V.overflows[0],V.overflows]}).sort((V,se)=>V[1]-se[1]),we=((n=q.filter(V=>V[2].slice(0,cr(V[0])?2:3).every(se=>se<=0))[0])==null?void 0:n[0])||q[0][0];return we!==l?{data:{index:I+1,overflows:R},reset:{placement:we}}:{}}}},RC=new Set(["left","top"]);km=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:s,placement:a,middlewareData:l}=e,d=await AC(e,t);return a===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:s+d.y,data:{...d,placement:a}}}}},Lm=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:s}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:d={fn:H=>{let{x:S,y:v}=H;return{x:S,y:v}}},...f}=ci(t,e),g={x:r,y:o},m=await s.detectOverflow(e,f),y=di(n),E=Kl(y),A=g[E],F=g[y],I=(H,S)=>Sm(S+m[H==="y"?"top":"left"],S,S-m[H==="y"?"bottom":"right"]);a&&(A=I(E,A)),l&&(F=I(y,F));let U=d.fn({...e,[E]:A,[y]:F});return{...U,data:{x:U.x-r,y:U.y-o,enabled:{[E]:a,[y]:l}}}}}},Im=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:o,platform:n,elements:s}=e,{apply:a=()=>{},...l}=ci(t,e),d=await n.detectOverflow(e,l),f=fo(r),g=cr(r),m=di(r)==="y",{width:y,height:E}=o.floating,A,F;f==="top"||f==="bottom"?(A=f,F=g===(await(n.isRTL==null?void 0:n.isRTL(s.floating))?"start":"end")?"left":"right"):(F=f,A=g==="end"?"top":"bottom");let I=E-d.top-d.bottom,U=y-d.left-d.right,H=po(E-d[A],I),S=po(y-d[F],U),v=e.middlewareData.shift,R=!v,N=H,q=S;v!=null&&v.enabled.x&&(q=U),v!=null&&v.enabled.y&&(N=I),R&&!g&&(m?q=y-2*ar(d.left,d.right):N=E-2*ar(d.top,d.bottom)),await a({...e,availableWidth:q,availableHeight:N});let de=await n.getDimensions(s.floating);return y!==de.width||E!==de.height?{reset:{rects:!0}}:{}}}}});function ms(){return typeof window<"u"}function go(t){return Nm(t)?(t.nodeName||"").toLowerCase():"#document"}function ct(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Or(t){var e;return(e=(Nm(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Nm(t){return ms()?t instanceof Node||t instanceof ct(t).Node:!1}function Wt(t){return ms()?t instanceof Element||t instanceof ct(t).Element:!1}function wr(t){return ms()?t instanceof HTMLElement||t instanceof ct(t).HTMLElement:!1}function Pm(t){return!ms()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ct(t).ShadowRoot}function rn(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Gt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function Fm(t){return/^(table|td|th)$/.test(go(t))}function on(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}function ui(t){let e=Wt(t)?Gt(t):t;return mo(e.transform)||mo(e.translate)||mo(e.scale)||mo(e.rotate)||mo(e.perspective)||!gs()&&(mo(e.backdropFilter)||mo(e.filter))||_C.test(e.willChange||"")||kC.test(e.contain||"")}function Dm(t){let e=zr(t);for(;wr(e)&&!pi(e);){if(ui(e))return e;if(on(e))return null;e=zr(e)}return null}function gs(){return Ql==null&&(Ql=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ql}function pi(t){return/^(html|body|#document)$/.test(go(t))}function Gt(t){return ct(t).getComputedStyle(t)}function nn(t){return Wt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function zr(t){if(go(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Pm(t)&&t.host||Or(t);return Pm(e)?e.host:e}function Mm(t){let e=zr(t);return pi(e)?(t.ownerDocument||t).body:wr(e)&&rn(e)?e:Mm(e)}function hs(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Mm(t),s=n===((o=t.ownerDocument)==null?void 0:o.body),a=ct(n);if(s){let l=ys(a);return e.concat(a,a.visualViewport||[],rn(n)?n:[],l&&r?hs(l):[])}else return e.concat(n,hs(n,[],r))}function ys(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}var _C,kC,mo,Ql,Yl=u(()=>{_C=/transform|translate|scale|rotate|perspective|filter/,kC=/paint|layout|strict|content/,mo=t=>!!t&&t!=="none"});function Um(t){let e=Gt(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=wr(t),s=n?t.offsetWidth:r,a=n?t.offsetHeight:o,l=tn(r)!==s||tn(o)!==a;return l&&(r=s,o=a),{width:r,height:o,$:l}}function zm(t){return Wt(t)?t:t.contextElement}function fi(t){let e=zm(t);if(!wr(e))return lr(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:s}=Um(e),a=(s?tn(r.width):r.width)/o,l=(s?tn(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}function Vm(t){let e=ct(t);return!gs()||!e.visualViewport?LC:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function IC(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===ct(t)}function sn(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),s=zm(t),a=lr(1);e&&(o?Wt(o)&&(a=fi(o)):a=fi(t));let l=IC(s,r,o)?Vm(s):lr(0),d=(n.left+l.x)/a.x,f=(n.top+l.y)/a.y,g=n.width/a.x,m=n.height/a.y;if(s&&o){let y=ct(s),E=Wt(o)?ct(o):o,A=y,F=ys(A);for(;F&&E!==A;){let I=fi(F),U=F.getBoundingClientRect(),H=Gt(F),S=U.left+(F.clientLeft+parseFloat(H.paddingLeft))*I.x,v=U.top+(F.clientTop+parseFloat(H.paddingTop))*I.y;d*=I.x,f*=I.y,g*=I.x,m*=I.y,d+=S,f+=v,A=ct(F),F=ys(A)}}return ho({width:g,height:m,x:d,y:f})}function bs(t,e){let r=nn(t).scrollLeft;return e?e.left+r:sn(Or(t)).left+r}function Hm(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-bs(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function TC(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,s=n==="fixed",a=Or(o),l=e?on(e.floating):!1;if(o===a||l&&s)return r;let d={scrollLeft:0,scrollTop:0},f=lr(1),g=lr(0),m=wr(o);if((m||!s)&&((go(o)!=="body"||rn(a))&&(d=nn(o)),m)){let E=sn(o);f=fi(o),g.x=E.x+o.clientLeft,g.y=E.y+o.clientTop}let y=a&&!m&&!s?Hm(a,d):lr(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+g.x+y.x,y:r.y*f.y-d.scrollTop*f.y+g.y+y.y}}function PC(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function NC(t){let e=nn(t),r=t.ownerDocument.body,o=ar(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=ar(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+bs(t),a=-e.scrollTop;return Gt(r).direction==="rtl"&&(s+=ar(t.clientWidth,r.clientWidth)-o),{width:o,height:n,x:s,y:a}}function DC(t,e,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",n=ct(t),s=Or(t),a=n.visualViewport,l=s.clientWidth,d=s.clientHeight,f=0,g=0;if(a){let y=!gs()||e==="fixed";o?y||(f=-a.offsetLeft,g=-a.offsetTop):(l=a.width,d=a.height,y&&(f=a.offsetLeft,g=a.offsetTop))}if(bs(s)<=0){let y=s.ownerDocument,E=y.body,A=getComputedStyle(E),F=y.compatMode==="CSS1Compat"&&parseFloat(A.marginLeft)+parseFloat(A.marginRight)||0,I=Math.abs(s.clientWidth-E.clientWidth-F),U=getComputedStyle(s).scrollbarGutter==="stable both-edges"?I/2:I;U<=FC&&(l-=U)}return{width:l,height:d,x:f,y:g}}function MC(t,e){let r=sn(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,s=fi(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=n*s.x,f=o*s.y;return{width:a,height:l,x:d,y:f}}function $m(t,e,r){let o;if(e==="viewport"||e==="layoutViewport")o=DC(t,r,e);else if(e==="document")o=NC(Or(t));else if(Wt(e))o=MC(e,r);else{let n=Vm(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return ho(o)}function $C(t,e){let r=e.get(t);if(r)return r;let o=hs(t,[],!1).filter(l=>Wt(l)&&go(l)!=="body"),n=null,s=Gt(t).position==="fixed",a=s?zr(t):t;for(;Wt(a)&&!pi(a);){let l=Gt(a),d=ui(a),f=n?n.position:s?"fixed":"";!d&&(f==="fixed"||f==="absolute"&&l.position==="static")?o=o.filter(m=>m!==a):n=l,a=zr(a)}return e.set(t,o),o}function BC(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,a=[...r==="clippingAncestors"?on(e)?[]:$C(e,this._c):[].concat(r),o],l=$m(e,a[0],n),d=l.top,f=l.right,g=l.bottom,m=l.left;for(let y=1;y<a.length;y++){let E=$m(e,a[y],n);d=ar(E.top,d),f=po(E.right,f),g=po(E.bottom,g),m=ar(E.left,m)}return{width:f-m,height:g-d,x:m,y:d}}function UC(t){let{width:e,height:r}=Um(t);return{width:e,height:r}}function zC(t,e,r){let o=wr(e),n=Or(e),s=r==="fixed",a=sn(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=lr(0);if((o||!s)&&((go(e)!=="body"||rn(n))&&(l=nn(e)),o)){let y=sn(e,!0,s,e);d.x=y.x+e.clientLeft,d.y=y.y+e.clientTop}!o&&n&&(d.x=bs(n));let f=n&&!o&&!s?Hm(n,l):lr(0),g=a.left+l.scrollLeft-d.x-f.x,m=a.top+l.scrollTop-d.y-f.y;return{x:g,y:m,width:a.width,height:a.height}}function Xl(t){return Gt(t).position==="static"}function Bm(t,e){if(!wr(t)||Gt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Or(t)===r&&(r=r.ownerDocument.body),r}function Wm(t,e){let r=ct(t);if(on(t))return r;if(!wr(t)){let n=zr(t);for(;n&&!pi(n);){if(Wt(n)&&!Xl(n))return n;n=zr(n)}return r}let o=Bm(t,e);for(;o&&Fm(o)&&Xl(o);)o=Bm(o,e);return o&&pi(o)&&Xl(o)&&!ui(o)?r:o||Dm(t)||r}function HC(t){return Gt(t).direction==="rtl"}var LC,FC,VC,hi,Gm,Jl,jm,Km,ec,qm=u(()=>{Tm();fs();Yl();LC=lr(0);FC=25;VC=async function(t){let e=this.getOffsetParent||Wm,r=this.getDimensions,o=await r(t.floating);return{reference:zC(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};hi={convertOffsetParentRelativeRectToViewportRelativeRect:TC,getDocumentElement:Or,getClippingRect:BC,getOffsetParent:Wm,getElementRects:VC,getClientRects:PC,getDimensions:UC,getScale:fi,isElement:Wt,isRTL:HC},Gm=km,Jl=_m,jm=Lm,Km=Im,ec=(t,e,r)=>{let o=new Map,n=r??{},s={...hi,...n.platform,_c:o};return Am(t,e,{...n,platform:s})}});function rc(t){return WC(t)}function tc(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function WC(t){for(let e=t;e;e=tc(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=tc(t);e;e=tc(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||ui(r)||e.tagName==="BODY"))return e}return null}var Zm=u(()=>{Yl()});var nc={};G(nc,{computeOffsetAutoPosition:()=>ic,computeOffsetPosition:()=>oc});async function oc(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},ec(t,e,{strategy:o.strategy,platform:{...hi,getOffsetParent:n=>hi.getOffsetParent(n,rc)},middleware:[jm({crossAxis:!0}),Jl({allowedPlacements:[o.placement]})]})}async function ic(t,e,r,o,n,s,a){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):l=r,ec(t,e,{placement:l,strategy:n,platform:{...hi,getOffsetParent:f=>hi.getOffsetParent(f,rc)},middleware:[Gm(a??4),Jl({allowedPlacements:o}),Km({apply({availableHeight:f,availableWidth:g,elements:m}){typeof s=="string"&&(s=`var(${s})`),s?m.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${s})`:m.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?m.floating.style.maxWidth=`min(${Math.max(0,g)}px, ${d})`:m.floating.style.maxWidth=`${Math.max(0,g)}px`}})]})}var xs=u(()=>{"use strict";qm();Zm()});var sc={};G(sc,{isSlotEmptyOrWithoutContent:()=>an});var an,ac=u(()=>{"use strict";an=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var n;return o.nodeType===Node.TEXT_NODE?((n=o.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0});var lc={};G(lc,{ScopedRegistryLitElement:()=>ln});var ln,vs=u(()=>{"use strict";L();lo();ln=class extends Bt{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},o=this.renderOptions.creationScope=this.attachShadow(r);return Bi(o,e.elementStyles),o}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,o])=>this.defineScopedElement(r,o))}static defineScopedElement(e,r){qi(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 dc={};G(dc,{shadowQuerySelector:()=>cc,shadowQuerySelectorAll:()=>GC});function cc(t,e,...r){var o;let n=t.querySelector(e);for(let s of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(s);return n}function GC(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var Ss=u(()=>{"use strict"});var uc={};G(uc,{ExportpartsUpdatedEvent:()=>yo,FtLitElement:()=>$});var mi,Jm,Qm,Ym,eg,Xm,yo,$,cn=u(()=>{"use strict";j();lo();ds();vs();Ss();mi=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Qm=Symbol("constructorPrototype"),Ym=Symbol("constructorName"),eg=Symbol("exportpartsDebouncer"),Xm=Symbol("dynamicDependenciesLoaded"),yo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};yo.eventName="exportparts-updated";$=class extends ln{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Jm]=new ie(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[eg].run(()=>{var n,s;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.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[Ym]=this.constructor.name,this[Qm]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ym]&&Object.setPrototypeOf(this,this[Qm])}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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Xm]||(r[Xm]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(yo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(yo.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 yo)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let s=[...n??[],o];r=cc(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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,o,n,s,a,l;let d=y=>y!=null&&y.trim().length>0,f=e.filter(d).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let g=new Set;for(let y of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let E=(a=(o=y.getAttribute("part"))===null||o===void 0?void 0:o.split(" "))!==null&&a!==void 0?a:[],A=(l=(n=y.getAttribute("exportparts"))===null||n===void 0?void 0:n.split(",").map(I=>I.split(":")[1]))!==null&&l!==void 0?l:[],F=[...E,...A].filter(d).map(I=>I.trim());for(let I of F)g.add(I)}if(g.size===0){this.exportparts=void 0;return}let m=[...g.values()].flatMap(y=>f.map(E=>`${y}:${E}--${y}`));this.exportparts=[...this.part,...m].join(", ")}};Jm=eg;mi([h()],$.prototype,"exportpartsPrefix",void 0);mi([le([])],$.prototype,"exportpartsPrefixes",void 0);mi([h({reflect:!0})],$.prototype,"exportparts",void 0);mi([h()],$.prototype,"customStylesheet",void 0);mi([h()],$.prototype,"elementToFocus",void 0);mi([k()],$.prototype,"useAdoptedStyleSheets",void 0)});var fc={};G(fc,{FtdsBase:()=>pc,toFtdsBase:()=>rg});var tg,rg,pc,hc=u(()=>{"use strict";cn();j();li();qe();tg=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},rg=Oe(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=en.medium,this.family=Ji.neutral}getDesignSystemBaseClasses(){return{[$l(this.family)]:!0,[Bl(this.size)]:!0}}}return tg([h()],e.prototype,"size",void 0),tg([h()],e.prototype,"family",void 0),e}),pc=class extends rg($){}});var og={};var mc=u(()=>{"use strict"});var bo,ig=u(()=>{bo=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let s=!1;return o.every(a=>n.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(o=>{let n=r.filter(s=>s.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let s=e.contentWindow;if(n=s.document,!s||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,s=null,a=()=>{if(!n){n=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&n(l)};a||d(),s.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{r(f)&&(l++,o(g)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),s=Node.DOCUMENT_POSITION_PRECEDING;if(n&s)if(r!==null){let a=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let s=!1,a=!1;return n.forEach((l,d)=>{l.val===o&&(s=d,a=l.handled)}),this.compareNodeIframe(e,r,o)?(s===!1&&!a?n.push({val:o,handled:!0}):s!==!1&&!a&&(n[s].handled=!0),!0):(s===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,s){let a=this.createIterator(r,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(a),f);for(;m();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,g,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,E=>d.push(E),n)}),d.push(f);d.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(l,e,o,n),s()}forEachNode(e,r,o,n=()=>{}){let s=this.getContexts(),a=s.length;a||n(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--a<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var dn,ng=u(()=>{ig();dn=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 bo(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[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,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let a=r[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,o,n)=>{let s=n.charAt(o+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.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",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(s=>{o.every(a=>{if(a.indexOf(s)!==-1){if(n.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),n.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,s=typeof o=="string"?[]:o.limiters,a="";switch(s.forEach(l=>{a+=`|${this.escapeStr(l)}`}),n){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(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.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=[],o=0;return e.sort((n,s)=>n.start-s.start).forEach(n=>{let{start:s,end:a,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=s,n.length=a-s,r.push(n),o=a)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,s=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>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:o,end:n,valid:s}}checkWhitespaceRanges(e,r,o){let n,s=!0,a=o.length,l=r-a,d=parseInt(e.start,10)-l;return d=d>a?a:d,n=d+parseInt(e.length,10),n>a&&(n=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||n-d<0||d>a||n>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:s}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return bo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,r,o,n,s){e.nodes.every((a,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(a.node))return!1;let f=r-a.start,g=(o>a.end?a.end:o)-a.start,m=e.value.substr(0,a.start),y=e.value.substr(g+a.start);if(a.node=this.wrapRangeInTextNode(a.node,f,g),e.value=m+y,e.nodes.forEach((E,A)=>{A>=l&&(e.nodes[A].start>0&&A!==l&&(e.nodes[A].start-=g),e.nodes[A].end-=g)}),o-=g,s(a.node.previousSibling,a.start),o>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,o,n,s){let a=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[a]!=="";){if(!o(f[a],d))continue;let g=f.index;if(a!==0)for(let m=1;m<a;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[a].length),n(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,o,n,s){let a=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[a]!=="";){let f=d.index;if(a!==0)for(let m=1;m<a;m++)f+=d[m].length;let g=f+d[a].length;this.wrapRangeInMappedTextNode(l,f,g,m=>o(d[a],m),(m,y)=>{e.lastIndex=y,n(m)})}s()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(s=>{let a=s.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,a,s.value);m&&this.wrapRangeInMappedTextNode(s,f,g,y=>r(y,l,s.value.substring(f,g),d),y=>{o(y,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,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 o=0,n="wrapMatches",s=a=>{o++,this.opt.each(a)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(a,l)=>this.opt.filter(l,a,o),s,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let g=new RegExp(this.createRegExp(f),`gm${l}`),m=0;this.log(`Searching with expression "${g}"`),this[n](g,1,(y,E)=>this.opt.filter(E,f,o,m),y=>{m++,o++,this.opt.each(y)},()=>{m===0&&this.opt.noMatch(f),s[a-1]===f?this.opt.done(o):d(s[s.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),a===0?this.opt.done(o):d(s[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(s,a,l,d)=>this.opt.filter(s,a,l,d),(s,a)=>{o++,this.opt.each(s,a)},()=>{this.opt.done(o)})):this.opt.done(o)}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,o=>{this.unwrapMatches(o)},o=>{let n=bo.matches(o,r),s=this.matchesExclude(o);return!n||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function gc(t){let e=new dn(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var sg=u(()=>{ng()});var bc={};G(bc,{highlightHtml:()=>yc,highlightHtmlColorCssVariable:()=>ag,highlightHtmlStyles:()=>KC});function yc(t,e,r){var o,n;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new jC(t);if(a.unmark(),e&&e.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let g in r.attributes)f.setAttribute(g,r.attributes[g])}),a.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>a.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var jC,ag,KC,xc=u(()=>{"use strict";L();li();sg();jC=gc,ag=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),KC=O`
5
5
  .highlight-html-match {
6
- background: ${ng};
6
+ background: ${ag};
7
7
  }
8
- `});var vc={};G(vc,{noTextInputDefaultClearButton:()=>vo,noTextSelect:()=>xo,safariEllipsisFix:()=>xc,wordWrap:()=>dn});var xo,dn,xc,vo,Sc=u(()=>{"use strict";L();xo=O`
8
+ `});var Sc={};G(Sc,{noTextInputDefaultClearButton:()=>vo,noTextSelect:()=>xo,safariEllipsisFix:()=>vc,wordWrap:()=>un});var xo,un,vc,vo,Cc=u(()=>{"use strict";L();xo=O`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,dn=O`
17
+ `,un=O`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,xc=O`
29
+ `,vc=O`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -44,7 +44,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `});var sg={};var Cc=u(()=>{"use strict"});var Ec={};G(Ec,{ParametrizedLabelResolver:()=>Vr});var Vr,Oc=u(()=>{"use strict";Vr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let s=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(o,a))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}}});var jC,de,KC,ag=u(()=>{"use strict";Ze();j();jC=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},de=t=>{let e=t??{};return(r,o)=>{var n;let s={hasChanged:lt,attribute:!1,...e};h(s)(r,o);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:(l=>l[o]),store:e.store})}},KC=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)}});var un,wc=u(()=>{"use strict";un=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==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 mi(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ss=u(()=>{"use strict"});var pn,Hr,So,lg,bt,cg=u(()=>{"use strict";ln();Ss();Ze();pn=Symbol("internalReduxEventsUnsubscribers"),Hr=Symbol("internalStoresUnsubscribers"),So=Symbol("internalStores"),lg=we(Symbol("withRedux"),function(t){var e,r,o;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[So].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[So].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[So].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[So].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[So].delete(l)}setupStores(){this.unsubscribeFromStores(),this[So].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(a.store);f&&(a.store?this[Hr].has(a.store):this[Hr].size>0)&&(this[l]=a.selector(f.getState(),this))}})}subscribeToStore(a,l){var d,f;this[Hr].set(a,l.subscribe(()=>this.updateFromStores())),this[pn].set(a,[]),mi(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((g,m)=>{this.getStore(g.store)===l&&l.deprecatedKeys.includes(m)&&console.warn("Element",this,"is subscribed to deprecated key",m,"in store",l.name)}),l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((g,m)=>{if(typeof this[m]=="function"&&(!g.store||l.name===g.store)){let y=E=>this[m](E);l.addEventListener(g.eventName,y),this[pn].get(a).push(()=>l.removeEventListener(g.eventName,y))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[Hr].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[Hr].has(a)&&this[Hr].get(a)(),this[Hr].delete(a),(l=this[pn].get(a))===null||l===void 0||l.forEach(d=>d()),this[pn].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Hr,r=So,o=pn,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),bt=class extends lg($){}});function Ve(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}function Es(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 Ac(t,e,r){if(typeof t!="function")throw new Error(Ve(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ve(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ve(1));return r(Ac)(t,e)}let o=t,n=e,s=new Map,a=s,l=0,d=!1;function f(){a===s&&(a=new Map,s.forEach((I,U)=>{a.set(U,I)}))}function g(){if(d)throw new Error(Ve(3));return n}function m(I){if(typeof I!="function")throw new Error(Ve(4));if(d)throw new Error(Ve(5));let U=!0;f();let H=l++;return a.set(H,I),function(){if(U){if(d)throw new Error(Ve(6));U=!1,f(),a.delete(H),s=null}}}function y(I){if(!Es(I))throw new Error(Ve(7));if(typeof I.type>"u")throw new Error(Ve(8));if(typeof I.type!="string")throw new Error(Ve(17));if(d)throw new Error(Ve(9));try{d=!0,n=o(n,I)}finally{d=!1}return(s=a).forEach(H=>{H()}),I}function E(I){if(typeof I!="function")throw new Error(Ve(10));o=I,y({type:Cs.REPLACE})}function A(){let I=m;return{subscribe(U){if(typeof U!="object"||U===null)throw new Error(Ve(11));function H(){let v=U;v.next&&v.next(g())}return H(),{unsubscribe:I(H)}},[dg](){return this}}}return y({type:Cs.INIT}),{dispatch:y,subscribe:m,getState:g,replaceReducer:E,[dg]:A}}function QC(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Cs.INIT})>"u")throw new Error(Ve(12));if(typeof r(void 0,{type:Cs.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ve(13))})}function _c(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(r[l]=t[l])}let o=Object.keys(r),n,s;try{QC(r)}catch(a){s=a}return function(l={},d){if(s)throw s;let f=!1,g={};for(let m=0;m<o.length;m++){let y=o[m],E=r[y],A=l[y],F=E(A,d);if(typeof F>"u"){let I=d&&d.type;throw new Error(Ve(14))}g[y]=F,f=f||F!==A}return f=f||o.length!==Object.keys(l).length,f?g:l}}function fn(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...o)=>e(r(...o)))}function ug(...t){return e=>(r,o)=>{let n=e(r,o),s=()=>{throw new Error(Ve(15))},a={getState:n.getState,dispatch:(d,...f)=>s(d,...f)},l=t.map(d=>d(a));return s=fn(...l)(n.dispatch),{...n,dispatch:s}}}function pg(t){return Es(t)&&"type"in t&&typeof t.type=="string"}var qC,dg,Rc,ZC,Cs,kc=u(()=>{qC=typeof Symbol=="function"&&Symbol.observable||"@@observable",dg=qC,Rc=()=>Math.random().toString(36).substring(7).split("").join("."),ZC={INIT:`@@redux/INIT${Rc()}`,REPLACE:`@@redux/REPLACE${Rc()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Rc()}`},Cs=ZC});function Gt(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}function vt(t){return t?Cg(t)||Fs(t)||!!t[fg]||!!t[As]?.[fg]||Ds(t)||bn(t):!1}function Cg(t){if(!t||!zc(t))return!1;let e=yi(t);if(e===null||e===xt[Ps])return!0;let r=xt.hasOwnProperty.call(e,As)&&e[As];if(r===Object)return!0;if(!gi(r))return!1;let o=hg.get(r);return o===void 0&&(o=Function.toString.call(r),hg.set(r,o)),o===YC}function Ns(t,e,r=!0){yn(t)===0?(r?Reflect.ownKeys(t):xt.keys(t)).forEach(n=>{e(n,t[n],t)}):t.forEach((o,n)=>e(n,o,t))}function yn(t){let e=t[Qe];return e?e.type_:Fs(t)?1:Ds(t)?2:bn(t)?3:0}function XC(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}function JC(t){let e=+t;return Number.isInteger(e)&&String(e)===t}function Fc(t,e){if(Ds(t))return new Map(t);if(bn(t))return new Set(t);if(Fs(t))return Array[Ps].slice.call(t);let r=Cg(t);if(e===!0||e==="class_only"&&!r){let o=xt.getOwnPropertyDescriptors(t);delete o[Qe];let n=Reflect.ownKeys(o);for(let s=0;s<n.length;s++){let a=n[s],l=o[a];l[ws]===!1&&(l[ws]=!0,l[Pc]=!0),(l.get||l.set)&&(o[a]={[Pc]:!0,[ws]:!0,[_s]:l[_s],[hn]:t[a]})}return xt.create(yi(t),o)}else{let o=yi(t);if(o!==null&&r)return{...t};let n=xt.create(o);return xt.assign(n,t)}}function Ms(t,e=!1){return $s(t)||cr(t)||!vt(t)||(yn(t)>1&&xt.defineProperties(t,{set:Os,add:Os,clear:Os,delete:Os}),xt.freeze(t),e&&Ns(t,(r,o)=>{Ms(o,!0)},!1)),t}function eE(){Gt(2)}function $s(t){return t===null||!zc(t)?!0:xt.isFrozen(t)}function Co(t){let e=Eg[t];return e||Gt(0,t),e}function yg(t,e){e&&(t.patchPlugin_=Co(Dc),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Mc(t){$c(t),t.drafts_.forEach(rE),t.drafts_=null}function $c(t){t===mn&&(mn=t.parent_)}function rE(t){let e=t[Qe];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function xg(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[Qe].modified_&&(Mc(e),Gt(4)),vt(t)&&(t=vg(e,t));let{patchPlugin_:n}=e;n&&n.generateReplacementPatches_(r[Qe].base_,t,e)}else t=vg(e,r);return oE(e,t,!0),Mc(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Sg?t:void 0}function vg(t,e){if($s(e))return e;let r=e[Qe];if(!r)return Is(e,t.handledSet_,t);if(!Bs(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:o}=r;if(o)for(;o.length>0;)o.pop()(t);Ag(r,t)}return r.copy_}function oE(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Ms(e,r)}function wg(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}function Rg(t,e,r,o){let n=Rr(t),s=t.type_;if(o!==void 0&&Nc(n,o,s)===e){ks(n,o,r,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Ns(n,(d,f)=>{if(cr(f)){let g=l.get(f)||[];g.push(d),l.set(f,g)}})}let a=t.draftLocations_.get(e)??iE;for(let l of a)ks(n,l,r,s)}function nE(t,e,r){t.callbacks_.push(function(n){let s=e;if(!s||!Bs(s,n))return;n.mapSetPlugin_?.fixSetContents(s);let a=Vc(s);Rg(t,s.draft_??s,a,r),Ag(s,n)})}function Ag(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:o}=e;if(o){let n=o.getPath(t);n&&o.generatePatches_(t,n,e)}wg(t)}}function sE(t,e,r){let{scope_:o}=t;if(cr(r)){let n=r[Qe];Bs(n,o)&&n.callbacks_.push(function(){Rs(t);let a=Vc(n);Rg(t,r,a,e)})}else vt(r)&&t.callbacks_.push(function(){let s=Rr(t);t.type_===3?s.has(r)&&Is(r,o.handledSet_,o):Nc(s,e,t.type_)===r&&o.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&Is(Nc(t.copy_,e,t.type_),o.handledSet_,o)})}function Is(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||cr(t)||e.has(t)||!vt(t)||$s(t)||(e.add(t),Ns(t,(o,n)=>{if(cr(n)){let s=n[Qe];if(Bs(s,r)){let a=Vc(s);ks(t,o,a,t.type_),wg(s)}}else vt(n)&&Is(n,e,r)})),t}function aE(t,e){let r=Fs(t),o={type_:r?1:0,scope_:e?e.scope_:Og(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},n=o,s=Ts;r&&(n=[o],s=gn);let{revoke:a,proxy:l}=Proxy.revocable(n,s);return o.draft_=l,o.revoke_=a,[l,o]}function Tc(t,e){let r=t[Qe];return(r?Rr(r):t)[e]}function lE(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||!vt(r)||r[Qe]?!1:t.baseRefs_.has(r)}function cE(t,e,r){let o=_g(e,r);return o?hn in o?o[hn]:o.get?.call(t.draft_):void 0}function _g(t,e){if(!(e in t))return;let r=yi(t);for(;r;){let o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=yi(r)}}function Bc(t){t.modified_||(t.modified_=!0,t.parent_&&Bc(t.parent_))}function Rs(t){t.copy_||(t.assigned_=new Map,t.copy_=Fc(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function Uc(t,e,r,o){let[n,s]=Ds(e)?Co(Ls).proxyMap_(e,r):bn(e)?Co(Ls).proxySet_(e,r):aE(e,r);return(r?.scope_??Og()).drafts_.push(n),s.callbacks_=r?.callbacks_??[],s.key_=o,r&&o!==void 0?nE(r,s,o):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:f}=d;s.modified_&&f&&f.generatePatches_(s,[],d)}),n}function kg(t){return cr(t)||Gt(10,t),Lg(t)}function Lg(t){if(!vt(t)||$s(t))return t;let e=t[Qe],r,o=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=Fc(t,e.scope_.immer_.useStrictShallowCopy_),o=e.scope_.immer_.shouldUseStrictIteration()}else r=Fc(t,!0);let n=r;return bn(r)&&(r=new Set),Ns(n,(s,a)=>{ks(r,s,Lg(a))},o),e&&(e.finalized_=!1),r}var Sg,fg,Qe,xt,yi,As,Ps,Pc,_s,ws,hn,cr,YC,hg,Lc,Nc,ks,Fs,Ds,bn,zc,gi,Ic,Rr,Vc,Os,Ls,Dc,mg,Eg,gg,mn,Og,tE,bg,Bs,iE,Ts,gn,dE,uE,WL,pE,Hc,Ig=u(()=>{Sg=Symbol.for("immer-nothing"),fg=Symbol.for("immer-draftable"),Qe=Symbol.for("immer-state");xt=Object,yi=xt.getPrototypeOf,As="constructor",Ps="prototype",Pc="configurable",_s="enumerable",ws="writable",hn="value",cr=t=>!!t&&!!t[Qe];YC=xt[Ps][As].toString(),hg=new WeakMap;Lc=(t,e,r=yn(t))=>r===2?t.has(e):xt[Ps].hasOwnProperty.call(t,e),Nc=(t,e,r=yn(t))=>r===2?t.get(e):t[e],ks=(t,e,r,o=yn(t))=>{o===2?t.set(e,r):o===3?t.add(r):t[e]=r};Fs=Array.isArray,Ds=t=>t instanceof Map,bn=t=>t instanceof Set,zc=t=>typeof t=="object",gi=t=>typeof t=="function",Ic=t=>typeof t=="boolean";Rr=t=>t.copy_||t.base_,Vc=t=>t.modified_?t.copy_:t.base_;Os={[hn]:eE};Ls="MapSet",Dc="Patches",mg="ArrayMethods",Eg={};gg=t=>!!Eg[t],Og=()=>mn,tE=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gg(Ls)?Co(Ls):void 0,arrayMethodsPlugin_:gg(mg)?Co(mg):void 0});bg=t=>mn=tE(mn,t);Bs=(t,e)=>t.scope_===e,iE=[];Ts={get(t,e){if(e===Qe)return t;let r=t.scope_.arrayMethodsPlugin_,o=t.type_===1&&typeof e=="string";if(o&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let n=Rr(t);if(!Lc(n,e,t.type_))return cE(t,n,e);let s=n[e];if(t.finalized_||!vt(s)||o&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&JC(e))return s;if(s===Tc(t.base_,e)||lE(t,e,s)){Rs(t);let a=t.type_===1?+e:e,l=Uc(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in Rr(t)},ownKeys(t){return Reflect.ownKeys(Rr(t))},set(t,e,r){let o=_g(Rr(t),e);if(o?.set)return o.set.call(t.draft_,r),!0;if(!t.modified_){let n=Tc(Rr(t),e),s=n?.[Qe];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(XC(r,n)&&(r!==void 0||Lc(t.base_,e,t.type_)))return!0;Rs(t),Bc(t)}return t.copy_[e]===r&&(r!==void 0||Lc(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),sE(t,e,r)),!0},deleteProperty(t,e){return Rs(t),Tc(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Bc(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=Rr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{[ws]:!0,[Pc]:t.type_!==1||e!=="length",[_s]:o[_s],[hn]:r[e]}},defineProperty(){Gt(11)},getPrototypeOf(t){return yi(t.base_)},setPrototypeOf(){Gt(12)}},gn={};for(let t in Ts){let e=Ts[t];gn[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}gn.deleteProperty=function(t,e){return gn.set.call(this,t,e,void 0)};gn.set=function(t,e,r){return Ts.set.call(this,t[0],e,r,t[0])};dE=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,o)=>{if(gi(e)&&!gi(r)){let s=r;r=e;let a=this;return function(d=s,...f){return a.produce(d,g=>r.call(this,g,...f))}}gi(r)||Gt(6),o!==void 0&&!gi(o)&&Gt(7);let n;if(vt(e)){let s=bg(this),a=Uc(s,e,void 0),l=!0;try{n=r(a),l=!1}finally{l?Mc(s):$c(s)}return yg(s,o),xg(n,s)}else if(!e||!zc(e)){if(n=r(e),n===void 0&&(n=e),n===Sg&&(n=void 0),this.autoFreeze_&&Ms(n,!0),o){let s=[],a=[];Co(Dc).generateReplacementPatches_(e,n,{patches_:s,inversePatches_:a}),o(s,a)}return n}else Gt(1,e)},this.produceWithPatches=(e,r)=>{if(gi(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let o,n;return[this.produce(e,r,(a,l)=>{o=a,n=l}),o,n]},Ic(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Ic(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Ic(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){vt(t)||Gt(8),cr(t)&&(t=kg(t));let e=bg(this),r=Uc(e,t,void 0);return r[Qe].isManual_=!0,$c(e),r}finishDraft(t,e){let r=t&&t[Qe];(!r||!r.isManual_)&&Gt(9);let{scope_:o}=r;return yg(o,e),xg(void 0,o)}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 n=e[r];if(n.path.length===0&&n.op==="replace"){t=n.value;break}}r>-1&&(e=e.slice(r+1));let o=Co(Dc).applyPatches_;return cr(t)?o(t,e):this.produce(t,n=>o(n,e))}};uE=globalThis.Iterator,WL=typeof uE?.from=="function",pE=new dE,Hc=pE.produce});function Tg(t){return({dispatch:r,getState:o})=>n=>s=>typeof s=="function"?s(r,o,t):n(s)}var Pg,Ng,Fg=u(()=>{Pg=Tg(),Ng=Tg});function Wr(t,e){function r(...o){if(e){let n=e(...o);if(!n)throw new Error(dr(0));return{type:t,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:t,payload:o[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=o=>pg(o)&&o.type===t,r}function Dg(t){return vt(t)?Hc(t,()=>{}):t}function Us(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function mE(t){return typeof t=="boolean"}function zg(t){let e=gE(),{reducer:r=void 0,middleware:o,devTools:n=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Es(r))d=_c(r);else throw new Error(dr(1));let f;typeof o=="function"?f=o(e):f=e();let g=fn;n&&(g=fE({trace:!1,...typeof n=="object"&&n}));let m=ug(...f),y=vE(m),E=typeof l=="function"?l(y):y(),A=g(...E);return Ac(d,a,A)}function Vg(t){let e={},r=[],o,n={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(dr(28));if(l in e)throw new Error(dr(29));return e[l]=a,n},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}),n},addMatcher(s,a){return r.push({matcher:s,reducer:a}),n},addDefaultCase(s){return o=s,n}};return t(n),[e,r,o]}function SE(t){return typeof t=="function"}function CE(t,e){let[r,o,n]=Vg(e),s;if(SE(t))s=()=>Dg(t());else{let l=Dg(t);s=()=>l}function a(l=s(),d){let f=[r[d.type],...o.filter(({matcher:g})=>g(d)).map(({reducer:g})=>g)];return f.filter(g=>!!g).length===0&&(f=[n]),f.reduce((g,m)=>{if(m)if(cr(g)){let y=m(g,d);return y===void 0?g:y}else{if(vt(g))return Hc(g,y=>m(y,d));{let y=m(g,d);if(y===void 0){if(g===null)return g;throw new Error(dr(9))}return y}}return g},l)}return a.getInitialState=s,a}function OE(...t){return e=>t.some(r=>EE(r,e))}function LE(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function IE(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}function TE(t,e){return`${t}/${e}`}function PE({creators:t}={}){let e=t?.asyncThunk?.[Hg];return function(o){let{name:n,reducerPath:s=n}=o;if(!n)throw new Error(dr(11));typeof process<"u";let a=(typeof o.reducers=="function"?o.reducers(FE()):o.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(S,v){let R=typeof S=="string"?S:S.type;if(!R)throw new Error(dr(12));if(R in d.sliceCaseReducersByType)throw new Error(dr(13));return d.sliceCaseReducersByType[R]=v,f},addMatcher(S,v){return d.sliceMatchers.push({matcher:S,reducer:v}),f},exposeAction(S,v){return d.actionCreators[S]=v,f},exposeCaseReducer(S,v){return d.sliceCaseReducersByName[S]=v,f}};l.forEach(S=>{let v=a[S],R={reducerName:S,type:TE(n,S),createNotation:typeof o.reducers=="function"};ME(v)?BE(R,v,f,e):DE(R,v,f)});function g(){let[S={},v=[],R=void 0]=typeof o.extraReducers=="function"?Vg(o.extraReducers):[o.extraReducers],N={...S,...d.sliceCaseReducersByType};return CE(o.initialState,q=>{for(let ue in N)q.addCase(ue,N[ue]);for(let ue of d.sliceMatchers)q.addMatcher(ue.matcher,ue.reducer);for(let ue of v)q.addMatcher(ue.matcher,ue.reducer);R&&q.addDefaultCase(R)})}let m=S=>S,y=new Map,E=new WeakMap,A;function F(S,v){return A||(A=g()),A(S,v)}function I(){return A||(A=g()),A.getInitialState()}function U(S,v=!1){function R(q){let ue=q[S];return typeof ue>"u"&&v&&(ue=Us(E,R,I)),ue}function N(q=m){return Us(Us(y,v,()=>new WeakMap),q,()=>{let ue={};for(let[Ae,V]of Object.entries(o.selectors??{}))ue[Ae]=NE(V,q,()=>Us(E,q,I),v);return ue})}return{reducerPath:S,getSelectors:N,get selectors(){return N(R)},selectSlice:R}}let H={name:n,reducer:F,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:I,...U(s),injectInto(S,{reducerPath:v,...R}={}){let N=v??s;return S.inject({reducerPath:N,reducer:F},R),{...H,...U(N,!0)}}};return H}}function NE(t,e,r,o){function n(s,...a){let l=e(s);return typeof l>"u"&&o&&(l=r()),t(l,...a)}return n.unwrapped=t,n}function FE(){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 DE({type:t,reducerName:e,createNotation:r},o,n){let s,a;if("reducer"in o){if(r&&!$E(o))throw new Error(dr(17));s=o.reducer,a=o.prepare}else s=o;n.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?Wr(t,a):Wr(t))}function ME(t){return t._reducerDefinitionType==="asyncThunk"}function $E(t){return t._reducerDefinitionType==="reducerWithPrepare"}function BE({type:t,reducerName:e},r,o,n){if(!n)throw new Error(dr(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:f,options:g}=r,m=n(t,s,g);o.exposeAction(e,m),a&&o.addCase(m.fulfilled,a),l&&o.addCase(m.pending,l),d&&o.addCase(m.rejected,d),f&&o.addMatcher(m.settled,f),o.exposeCaseReducer(e,{fulfilled:a||zs,pending:l||zs,rejected:d||zs,settled:f||zs})}function zs(){}function dr(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. `}var fE,hE,Ug,gE,yE,Mg,bE,xE,vE,EE,wE,RE,AE,Wc,$g,_E,Bg,kE,Hg,XL,Wg,Gg,jg,Kg,JL,eI,tI,rI,qg,Gc,UE,oI,zE,Zg=u(()=>{kc();Ig();Fg();kc();fE=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?fn:fn.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;hE=t=>t&&typeof t.match=="function";Ug=class xn extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,xn.prototype)}static get[Symbol.species](){return xn}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new xn(...e[0].concat(this)):new xn(...e.concat(this))}};gE=()=>function(e){let{thunk:r=!0,immutableCheck:o=!0,serializableCheck:n=!0,actionCreatorCheck:s=!0}=e??{},a=new Ug;return r&&(mE(r)?a.push(Pg):a.push(Ng(r.extraArgument))),a},yE="RTK_autoBatch",Mg=t=>e=>{setTimeout(e,t)},bE=(t,e)=>r=>{let o=!1,n,s,a=()=>{o||(o=!0,cancelAnimationFrame(n),clearTimeout(s),r())};n=t(a),s=setTimeout(a,e)},xE=(t={type:"raf"})=>e=>(...r)=>{let o=e(...r),n=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?bE(window.requestAnimationFrame,100):Mg(10):t.type==="callback"?t.queueNotification:Mg(t.timeout),f=()=>{a=!1,s&&(s=!1,l.forEach(g=>g()))};return Object.assign({},o,{subscribe(g){let m=()=>n&&g(),y=o.subscribe(m);return l.add(g),()=>{y(),l.delete(g)}},dispatch(g){try{return n=!g?.meta?.[yE],s=!n,s&&(a||(a=!0,d(f))),o.dispatch(g)}finally{n=!0}}})},vE=t=>function(r){let{autoBatch:o=!0}=r??{},n=new Ug(t);return o&&n.push(xE(typeof o=="object"?o:void 0)),n};EE=(t,e)=>hE(t)?t.match(e):t(e);wE="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",RE=(t=21)=>{let e="",r=t;for(;r--;)e+=wE[Math.random()*64|0];return e},AE=["name","message","stack","code"],Wc=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},$g=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},_E=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of AE)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},Bg="External signal was aborted",kE=(()=>{function t(e,r,o){let n=Wr(e+"/fulfilled",(d,f,g,m)=>({payload:d,meta:{...m||{},arg:g,requestId:f,requestStatus:"fulfilled"}})),s=Wr(e+"/pending",(d,f,g)=>({payload:void 0,meta:{...g||{},arg:f,requestId:d,requestStatus:"pending"}})),a=Wr(e+"/rejected",(d,f,g,m,y)=>({payload:m,error:(o&&o.serializeError||_E)(d||"Rejected"),meta:{...y||{},arg:g,requestId:f,rejectedWithValue:m!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(g,m,y)=>{let E=o?.idGenerator?o.idGenerator(d):RE(),A=new AbortController,F,I;function U(S){I=S,A.abort()}f&&(f.aborted?U(Bg):f.addEventListener("abort",()=>U(Bg),{once:!0}));let H=(async function(){let S;try{let v=o?.condition?.(d,{getState:m,extra:y});if(IE(v)&&(v=await v),v===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(A.signal.aborted)throw{name:"AbortError",message:I||"Aborted"};let R=new Promise((N,q)=>{F=()=>{q({name:"AbortError",message:I||"Aborted"})},A.signal.addEventListener("abort",F,{once:!0})});g(s(E,d,o?.getPendingMeta?.({requestId:E,arg:d},{getState:m,extra:y}))),S=await Promise.race([R,Promise.resolve(r(d,{dispatch:g,getState:m,extra:y,requestId:E,signal:A.signal,abort:U,rejectWithValue:((N,q)=>new Wc(N,q)),fulfillWithValue:((N,q)=>new $g(N,q))})).then(N=>{if(N instanceof Wc)throw N;return N instanceof $g?n(N.payload,E,d,N.meta):n(N,E,d)})])}catch(v){S=v instanceof Wc?a(null,E,d,v.payload,v.meta):a(v,E,d)}finally{F&&A.signal.removeEventListener("abort",F)}return o&&!o.dispatchConditionRejection&&a.match(S)&&S.meta.condition||g(S),S})();return Object.assign(H,{abort:U,requestId:E,arg:d,unwrap(){return H.then(LE)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:n,settled:OE(a,n),typePrefix:e})}return t.withTypes=()=>t,t})();Hg=Symbol.for("rtk-slice-createasyncthunk"),XL={[Hg]:kE};Wg=PE();Gg="listener",jg="completed",Kg="cancelled",JL=`task-${Kg}`,eI=`task-${jg}`,tI=`${Gg}-${Kg}`,rI=`${Gg}-${jg}`,{assign:qg}=Object,Gc="listenerMiddleware",UE=qg(Wr(`${Gc}/add`),{withTypes:()=>UE}),oI=Wr(`${Gc}/removeAll`),zE=qg(Wr(`${Gc}/remove`),{withTypes:()=>zE})});function VE(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))mi(e)&&e.clear()}var Ar,Qg=u(()=>{"use strict";Zg();Ss();wc();ii();Ze();window.ftReduxStores||(window.ftReduxStores={});Ar=class t extends Cr{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,s=window.ftReduxStores[o];if(mi(s))return s;if(n==null)return;let a=Wg({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=zg({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let g=gt(a.getInitialState());for(let m of f.keeping)g[m]=(d??g)[m];return g}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return a.reducer(d,f)}});return window.ftReduxStores[n.name]=new t(a,l,n.eventBus,n.deprecatedKeys)}constructor(e,r,o,n){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=n,this.isFtReduxStore=!0,this.commands=new un,this.injectInto=(a,l)=>this.reduxSlice.injectInto(a,l),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,l,d)=>{let f=l,g=a[f];return g?(...m)=>{let y=g(...m.map(s));return this.reduxStore.dispatch(y),y}:m=>{let y=f,E=this.getState()[y];Le(E,m)||this.setState({[y]:s(m)})}}}),this.eventBus=o??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 jc(t,e,r){return new _r(t,e,r).watch()}var _r,Yg=u(()=>{"use strict";Ze();_r=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}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);lt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var Eo,Xg=u(()=>{"use strict";Eo=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 o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}}});var Kc={};G(Kc,{FtCommandQueue:()=>un,FtLitElementRedux:()=>bt,FtReduxStore:()=>Ar,FtStateManager:()=>Eo,ReduxWatcher:()=>_r,clearAllStores:()=>VE,isFtReduxStore:()=>mi,redux:()=>de,reduxEventListener:()=>KC,reduxReactive:()=>jC,watch:()=>jc,withRedux:()=>lg});var Vs=u(()=>{"use strict";ag();wc();cg();Qg();Ss();Yg();Xg()});var Yc={};G(Yc,{scrollHelper:()=>Qc});var qc,Hs,Zc,Qc,Xc=u(()=>{"use strict";Ze();Hs=new Map,Zc=class{lock(e,r){if(r){let o=Hs.get(r);if(o==null||o===e)return Hs.set(r,e),r}}release(e,r){r&&Hs.get(r)===e&&Hs.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let s of yl(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){o=a;break}else l&&n==null&&(n=a)}return(r=o??n)!==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 o,n;let s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return s+((n=r?.offsetTop)!==null&&n!==void 0?n: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 o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),s=n-o.clientHeight+e.clientHeight,a=n,l=Sr(0,(a-o.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,l)*(s-a)+a;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(qc=window.FluidTopicsScrollHelper)!==null&&qc!==void 0?qc:new Zc;Qc=window.FluidTopicsScrollHelper});var td={};G(td,{toFtFormComponent:()=>ed});var Jc,ed,rd=u(()=>{"use strict";Ze();Jc=Symbol("elementInternals"),ed=we(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Jc].form}constructor(...o){super(o),this[Jc]=this.attachInternals()}setFormValue(o){this[Jc].setFormValue(o)}}return e})});var od={};G(od,{DateFormatter:()=>Oo});var Oo,Ws=u(()=>{"use strict";Oo=class{static format(e,r,o,n,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n,!!s)):this.getIntlDateTime(e,r,o,n,!!s)}static getMomentDateFormat(e,r,o){return o?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n,s){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:n?`${l} ${d}`:l}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}}});var nd={};G(nd,{ALL_KEYS_VALUE:()=>id,SameWindowStorageEvent:()=>bi});var id,bi,sd=u(()=>{"use strict";id="__all__",bi=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==id}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new bi(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new bi(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new bi(id))}})});var ld={};G(ld,{FocusMainContentEvent:()=>ad});var ad,cd=u(()=>{"use strict";ad=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var Jg={};function HE(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function WE(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var dd=u(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",HE);document.addEventListener("click",WE)});var xi,ud=u(()=>{"use strict";L();xi=O`
47
+ `});var lg={};var Ec=u(()=>{"use strict"});var Oc={};G(Oc,{ParametrizedLabelResolver:()=>Vr});var Vr,wc=u(()=>{"use strict";Vr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let s=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(o,a))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}}});var qC,ce,ZC,cg=u(()=>{"use strict";qe();j();qC=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ce=t=>{let e=t??{};return(r,o)=>{var n;let s={hasChanged:lt,attribute:!1,...e};h(s)(r,o);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:(l=>l[o]),store:e.store})}},ZC=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)}});var pn,Rc=u(()=>{"use strict";pn=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==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 gi(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Cs=u(()=>{"use strict"});var fn,Hr,So,dg,bt,ug=u(()=>{"use strict";cn();Cs();qe();fn=Symbol("internalReduxEventsUnsubscribers"),Hr=Symbol("internalStoresUnsubscribers"),So=Symbol("internalStores"),dg=Oe(Symbol("withRedux"),function(t){var e,r,o;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[So].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[So].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[So].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[So].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[So].delete(l)}setupStores(){this.unsubscribeFromStores(),this[So].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(a.store);f&&(a.store?this[Hr].has(a.store):this[Hr].size>0)&&(this[l]=a.selector(f.getState(),this))}})}subscribeToStore(a,l){var d,f;this[Hr].set(a,l.subscribe(()=>this.updateFromStores())),this[fn].set(a,[]),gi(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((g,m)=>{this.getStore(g.store)===l&&l.deprecatedKeys.includes(m)&&console.warn("Element",this,"is subscribed to deprecated key",m,"in store",l.name)}),l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((g,m)=>{if(typeof this[m]=="function"&&(!g.store||l.name===g.store)){let y=E=>this[m](E);l.addEventListener(g.eventName,y),this[fn].get(a).push(()=>l.removeEventListener(g.eventName,y))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[Hr].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[Hr].has(a)&&this[Hr].get(a)(),this[Hr].delete(a),(l=this[fn].get(a))===null||l===void 0||l.forEach(d=>d()),this[fn].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Hr,r=So,o=fn,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),bt=class extends dg($){}});function Ve(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}function Os(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 _c(t,e,r){if(typeof t!="function")throw new Error(Ve(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ve(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ve(1));return r(_c)(t,e)}let o=t,n=e,s=new Map,a=s,l=0,d=!1;function f(){a===s&&(a=new Map,s.forEach((I,U)=>{a.set(U,I)}))}function g(){if(d)throw new Error(Ve(3));return n}function m(I){if(typeof I!="function")throw new Error(Ve(4));if(d)throw new Error(Ve(5));let U=!0;f();let H=l++;return a.set(H,I),function(){if(U){if(d)throw new Error(Ve(6));U=!1,f(),a.delete(H),s=null}}}function y(I){if(!Os(I))throw new Error(Ve(7));if(typeof I.type>"u")throw new Error(Ve(8));if(typeof I.type!="string")throw new Error(Ve(17));if(d)throw new Error(Ve(9));try{d=!0,n=o(n,I)}finally{d=!1}return(s=a).forEach(H=>{H()}),I}function E(I){if(typeof I!="function")throw new Error(Ve(10));o=I,y({type:Es.REPLACE})}function A(){let I=m;return{subscribe(U){if(typeof U!="object"||U===null)throw new Error(Ve(11));function H(){let v=U;v.next&&v.next(g())}return H(),{unsubscribe:I(H)}},[pg](){return this}}}return y({type:Es.INIT}),{dispatch:y,subscribe:m,getState:g,replaceReducer:E,[pg]:A}}function XC(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Es.INIT})>"u")throw new Error(Ve(12));if(typeof r(void 0,{type:Es.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ve(13))})}function kc(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(r[l]=t[l])}let o=Object.keys(r),n,s;try{XC(r)}catch(a){s=a}return function(l={},d){if(s)throw s;let f=!1,g={};for(let m=0;m<o.length;m++){let y=o[m],E=r[y],A=l[y],F=E(A,d);if(typeof F>"u"){let I=d&&d.type;throw new Error(Ve(14))}g[y]=F,f=f||F!==A}return f=f||o.length!==Object.keys(l).length,f?g:l}}function hn(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...o)=>e(r(...o)))}function fg(...t){return e=>(r,o)=>{let n=e(r,o),s=()=>{throw new Error(Ve(15))},a={getState:n.getState,dispatch:(d,...f)=>s(d,...f)},l=t.map(d=>d(a));return s=hn(...l)(n.dispatch),{...n,dispatch:s}}}function hg(t){return Os(t)&&"type"in t&&typeof t.type=="string"}var QC,pg,Ac,YC,Es,Lc=u(()=>{QC=typeof Symbol=="function"&&Symbol.observable||"@@observable",pg=QC,Ac=()=>Math.random().toString(36).substring(7).split("").join("."),YC={INIT:`@@redux/INIT${Ac()}`,REPLACE:`@@redux/REPLACE${Ac()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ac()}`},Es=YC});function jt(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}function vt(t){return t?Og(t)||Ds(t)||!!t[mg]||!!t[_s]?.[mg]||Ms(t)||xn(t):!1}function Og(t){if(!t||!Vc(t))return!1;let e=bi(t);if(e===null||e===xt[Ns])return!0;let r=xt.hasOwnProperty.call(e,_s)&&e[_s];if(r===Object)return!0;if(!yi(r))return!1;let o=gg.get(r);return o===void 0&&(o=Function.toString.call(r),gg.set(r,o)),o===JC}function Fs(t,e,r=!0){bn(t)===0?(r?Reflect.ownKeys(t):xt.keys(t)).forEach(n=>{e(n,t[n],t)}):t.forEach((o,n)=>e(n,o,t))}function bn(t){let e=t[Ze];return e?e.type_:Ds(t)?1:Ms(t)?2:xn(t)?3:0}function eE(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}function tE(t){let e=+t;return Number.isInteger(e)&&String(e)===t}function Dc(t,e){if(Ms(t))return new Map(t);if(xn(t))return new Set(t);if(Ds(t))return Array[Ns].slice.call(t);let r=Og(t);if(e===!0||e==="class_only"&&!r){let o=xt.getOwnPropertyDescriptors(t);delete o[Ze];let n=Reflect.ownKeys(o);for(let s=0;s<n.length;s++){let a=n[s],l=o[a];l[Rs]===!1&&(l[Rs]=!0,l[Nc]=!0),(l.get||l.set)&&(o[a]={[Nc]:!0,[Rs]:!0,[ks]:l[ks],[mn]:t[a]})}return xt.create(bi(t),o)}else{let o=bi(t);if(o!==null&&r)return{...t};let n=xt.create(o);return xt.assign(n,t)}}function $s(t,e=!1){return Bs(t)||dr(t)||!vt(t)||(bn(t)>1&&xt.defineProperties(t,{set:ws,add:ws,clear:ws,delete:ws}),xt.freeze(t),e&&Fs(t,(r,o)=>{$s(o,!0)},!1)),t}function rE(){jt(2)}function Bs(t){return t===null||!Vc(t)?!0:xt.isFrozen(t)}function Co(t){let e=wg[t];return e||jt(0,t),e}function xg(t,e){e&&(t.patchPlugin_=Co(Mc),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function $c(t){Bc(t),t.drafts_.forEach(iE),t.drafts_=null}function Bc(t){t===gn&&(gn=t.parent_)}function iE(t){let e=t[Ze];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Sg(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[Ze].modified_&&($c(e),jt(4)),vt(t)&&(t=Cg(e,t));let{patchPlugin_:n}=e;n&&n.generateReplacementPatches_(r[Ze].base_,t,e)}else t=Cg(e,r);return nE(e,t,!0),$c(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Eg?t:void 0}function Cg(t,e){if(Bs(e))return e;let r=e[Ze];if(!r)return Ts(e,t.handledSet_,t);if(!Us(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:o}=r;if(o)for(;o.length>0;)o.pop()(t);kg(r,t)}return r.copy_}function nE(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&$s(e,r)}function Ag(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}function _g(t,e,r,o){let n=Rr(t),s=t.type_;if(o!==void 0&&Fc(n,o,s)===e){Ls(n,o,r,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Fs(n,(d,f)=>{if(dr(f)){let g=l.get(f)||[];g.push(d),l.set(f,g)}})}let a=t.draftLocations_.get(e)??sE;for(let l of a)Ls(n,l,r,s)}function aE(t,e,r){t.callbacks_.push(function(n){let s=e;if(!s||!Us(s,n))return;n.mapSetPlugin_?.fixSetContents(s);let a=Hc(s);_g(t,s.draft_??s,a,r),kg(s,n)})}function kg(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:o}=e;if(o){let n=o.getPath(t);n&&o.generatePatches_(t,n,e)}Ag(t)}}function lE(t,e,r){let{scope_:o}=t;if(dr(r)){let n=r[Ze];Us(n,o)&&n.callbacks_.push(function(){As(t);let a=Hc(n);_g(t,r,a,e)})}else vt(r)&&t.callbacks_.push(function(){let s=Rr(t);t.type_===3?s.has(r)&&Ts(r,o.handledSet_,o):Fc(s,e,t.type_)===r&&o.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&Ts(Fc(t.copy_,e,t.type_),o.handledSet_,o)})}function Ts(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||dr(t)||e.has(t)||!vt(t)||Bs(t)||(e.add(t),Fs(t,(o,n)=>{if(dr(n)){let s=n[Ze];if(Us(s,r)){let a=Hc(s);Ls(t,o,a,t.type_),Ag(s)}}else vt(n)&&Ts(n,e,r)})),t}function cE(t,e){let r=Ds(t),o={type_:r?1:0,scope_:e?e.scope_:Rg(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},n=o,s=Ps;r&&(n=[o],s=yn);let{revoke:a,proxy:l}=Proxy.revocable(n,s);return o.draft_=l,o.revoke_=a,[l,o]}function Pc(t,e){let r=t[Ze];return(r?Rr(r):t)[e]}function dE(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||!vt(r)||r[Ze]?!1:t.baseRefs_.has(r)}function uE(t,e,r){let o=Lg(e,r);return o?mn in o?o[mn]:o.get?.call(t.draft_):void 0}function Lg(t,e){if(!(e in t))return;let r=bi(t);for(;r;){let o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=bi(r)}}function Uc(t){t.modified_||(t.modified_=!0,t.parent_&&Uc(t.parent_))}function As(t){t.copy_||(t.assigned_=new Map,t.copy_=Dc(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function zc(t,e,r,o){let[n,s]=Ms(e)?Co(Is).proxyMap_(e,r):xn(e)?Co(Is).proxySet_(e,r):cE(e,r);return(r?.scope_??Rg()).drafts_.push(n),s.callbacks_=r?.callbacks_??[],s.key_=o,r&&o!==void 0?aE(r,s,o):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:f}=d;s.modified_&&f&&f.generatePatches_(s,[],d)}),n}function Ig(t){return dr(t)||jt(10,t),Tg(t)}function Tg(t){if(!vt(t)||Bs(t))return t;let e=t[Ze],r,o=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=Dc(t,e.scope_.immer_.useStrictShallowCopy_),o=e.scope_.immer_.shouldUseStrictIteration()}else r=Dc(t,!0);let n=r;return xn(r)&&(r=new Set),Fs(n,(s,a)=>{Ls(r,s,Tg(a))},o),e&&(e.finalized_=!1),r}var Eg,mg,Ze,xt,bi,_s,Ns,Nc,ks,Rs,mn,dr,JC,gg,Ic,Fc,Ls,Ds,Ms,xn,Vc,yi,Tc,Rr,Hc,ws,Is,Mc,yg,wg,bg,gn,Rg,oE,vg,Us,sE,Ps,yn,pE,fE,jL,hE,Wc,Pg=u(()=>{Eg=Symbol.for("immer-nothing"),mg=Symbol.for("immer-draftable"),Ze=Symbol.for("immer-state");xt=Object,bi=xt.getPrototypeOf,_s="constructor",Ns="prototype",Nc="configurable",ks="enumerable",Rs="writable",mn="value",dr=t=>!!t&&!!t[Ze];JC=xt[Ns][_s].toString(),gg=new WeakMap;Ic=(t,e,r=bn(t))=>r===2?t.has(e):xt[Ns].hasOwnProperty.call(t,e),Fc=(t,e,r=bn(t))=>r===2?t.get(e):t[e],Ls=(t,e,r,o=bn(t))=>{o===2?t.set(e,r):o===3?t.add(r):t[e]=r};Ds=Array.isArray,Ms=t=>t instanceof Map,xn=t=>t instanceof Set,Vc=t=>typeof t=="object",yi=t=>typeof t=="function",Tc=t=>typeof t=="boolean";Rr=t=>t.copy_||t.base_,Hc=t=>t.modified_?t.copy_:t.base_;ws={[mn]:rE};Is="MapSet",Mc="Patches",yg="ArrayMethods",wg={};bg=t=>!!wg[t],Rg=()=>gn,oE=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:bg(Is)?Co(Is):void 0,arrayMethodsPlugin_:bg(yg)?Co(yg):void 0});vg=t=>gn=oE(gn,t);Us=(t,e)=>t.scope_===e,sE=[];Ps={get(t,e){if(e===Ze)return t;let r=t.scope_.arrayMethodsPlugin_,o=t.type_===1&&typeof e=="string";if(o&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let n=Rr(t);if(!Ic(n,e,t.type_))return uE(t,n,e);let s=n[e];if(t.finalized_||!vt(s)||o&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&tE(e))return s;if(s===Pc(t.base_,e)||dE(t,e,s)){As(t);let a=t.type_===1?+e:e,l=zc(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in Rr(t)},ownKeys(t){return Reflect.ownKeys(Rr(t))},set(t,e,r){let o=Lg(Rr(t),e);if(o?.set)return o.set.call(t.draft_,r),!0;if(!t.modified_){let n=Pc(Rr(t),e),s=n?.[Ze];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(eE(r,n)&&(r!==void 0||Ic(t.base_,e,t.type_)))return!0;As(t),Uc(t)}return t.copy_[e]===r&&(r!==void 0||Ic(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),lE(t,e,r)),!0},deleteProperty(t,e){return As(t),Pc(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Uc(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=Rr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{[Rs]:!0,[Nc]:t.type_!==1||e!=="length",[ks]:o[ks],[mn]:r[e]}},defineProperty(){jt(11)},getPrototypeOf(t){return bi(t.base_)},setPrototypeOf(){jt(12)}},yn={};for(let t in Ps){let e=Ps[t];yn[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}yn.deleteProperty=function(t,e){return yn.set.call(this,t,e,void 0)};yn.set=function(t,e,r){return Ps.set.call(this,t[0],e,r,t[0])};pE=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,o)=>{if(yi(e)&&!yi(r)){let s=r;r=e;let a=this;return function(d=s,...f){return a.produce(d,g=>r.call(this,g,...f))}}yi(r)||jt(6),o!==void 0&&!yi(o)&&jt(7);let n;if(vt(e)){let s=vg(this),a=zc(s,e,void 0),l=!0;try{n=r(a),l=!1}finally{l?$c(s):Bc(s)}return xg(s,o),Sg(n,s)}else if(!e||!Vc(e)){if(n=r(e),n===void 0&&(n=e),n===Eg&&(n=void 0),this.autoFreeze_&&$s(n,!0),o){let s=[],a=[];Co(Mc).generateReplacementPatches_(e,n,{patches_:s,inversePatches_:a}),o(s,a)}return n}else jt(1,e)},this.produceWithPatches=(e,r)=>{if(yi(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let o,n;return[this.produce(e,r,(a,l)=>{o=a,n=l}),o,n]},Tc(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Tc(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Tc(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){vt(t)||jt(8),dr(t)&&(t=Ig(t));let e=vg(this),r=zc(e,t,void 0);return r[Ze].isManual_=!0,Bc(e),r}finishDraft(t,e){let r=t&&t[Ze];(!r||!r.isManual_)&&jt(9);let{scope_:o}=r;return xg(o,e),Sg(void 0,o)}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 n=e[r];if(n.path.length===0&&n.op==="replace"){t=n.value;break}}r>-1&&(e=e.slice(r+1));let o=Co(Mc).applyPatches_;return dr(t)?o(t,e):this.produce(t,n=>o(n,e))}};fE=globalThis.Iterator,jL=typeof fE?.from=="function",hE=new pE,Wc=hE.produce});function Ng(t){return({dispatch:r,getState:o})=>n=>s=>typeof s=="function"?s(r,o,t):n(s)}var Fg,Dg,Mg=u(()=>{Fg=Ng(),Dg=Ng});function Wr(t,e){function r(...o){if(e){let n=e(...o);if(!n)throw new Error(ur(0));return{type:t,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:t,payload:o[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=o=>hg(o)&&o.type===t,r}function $g(t){return vt(t)?Wc(t,()=>{}):t}function zs(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function yE(t){return typeof t=="boolean"}function Hg(t){let e=bE(),{reducer:r=void 0,middleware:o,devTools:n=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Os(r))d=kc(r);else throw new Error(ur(1));let f;typeof o=="function"?f=o(e):f=e();let g=hn;n&&(g=mE({trace:!1,...typeof n=="object"&&n}));let m=fg(...f),y=CE(m),E=typeof l=="function"?l(y):y(),A=g(...E);return _c(d,a,A)}function Wg(t){let e={},r=[],o,n={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(ur(28));if(l in e)throw new Error(ur(29));return e[l]=a,n},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}),n},addMatcher(s,a){return r.push({matcher:s,reducer:a}),n},addDefaultCase(s){return o=s,n}};return t(n),[e,r,o]}function EE(t){return typeof t=="function"}function OE(t,e){let[r,o,n]=Wg(e),s;if(EE(t))s=()=>$g(t());else{let l=$g(t);s=()=>l}function a(l=s(),d){let f=[r[d.type],...o.filter(({matcher:g})=>g(d)).map(({reducer:g})=>g)];return f.filter(g=>!!g).length===0&&(f=[n]),f.reduce((g,m)=>{if(m)if(dr(g)){let y=m(g,d);return y===void 0?g:y}else{if(vt(g))return Wc(g,y=>m(y,d));{let y=m(g,d);if(y===void 0){if(g===null)return g;throw new Error(ur(9))}return y}}return g},l)}return a.getInitialState=s,a}function RE(...t){return e=>t.some(r=>wE(r,e))}function TE(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function PE(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}function NE(t,e){return`${t}/${e}`}function FE({creators:t}={}){let e=t?.asyncThunk?.[Gg];return function(o){let{name:n,reducerPath:s=n}=o;if(!n)throw new Error(ur(11));typeof process<"u";let a=(typeof o.reducers=="function"?o.reducers(ME()):o.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(S,v){let R=typeof S=="string"?S:S.type;if(!R)throw new Error(ur(12));if(R in d.sliceCaseReducersByType)throw new Error(ur(13));return d.sliceCaseReducersByType[R]=v,f},addMatcher(S,v){return d.sliceMatchers.push({matcher:S,reducer:v}),f},exposeAction(S,v){return d.actionCreators[S]=v,f},exposeCaseReducer(S,v){return d.sliceCaseReducersByName[S]=v,f}};l.forEach(S=>{let v=a[S],R={reducerName:S,type:NE(n,S),createNotation:typeof o.reducers=="function"};BE(v)?zE(R,v,f,e):$E(R,v,f)});function g(){let[S={},v=[],R=void 0]=typeof o.extraReducers=="function"?Wg(o.extraReducers):[o.extraReducers],N={...S,...d.sliceCaseReducersByType};return OE(o.initialState,q=>{for(let de in N)q.addCase(de,N[de]);for(let de of d.sliceMatchers)q.addMatcher(de.matcher,de.reducer);for(let de of v)q.addMatcher(de.matcher,de.reducer);R&&q.addDefaultCase(R)})}let m=S=>S,y=new Map,E=new WeakMap,A;function F(S,v){return A||(A=g()),A(S,v)}function I(){return A||(A=g()),A.getInitialState()}function U(S,v=!1){function R(q){let de=q[S];return typeof de>"u"&&v&&(de=zs(E,R,I)),de}function N(q=m){return zs(zs(y,v,()=>new WeakMap),q,()=>{let de={};for(let[we,V]of Object.entries(o.selectors??{}))de[we]=DE(V,q,()=>zs(E,q,I),v);return de})}return{reducerPath:S,getSelectors:N,get selectors(){return N(R)},selectSlice:R}}let H={name:n,reducer:F,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:I,...U(s),injectInto(S,{reducerPath:v,...R}={}){let N=v??s;return S.inject({reducerPath:N,reducer:F},R),{...H,...U(N,!0)}}};return H}}function DE(t,e,r,o){function n(s,...a){let l=e(s);return typeof l>"u"&&o&&(l=r()),t(l,...a)}return n.unwrapped=t,n}function ME(){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 $E({type:t,reducerName:e,createNotation:r},o,n){let s,a;if("reducer"in o){if(r&&!UE(o))throw new Error(ur(17));s=o.reducer,a=o.prepare}else s=o;n.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?Wr(t,a):Wr(t))}function BE(t){return t._reducerDefinitionType==="asyncThunk"}function UE(t){return t._reducerDefinitionType==="reducerWithPrepare"}function zE({type:t,reducerName:e},r,o,n){if(!n)throw new Error(ur(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:f,options:g}=r,m=n(t,s,g);o.exposeAction(e,m),a&&o.addCase(m.fulfilled,a),l&&o.addCase(m.pending,l),d&&o.addCase(m.rejected,d),f&&o.addMatcher(m.settled,f),o.exposeCaseReducer(e,{fulfilled:a||Vs,pending:l||Vs,rejected:d||Vs,settled:f||Vs})}function Vs(){}function ur(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. `}var mE,gE,Vg,bE,xE,Bg,vE,SE,CE,wE,AE,_E,kE,Gc,Ug,LE,zg,IE,Gg,eI,jg,Kg,qg,Zg,tI,rI,oI,iI,Qg,jc,VE,nI,HE,Yg=u(()=>{Lc();Pg();Mg();Lc();mE=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?hn:hn.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;gE=t=>t&&typeof t.match=="function";Vg=class vn extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,vn.prototype)}static get[Symbol.species](){return vn}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new vn(...e[0].concat(this)):new vn(...e.concat(this))}};bE=()=>function(e){let{thunk:r=!0,immutableCheck:o=!0,serializableCheck:n=!0,actionCreatorCheck:s=!0}=e??{},a=new Vg;return r&&(yE(r)?a.push(Fg):a.push(Dg(r.extraArgument))),a},xE="RTK_autoBatch",Bg=t=>e=>{setTimeout(e,t)},vE=(t,e)=>r=>{let o=!1,n,s,a=()=>{o||(o=!0,cancelAnimationFrame(n),clearTimeout(s),r())};n=t(a),s=setTimeout(a,e)},SE=(t={type:"raf"})=>e=>(...r)=>{let o=e(...r),n=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?vE(window.requestAnimationFrame,100):Bg(10):t.type==="callback"?t.queueNotification:Bg(t.timeout),f=()=>{a=!1,s&&(s=!1,l.forEach(g=>g()))};return Object.assign({},o,{subscribe(g){let m=()=>n&&g(),y=o.subscribe(m);return l.add(g),()=>{y(),l.delete(g)}},dispatch(g){try{return n=!g?.meta?.[xE],s=!n,s&&(a||(a=!0,d(f))),o.dispatch(g)}finally{n=!0}}})},CE=t=>function(r){let{autoBatch:o=!0}=r??{},n=new Vg(t);return o&&n.push(SE(typeof o=="object"?o:void 0)),n};wE=(t,e)=>gE(t)?t.match(e):t(e);AE="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_E=(t=21)=>{let e="",r=t;for(;r--;)e+=AE[Math.random()*64|0];return e},kE=["name","message","stack","code"],Gc=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Ug=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},LE=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of kE)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},zg="External signal was aborted",IE=(()=>{function t(e,r,o){let n=Wr(e+"/fulfilled",(d,f,g,m)=>({payload:d,meta:{...m||{},arg:g,requestId:f,requestStatus:"fulfilled"}})),s=Wr(e+"/pending",(d,f,g)=>({payload:void 0,meta:{...g||{},arg:f,requestId:d,requestStatus:"pending"}})),a=Wr(e+"/rejected",(d,f,g,m,y)=>({payload:m,error:(o&&o.serializeError||LE)(d||"Rejected"),meta:{...y||{},arg:g,requestId:f,rejectedWithValue:m!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:f}={}){return(g,m,y)=>{let E=o?.idGenerator?o.idGenerator(d):_E(),A=new AbortController,F,I;function U(S){I=S,A.abort()}f&&(f.aborted?U(zg):f.addEventListener("abort",()=>U(zg),{once:!0}));let H=(async function(){let S;try{let v=o?.condition?.(d,{getState:m,extra:y});if(PE(v)&&(v=await v),v===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(A.signal.aborted)throw{name:"AbortError",message:I||"Aborted"};let R=new Promise((N,q)=>{F=()=>{q({name:"AbortError",message:I||"Aborted"})},A.signal.addEventListener("abort",F,{once:!0})});g(s(E,d,o?.getPendingMeta?.({requestId:E,arg:d},{getState:m,extra:y}))),S=await Promise.race([R,Promise.resolve(r(d,{dispatch:g,getState:m,extra:y,requestId:E,signal:A.signal,abort:U,rejectWithValue:((N,q)=>new Gc(N,q)),fulfillWithValue:((N,q)=>new Ug(N,q))})).then(N=>{if(N instanceof Gc)throw N;return N instanceof Ug?n(N.payload,E,d,N.meta):n(N,E,d)})])}catch(v){S=v instanceof Gc?a(null,E,d,v.payload,v.meta):a(v,E,d)}finally{F&&A.signal.removeEventListener("abort",F)}return o&&!o.dispatchConditionRejection&&a.match(S)&&S.meta.condition||g(S),S})();return Object.assign(H,{abort:U,requestId:E,arg:d,unwrap(){return H.then(TE)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:n,settled:RE(a,n),typePrefix:e})}return t.withTypes=()=>t,t})();Gg=Symbol.for("rtk-slice-createasyncthunk"),eI={[Gg]:IE};jg=FE();Kg="listener",qg="completed",Zg="cancelled",tI=`task-${Zg}`,rI=`task-${qg}`,oI=`${Kg}-${Zg}`,iI=`${Kg}-${qg}`,{assign:Qg}=Object,jc="listenerMiddleware",VE=Qg(Wr(`${jc}/add`),{withTypes:()=>VE}),nI=Wr(`${jc}/removeAll`),HE=Qg(Wr(`${jc}/remove`),{withTypes:()=>HE})});function WE(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))gi(e)&&e.clear()}var Ar,Xg=u(()=>{"use strict";Yg();Cs();Rc();ni();qe();window.ftReduxStores||(window.ftReduxStores={});Ar=class t extends Cr{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,s=window.ftReduxStores[o];if(gi(s))return s;if(n==null)return;let a=jg({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Hg({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let g=gt(a.getInitialState());for(let m of f.keeping)g[m]=(d??g)[m];return g}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return a.reducer(d,f)}});return window.ftReduxStores[n.name]=new t(a,l,n.eventBus,n.deprecatedKeys)}constructor(e,r,o,n){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=n,this.isFtReduxStore=!0,this.commands=new pn,this.injectInto=(a,l)=>this.reduxSlice.injectInto(a,l),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,l,d)=>{let f=l,g=a[f];return g?(...m)=>{let y=g(...m.map(s));return this.reduxStore.dispatch(y),y}:m=>{let y=f,E=this.getState()[y];_e(E,m)||this.setState({[y]:s(m)})}}}),this.eventBus=o??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 Kc(t,e,r){return new _r(t,e,r).watch()}var _r,Jg=u(()=>{"use strict";qe();_r=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}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);lt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var Eo,ey=u(()=>{"use strict";Eo=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 o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}}});var qc={};G(qc,{FtCommandQueue:()=>pn,FtLitElementRedux:()=>bt,FtReduxStore:()=>Ar,FtStateManager:()=>Eo,ReduxWatcher:()=>_r,clearAllStores:()=>WE,isFtReduxStore:()=>gi,redux:()=>ce,reduxEventListener:()=>ZC,reduxReactive:()=>qC,watch:()=>Kc,withRedux:()=>dg});var Hs=u(()=>{"use strict";cg();Rc();ug();Xg();Cs();Jg();ey()});var Xc={};G(Xc,{scrollHelper:()=>Yc});var Zc,Ws,Qc,Yc,Jc=u(()=>{"use strict";qe();Ws=new Map,Qc=class{lock(e,r){if(r){let o=Ws.get(r);if(o==null||o===e)return Ws.set(r,e),r}}release(e,r){r&&Ws.get(r)===e&&Ws.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let s of bl(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){o=a;break}else l&&n==null&&(n=a)}return(r=o??n)!==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 o,n;let s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return s+((n=r?.offsetTop)!==null&&n!==void 0?n: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 o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),s=n-o.clientHeight+e.clientHeight,a=n,l=Sr(0,(a-o.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,l)*(s-a)+a;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Zc=window.FluidTopicsScrollHelper)!==null&&Zc!==void 0?Zc:new Qc;Yc=window.FluidTopicsScrollHelper});var rd={};G(rd,{toFtFormComponent:()=>td});var ed,td,od=u(()=>{"use strict";qe();ed=Symbol("elementInternals"),td=Oe(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ed].form}constructor(...o){super(o),this[ed]=this.attachInternals()}setFormValue(o){this[ed].setFormValue(o)}}return e})});var id={};G(id,{DateFormatter:()=>Oo});var Oo,Gs=u(()=>{"use strict";Oo=class{static format(e,r,o,n,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n,!!s)):this.getIntlDateTime(e,r,o,n,!!s)}static getMomentDateFormat(e,r,o){return o?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n,s){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:n?`${l} ${d}`:l}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}}});var sd={};G(sd,{ALL_KEYS_VALUE:()=>nd,SameWindowStorageEvent:()=>xi});var nd,xi,ad=u(()=>{"use strict";nd="__all__",xi=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==nd}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new xi(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new xi(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new xi(nd))}})});var cd={};G(cd,{FocusMainContentEvent:()=>ld});var ld,dd=u(()=>{"use strict";ld=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var ty={};function GE(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function jE(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var ud=u(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",GE);document.addEventListener("click",jE)});var vi,pd=u(()=>{"use strict";L();vi=O`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `});var pd={};G(pd,{withAriaNotification:()=>vn});var GE,vn,fd=u(()=>{"use strict";Ze();ii();GE={checkVisibility:!0},vn=we(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(o,n){let{checkVisibility:s}={...GE,...n};setTimeout(()=>{(!s||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Zi({type:"aria",message:o})))},20)}}return e})});var hd={};G(hd,{withConditionalVisibility:()=>jE});function jE(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(o,n){if(o){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=n,this.shadowRoot.append(s)}}hideIfNecessary(){let o=!(this.forceVisible||this.isVisible);this.calculateStyles(o,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(o){super.willUpdate(o),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(n=>n.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return ey([h({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),ey([k()],e.prototype,"isVisible",void 0),e}var ey,md=u(()=>{"use strict";j();ey=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s}});var yd={};G(yd,{FormController:()=>gd});function KE(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var gd,bd=u(()=>{"use strict";zt();gd=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=KE(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 o={...this.data};o[e]=r,this.data=o,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 o,n;let s=(n=(o=this.config[e]).validator)===null||n===void 0?void 0:n.call(o,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,o,n;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=Rl(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}(n=e.onFailure)===null||n===void 0||n.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}}});var vd={};G(vd,{MetadataValueLocalizer:()=>xd});var xd,Sd=u(()=>{"use strict";xd=class{constructor(e){this.contentLocales=e}localize(e){var r,o;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(o=this.findLocaleValue(e))!==null&&o!==void 0?o:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(o=>o.lang===e.value))===null||r===void 0?void 0:r.label}}});function Cd(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}var Ed=u(()=>{"use strict"});function wo(t,e,r){return t?e(t):r?.(t)}var ty=u(()=>{});var Gs=u(()=>{ty()});var $e,Ro,Gr,Od,VI,wd=u(()=>{"use strict";Ed();j();Ut();Gs();L();Ze();$e=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s};(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Ro||(Ro={}));(function(t){t.default="default",t.warning="warning",t.error="error"})(Gr||(Gr={}));Od=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},VI=we(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Ro.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Gr.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Ro.blur||this.validateOn===Ro.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Gr.default&&this.validateOn===Ro.blurWithStatusResolutionOnInput||this.validateOn===Ro.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Cd(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Cd(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Od(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return b`
71
+ `});var fd={};G(fd,{withAriaNotification:()=>Sn});var KE,Sn,hd=u(()=>{"use strict";qe();ni();KE={checkVisibility:!0},Sn=Oe(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(o,n){let{checkVisibility:s}={...KE,...n};setTimeout(()=>{(!s||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Qi({type:"aria",message:o})))},20)}}return e})});var md={};G(md,{withConditionalVisibility:()=>qE});function qE(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(o,n){if(o){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=n,this.shadowRoot.append(s)}}hideIfNecessary(){let o=!(this.forceVisible||this.isVisible);this.calculateStyles(o,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(o){super.willUpdate(o),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(n=>n.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return ry([h({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),ry([k()],e.prototype,"isVisible",void 0),e}var ry,gd=u(()=>{"use strict";j();ry=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s}});var bd={};G(bd,{FormController:()=>yd});function ZE(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var yd,xd=u(()=>{"use strict";Vt();yd=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=ZE(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 o={...this.data};o[e]=r,this.data=o,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 o,n;let s=(n=(o=this.config[e]).validator)===null||n===void 0?void 0:n.call(o,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,o,n;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=Al(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}(n=e.onFailure)===null||n===void 0||n.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}}});var Sd={};G(Sd,{MetadataValueLocalizer:()=>vd});var vd,Cd=u(()=>{"use strict";vd=class{constructor(e){this.contentLocales=e}localize(e){var r,o;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(o=this.findLocaleValue(e))!==null&&o!==void 0?o:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(o=>o.lang===e.value))===null||r===void 0?void 0:r.label}}});function Ed(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}var Od=u(()=>{"use strict"});function wo(t,e,r){return t?e(t):r?.(t)}var oy=u(()=>{});var js=u(()=>{oy()});var $e,Ro,Gr,wd,WI,Rd=u(()=>{"use strict";Od();j();zt();js();L();qe();$e=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s};(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Ro||(Ro={}));(function(t){t.default="default",t.warning="warning",t.error="error"})(Gr||(Gr={}));wd=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},WI=Oe(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Ro.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Gr.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Ro.blur||this.validateOn===Ro.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Gr.default&&this.validateOn===Ro.blurWithStatusResolutionOnInput||this.validateOn===Ro.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Ed(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Ed(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new wd(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return b`
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
  ${ge(this.errorMessages,o=>b`
@@ -81,7 +81,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Gr.error:this.warningMessages.length?Gr.warning:Gr.default}}return $e([h()],e.prototype,"warningRules",void 0),$e([h()],e.prototype,"errorRules",void 0),$e([h()],e.prototype,"validateOn",void 0),$e([h({type:Boolean})],e.prototype,"validateAtRender",void 0),$e([h()],e.prototype,"label",void 0),$e([h({type:Boolean})],e.prototype,"hideLabel",void 0),$e([h()],e.prototype,"name",void 0),$e([h({type:Boolean})],e.prototype,"disabled",void 0),$e([h()],e.prototype,"helperText",void 0),$e([h()],e.prototype,"forceStatus",void 0),$e([h({reflect:!0})],e.prototype,"value",void 0),$e([k()],e.prototype,"errorMessages",void 0),$e([k()],e.prototype,"warningMessages",void 0),$e([k()],e.prototype,"status",void 0),$e([k()],e.prototype,"focused",void 0),$e([k()],e.prototype,"additionalWarningRules",void 0),$e([k()],e.prototype,"additionalErrorRules",void 0),$e([k()],e.prototype,"forceErrorMessages",void 0),e})});var js=u(()=>{"use strict";wd();Ze()});var ry=u(()=>{"use strict";zt();js()});var oy=u(()=>{"use strict";j();js()});var iy=u(()=>{"use strict";wd();Ed();js();ry();oy()});var ny=u(()=>{"use strict"});var sy=u(()=>{"use strict";ny()});function ZE(t){this._$AN!==void 0?(Ks(this),this._$AM=t,ay(this)):this._$AM=t}function QE(t,e=!1,r=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(o))for(let s=r;s<o.length;s++)Sn(o[s],!1),Ks(o[s]);else o!=null&&(Sn(o,!1),Ks(o));else Sn(this,t)}var Sn,Ks,ay,YE,vi,ly=u(()=>{sl();so();so();Sn=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),Sn(o,e);return!0},Ks=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},ay=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),YE(e)}};YE=t=>{t.type==rr.CHILD&&(t._$AP??=QE,t._$AQ??=ZE)},vi=class extends _t{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),ay(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(Sn(this,e),Ks(this))}setValue(e){if(hf(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 Rd=u(()=>{ly()});var Ad,yT,cy=u(()=>{"use strict";L();Rd();Ad=class extends vi{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 o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Me}update(e){return this.part=e,this.ensureFocusTrap(e.element),Me}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,o;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,o,n;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(n=this.lastTrap)===null||n===void 0||n.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 o=0;o<r.length;o++){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusFirstDescendant(n)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=r.length-1;o>=0;o--){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusLastDescendant(n)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof At&&await e.updateComplete}isInsideElement(e,r){for(let o=e;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.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}},yT=mt(Ad)});var dy,XE,_d,ST,uy=u(()=>{"use strict";Rd();L();(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(dy||(dy={}));XE={sm:640,md:768,lg:1024,xl:1280},_d=class extends vi{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,o,n]){return this.lastArgs=[r,o,n],this.render(r,o,n)}render(e,r,o){let n=this.resolveThreshold(e),s=o??(()=>_);return this.size>n?r():s()}resolveThreshold(e){return typeof e=="number"?e:XE[e]}},ST=mt(_d)});var py=u(()=>{"use strict";cy();uy()});function qs(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(n,s){var a,l;let d=(l=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[n])===null||l===void 0?void 0:l.eventName;if(!d)return;let f=e[n];this.dispatchEvent(new kd({eventName:d,actionType:n,componentType:this.tagName.toLowerCase(),componentId:this.id||f?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,JE([ce({})],r.prototype,"configuredAnalyticsActions",void 0),r}var JE,kd,fy=u(()=>{"use strict";lo();JE=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},kd=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}}});var Zs,hy=u(()=>{"use strict";Zs=class{constructor(e,r=20){this.onChange=e,this.maxCapacity=r,this.recentQueries=[],this.storageKey="",this.onStorageEvent=o=>{o.key===this.storageKey&&this.loadRecentQueries()}}enable(e){this.storageKey=e,this.loadRecentQueries(),window.addEventListener("storage",this.onStorageEvent)}disable(){this.storageKey="",window.removeEventListener("storage",this.onStorageEvent)}loadRecentQueries(){var e;this.recentQueries=JSON.parse((e=window.localStorage.getItem(this.storageKey))!==null&&e!==void 0?e:"[]"),this.onChange(this.recentQueries)}addRecentQuery(e){if(e=e.trim(),e.length===0)return;let r=e.toLowerCase(),o=this.recentQueries.filter(n=>n.toLowerCase()!==r).slice(0,this.maxCapacity-1);o.unshift(e),this.saveRecentQueries(o)}removeRecentQuery(e){let r=e.trim().toLowerCase(),o=this.recentQueries.filter(n=>n.toLowerCase()!==r);this.recentQueries.length!==o.length&&this.saveRecentQueries(o)}saveRecentQueries(e){if(this.storageKey==="")return;let r=JSON.stringify(e);window.localStorage.setItem(this.storageKey,r),window.dispatchEvent(new StorageEvent("storage",{key:this.storageKey,newValue:r,storageArea:window.localStorage,url:window.location.href}))}}});var Cn,my=u(()=>{"use strict";Cn=class t{static isShadowRoot(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}static getShadowRoots(e){let r=[],o=e.getRootNode();for(;t.isShadowRoot(o);)r.push(o),o=o.host.getRootNode();return r}static compareDeepPosition(e,r){if(e===r)return 0;let o=t.getShadowRoots(e),n=t.getShadowRoots(r),s=o.findIndex(f=>n.includes(f)),a=s<0?-1:n.findIndex(f=>f===o[s]),l=s===0||o.length===0?e:o[(s<0?o.length:s)-1].host,d=a===0||n.length===0?r:n[(a<0?n.length:a)-1].host;return l===d?l===e?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:l.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 Ao,gy=u(()=>{"use strict";C();my();Ao=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Ld)return!1;let r=Cn.getDeepActiveElement();if(!r)return!0;let o=Cn.compareDeepPosition(r,e);return(o&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(o&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(o&Node.DOCUMENT_POSITION_CONTAINS)===0||(o&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=Ao});var Id,Td,Pd,Nd,_o,Ld,C=u(()=>{"use strict";Bp();L();j();Ut();rt();Cf();ji();pl();Ol();es();Fl();cs();lo();zl();Hl();ii();bs();sc();ds();fc();ln();hc();Ze();bc();Sc();Cc();Oc();Vs();xs();Xc();vs();ss();rd();Ws();ai();sd();cd();dd();ud();ls();fd();md();bd();Sd();cd();dd();pl();Ol();es();Fl();Ws();cs();lo();zl();Hl();ii();bs();Xc();sc();ds();fc();rd();ln();fd();md();hc();Ze();bc();Sd();Sc();Cc();Oc();Vs();sd();xs();vs();ss();ud();iy();sy();py();ls();ai();fy();bd();hy();gy();_o=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Pd=(Td=(Id=window.safari)===null||Id===void 0?void 0:Id.pushNotification)===null||Td===void 0?void 0:Td.toString())!==null&&Pd!==void 0?Pd:"")==="[object SafariRemoteNotification]",Ld="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Nd=window.ftGlobals)!==null&&Nd!==void 0?Nd:{lit:el,litDecorators:nl,litRepeat:al,litClassMap:ll,litStyleMap:cl,litUnsafeHTML:dl,wcUtils:{...ul,...El,...fl,...Nl,...od,...Dl,...hl,...Ul,...Cl,...ic,...ld,...Jg,...Yc,...nc,...Bl,...pc,...td,...dc,...pd,...hd,...tg,...xl,...yc,...vd,...Vl,...vc,...xi,...sg,...Ec,...Kc,...nd,...ac,...cc,..._l,...Il,...yd,isSafari:_o,isTouchScreen:Ld,setVariable:w}}});var yy,re,by,xy,vy,Sy,Cy,kr=u(()=>{"use strict";L();C();yy=i.extend("--ft-ripple-color","",x.colorContent),re={color:yy,backgroundColor:i.extend("--ft-ripple-background-color","",yy),opacityContentOnSurfacePressed:i.external(x.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(x.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(x.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(x.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},by=i.extend("--ft-ripple-color","",x.colorPrimary),xy={color:by,backgroundColor:i.extend("--ft-ripple-background-color","",by)},vy=i.extend("--ft-ripple-color","",x.colorSecondary),Sy={color:vy,backgroundColor:i.extend("--ft-ripple-background-color","",vy)},Cy=O`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Gr.error:this.warningMessages.length?Gr.warning:Gr.default}}return $e([h()],e.prototype,"warningRules",void 0),$e([h()],e.prototype,"errorRules",void 0),$e([h()],e.prototype,"validateOn",void 0),$e([h({type:Boolean})],e.prototype,"validateAtRender",void 0),$e([h()],e.prototype,"label",void 0),$e([h({type:Boolean})],e.prototype,"hideLabel",void 0),$e([h()],e.prototype,"name",void 0),$e([h({type:Boolean})],e.prototype,"disabled",void 0),$e([h()],e.prototype,"helperText",void 0),$e([h()],e.prototype,"forceStatus",void 0),$e([h({reflect:!0})],e.prototype,"value",void 0),$e([k()],e.prototype,"errorMessages",void 0),$e([k()],e.prototype,"warningMessages",void 0),$e([k()],e.prototype,"status",void 0),$e([k()],e.prototype,"focused",void 0),$e([k()],e.prototype,"additionalWarningRules",void 0),$e([k()],e.prototype,"additionalErrorRules",void 0),$e([k()],e.prototype,"forceErrorMessages",void 0),e})});var Ks=u(()=>{"use strict";Rd();qe()});var iy=u(()=>{"use strict";Vt();Ks()});var ny=u(()=>{"use strict";j();Ks()});var sy=u(()=>{"use strict";Rd();Od();Ks();iy();ny()});var ay=u(()=>{"use strict"});var ly=u(()=>{"use strict";ay()});function YE(t){this._$AN!==void 0?(qs(this),this._$AM=t,cy(this)):this._$AM=t}function XE(t,e=!1,r=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(o))for(let s=r;s<o.length;s++)Cn(o[s],!1),qs(o[s]);else o!=null&&(Cn(o,!1),qs(o));else Cn(this,t)}var Cn,qs,cy,JE,Si,dy=u(()=>{al();so();so();Cn=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),Cn(o,e);return!0},qs=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},cy=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),JE(e)}};JE=t=>{t.type==or.CHILD&&(t._$AP??=XE,t._$AQ??=YE)},Si=class extends kt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),cy(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(Cn(this,e),qs(this))}setValue(e){if(gf(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 Ad=u(()=>{dy()});var _d,xT,uy=u(()=>{"use strict";L();Ad();_d=class extends Si{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 o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Me}update(e){return this.part=e,this.ensureFocusTrap(e.element),Me}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,o;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,o,n;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(n=this.lastTrap)===null||n===void 0||n.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 o=0;o<r.length;o++){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusFirstDescendant(n)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=r.length-1;o>=0;o--){let n=r[o];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusLastDescendant(n)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof _t&&await e.updateComplete}isInsideElement(e,r){for(let o=e;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.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}},xT=mt(_d)});var py,eO,kd,ET,fy=u(()=>{"use strict";Ad();L();(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(py||(py={}));eO={sm:640,md:768,lg:1024,xl:1280},kd=class extends Si{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,o,n]){return this.lastArgs=[r,o,n],this.render(r,o,n)}render(e,r,o){let n=this.resolveThreshold(e),s=o??(()=>_);return this.size>n?r():s()}resolveThreshold(e){return typeof e=="number"?e:eO[e]}},ET=mt(kd)});var hy=u(()=>{"use strict";uy();fy()});function Zs(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(n,s){var a,l;let d=(l=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[n])===null||l===void 0?void 0:l.eventName;if(!d)return;let f=e[n];this.dispatchEvent(new Ld({eventName:d,actionType:n,componentType:this.tagName.toLowerCase(),componentId:this.id||f?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,tO([le({})],r.prototype,"configuredAnalyticsActions",void 0),r}var tO,Ld,my=u(()=>{"use strict";lo();tO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ld=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}}});var Qs,gy=u(()=>{"use strict";Qs=class{constructor(e,r=20){this.onChange=e,this.maxCapacity=r,this.recentQueries=[],this.storageKey="",this.onStorageEvent=o=>{o.key===this.storageKey&&this.loadRecentQueries()}}enable(e){this.storageKey=e,this.loadRecentQueries(),window.addEventListener("storage",this.onStorageEvent)}disable(){this.storageKey="",window.removeEventListener("storage",this.onStorageEvent)}loadRecentQueries(){var e;this.recentQueries=JSON.parse((e=window.localStorage.getItem(this.storageKey))!==null&&e!==void 0?e:"[]"),this.onChange(this.recentQueries)}addRecentQuery(e){if(e=e.trim(),e.length===0)return;let r=e.toLowerCase(),o=this.recentQueries.filter(n=>n.toLowerCase()!==r).slice(0,this.maxCapacity-1);o.unshift(e),this.saveRecentQueries(o)}removeRecentQuery(e){let r=e.trim().toLowerCase(),o=this.recentQueries.filter(n=>n.toLowerCase()!==r);this.recentQueries.length!==o.length&&this.saveRecentQueries(o)}saveRecentQueries(e){if(this.storageKey==="")return;let r=JSON.stringify(e);window.localStorage.setItem(this.storageKey,r),window.dispatchEvent(new StorageEvent("storage",{key:this.storageKey,newValue:r,storageArea:window.localStorage,url:window.location.href}))}}});var En,yy=u(()=>{"use strict";En=class t{static isShadowRoot(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}static getShadowRoots(e){let r=[],o=e.getRootNode();for(;t.isShadowRoot(o);)r.push(o),o=o.host.getRootNode();return r}static compareDeepPosition(e,r){if(e===r)return 0;let o=t.getShadowRoots(e),n=t.getShadowRoots(r),s=o.findIndex(f=>n.includes(f)),a=s<0?-1:n.findIndex(f=>f===o[s]),l=s===0||o.length===0?e:o[(s<0?o.length:s)-1].host,d=a===0||n.length===0?r:n[(a<0?n.length:a)-1].host;return l===d?l===e?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:l.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 Ao,by=u(()=>{"use strict";C();yy();Ao=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Id)return!1;let r=En.getDeepActiveElement();if(!r)return!0;let o=En.compareDeepPosition(r,e);return(o&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(o&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(o&Node.DOCUMENT_POSITION_CONTAINS)===0||(o&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=Ao});var Td,Pd,Nd,Fd,_o,Id,C=u(()=>{"use strict";zp();L();j();zt();tt();Of();Ki();fl();wl();ts();Dl();ds();lo();Vl();Wl();ni();xs();ac();us();hc();cn();mc();qe();xc();Cc();Ec();wc();Hs();vs();Jc();Ss();as();od();Gs();li();ad();dd();ud();pd();cs();hd();gd();xd();Cd();dd();ud();fl();wl();ts();Dl();Gs();ds();lo();Vl();Wl();ni();xs();Jc();ac();us();hc();od();cn();hd();gd();mc();qe();xc();Cd();Cc();Ec();wc();Hs();ad();vs();Ss();as();pd();sy();ly();hy();cs();li();my();xd();gy();by();_o=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Nd=(Pd=(Td=window.safari)===null||Td===void 0?void 0:Td.pushNotification)===null||Pd===void 0?void 0:Pd.toString())!==null&&Nd!==void 0?Nd:"")==="[object SafariRemoteNotification]",Id="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Fd=window.ftGlobals)!==null&&Fd!==void 0?Fd:{lit:tl,litDecorators:sl,litRepeat:ll,litClassMap:cl,litStyleMap:dl,litUnsafeHTML:ul,wcUtils:{...pl,...Ol,...hl,...Fl,...id,...Ml,...ml,...zl,...El,...nc,...cd,...ty,...Xc,...sc,...Ul,...fc,...rd,...uc,...fd,...md,...og,...vl,...bc,...Sd,...Hl,...Sc,...vi,...lg,...Oc,...qc,...sd,...lc,...dc,...kl,...Tl,...bd,isSafari:_o,isTouchScreen:Id,setVariable:w}}});var xy,re,vy,Sy,Cy,Ey,Oy,kr=u(()=>{"use strict";L();C();xy=i.extend("--ft-ripple-color","",x.colorContent),re={color:xy,backgroundColor:i.extend("--ft-ripple-background-color","",xy),opacityContentOnSurfacePressed:i.external(x.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(x.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(x.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(x.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},vy=i.extend("--ft-ripple-color","",x.colorPrimary),Sy={color:vy,backgroundColor:i.extend("--ft-ripple-background-color","",vy)},Cy=i.extend("--ft-ripple-color","",x.colorSecondary),Ey={color:Cy,backgroundColor:i.extend("--ft-ripple-background-color","",Cy)},Oy=O`
85
85
  :host {
86
86
  display: contents;
87
87
  }
@@ -136,19 +136,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
136
136
  }
137
137
 
138
138
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
139
- background-color: ${Sy.backgroundColor};
139
+ background-color: ${Ey.backgroundColor};
140
140
  }
141
141
 
142
142
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
143
- background-color: ${Sy.color};
143
+ background-color: ${Ey.color};
144
144
  }
145
145
 
146
146
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
147
- background-color: ${xy.backgroundColor};
147
+ background-color: ${Sy.backgroundColor};
148
148
  }
149
149
 
150
150
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
151
- background-color: ${xy.color};
151
+ background-color: ${Sy.color};
152
152
  }
153
153
 
154
154
  .ft-ripple .ft-ripple--background {
@@ -193,18 +193,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
193
193
  opacity: ${re.opacityContentOnSurfacePressed};
194
194
  transform: translate(-50%, -50%) scale(1);
195
195
  }
196
- `});var dt,Z,Fd=u(()=>{"use strict";L();j();rt();C();kr();dt=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Z=class extends ${constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ie(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 ie(10),this.moveRipple=e=>{var r,o;let{x:n,y:s}=this.getCoordinates(e),a=(o=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-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 b`
196
+ `});var dt,Z,Dd=u(()=>{"use strict";L();j();tt();C();kr();dt=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Z=class extends ${constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ie(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 ie(10),this.moveRipple=e=>{var r,o;let{x:n,y:s}=this.getCoordinates(e),a=(o=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-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 b`
197
197
  <style>
198
198
  .ft-ripple .ft-ripple--effect {
199
199
  left: ${this.originX}px;
200
200
  top: ${this.originY}px;
201
201
  }
202
202
  </style>
203
- <div class="${fe(e)}">
203
+ <div class="${pe(e)}">
204
204
  <div class="ft-ripple--background"></div>
205
205
  <div class="ft-ripple--effect"></div>
206
206
  </div>
207
- `}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,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.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 o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},o=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),s=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",o,a),e.addEventListener("touchstart",n,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",o,a),e.removeEventListener("touchstart",n,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,o=e,n,s;return r.x!=null?{x:n,y:s}=r:o.touches!=null&&(n=o.touches[0].clientX,s=o.touches[0].clientY),{x:n,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()}};Z.elementDefinitions={};Z.styles=Cy;dt([h({type:Boolean})],Z.prototype,"primary",void 0);dt([h({type:Boolean})],Z.prototype,"secondary",void 0);dt([h({type:Boolean})],Z.prototype,"unbounded",void 0);dt([h({type:Boolean})],Z.prototype,"activated",void 0);dt([h({type:Boolean})],Z.prototype,"selected",void 0);dt([h({type:Boolean})],Z.prototype,"disabled",void 0);dt([k()],Z.prototype,"hovered",void 0);dt([k()],Z.prototype,"focused",void 0);dt([k()],Z.prototype,"pressed",void 0);dt([k()],Z.prototype,"rippling",void 0);dt([k()],Z.prototype,"originX",void 0);dt([k()],Z.prototype,"originY",void 0);dt([M(".ft-ripple")],Z.prototype,"ripple",void 0);dt([M(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0)});var Oy=u(()=>{"use strict"});var wy,Ry=u(()=>{"use strict";Fd();wy={"ft-ripple":Z}});var Ay=u(()=>{"use strict";C();Ry();B(wy)});var ot=u(()=>{"use strict";Fd();kr();Oy();Ay()});var ky,eO,Dd,_y,Md,$d,ZP,QP,Ly=u(()=>{Mt();ky=Symbol.for(""),eO=t=>{if(t?.r===ky)return t?._$litStatic$},Dd=t=>({_$litStatic$:t,r:ky}),_y=new Map,Md=t=>(e,...r)=>{let o=r.length,n,s,a=[],l=[],d,f=0,g=!1;for(;f<o;){for(d=e[f];f<o&&(s=r[f],(n=eO(s))!==void 0);)d+=n+e[++f],g=!0;f!==o&&l.push(s),a.push(d),f++}if(f===o&&a.push(e[o]),g){let m=a.join("$$lit$$");(e=_y.get(m))===void 0&&(a.raw=a,_y.set(m,e=a)),r=l}return t(e,...r)},$d=Md(b),ZP=Md(Za),QP=Md(Qa)});var Iy=u(()=>{Ly()});var pe,Qs=u(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(pe||(pe={}))});var Ty,Lr,P,ko,Lo,Io,To,ur,Pe,ut,Po,No,jt,Py,Ny,Fy,Dy,My,jr,Kr,$y,By,Uy,zy,Kt=u(()=>{"use strict";L();C();Ty=i.extend("--ft-typography-font-family","",x.titleFont),Lr=i.extend("--ft-typography-font-family","",x.contentFont),P={fontFamily:Lr,fontSize:i.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:i.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:i.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:i.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:i.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:i.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},ko={fontFamily:i.extend("--ft-typography-title-font-family","",Ty),fontSize:i.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-title-text-decoration","",P.textDecoration,"inherit")},Lo={fontFamily:i.extend("--ft-typography-title-dense-font-family","",Ty),fontSize:i.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-title-dense-text-decoration","",P.textDecoration,"inherit")},Io={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",Lr),fontSize:i.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-subtitle1-text-decoration","",P.textDecoration,"inherit")},To={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",Lr),fontSize:i.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-subtitle2-text-decoration","",P.textDecoration,"inherit")},ur={fontFamily:i.extend("--ft-typography-body1-font-family","",Lr),fontSize:i.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-body1-text-decoration","",P.textDecoration,"inherit")},Pe={fontFamily:i.extend("--ft-typography-body2-font-family","",Lr),fontSize:i.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-body2-text-decoration","",P.textDecoration,"inherit")},ut={fontFamily:i.extend("--ft-typography-caption-font-family","",Lr),fontSize:i.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-caption-text-decoration","",P.textDecoration,"inherit")},Po={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",Lr),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-breadcrumb-text-decoration","",P.textDecoration,"inherit")},No={fontFamily:i.extend("--ft-typography-overline-font-family","",Lr),fontSize:i.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase"),textDecoration:i.extend("--ft-typography-overline-text-decoration","",P.textDecoration,"inherit")},jt={fontFamily:i.extend("--ft-typography-button-font-family","",Lr),fontSize:i.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase"),textDecoration:i.extend("--ft-typography-button-text-decoration","",P.textDecoration,"inherit")},Py=O`
207
+ `}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,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.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 o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},o=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),s=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",o,a),e.addEventListener("touchstart",n,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",o,a),e.removeEventListener("touchstart",n,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,o=e,n,s;return r.x!=null?{x:n,y:s}=r:o.touches!=null&&(n=o.touches[0].clientX,s=o.touches[0].clientY),{x:n,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()}};Z.elementDefinitions={};Z.styles=Oy;dt([h({type:Boolean})],Z.prototype,"primary",void 0);dt([h({type:Boolean})],Z.prototype,"secondary",void 0);dt([h({type:Boolean})],Z.prototype,"unbounded",void 0);dt([h({type:Boolean})],Z.prototype,"activated",void 0);dt([h({type:Boolean})],Z.prototype,"selected",void 0);dt([h({type:Boolean})],Z.prototype,"disabled",void 0);dt([k()],Z.prototype,"hovered",void 0);dt([k()],Z.prototype,"focused",void 0);dt([k()],Z.prototype,"pressed",void 0);dt([k()],Z.prototype,"rippling",void 0);dt([k()],Z.prototype,"originX",void 0);dt([k()],Z.prototype,"originY",void 0);dt([M(".ft-ripple")],Z.prototype,"ripple",void 0);dt([M(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0)});var Ry=u(()=>{"use strict"});var Ay,_y=u(()=>{"use strict";Dd();Ay={"ft-ripple":Z}});var ky=u(()=>{"use strict";C();_y();B(Ay)});var rt=u(()=>{"use strict";Dd();kr();Ry();ky()});var Iy,rO,Md,Ly,$d,Bd,YP,XP,Ty=u(()=>{$t();Iy=Symbol.for(""),rO=t=>{if(t?.r===Iy)return t?._$litStatic$},Md=t=>({_$litStatic$:t,r:Iy}),Ly=new Map,$d=t=>(e,...r)=>{let o=r.length,n,s,a=[],l=[],d,f=0,g=!1;for(;f<o;){for(d=e[f];f<o&&(s=r[f],(n=rO(s))!==void 0);)d+=n+e[++f],g=!0;f!==o&&l.push(s),a.push(d),f++}if(f===o&&a.push(e[o]),g){let m=a.join("$$lit$$");(e=Ly.get(m))===void 0&&(a.raw=a,Ly.set(m,e=a)),r=l}return t(e,...r)},Bd=$d(b),YP=$d(Qa),XP=$d(Ya)});var Py=u(()=>{Ty()});var ue,Ys=u(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(ue||(ue={}))});var Ny,Lr,P,ko,Lo,Io,To,pr,Pe,ut,Po,No,Kt,Fy,Dy,My,$y,By,jr,Kr,Uy,zy,Vy,Hy,qt=u(()=>{"use strict";L();C();Ny=i.extend("--ft-typography-font-family","",x.titleFont),Lr=i.extend("--ft-typography-font-family","",x.contentFont),P={fontFamily:Lr,fontSize:i.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:i.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:i.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:i.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:i.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:i.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},ko={fontFamily:i.extend("--ft-typography-title-font-family","",Ny),fontSize:i.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-title-text-decoration","",P.textDecoration,"inherit")},Lo={fontFamily:i.extend("--ft-typography-title-dense-font-family","",Ny),fontSize:i.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-title-dense-text-decoration","",P.textDecoration,"inherit")},Io={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",Lr),fontSize:i.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-subtitle1-text-decoration","",P.textDecoration,"inherit")},To={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",Lr),fontSize:i.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-subtitle2-text-decoration","",P.textDecoration,"inherit")},pr={fontFamily:i.extend("--ft-typography-body1-font-family","",Lr),fontSize:i.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-body1-text-decoration","",P.textDecoration,"inherit")},Pe={fontFamily:i.extend("--ft-typography-body2-font-family","",Lr),fontSize:i.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-body2-text-decoration","",P.textDecoration,"inherit")},ut={fontFamily:i.extend("--ft-typography-caption-font-family","",Lr),fontSize:i.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-caption-text-decoration","",P.textDecoration,"inherit")},Po={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",Lr),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit"),textDecoration:i.extend("--ft-typography-breadcrumb-text-decoration","",P.textDecoration,"inherit")},No={fontFamily:i.extend("--ft-typography-overline-font-family","",Lr),fontSize:i.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase"),textDecoration:i.extend("--ft-typography-overline-text-decoration","",P.textDecoration,"inherit")},Kt={fontFamily:i.extend("--ft-typography-button-font-family","",Lr),fontSize:i.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase"),textDecoration:i.extend("--ft-typography-button-text-decoration","",P.textDecoration,"inherit")},Fy=O`
208
208
  .ft-typography--title {
209
209
  font-family: ${ko.fontFamily};
210
210
  font-size: ${ko.fontSize};
@@ -214,7 +214,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
214
214
  text-transform: ${ko.textTransform};
215
215
  text-decoration: ${ko.textDecoration};
216
216
  }
217
- `,Ny=O`
217
+ `,Dy=O`
218
218
  .ft-typography--title-dense {
219
219
  font-family: ${Lo.fontFamily};
220
220
  font-size: ${Lo.fontSize};
@@ -224,7 +224,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
224
224
  text-transform: ${Lo.textTransform};
225
225
  text-decoration: ${Lo.textDecoration};
226
226
  }
227
- `,Fy=O`
227
+ `,My=O`
228
228
  .ft-typography--subtitle1 {
229
229
  font-family: ${Io.fontFamily};
230
230
  font-size: ${Io.fontSize};
@@ -234,7 +234,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
234
234
  text-transform: ${Io.textTransform};
235
235
  text-decoration: ${Io.textDecoration};
236
236
  }
237
- `,Dy=O`
237
+ `,$y=O`
238
238
  .ft-typography--subtitle2 {
239
239
  font-family: ${To.fontFamily};
240
240
  font-size: ${To.fontSize};
@@ -245,15 +245,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
245
245
  text-decoration: ${To.textDecoration};
246
246
  }
247
247
 
248
- `,My=O`
248
+ `,By=O`
249
249
  .ft-typography--body1 {
250
- font-family: ${ur.fontFamily};
251
- font-size: ${ur.fontSize};
252
- font-weight: ${ur.fontWeight};
253
- letter-spacing: ${ur.letterSpacing};
254
- line-height: ${ur.lineHeight};
255
- text-transform: ${ur.textTransform};
256
- text-decoration: ${ur.textDecoration};
250
+ font-family: ${pr.fontFamily};
251
+ font-size: ${pr.fontSize};
252
+ font-weight: ${pr.fontWeight};
253
+ letter-spacing: ${pr.letterSpacing};
254
+ line-height: ${pr.lineHeight};
255
+ text-transform: ${pr.textTransform};
256
+ text-decoration: ${pr.textDecoration};
257
257
  }
258
258
  `,jr=O`
259
259
  .ft-typography--body2 {
@@ -275,7 +275,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
275
275
  text-transform: ${ut.textTransform};
276
276
  text-decoration: ${ut.textDecoration};
277
277
  }
278
- `,$y=O`
278
+ `,Uy=O`
279
279
  .ft-typography--breadcrumb {
280
280
  font-family: ${Po.fontFamily};
281
281
  font-size: ${Po.fontSize};
@@ -285,7 +285,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
285
285
  text-transform: ${Po.textTransform};
286
286
  text-decoration: ${Po.textDecoration};
287
287
  }
288
- `,By=O`
288
+ `,zy=O`
289
289
  .ft-typography--overline {
290
290
  font-family: ${No.fontFamily};
291
291
  font-size: ${No.fontSize};
@@ -295,29 +295,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
295
295
  text-transform: ${No.textTransform};
296
296
  text-decoration: ${No.textDecoration};
297
297
  }
298
- `,Uy=O`
298
+ `,Vy=O`
299
299
  .ft-typography--button {
300
- font-family: ${jt.fontFamily};
301
- font-size: ${jt.fontSize};
302
- font-weight: ${jt.fontWeight};
303
- letter-spacing: ${jt.letterSpacing};
304
- line-height: ${jt.lineHeight};
305
- text-transform: ${jt.textTransform};
306
- text-decoration: ${jt.textDecoration};
307
- }
308
- `,zy=O`
300
+ font-family: ${Kt.fontFamily};
301
+ font-size: ${Kt.fontSize};
302
+ font-weight: ${Kt.fontWeight};
303
+ letter-spacing: ${Kt.letterSpacing};
304
+ line-height: ${Kt.lineHeight};
305
+ text-transform: ${Kt.textTransform};
306
+ text-decoration: ${Kt.textDecoration};
307
+ }
308
+ `,Hy=O`
309
309
  .ft-typography {
310
310
  vertical-align: inherit;
311
311
  }
312
- `});var Vy,oe,Bd=u(()=>{"use strict";Iy();j();C();Qs();Kt();Vy=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},oe=class extends ${constructor(){super(...arguments),this.variant=pe.body1}render(){return this.element?$d`
313
- <${Dd(this.element)}
312
+ `});var Wy,oe,Ud=u(()=>{"use strict";Py();j();C();Ys();qt();Wy=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},oe=class extends ${constructor(){super(...arguments),this.variant=ue.body1}render(){return this.element?Bd`
313
+ <${Md(this.element)}
314
314
  part="text"
315
315
  class="ft-typography ft-typography--${this.variant}">
316
316
  <slot></slot>
317
- </${Dd(this.element)}>
318
- `:$d`
317
+ </${Md(this.element)}>
318
+ `:Bd`
319
319
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
320
- `}};oe.styles=[Py,Ny,Fy,Dy,My,jr,Kr,$y,By,Uy,zy];Vy([h()],oe.prototype,"element",void 0);Vy([h()],oe.prototype,"variant",void 0)});var Hy,Wy=u(()=>{"use strict";Bd();Hy={"ft-typography":oe}});var Gy=u(()=>{"use strict";C();Wy();B(Hy)});var Ie=u(()=>{"use strict";Bd();Kt();Qs();Gy()});var En,jy,Ud=u(()=>{"use strict";L();C();En={distance:i.create("--ft-tooltip-distance","","SIZE","4px"),color:i.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:i.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:i.extend("--ft-tooltip-border-radius","",x.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},jy=O`
320
+ `}};oe.styles=[Fy,Dy,My,$y,By,jr,Kr,Uy,zy,Vy,Hy];Wy([h()],oe.prototype,"element",void 0);Wy([h()],oe.prototype,"variant",void 0)});var Gy,jy=u(()=>{"use strict";Ud();Gy={"ft-typography":oe}});var Ky=u(()=>{"use strict";C();jy();B(Gy)});var ke=u(()=>{"use strict";Ud();qt();Ys();Ky()});var On,qy,zd=u(()=>{"use strict";L();C();On={distance:i.create("--ft-tooltip-distance","","SIZE","4px"),color:i.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:i.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:i.extend("--ft-tooltip-border-radius","",x.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},qy=O`
321
321
  .ft-tooltip--container {
322
322
  display: block;
323
323
  }
@@ -335,28 +335,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
335
335
  box-sizing: border-box;
336
336
  overflow: hidden;
337
337
  width: max-content;
338
- max-width: ${En.maxWidth};
338
+ max-width: ${On.maxWidth};
339
339
  text-align: center;
340
- padding: ${En.distance};
340
+ padding: ${On.distance};
341
341
  }
342
342
 
343
343
  .ft-tooltip--content {
344
344
  padding: 4px 8px;
345
- border-radius: ${En.borderRadiusS};
346
- background-color: ${En.backgroundColor};
347
- color: ${En.color};
345
+ border-radius: ${On.borderRadiusS};
346
+ background-color: ${On.backgroundColor};
347
+ color: ${On.color};
348
348
  position: relative;
349
349
  word-break: break-word;
350
350
  }
351
- `});var tO,pr,On,rO,D,Ye=u(()=>{"use strict";C();tO="ft-app-info",pr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};pr.eventName="authentication-change";On=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};On.eventName="ui-locale-changed";rO={session:(t,e)=>{Le(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.dispatchEvent(new pr(e.payload)),0))}},D=Ar.get({name:tO,reducers:rO,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 Ys,kN,Ky=u(()=>{"use strict";j();Vs();Ws();Ye();C();Ys=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},kN=we(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(D)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,s;return((s=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1)?l=>Oo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Ys([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Ys([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Ys([de({store:D.name,selector:r=>{var o,n;return(n=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),Ys([de({store:D.name})],e.prototype,"uiLocale",void 0),e})});var Fo,zd=u(()=>{"use strict";Ye();Fo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=D.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=D.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}}});var Si,Vd=u(()=>{"use strict";zd();Si=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Fo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Fo.await()}}});var Xe,qr=u(()=>{"use strict";C();Vd();Xe=class extends Si{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new ir,this.cache=e?n.commonCache:new ir}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}}});var Xs,Hd=u(()=>{"use strict";Ye();zt();qr();Xs=class extends Xe{async listMySearches(){let{session:e}=D.getState();return Yi(e,_e.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}}});var Js,Wd=u(()=>{"use strict";Ye();qr();Js=class extends Xe{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}}});var ea,qy=u(()=>{"use strict";Ye();qr();ea=class extends Xe{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=D.getState().session;return!!e?.sessionAuthenticated}}});var ta,Zy=u(()=>{"use strict";qr();Ye();ta=class extends Xe{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=D.getState().session;return!!e?.sessionAuthenticated}}});var oO,iO,Xy,Gd,jd,Qy,Yy,it,Kd,nO,qd=u(()=>{"use strict";zt();C();Hd();Wd();Ye();qy();Zy();oO="ft-user-assets",iO={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(Lt).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:o,asset:n}=e.payload;jd(t,r,[...Gd(t,r),n]),Qy(t,r,1,o),Yy(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;jd(t,r,Gd(t,r).map(n=>n.id===o.id?o:n)),Yy(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;jd(t,r,Gd(t,r).filter(s=>s.id!==n)),Qy(t,r,-1,o)}},Xy={[Lt.SEARCHES]:"savedSearches",[Lt.BOOKMARKS]:"bookmarks",[Lt.BOOKS]:void 0,[Lt.COLLECTIONS]:void 0},Gd=(t,e)=>{var r;let o=Xy[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},jd=(t,e,r)=>{let o=Xy[e];o&&(t[o]=r)},Qy=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===Lt.BOOKMARKS&&o)){let s=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,s+r)}},Yy=(t,e)=>{let r=t.assetLabels.map(n=>n.title),o=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...o)},it=Ar.get({name:oO,reducers:iO,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Lt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Kd=class{constructor(e=new ea,r=new ta){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Js,this.savedSearchesService=new Xs,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=D.getState();Le((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(),it.actions.clearAssetCount(),it.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),it.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),it.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();it.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();it.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&it.getState().assetCounts.allAsset[e]!==r.count&&it.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&it.getState().assetCounts.bookmarkByMap[e]!==r.count&&it.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(it.getState().assetCounts.bookmarkByMap).length!==0;e===Lt.BOOKMARKS&&r&&it.actions.clearBookmarkCountByMap(),it.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;it.actions.bookmarks(r)}}},nO=new Kd;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=nO)});var Jy=u(()=>{"use strict";zt();qd()});var Zd,eb=u(()=>{"use strict";Ye();Zd=class{addCommand(e,r=!1){D.commands.add(e,r)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Zd});var tb,Ci,sO,ra,Ei,oa,rb=u(()=>{"use strict";Ye();C();qr();Ci=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},sO=Symbol("clearAfterUnitTest"),ra=class extends os(Xe){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[tb]=()=>{this.defaultMessages={},this.cache=new ir,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.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 o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};Le(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var n;let s=e.toLowerCase(),a=this.resolveContext(s);return new Vr((n=this.defaultMessages[s])!==null&&n!==void 0?n:{},a).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof or)&&r&&console.error(n)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ci({loadedContexts:e})),this.dispatchEvent(new Ci({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Ci({loadedContexts:[e]})),this.dispatchEvent(new Ci({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>ts(0).then(()=>o()).catch(()=>null)))}};tb=sO;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ra{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ra{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Ei=window.FluidTopicsI18nService,oa=window.FluidTopicsCustomI18nService});var Qd,ob=u(()=>{"use strict";C();Qd=class{highlightHtml(e,r,o){gc(e,r,o)}};window.FluidTopicsHighlightHtmlService=new Qd});var Yd,ib=u(()=>{"use strict";C();Ye();Yd=class{isDate(e){var r,o,n,s;return(s=(o=((n=(r=D.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||o===void 0?void 0:o.date)!==null&&s!==void 0?s:!1}format(e,r){var o,n,s,a;if(e==null)return"";try{return Oo.format(e,(o=r?.locale)!==null&&o!==void 0?o:D.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new Yd});var Ir,Xd=u(()=>{"use strict";C();Ye();Ir=class{static get(e,r,{baseUrl:o,localesConfiguration:n,availableContentLocales:s}=D.getState()){var a;if(!r||s.length>0&&!s.some(l=>l.lang===r)){let l=n?.defaultLocales.defaultContentLocale;r=l?`${l.lang}-${l.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new Vt(o,e??20,n?.allLanguagesAllowed,r,s)}}});var ia,nb=u(()=>{"use strict";qr();ia=class extends Xe{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}async sendDocumentOnDemandTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.on_demand_translate event")}async sendTopicAiTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.ai_translate event")}convertMapToAnalyticsDocument(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break;case"HTML_PACKAGE":r="HTML_PACKAGE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}sortEventArrays(e){let r=Object.entries(e).map(([o,n])=>Array.isArray(n)?[o,n.map(s=>typeof s=="object"&&s!=null&&!Array.isArray(s)?this.sortEventArrays(s):s).sort((s,a)=>typeof s=="object"&&s!==null&&"key"in s?s.key.localeCompare(a.key):typeof s=="string"&&typeof a=="string"?s.localeCompare(a):String(s).localeCompare(String(a)))]:typeof n=="object"&&n!==null?[o,this.sortEventArrays(n)]:[o,n]);return Object.fromEntries(r)}sendEvents(e,r){let o="anything not undefined";return document.dispatchEvent(new CustomEvent("ft:analytics:userevents",{detail:e})),this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>o).catch(n=>(console.info(r),console.debug(n),o)),1e3)}}});var Jd,sb=u(()=>{"use strict";Xd();Jd=class{urlToSearchRequest(e){return Ir.get().parse(e)}searchRequestToUrl(e){return Ir.get().serialize(e)}};window.FluidTopicsUrlService=new Jd});var Do,Mo,ab=u(()=>{"use strict";Do=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};Do.eventName="before-location-change";Mo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Mo.eventName="change"});var eu,lb,cb=u(()=>{"use strict";eu=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))}},lb=new eu});var na,db=u(()=>{"use strict";C();ab();cb();na=class t extends Cr{static build(){return new t(window.history,lb,()=>window.location,!1)}constructor(e,r,o,n){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,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(n)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Le(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new Mo(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[s,a,l])=>{let d=new Do(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let f=r(),g={...f===this.currentIndex?this.currentState:void 0,...s,index:f,href:d.detail.nextLocation.href};o.apply(n,[g,a,g.href]),this.setCurrentState(g,!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 o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addBeforeLocationChangeListener(e){this.addEventListener(Do.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(Do.eventName,e)}addHistoryChangeListener(e){this.addEventListener(Mo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Mo.eventName,e)}currentItem(){return gt(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 gt(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return gt(r.find(o=>e(o)))}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 gt(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 o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let n=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,o);)this.hasState(s)&&(n=s),s++;return n}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 o;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,s=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return s==null||s!=n}}});var ub=u(()=>{"use strict";db();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=na.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 pb=u(()=>{"use strict";Ye()});var sa=u(()=>{"use strict";Wd();zd();eb();rb();qr();ob();Hd();ib();Xd();nb();sb();ub();pb()});var fb,tu=u(()=>{"use strict";L();fb=O`
352
- `});var hb=u(()=>{"use strict"});function mb(t,e){let{authenticationRequired:r,session:o}=D.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var gb=u(()=>{"use strict";Ye()});var aa,yb=u(()=>{"use strict";Vd();aa=class extends Si{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}}});var ru,$o,ou=u(()=>{"use strict";C();Ye();gb();sa();zt();yb();ru=class t extends Eo{static build(e){return new t(D,e)}constructor(e,r){super(),this.store=e,this.cache=new ir,this.withManualResources=!0,this.userLocaleService=new aa,this.knownContexts=new ri,this.knownCustomComponents=new ri,this.cleanSessionDebouncer=new ie,this.reloadConfiguration=()=>{var o;(o=this.cache)===null||o===void 0||o.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new ie(500),this.apiProvider=r??(()=>Fo.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(pr.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(pr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>mb(()=>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(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new On(o)))}).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 ph(D.getState().session,...e)}},$o=ru.build()});var Bo,wn=u(()=>{Bo=class extends Event{constructor(e,r,o,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=o,this.subscribe=n??!1}}});var bb=u(()=>{});var iu=u(()=>{wn();});var xb=u(()=>{});var nu=u(()=>{wn();xb();});var Rn,vb=u(()=>{wn();Rn=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:o}=r;for(let{elementRef:n,callbackRef:s}of o){let a=n.deref(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new Bo(e.context,a,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],o=e.callback,n=this.pendingContextRequests.get(e.context);n===void 0&&this.pendingContextRequests.set(e.context,n={callbacks:new WeakMap,requests:[]});let s=n.callbacks.get(r);s===void 0&&n.callbacks.set(r,s=new WeakSet),s.has(o)||(s.add(o),n.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(o)}))}}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 Sb=u(()=>{nu();});var Cb=u(()=>{iu();});var Eb=u(()=>{wn();bb();iu();nu();vb();Sb();Cb()});var Be,Ce,su=u(()=>{"use strict";L();j();C();tu();sa();ou();Eb();Be=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ce=class extends bt{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=$o,this.contextRoot=new Rn}render(){return b`
351
+ `});var oO,fr,wn,iO,D,Qe=u(()=>{"use strict";C();oO="ft-app-info",fr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};fr.eventName="authentication-change";wn=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};wn.eventName="ui-locale-changed";iO={session:(t,e)=>{_e(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.dispatchEvent(new fr(e.payload)),0))}},D=Ar.get({name:oO,reducers:iO,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 Xs,IN,Zy=u(()=>{"use strict";j();Hs();Gs();Qe();C();Xs=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},IN=Oe(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(D)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,s;return((s=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1)?l=>Oo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Xs([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Xs([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Xs([ce({store:D.name,selector:r=>{var o,n;return(n=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),Xs([ce({store:D.name})],e.prototype,"uiLocale",void 0),e})});var Fo,Vd=u(()=>{"use strict";Qe();Fo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=D.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=D.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}}});var Ci,Hd=u(()=>{"use strict";Vd();Ci=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Fo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Fo.await()}}});var Ye,qr=u(()=>{"use strict";C();Hd();Ye=class extends Ci{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new nr,this.cache=e?n.commonCache:new nr}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}}});var Js,Wd=u(()=>{"use strict";Qe();Vt();qr();Js=class extends Ye{async listMySearches(){let{session:e}=D.getState();return Xi(e,Re.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}}});var ea,Gd=u(()=>{"use strict";Qe();qr();ea=class extends Ye{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}}});var ta,Qy=u(()=>{"use strict";Qe();qr();ta=class extends Ye{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=D.getState().session;return!!e?.sessionAuthenticated}}});var ra,Yy=u(()=>{"use strict";qr();Qe();ra=class extends Ye{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=D.getState().session;return!!e?.sessionAuthenticated}}});var nO,sO,eb,jd,Kd,Xy,Jy,ot,qd,aO,Zd=u(()=>{"use strict";Vt();C();Wd();Gd();Qe();Qy();Yy();nO="ft-user-assets",sO={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(It).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:o,asset:n}=e.payload;Kd(t,r,[...jd(t,r),n]),Xy(t,r,1,o),Jy(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;Kd(t,r,jd(t,r).map(n=>n.id===o.id?o:n)),Jy(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;Kd(t,r,jd(t,r).filter(s=>s.id!==n)),Xy(t,r,-1,o)}},eb={[It.SEARCHES]:"savedSearches",[It.BOOKMARKS]:"bookmarks",[It.BOOKS]:void 0,[It.COLLECTIONS]:void 0},jd=(t,e)=>{var r;let o=eb[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},Kd=(t,e,r)=>{let o=eb[e];o&&(t[o]=r)},Xy=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===It.BOOKMARKS&&o)){let s=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,s+r)}},Jy=(t,e)=>{let r=t.assetLabels.map(n=>n.title),o=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...o)},ot=Ar.get({name:nO,reducers:sO,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(It).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),qd=class{constructor(e=new ta,r=new ra){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ea,this.savedSearchesService=new Js,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=D.getState();_e((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(),ot.actions.clearAssetCount(),ot.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ot.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ot.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ot.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();ot.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&ot.getState().assetCounts.allAsset[e]!==r.count&&ot.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&ot.getState().assetCounts.bookmarkByMap[e]!==r.count&&ot.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(ot.getState().assetCounts.bookmarkByMap).length!==0;e===It.BOOKMARKS&&r&&ot.actions.clearBookmarkCountByMap(),ot.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;ot.actions.bookmarks(r)}}},aO=new qd;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=aO)});var tb=u(()=>{"use strict";Vt();Zd()});var Qd,rb=u(()=>{"use strict";Qe();Qd=class{addCommand(e,r=!1){D.commands.add(e,r)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Qd});var ob,Ei,lO,oa,Oi,ia,ib=u(()=>{"use strict";Qe();C();qr();Ei=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},lO=Symbol("clearAfterUnitTest"),oa=class extends is(Ye){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ob]=()=>{this.defaultMessages={},this.cache=new nr,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.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 o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};_e(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var n;let s=e.toLowerCase(),a=this.resolveContext(s);return new Vr((n=this.defaultMessages[s])!==null&&n!==void 0?n:{},a).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof ir)&&r&&console.error(n)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ei({loadedContexts:e})),this.dispatchEvent(new Ei({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Ei({loadedContexts:[e]})),this.dispatchEvent(new Ei({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>rs(0).then(()=>o()).catch(()=>null)))}};ob=lO;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends oa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends oa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Oi=window.FluidTopicsI18nService,ia=window.FluidTopicsCustomI18nService});var Yd,nb=u(()=>{"use strict";C();Yd=class{highlightHtml(e,r,o){yc(e,r,o)}};window.FluidTopicsHighlightHtmlService=new Yd});var Xd,sb=u(()=>{"use strict";C();Qe();Xd=class{isDate(e){var r,o,n,s;return(s=(o=((n=(r=D.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||o===void 0?void 0:o.date)!==null&&s!==void 0?s:!1}format(e,r){var o,n,s,a;if(e==null)return"";try{return Oo.format(e,(o=r?.locale)!==null&&o!==void 0?o:D.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new Xd});var Ir,Jd=u(()=>{"use strict";C();Qe();Ir=class{static get(e,r,{baseUrl:o,localesConfiguration:n,availableContentLocales:s}=D.getState()){var a;if(!r||s.length>0&&!s.some(l=>l.lang===r)){let l=n?.defaultLocales.defaultContentLocale;r=l?`${l.lang}-${l.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new Ht(o,e??20,n?.allLanguagesAllowed,r,s)}}});var na,ab=u(()=>{"use strict";qr();na=class extends Ye{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}async sendDocumentOnDemandTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.on_demand_translate event")}async sendTopicAiTranslateEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.ai_translate event")}convertMapToAnalyticsDocument(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break;case"HTML_PACKAGE":r="HTML_PACKAGE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}sortEventArrays(e){let r=Object.entries(e).map(([o,n])=>Array.isArray(n)?[o,n.map(s=>typeof s=="object"&&s!=null&&!Array.isArray(s)?this.sortEventArrays(s):s).sort((s,a)=>typeof s=="object"&&s!==null&&"key"in s?s.key.localeCompare(a.key):typeof s=="string"&&typeof a=="string"?s.localeCompare(a):String(s).localeCompare(String(a)))]:typeof n=="object"&&n!==null?[o,this.sortEventArrays(n)]:[o,n]);return Object.fromEntries(r)}sendEvents(e,r){let o="anything not undefined";return document.dispatchEvent(new CustomEvent("ft:analytics:userevents",{detail:e})),this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>o).catch(n=>(console.info(r),console.debug(n),o)),1e3)}}});var eu,lb=u(()=>{"use strict";Jd();eu=class{urlToSearchRequest(e){return Ir.get().parse(e)}searchRequestToUrl(e){return Ir.get().serialize(e)}};window.FluidTopicsUrlService=new eu});var Do,Mo,cb=u(()=>{"use strict";Do=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};Do.eventName="before-location-change";Mo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Mo.eventName="change"});var tu,db,ub=u(()=>{"use strict";tu=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))}},db=new tu});var sa,pb=u(()=>{"use strict";C();cb();ub();sa=class t extends Cr{static build(){return new t(window.history,db,()=>window.location,!1)}constructor(e,r,o,n){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,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(n)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),_e(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new Mo(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[s,a,l])=>{let d=new Do(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let f=r(),g={...f===this.currentIndex?this.currentState:void 0,...s,index:f,href:d.detail.nextLocation.href};o.apply(n,[g,a,g.href]),this.setCurrentState(g,!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 o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addBeforeLocationChangeListener(e){this.addEventListener(Do.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(Do.eventName,e)}addHistoryChangeListener(e){this.addEventListener(Mo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Mo.eventName,e)}currentItem(){return gt(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 gt(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return gt(r.find(o=>e(o)))}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 gt(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 o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let n=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,o);)this.hasState(s)&&(n=s),s++;return n}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 o;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,s=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return s==null||s!=n}}});var fb=u(()=>{"use strict";pb();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=sa.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 hb=u(()=>{"use strict";Qe()});var aa=u(()=>{"use strict";Gd();Vd();rb();ib();qr();nb();Wd();sb();Jd();ab();lb();fb();hb()});var mb,ru=u(()=>{"use strict";L();mb=O`
352
+ `});var gb=u(()=>{"use strict"});function yb(t,e){let{authenticationRequired:r,session:o}=D.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var bb=u(()=>{"use strict";Qe()});var la,xb=u(()=>{"use strict";Hd();la=class extends Ci{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}}});var ou,$o,iu=u(()=>{"use strict";C();Qe();bb();aa();Vt();xb();ou=class t extends Eo{static build(e){return new t(D,e)}constructor(e,r){super(),this.store=e,this.cache=new nr,this.withManualResources=!0,this.userLocaleService=new la,this.knownContexts=new oi,this.knownCustomComponents=new oi,this.cleanSessionDebouncer=new ie,this.reloadConfiguration=()=>{var o;(o=this.cache)===null||o===void 0||o.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new ie(500),this.apiProvider=r??(()=>Fo.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(fr.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(fr.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",()=>yb(()=>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(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new wn(o)))}).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 hh(D.getState().session,...e)}},$o=ou.build()});var Bo,Rn=u(()=>{Bo=class extends Event{constructor(e,r,o,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=o,this.subscribe=n??!1}}});var vb=u(()=>{});var nu=u(()=>{Rn();});var Sb=u(()=>{});var su=u(()=>{Rn();Sb();});var An,Cb=u(()=>{Rn();An=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:o}=r;for(let{elementRef:n,callbackRef:s}of o){let a=n.deref(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new Bo(e.context,a,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],o=e.callback,n=this.pendingContextRequests.get(e.context);n===void 0&&this.pendingContextRequests.set(e.context,n={callbacks:new WeakMap,requests:[]});let s=n.callbacks.get(r);s===void 0&&n.callbacks.set(r,s=new WeakSet),s.has(o)||(s.add(o),n.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(o)}))}}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 Eb=u(()=>{su();});var Ob=u(()=>{nu();});var wb=u(()=>{Rn();vb();nu();su();Cb();Eb();Ob()});var Be,Se,au=u(()=>{"use strict";L();j();C();ru();aa();iu();wb();Be=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Se=class extends bt{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=$o,this.contextRoot=new An}render(){return b`
353
353
  <slot></slot>
354
- `}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(o=>Ei.addContext(o)),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())}};Ce.elementDefinitions={};Ce.styles=fb;Be([h()],Ce.prototype,"baseUrl",void 0);Be([h()],Ce.prototype,"tenantId",void 0);Be([h()],Ce.prototype,"apiIntegrationIdentifier",void 0);Be([h()],Ce.prototype,"apiIntegrationAppVersion",void 0);Be([h()],Ce.prototype,"uiLocale",void 0);Be([ce(null)],Ce.prototype,"availableUiLocales",void 0);Be([ce(null)],Ce.prototype,"metadataConfiguration",void 0);Be([h({type:Boolean})],Ce.prototype,"editorMode",void 0);Be([h({type:Boolean})],Ce.prototype,"noCustom",void 0);Be([h({type:Boolean})],Ce.prototype,"openExternalDocumentInNewTab",void 0);Be([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ce.prototype,"noCustomComponent",void 0);Be([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ce.prototype,"noCustomCode",void 0);Be([h({type:Boolean})],Ce.prototype,"withManualResources",void 0);Be([h({type:Boolean})],Ce.prototype,"navigatorOnline",void 0);Be([h({type:Boolean})],Ce.prototype,"forcedOffline",void 0);Be([h({type:Boolean})],Ce.prototype,"authenticationRequired",void 0);Be([ce([])],Ce.prototype,"messageContexts",void 0);Be([ce(void 0)],Ce.prototype,"session",void 0)});var Ob,wb=u(()=>{"use strict";su();Ob={"ft-app-context":Ce}});var Rb=u(()=>{"use strict";C();wb();B(Ob)});var qt=u(()=>{"use strict";Ky();Ye();qd();Jy();sa();tu();hb();su();ou();Rb()});var au,Oi,la=u(()=>{"use strict";au=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,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Oi=new au});var cO,_n,Ab,_b,ca,An,pt,da,ua,kn=u(()=>{"use strict";C();qt();j();la();cO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},_n=Symbol("i18nAttributes"),Ab=Symbol("i18nListAttributes"),_b=Symbol("i18nProperties"),ca=Symbol("i18nContexts"),An=Symbol("i18nUnsubs"),pt=we(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?oa:Ei}i18n(s){let{context:a,key:l,message:d}=s,{custom:f,args:g,argsProvider:m}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,f);let y=g??(m?m(this):[]);return this.getI18nService(f).resolveMessage(a,l,...y)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Oi.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,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,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,l;let d=this,f=(g,m,y)=>y?.context&&y.key&&s(g,m,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...g})}:y;(a=this[_n])===null||a===void 0||a.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[Ab])===null||l===void 0||l.forEach((g,m)=>{var y;return d[m]=(y=d[m])===null||y===void 0?void 0:y.map(E=>f(g,m,E))})}updateI18nProperties(s){var a;(a=this[_b])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[ca].set(d,{isCustomContext:l}),this[An].has(d)||this[An].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[ca].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ca].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[An].forEach(s=>s()),this[An].clear()}}return e=ca,r=An,cO([h({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),da=class extends pt($){},ua=class extends pt(bt){}});var lu,dO,kb=u(()=>{"use strict";la();lu=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?Oi.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},dO=new lu});var wi,pa=u(()=>{"use strict";kn();C();la();kb();wi=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:lt,converter:Oi,...e}),r[_n]=(n=r[_n])!==null&&n!==void 0?n:new Map,r[_n].set(o,t??{})}});var fr,Lb=u(()=>{"use strict";qt();fr=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?oa:Ei}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let s=n;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:(o,n)=>(...s)=>this.service.resolveMessage(this.name,n,...s)}),this.rawMessages=new Proxy({},{get:(o,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(o,n)=>()=>n}),this.attributes=new Proxy({},{get:(o,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var Ib=u(()=>{"use strict";kn()});var Tb,cu=u(()=>{"use strict";L();Tb=O`
355
- `});var Pb=u(()=>{"use strict"});var Ri,Tt,du=u(()=>{"use strict";L();j();C();cu();kn();qt();Ri=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Tt=class extends ua{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:_:b`
354
+ `}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(o=>Oi.addContext(o)),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())}};Se.elementDefinitions={};Se.styles=mb;Be([h()],Se.prototype,"baseUrl",void 0);Be([h()],Se.prototype,"tenantId",void 0);Be([h()],Se.prototype,"apiIntegrationIdentifier",void 0);Be([h()],Se.prototype,"apiIntegrationAppVersion",void 0);Be([h()],Se.prototype,"uiLocale",void 0);Be([le(null)],Se.prototype,"availableUiLocales",void 0);Be([le(null)],Se.prototype,"metadataConfiguration",void 0);Be([h({type:Boolean})],Se.prototype,"editorMode",void 0);Be([h({type:Boolean})],Se.prototype,"noCustom",void 0);Be([h({type:Boolean})],Se.prototype,"openExternalDocumentInNewTab",void 0);Be([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Se.prototype,"noCustomComponent",void 0);Be([h({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Se.prototype,"noCustomCode",void 0);Be([h({type:Boolean})],Se.prototype,"withManualResources",void 0);Be([h({type:Boolean})],Se.prototype,"navigatorOnline",void 0);Be([h({type:Boolean})],Se.prototype,"forcedOffline",void 0);Be([h({type:Boolean})],Se.prototype,"authenticationRequired",void 0);Be([le([])],Se.prototype,"messageContexts",void 0);Be([le(void 0)],Se.prototype,"session",void 0)});var Rb,Ab=u(()=>{"use strict";au();Rb={"ft-app-context":Se}});var _b=u(()=>{"use strict";C();Ab();B(Rb)});var Zt=u(()=>{"use strict";Zy();Qe();Zd();tb();aa();ru();gb();au();iu();_b()});var lu,wi,ca=u(()=>{"use strict";lu=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,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},wi=new lu});var uO,kn,kb,Lb,da,_n,pt,ua,pa,Ln=u(()=>{"use strict";C();Zt();j();ca();uO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},kn=Symbol("i18nAttributes"),kb=Symbol("i18nListAttributes"),Lb=Symbol("i18nProperties"),da=Symbol("i18nContexts"),_n=Symbol("i18nUnsubs"),pt=Oe(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?ia:Oi}i18n(s){let{context:a,key:l,message:d}=s,{custom:f,args:g,argsProvider:m}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,f);let y=g??(m?m(this):[]);return this.getI18nService(f).resolveMessage(a,l,...y)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(wi.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,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,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,l;let d=this,f=(g,m,y)=>y?.context&&y.key&&s(g,m,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...g})}:y;(a=this[kn])===null||a===void 0||a.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[kb])===null||l===void 0||l.forEach((g,m)=>{var y;return d[m]=(y=d[m])===null||y===void 0?void 0:y.map(E=>f(g,m,E))})}updateI18nProperties(s){var a;(a=this[Lb])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[da].set(d,{isCustomContext:l}),this[_n].has(d)||this[_n].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[da].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[da].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[_n].forEach(s=>s()),this[_n].clear()}}return e=da,r=_n,uO([h({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),ua=class extends pt($){},pa=class extends pt(bt){}});var cu,pO,Ib=u(()=>{"use strict";ca();cu=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?wi.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},pO=new cu});var Ri,fa=u(()=>{"use strict";Ln();C();ca();Ib();Ri=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:lt,converter:wi,...e}),r[kn]=(n=r[kn])!==null&&n!==void 0?n:new Map,r[kn].set(o,t??{})}});var Pt,Tb=u(()=>{"use strict";Zt();Pt=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?ia:Oi}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let s=n;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:(o,n)=>(...s)=>this.service.resolveMessage(this.name,n,...s)}),this.rawMessages=new Proxy({},{get:(o,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(o,n)=>()=>n}),this.attributes=new Proxy({},{get:(o,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var Pb=u(()=>{"use strict";Ln()});var Nb,du=u(()=>{"use strict";L();Nb=O`
355
+ `});var Fb=u(()=>{"use strict"});var Ai,Nt,uu=u(()=>{"use strict";L();j();C();du();Ln();Zt();Ai=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Nt=class extends pa{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:_:b`
356
356
  <span class="ft-i18n">
357
357
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
358
358
  </span>
359
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Tt.elementDefinitions={};Tt.styles=Tb;Ri([de()],Tt.prototype,"editorMode",void 0);Ri([h()],Tt.prototype,"context",void 0);Ri([h()],Tt.prototype,"key",void 0);Ri([ce([])],Tt.prototype,"args",void 0);Ri([h()],Tt.prototype,"defaultMessage",void 0);Ri([k()],Tt.prototype,"editorMessage",void 0)});var Nb,Fb=u(()=>{"use strict";du();Nb={"ft-i18n":Tt}});var Db=u(()=>{"use strict";C();Fb();B(Nb)});var Pt=u(()=>{"use strict";Lb();kn();Ib();cu();Pb();du();Db()});var Zt,Te,uu=u(()=>{"use strict";L();j();C();Ie();Ud();bs();pa();Pt();Zt=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Te=class extends da{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 ie,this.revealDebouncer=new ie,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 b`
359
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Nt.elementDefinitions={};Nt.styles=Nb;Ai([ce()],Nt.prototype,"editorMode",void 0);Ai([h()],Nt.prototype,"context",void 0);Ai([h()],Nt.prototype,"key",void 0);Ai([le([])],Nt.prototype,"args",void 0);Ai([h()],Nt.prototype,"defaultMessage",void 0);Ai([k()],Nt.prototype,"editorMessage",void 0)});var Db,Mb=u(()=>{"use strict";uu();Db={"ft-i18n":Nt}});var $b=u(()=>{"use strict";C();Mb();B(Db)});var St=u(()=>{"use strict";Tb();Ln();Pb();du();Fb();uu();$b()});var Qt,Le,pu=u(()=>{"use strict";L();j();C();ke();zd();xs();fa();St();Qt=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Le=class extends ua{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 ie,this.revealDebouncer=new ie,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 b`
360
360
  <div part="container"
361
361
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
362
362
  <slot part="slot"></slot>
@@ -365,13 +365,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
365
365
  popover="manual">
366
366
  <div part="tooltip-content" class="ft-tooltip--content">
367
367
  <slot name="text"></slot>
368
- <ft-typography variant="${pe.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
368
+ <ft-typography variant="${ue.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
369
369
  ${(r=this.text)===null||r===void 0?void 0:r.message}
370
370
  </ft-typography>
371
371
  </div>
372
372
  </div>
373
373
  </div>
374
- `}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,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.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 o=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=o}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&&rc(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 ${x.transitionDuration}, left ${x.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return ml(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};Te.elementDefinitions={"ft-typography":oe};Te.styles=jy;Zt([wi()],Te.prototype,"text",void 0);Zt([h({type:Boolean})],Te.prototype,"manual",void 0);Zt([h({type:Boolean})],Te.prototype,"inline",void 0);Zt([kt()],Te.prototype,"delay",void 0);Zt([h()],Te.prototype,"position",void 0);Zt([ce([])],Te.prototype,"ignoreMatchingElements",void 0);Zt([il()],Te.prototype,"slotNodes",void 0);Zt([M(".ft-tooltip--container")],Te.prototype,"container",void 0);Zt([M(".ft-tooltip")],Te.prototype,"tooltip",void 0);Zt([M(".ft-tooltip--content")],Te.prototype,"tooltipContent",void 0);Zt([k()],Te.prototype,"visible",void 0)});var Mb=u(()=>{"use strict"});var $b,Bb=u(()=>{"use strict";uu();$b={"ft-tooltip":Te}});var Ub=u(()=>{"use strict";C();Bb();B($b)});var pu=u(()=>{"use strict";uu();Ud();Mb();Ub()});var nt,zb,Ai=u(()=>{"use strict";L();C();nt={size:i.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:i.extend("--ft-icon-fluid-topics-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:i.extend("--ft-icon-file-format-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:i.extend("--ft-icon-material-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:i.create("--ft-icon-vertical-align","","UNKNOWN","unset")},zb=[O`
374
+ `}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,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.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 o=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=o}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&&oc(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 ${x.transitionDuration}, left ${x.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return gl(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};Le.elementDefinitions={"ft-typography":oe};Le.styles=qy;Qt([Ri()],Le.prototype,"text",void 0);Qt([h({type:Boolean})],Le.prototype,"manual",void 0);Qt([h({type:Boolean})],Le.prototype,"inline",void 0);Qt([Lt()],Le.prototype,"delay",void 0);Qt([h()],Le.prototype,"position",void 0);Qt([le([])],Le.prototype,"ignoreMatchingElements",void 0);Qt([nl()],Le.prototype,"slotNodes",void 0);Qt([M(".ft-tooltip--container")],Le.prototype,"container",void 0);Qt([M(".ft-tooltip")],Le.prototype,"tooltip",void 0);Qt([M(".ft-tooltip--content")],Le.prototype,"tooltipContent",void 0);Qt([k()],Le.prototype,"visible",void 0)});var Bb=u(()=>{"use strict"});var Ub,zb=u(()=>{"use strict";pu();Ub={"ft-tooltip":Le}});var Vb=u(()=>{"use strict";C();zb();B(Ub)});var fu=u(()=>{"use strict";pu();zd();Bb();Vb()});var it,Hb,_i=u(()=>{"use strict";L();C();it={size:i.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:i.extend("--ft-icon-fluid-topics-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:i.extend("--ft-icon-file-format-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:i.extend("--ft-icon-material-font-family","",i.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:i.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Hb=[O`
375
375
  :host, i.ft-icon {
376
376
  display: inline-flex;
377
377
  align-items: center;
@@ -380,14 +380,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
380
380
  }
381
381
 
382
382
  :host {
383
- width: ${nt.size};
384
- height: ${nt.size};
383
+ width: ${it.size};
384
+ height: ${it.size};
385
385
  }
386
386
 
387
387
  i.ft-icon {
388
388
  width: 100%;
389
389
  height: 100%;
390
- font-size: ${nt.size};
390
+ font-size: ${it.size};
391
391
  line-height: 1;
392
392
  font-weight: normal;
393
393
  text-transform: none;
@@ -398,33 +398,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
398
398
  text-rendering: auto;
399
399
  -webkit-font-smoothing: antialiased;
400
400
  -moz-osx-font-smoothing: grayscale;
401
- vertical-align: ${nt.verticalAlign};
401
+ vertical-align: ${it.verticalAlign};
402
402
  }
403
403
 
404
404
  i.ft-icon.ft-icon--fluid-topics {
405
- font-family: ${nt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
405
+ font-family: ${it.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
406
406
 
407
407
  /* Ugly fix because font is broken */
408
- font-size: calc(0.75 * ${nt.size});
409
- line-height: ${nt.size};
408
+ font-size: calc(0.75 * ${it.size});
409
+ line-height: ${it.size};
410
410
  position: relative;
411
411
  top: -4%;
412
412
  justify-content: center;
413
413
  }
414
414
 
415
415
  .ft-icon--file-format {
416
- font-family: ${nt.fileFormatFontFamily}, ft-mime, sans-serif;
416
+ font-family: ${it.fileFormatFontFamily}, ft-mime, sans-serif;
417
417
  }
418
418
 
419
419
  .ft-icon--material {
420
- font-family: ${nt.materialFontFamily}, "Material Icons", sans-serif;
420
+ font-family: ${it.materialFontFamily}, "Material Icons", sans-serif;
421
421
  }
422
- `,xo]});var st,fu=u(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(st||(st={}))});function fa(t,e){var r,o,n,s;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[a,l]=(((r=uO.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(s=(n=(o=hu.get(l))!==null&&o!==void 0?o:hu.get(e))!==null&&n!==void 0?n:hu.get(a))!==null&&s!==void 0?s:T.UNKNOWN}var Ne,T,hu,uO,u$,mu=u(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.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;"})(Ne||(Ne={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(T||(T={}));hu=new Map([...["abw"].map(t=>[t,T.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,T.AUDIO]),...["avi"].map(t=>[t,T.AVI]),...["chm","xhs"].map(t=>[t,T.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,T.CODE]),...["csv"].map(t=>[t,T.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,T.DITA]),...["epub"].map(t=>[t,T.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,T.EXCEL]),...["flac"].map(t=>[t,T.FLAC]),...["gif"].map(t=>[t,T.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,T.GZIP]),...["html","htm","xhtml"].map(t=>[t,T.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,T.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,T.JPEG]),...["json"].map(t=>[t,T.JSON]),...["m4a","m4p"].map(t=>[t,T.M4A]),...["mov","qt"].map(t=>[t,T.MOV]),...["mp3"].map(t=>[t,T.MP3]),...["mp4","m4v"].map(t=>[t,T.MP4]),...["ogg","oga"].map(t=>[t,T.OGG]),...["pdf","ps"].map(t=>[t,T.PDF]),...["png"].map(t=>[t,T.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,T.POWERPOINT]),...["rar"].map(t=>[t,T.RAR]),...["stp"].map(t=>[t,T.STP]),...["txt","rtf","md","mdown"].map(t=>[t,T.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,T.VIDEO]),...["wav"].map(t=>[t,T.WAV]),...["wma"].map(t=>[t,T.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,T.WORD]),...["xml","xsl","rdf"].map(t=>[t,T.XML]),...["yaml","yml","x-yaml"].map(t=>[t,T.YAML]),...["zip"].map(t=>[t,T.ZIP])]),uO=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);u$={[T.ABW]:"#91ABC6",[T.AUDIO]:"#1795E3",[T.AVI]:"#E63324",[T.CHM]:"#71C3EB",[T.CODE]:"#71C3EB",[T.CSV]:"#1F7345",[T.DITA]:"#71C3EB",[T.EPUB]:"#85B926",[T.EXCEL]:"#1F7345",[T.FLAC]:"#1795E3",[T.GIF]:"#59B031",[T.GZIP]:"#F8AB36",[T.HTML]:"#71C3EB",[T.IMAGE]:"#59B031",[T.JPEG]:"#59B031",[T.JSON]:"#71C3EB",[T.M4A]:"#1795E3",[T.MOV]:"#E63324",[T.MP3]:"#1795E3",[T.MP4]:"#E63324",[T.OGG]:"#1795E3",[T.PDF]:"#E44948",[T.PNG]:"#59B031",[T.POWERPOINT]:"#B54A2B",[T.RAR]:"#F8AB36",[T.STP]:"#3764B1",[T.TEXT]:"#3162AB",[T.UNKNOWN]:"#999999",[T.VIDEO]:"#E63324",[T.WAV]:"#1795E3",[T.WMA]:"#1795E3",[T.WORD]:"#3162AB",[T.XML]:"#71C3EB",[T.YAML]:"#71C3EB",[T.ZIP]:"#F8AB36"}});var Ln,ve,gu=u(()=>{"use strict";L();j();C();ji();mu();Ai();fu();Ln=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ve=class extends ${constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_}render(){let e=this.variant&&Object.values(st).includes(this.variant)?this.variant:st.fluid_topics,r=e!==st.material||!!this.value;return b`
422
+ `,xo]});var nt,hu=u(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(nt||(nt={}))});function ha(t,e){var r,o,n,s;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[a,l]=(((r=fO.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(s=(n=(o=mu.get(l))!==null&&o!==void 0?o:mu.get(e))!==null&&n!==void 0?n:mu.get(a))!==null&&s!==void 0?s:T.UNKNOWN}var Ne,T,mu,fO,f$,gu=u(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.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;"})(Ne||(Ne={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(T||(T={}));mu=new Map([...["abw"].map(t=>[t,T.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,T.AUDIO]),...["avi"].map(t=>[t,T.AVI]),...["chm","xhs"].map(t=>[t,T.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,T.CODE]),...["csv"].map(t=>[t,T.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,T.DITA]),...["epub"].map(t=>[t,T.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,T.EXCEL]),...["flac"].map(t=>[t,T.FLAC]),...["gif"].map(t=>[t,T.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,T.GZIP]),...["html","htm","xhtml"].map(t=>[t,T.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,T.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,T.JPEG]),...["json"].map(t=>[t,T.JSON]),...["m4a","m4p"].map(t=>[t,T.M4A]),...["mov","qt"].map(t=>[t,T.MOV]),...["mp3"].map(t=>[t,T.MP3]),...["mp4","m4v"].map(t=>[t,T.MP4]),...["ogg","oga"].map(t=>[t,T.OGG]),...["pdf","ps"].map(t=>[t,T.PDF]),...["png"].map(t=>[t,T.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,T.POWERPOINT]),...["rar"].map(t=>[t,T.RAR]),...["stp"].map(t=>[t,T.STP]),...["txt","rtf","md","mdown"].map(t=>[t,T.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,T.VIDEO]),...["wav"].map(t=>[t,T.WAV]),...["wma"].map(t=>[t,T.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,T.WORD]),...["xml","xsl","rdf"].map(t=>[t,T.XML]),...["yaml","yml","x-yaml"].map(t=>[t,T.YAML]),...["zip"].map(t=>[t,T.ZIP])]),fO=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);f$={[T.ABW]:"#91ABC6",[T.AUDIO]:"#1795E3",[T.AVI]:"#E63324",[T.CHM]:"#71C3EB",[T.CODE]:"#71C3EB",[T.CSV]:"#1F7345",[T.DITA]:"#71C3EB",[T.EPUB]:"#85B926",[T.EXCEL]:"#1F7345",[T.FLAC]:"#1795E3",[T.GIF]:"#59B031",[T.GZIP]:"#F8AB36",[T.HTML]:"#71C3EB",[T.IMAGE]:"#59B031",[T.JPEG]:"#59B031",[T.JSON]:"#71C3EB",[T.M4A]:"#1795E3",[T.MOV]:"#E63324",[T.MP3]:"#1795E3",[T.MP4]:"#E63324",[T.OGG]:"#1795E3",[T.PDF]:"#E44948",[T.PNG]:"#59B031",[T.POWERPOINT]:"#B54A2B",[T.RAR]:"#F8AB36",[T.STP]:"#3764B1",[T.TEXT]:"#3162AB",[T.UNKNOWN]:"#999999",[T.VIDEO]:"#E63324",[T.WAV]:"#1795E3",[T.WMA]:"#1795E3",[T.WORD]:"#3162AB",[T.XML]:"#71C3EB",[T.YAML]:"#71C3EB",[T.ZIP]:"#F8AB36"}});var In,ve,yu=u(()=>{"use strict";L();j();C();Ki();gu();_i();hu();In=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ve=class extends ${constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_}render(){let e=this.variant&&Object.values(nt).includes(this.variant)?this.variant:nt.fluid_topics,r=e!==nt.material||!!this.value;return b`
423
423
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
424
424
  ${ao(this.resolvedIcon)}
425
425
  <slot ?hidden=${r}></slot>
426
426
  </i>
427
- `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.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 o=this.value||this.getTextContent();switch(this.variant){case st.file_format:this.resolvedIcon=(e=T[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case st.material:this.resolvedIcon=this.value||_;break;default:this.resolvedIcon=(r=Ne[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=zb;Ln([h()],ve.prototype,"variant",void 0);Ln([h()],ve.prototype,"value",void 0);Ln([h({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);Ln([k()],ve.prototype,"resolvedIcon",void 0);Ln([M("slot")],ve.prototype,"slottedContent",void 0)});var Vb,Hb=u(()=>{"use strict";gu();Vb={"ft-icon":ve}});var Wb=u(()=>{"use strict";C();Hb();B(Vb)});var Tr=u(()=>{"use strict";Ai();fu();gu();mu();Wb()});var Uo,Gb,ha=u(()=>{"use strict";L();C();Uo={color:i.extend("--ft-loader-color","",x.colorPrimary),size:i.create("--ft-loader-size","","SIZE","80px")},Gb=O`
427
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.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 o=this.value||this.getTextContent();switch(this.variant){case nt.file_format:this.resolvedIcon=(e=T[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case nt.material:this.resolvedIcon=this.value||_;break;default:this.resolvedIcon=(r=Ne[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=Hb;In([h()],ve.prototype,"variant",void 0);In([h()],ve.prototype,"value",void 0);In([h({reflect:!0,attribute:"aria-hidden"})],ve.prototype,"ariaHidden",void 0);In([k()],ve.prototype,"resolvedIcon",void 0);In([M("slot")],ve.prototype,"slottedContent",void 0)});var Wb,Gb=u(()=>{"use strict";yu();Wb={"ft-icon":ve}});var jb=u(()=>{"use strict";C();Gb();B(Wb)});var Tr=u(()=>{"use strict";_i();hu();yu();gu();jb()});var Uo,Kb,ma=u(()=>{"use strict";L();C();Uo={color:i.extend("--ft-loader-color","",x.colorPrimary),size:i.create("--ft-loader-size","","SIZE","80px")},Kb=O`
428
428
  :host {
429
429
  line-height: 0;
430
430
  }
@@ -493,14 +493,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
493
493
  transform: translate(calc(0.35 * ${Uo.size}), 0);
494
494
  }
495
495
  }
496
- `});var jb=u(()=>{"use strict"});var zo,yu=u(()=>{"use strict";L();C();ha();zo=class extends ${render(){return b`
496
+ `});var qb=u(()=>{"use strict"});var zo,bu=u(()=>{"use strict";L();C();ma();zo=class extends ${render(){return b`
497
497
  <div class="ft-loader">
498
498
  <div></div>
499
499
  <div></div>
500
500
  <div></div>
501
501
  <div></div>
502
502
  </div>
503
- `}};zo.styles=Gb});var Kb,qb=u(()=>{"use strict";yu();Kb={"ft-loader":zo}});var Zb=u(()=>{"use strict";C();qb();B(Kb)});var Qb=u(()=>{"use strict";ha();jb();yu();Zb()});var St,Yb=u(()=>{Mt();St=t=>t??_});var In=u(()=>{Yb()});var Xb,Q,Jb,bu,Qt,ex,Vo=u(()=>{"use strict";L();C();kr();Kt();ha();Ai();Xb=i.extend("--ft-button-color","",x.colorPrimary),Q={backgroundColor:i.extend("--ft-button-background-color","",x.colorSurface),borderRadius:i.extend("--ft-button-border-radius","",x.borderRadiusL),color:Xb,fontSize:i.extend("--ft-button-font-size","",jt.fontSize),iconSize:i.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:i.extend("--ft-button-ripple-color","",Xb),verticalPadding:i.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:i.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:i.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},Jb=i.extend("--ft-button-primary-color","",i.extend("--ft-button-color","",x.colorOnPrimary)),bu={backgroundColor:i.extend("--ft-button-primary-background-color","",i.extend("--ft-button-background-color","",x.colorPrimary)),color:Jb,rippleColor:i.extend("--ft-button-primary-ripple-color","",Jb)},Qt={borderRadius:i.extend("--ft-button-dense-border-radius","",i.extend("--ft-button-border-radius","",x.borderRadiusM)),verticalPadding:i.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:i.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:i.create("--ft-button-dense-icon-padding","","SIZE","4px")},ex=O`
503
+ `}};zo.styles=Kb});var Zb,Qb=u(()=>{"use strict";bu();Zb={"ft-loader":zo}});var Yb=u(()=>{"use strict";C();Qb();B(Zb)});var Xb=u(()=>{"use strict";ma();qb();bu();Yb()});var Ct,Jb=u(()=>{$t();Ct=t=>t??_});var Tn=u(()=>{Jb()});var ex,Q,tx,xu,Yt,rx,Vo=u(()=>{"use strict";L();C();kr();qt();ma();_i();ex=i.extend("--ft-button-color","",x.colorPrimary),Q={backgroundColor:i.extend("--ft-button-background-color","",x.colorSurface),borderRadius:i.extend("--ft-button-border-radius","",x.borderRadiusL),color:ex,fontSize:i.extend("--ft-button-font-size","",Kt.fontSize),iconSize:i.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:i.extend("--ft-button-ripple-color","",ex),verticalPadding:i.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:i.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:i.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},tx=i.extend("--ft-button-primary-color","",i.extend("--ft-button-color","",x.colorOnPrimary)),xu={backgroundColor:i.extend("--ft-button-primary-background-color","",i.extend("--ft-button-background-color","",x.colorPrimary)),color:tx,rippleColor:i.extend("--ft-button-primary-ripple-color","",tx)},Yt={borderRadius:i.extend("--ft-button-dense-border-radius","",i.extend("--ft-button-border-radius","",x.borderRadiusM)),verticalPadding:i.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:i.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:i.create("--ft-button-dense-icon-padding","","SIZE","4px")},rx=O`
504
504
  :host {
505
505
  display: inline-block;
506
506
  max-width: 100%;
@@ -523,7 +523,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
523
523
 
524
524
  --button-internal-line-height: max(calc(${Q.fontSize} + 2px), ${Q.iconSize});
525
525
  --button-internal-color: ${Q.color};
526
- ${w(nt.size,Q.iconSize)};
526
+ ${w(it.size,Q.iconSize)};
527
527
  ${w(re.color,Q.rippleColor)};
528
528
  ${w(re.borderRadius,Q.borderRadius)};
529
529
 
@@ -539,8 +539,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
539
539
  text-overflow: ellipsis;
540
540
  display: block;
541
541
  margin: 0 ${Q.iconPadding};
542
- ${w(jt.fontSize,"1em")};
543
- ${w(jt.lineHeight,"var(--button-internal-line-height)")};
542
+ ${w(Kt.fontSize,"1em")};
543
+ ${w(Kt.lineHeight,"var(--button-internal-line-height)")};
544
544
  }
545
545
 
546
546
  [part="icon"] {
@@ -579,9 +579,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
579
579
  }
580
580
 
581
581
  &.ft-button--primary {
582
- background-color: ${bu.backgroundColor};
583
- --button-internal-color: ${bu.color};
584
- ${w(re.color,bu.rippleColor)};
582
+ background-color: ${xu.backgroundColor};
583
+ --button-internal-color: ${xu.color};
584
+ ${w(re.color,xu.rippleColor)};
585
585
  }
586
586
 
587
587
  &.ft-button--outlined {
@@ -590,17 +590,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
590
590
  }
591
591
 
592
592
  &.ft-button--dense {
593
- padding: ${Qt.verticalPadding} ${Qt.horizontalPadding};
594
- border-radius: ${Qt.borderRadius};
595
- ${w(re.borderRadius,Qt.borderRadius)};
593
+ padding: ${Yt.verticalPadding} ${Yt.horizontalPadding};
594
+ border-radius: ${Yt.borderRadius};
595
+ ${w(re.borderRadius,Yt.borderRadius)};
596
596
 
597
597
  .ft-button--label {
598
- margin: 0 ${Qt.iconPadding};
598
+ margin: 0 ${Yt.iconPadding};
599
599
  }
600
600
  }
601
601
 
602
602
  &.ft-button--dense.ft-button--outlined {
603
- padding: calc(${Qt.verticalPadding} - 1px) calc(${Qt.horizontalPadding} - 1px);
603
+ padding: calc(${Yt.verticalPadding} - 1px) calc(${Yt.horizontalPadding} - 1px);
604
604
  }
605
605
 
606
606
  &.ft-button--round {
@@ -609,8 +609,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
609
609
  }
610
610
 
611
611
  &.ft-button--round.ft-button--dense {
612
- border-radius: calc(var(--button-internal-line-height) / 2 + ${Qt.verticalPadding});
613
- ${w(re.borderRadius,O`calc(var(--button-internal-line-height) / 2 + ${Qt.verticalPadding})`)};
612
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${Yt.verticalPadding});
613
+ ${w(re.borderRadius,O`calc(var(--button-internal-line-height) / 2 + ${Yt.verticalPadding})`)};
614
614
  }
615
615
 
616
616
  &.ft-button--no-text {
@@ -621,7 +621,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
621
621
  padding: ${Q.verticalPadding};
622
622
 
623
623
  &.ft-button--dense {
624
- padding: ${Qt.verticalPadding};
624
+ padding: ${Yt.verticalPadding};
625
625
  }
626
626
 
627
627
  &.ft-button--outlined {
@@ -629,7 +629,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
629
629
  }
630
630
 
631
631
  &.ft-button--outlined.ft-button--dense {
632
- padding: calc(${Qt.verticalPadding} - 1px);
632
+ padding: calc(${Yt.verticalPadding} - 1px);
633
633
  }
634
634
  }
635
635
 
@@ -642,15 +642,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
642
642
  ${w(Uo.size,Q.iconSize)};
643
643
  ${w(Uo.color,"var(--button-internal-color)")};
644
644
  }
645
- `});var ye,z,xu=u(()=>{"use strict";C();ot();pu();Tr();Qb();L();rt();j();In();Ie();Vo();ye=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},z=class t extends ed($){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.ariaExpanded=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,o;let n={"ft-button--label":!0,"ft-safari-ellipsis-fix":_o},s=b`
645
+ `});var ye,z,vu=u(()=>{"use strict";C();rt();fu();Tr();Xb();L();tt();j();Tn();ke();Vo();ye=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},z=class t extends td($){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.ariaExpanded=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,o;let n={"ft-button--label":!0,"ft-safari-ellipsis-fix":_o},s=b`
646
646
  <ft-ripple part="ripple"
647
647
  ?disabled=${this.isDisabled()}
648
648
  ?activated=${this.activated}
649
649
  ></ft-ripple>
650
650
  <ft-typography part="label"
651
- variant="${pe.button}"
651
+ variant="${ue.button}"
652
652
  element="span"
653
- class="${fe(n)}">
653
+ class="${pe(n)}">
654
654
  <slot></slot>
655
655
  </ft-typography>
656
656
  ${this.resolveIcon()}
@@ -658,18 +658,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
658
658
  <a href="${a}"
659
659
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
660
660
  part="button"
661
- class="${fe(this.buttonClasses)}"
662
- aria-label="${St((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
661
+ class="${pe(this.buttonClasses)}"
662
+ aria-label="${Ct((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
663
663
  ?disabled=${this.isDisabled()}>
664
664
  ${s}
665
665
  </a>
666
666
  `:b`
667
667
  <button part="button"
668
- class="${fe(this.buttonClasses)}"
669
- aria-label="${St((o=this.ariaLabel)!==null&&o!==void 0?o:this.label)}"
670
- aria-haspopup="${St(this.ariaHasPopup)}"
671
- aria-pressed="${St(this.ariaPressed)}"
672
- aria-expanded="${St(this.ariaExpanded)}"
668
+ class="${pe(this.buttonClasses)}"
669
+ aria-label="${Ct((o=this.ariaLabel)!==null&&o!==void 0?o:this.label)}"
670
+ aria-haspopup="${Ct(this.ariaHasPopup)}"
671
+ aria-pressed="${Ct(this.ariaPressed)}"
672
+ aria-expanded="${Ct(this.ariaExpanded)}"
673
673
  ?disabled=${this.isDisabled()}>
674
674
  ${s}
675
675
  </button>
@@ -684,7 +684,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
684
684
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
685
685
  `:b`
686
686
  <slot part="icon" name="icon"></slot>
687
- `}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 o;return(o=this.tooltip)===null||o===void 0?void 0:o.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)}};z.elementDefinitions={"ft-ripple":Z,"ft-tooltip":Te,"ft-icon":ve,"ft-loader":zo,"ft-typography":oe};z.styles=[xc,ex,xo];z.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:z.labelsObserver.unobserve(e.target)}});ye([h({type:Boolean})],z.prototype,"primary",void 0);ye([h({type:Boolean})],z.prototype,"outlined",void 0);ye([h({type:Boolean})],z.prototype,"dense",void 0);ye([h({type:Boolean})],z.prototype,"round",void 0);ye([h({type:Boolean})],z.prototype,"disabled",void 0);ye([h()],z.prototype,"icon",void 0);ye([h()],z.prototype,"iconVariant",void 0);ye([h({type:Boolean})],z.prototype,"trailingIcon",void 0);ye([h()],z.prototype,"label",void 0);ye([h()],z.prototype,"type",void 0);ye([h()],z.prototype,"href",void 0);ye([h()],z.prototype,"target",void 0);ye([h({type:Boolean})],z.prototype,"loading",void 0);ye([h({attribute:"aria-label"})],z.prototype,"ariaLabel",void 0);ye([h()],z.prototype,"ariaHasPopup",void 0);ye([h({attribute:"aria-pressed"})],z.prototype,"ariaPressed",void 0);ye([h({attribute:"aria-expanded"})],z.prototype,"ariaExpanded",void 0);ye([h()],z.prototype,"tooltipPosition",void 0);ye([h({type:Boolean})],z.prototype,"hideTooltip",void 0);ye([h({type:Boolean})],z.prototype,"forceTooltip",void 0);ye([h({type:Boolean})],z.prototype,"activated",void 0);ye([M(".ft-button")],z.prototype,"button",void 0);ye([M(".ft-button--label")],z.prototype,"labelContainer",void 0);ye([k()],z.prototype,"hasTextContent",void 0);ye([M(".ft-button--label slot")],z.prototype,"slottedContent",void 0);ye([M("[part=tooltip]")],z.prototype,"tooltip",void 0)});var tx=u(()=>{"use strict"});var rx,ox=u(()=>{"use strict";xu();rx={"ft-button":z}});var ix=u(()=>{"use strict";C();ox();B(rx)});var Yt=u(()=>{"use strict";xu();Vo();tx();ix()});var be,vu,Tn=u(()=>{"use strict";L();C();Yt();be={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",x.borderRadiusS),desktopFiltersHeight:i.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:i.extend("--ft-search-input-background-color","",x.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",x.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",x.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",x.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",x.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",x.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",x.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",x.colorPrimary)},vu=O`
687
+ `}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 o;return(o=this.tooltip)===null||o===void 0?void 0:o.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)}};z.elementDefinitions={"ft-ripple":Z,"ft-tooltip":Le,"ft-icon":ve,"ft-loader":zo,"ft-typography":oe};z.styles=[vc,rx,xo];z.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:z.labelsObserver.unobserve(e.target)}});ye([h({type:Boolean})],z.prototype,"primary",void 0);ye([h({type:Boolean})],z.prototype,"outlined",void 0);ye([h({type:Boolean})],z.prototype,"dense",void 0);ye([h({type:Boolean})],z.prototype,"round",void 0);ye([h({type:Boolean})],z.prototype,"disabled",void 0);ye([h()],z.prototype,"icon",void 0);ye([h()],z.prototype,"iconVariant",void 0);ye([h({type:Boolean})],z.prototype,"trailingIcon",void 0);ye([h()],z.prototype,"label",void 0);ye([h()],z.prototype,"type",void 0);ye([h()],z.prototype,"href",void 0);ye([h()],z.prototype,"target",void 0);ye([h({type:Boolean})],z.prototype,"loading",void 0);ye([h({attribute:"aria-label"})],z.prototype,"ariaLabel",void 0);ye([h()],z.prototype,"ariaHasPopup",void 0);ye([h({attribute:"aria-pressed"})],z.prototype,"ariaPressed",void 0);ye([h({attribute:"aria-expanded"})],z.prototype,"ariaExpanded",void 0);ye([h()],z.prototype,"tooltipPosition",void 0);ye([h({type:Boolean})],z.prototype,"hideTooltip",void 0);ye([h({type:Boolean})],z.prototype,"forceTooltip",void 0);ye([h({type:Boolean})],z.prototype,"activated",void 0);ye([M(".ft-button")],z.prototype,"button",void 0);ye([M(".ft-button--label")],z.prototype,"labelContainer",void 0);ye([k()],z.prototype,"hasTextContent",void 0);ye([M(".ft-button--label slot")],z.prototype,"slottedContent",void 0);ye([M("[part=tooltip]")],z.prototype,"tooltip",void 0)});var ox=u(()=>{"use strict"});var ix,nx=u(()=>{"use strict";vu();ix={"ft-button":z}});var sx=u(()=>{"use strict";C();nx();B(ix)});var Xt=u(()=>{"use strict";vu();Vo();ox();sx()});var be,Su,Pn=u(()=>{"use strict";L();C();Xt();be={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",x.borderRadiusS),desktopFiltersHeight:i.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:i.extend("--ft-search-input-background-color","",x.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",x.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",x.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",x.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",x.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",x.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",x.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",x.colorPrimary)},Su=O`
688
688
  * {
689
689
  box-sizing: border-box;
690
690
  ${w(Q.color,be.buttonColor)};
@@ -758,15 +758,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
758
758
  height: 20px;
759
759
  border-right: 1px solid ${be.colorOutline};
760
760
  }
761
- `});var ma,Su,ga=u(()=>{"use strict";L();C();ma={highlightBackgroundColor:i.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Su=O`
761
+ `});var ga,Cu,ya=u(()=>{"use strict";L();C();ga={highlightBackgroundColor:i.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Cu=O`
762
762
  .kwicmatch {
763
763
  font-weight: 700;
764
- background-color: ${ma.highlightBackgroundColor};
764
+ background-color: ${ga.highlightBackgroundColor};
765
765
  }
766
- `});var ya,Cu,ba=u(()=>{"use strict";L();C();ya={highlightBackgroundColor:i.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Cu=O`
766
+ `});var ba,Eu,xa=u(()=>{"use strict";L();C();ba={highlightBackgroundColor:i.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Eu=O`
767
767
  .kwicmatch {
768
768
  font-weight: 700;
769
- background-color: ${ya.highlightBackgroundColor};
769
+ background-color: ${ba.highlightBackgroundColor};
770
770
  }
771
771
 
772
772
  a {
@@ -777,11 +777,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
777
777
  a:focus {
778
778
  outline: revert;
779
779
  }
780
- `});function cx(t){var e;return((e=It(t))===null||e===void 0?void 0:e.openMode)===ns.EXTERNAL}function va(t,e){return cx(t)?It(t).originUrl:Ll(t,e)}function dx(t,e){return St(e&&cx(t)?"_blank":void 0)}var wu=u(()=>{"use strict";zt();In();C()});var Ho,ki,Sa,Ca,Ea,Pn,Nn=u(()=>{"use strict";Ho=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},ki=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Sa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e,composed:!0,bubbles:!0})}},Ca=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e,composed:!0,bubbles:!0})}},Ea=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o},composed:!0,bubbles:!0})}},Pn=class t extends Event{constructor(){super(t.eventName)}};Pn.eventName="search-context-clear-all-filters"});var hO,Au,_u=u(()=>{"use strict";L();hO={},Au=O`
781
- `});var px=u(()=>{"use strict"});var Xt,Li=u(()=>{"use strict";(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Xt||(Xt={}))});var mO,fx,hx=u(()=>{"use strict";C();mO={setRequest:(t,e)=>{t.request=e.payload}},fx=t=>Ar.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",recentQueries:[],paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0,propagatedFacets:[]},reducers:mO,deprecatedKeys:["locales"]})});var Oa,mx=u(()=>{"use strict";qt();Oa=class extends Xe{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((o,n)=>o.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),120*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),120*1e3)}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((o,n)=>o.localeCompare(n))}}).sort((r,o)=>r.key.localeCompare(o.key))}}});var gx,yx,Ii,ku=u(()=>{"use strict";Li();C();hx();zt();mx();Nn();qt();gx=t=>t.request.virtualField===uo.TITLE_ONLY&&t.request.scope===si.DOCUMENTS,yx=t=>t.request.keywordMatch==Br.MANDATORY,Ii=class t extends Eo{static build(e,r){return new t(fx(e.trim()||"context"),r)}constructor(e,r){super(),this.store=e,this.ignoreEmptyQuery=!1,this.canUpdateUiLocale=!1,this.openExternalDocumentInNewTab=!1,this.applyStickyFilters=!1,this.history=new Zs(this.store.actions.recentQueries),this.onNewNeededRequest=o=>{o==Xt.CLUSTERED_SEARCH&&this.launchSearch()},this.onStorageEvent=o=>{o.key===this.taruqaConfigStorageKey&&this.loadTaruqaTemplate()},this.loadTaruqaTemplate=()=>{var o;let n;if(Yi(D.getState().session,_e.DEBUG_USER)){let s=JSON.parse((o=window.localStorage.getItem(this.taruqaConfigStorageKey))!==null&&o!==void 0?o:"{}");n=s.overrideEnabled?s.template:void 0}this.updateSearchRequest({taruqaTemplateOverride:n,changedByConfiguration:!0})},this.updateLocales=(o=D.getState().availableContentLocales)=>{this.store.actions.locales(o),o.length>0&&this.forceContentLocale(this.store.getState().request.contentLocale)},this.searchDebouncer=new ie(100),this.launchSearch=o=>this.searchDebouncer.run(()=>this.fetchSearchData(o??this.buildSearchRequest())),this.buildSearchRequest=(o=this.store.getState())=>{var n;return{...o.request,facets:this.facetIds.map(s=>({id:s})),stickyFiltersId:this.applyStickyFilters?(n=D.getState().stickyFilters)===null||n===void 0?void 0:n.id:void 0}},this.suggestDebouncer=new ie(1e3),this.launchSuggest=o=>this.suggestDebouncer.run(()=>this.fetchSuggestData(o??this.buildSuggestRequest())),this.buildSuggestRequest=(o=this.store.getState())=>{var n,s;return{input:o.liveQuery,metadataFilters:o.request.metadataFilters,sort:(s=o.request.sort)!==null&&s!==void 0?s:[],sortId:o.request.sortId,contentLocale:o.request.contentLocale,scope:o.request.scope,keywordMatch:o.request.keywordMatch,stickyFiltersId:this.applyStickyFilters?(n=D.getState().stickyFilters)===null||n===void 0?void 0:n.id:void 0}},this.service=r??new Oa,this.searchWatcher=new _r(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=new _r(e,this.buildSuggestRequest,this.launchSuggest),this.localesWatcher=new _r(D,o=>o.availableContentLocales,this.updateLocales),this.stickyFiltersIdWatcher=new _r(D,o=>{var n;return(n=o.stickyFilters)===null||n===void 0?void 0:n.id},()=>{this.applyStickyFilters&&(this.launchSearch(),this.launchSuggest())})}async initService(){return this.updateLocales(),this.service.getConfiguration().then(e=>{this.store.actions.configuration(e),this.setSortId(this.store.getState().request.sortId)}),this.loadTaruqaTemplate(),this.launchSearch()}addListeners(){window.addEventListener("storage",this.onStorageEvent),D.addEventListener(pr.eventName,this.loadTaruqaTemplate),this.searchWatcher.watch(),this.suggestWatcher.watch(),this.localesWatcher.watch(),this.stickyFiltersIdWatcher.watch(),this.history.enable(D.getState().tenantId+"-ft-recent-queries")}removeListeners(){window.removeEventListener("storage",this.onStorageEvent),D.removeEventListener(pr.eventName,this.loadTaruqaTemplate),this.searchWatcher.stop(),this.suggestWatcher.stop(),this.localesWatcher.stop(),this.stickyFiltersIdWatcher.stop(),this.history.disable()}get taruqaConfigStorageKey(){return D.getState().tenantId+"-taruqa-experiment-conf"}updateSearchRequest(e,r=!1){let o=gt(this.store.getState().request);delete o.changedByConfiguration,this.store.actions.setRequest({...o,paging:{perPage:o.paging.perPage,page:r?1:o.paging.page},...e})}setQuery(e){this.updateSearchRequest({query:e},!0),this.setLiveQuery(e)}setContentLocale(e){var r;let o=this.store.getState().request.contentLocale;return e!==o&&(e=t.findKnownContentLocale(e,o),this.updateSearchRequest({contentLocale:e,metadataFilters:[]},!0),this.canUpdateUiLocale&&(!((r=D.getState().localesConfiguration)===null||r===void 0)&&r.searchLanguageSetsUiLanguage)&&e&&$o.requestUiLocaleUpdate(e,e)),e}static findKnownContentLocale(...e){let{availableContentLocales:r,localesConfiguration:o}=D.getState();if(r.length===0)return e[0];let n=a=>r.some(l=>l.lang==a);for(let a of e)if(n(a))return a;let s=o?.defaultLocales.defaultContentLocale;return s?`${s.lang}-${s.region}`:r[0].lang}forceContentLocale(e){this.updateSearchRequest({contentLocale:t.findKnownContentLocale(e)})}setPageSize(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,perPage:isNaN(e)?20:Sr(1,e,1e3)}})}setPageNumber(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,page:isNaN(e)?1:Math.max(1,e)}})}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.updateSearchRequest({sort:e},!0)}setSortId(e,r=!1){var o;let n=r?{changedByConfiguration:!0}:{};if(e==null||this.sortOptions.length==0)return this.updateSearchRequest({sortId:e,...n},!0),e;let s=(o=this.sortOptions.find(a=>a.id==e))!==null&&o!==void 0?o:this.sortOptions[0];return this.updateSearchRequest({sortId:s.id,...n},!0),s.id}setFilters(e){let r=e.filter(o=>!o.valueFilter||o.valueFilter.values.length>0);this.updateSearchRequest({metadataFilters:r},!0)}setClusterSortCriterion(e){this.updateSearchRequest({clusterSortCriterions:e})}setSearchInDocumentTitlesOnly(e){e?this.updateSearchRequest({virtualField:uo.TITLE_ONLY,scope:si.DOCUMENTS},!0):this.updateSearchRequest({virtualField:uo.EVERYWHERE,scope:si.DEFAULT},!0)}setKeywordMatch(e){this.updateSearchRequest({keywordMatch:e},!0)}setVirtualField(e){this.updateSearchRequest({virtualField:e},!0)}get searchInDocumentTitlesOnly(){return gx(this.store.getState())}get keywordMatch(){return yx(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Pn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let o=this.facetIds.filter(n=>n!=e);r&&o.push(r),this.facetIds=o}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(o=>o.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(o=>o.key)])]}set facetIds(e){let o=[...new Set(e)].map(n=>({id:n}));this.updateSearchRequest({facets:o})}addPropagatedFacet(e){let r=new Set(this.store.getState().propagatedFacets);r.add(e),this.store.actions.propagatedFacets([...r])}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},s=[...o.filter(a=>!a.valueFilter),...o.filter(a=>a.valueFilter&&a.key!==n.key),n];this.setFilters(s)}setDateFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},s=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==n.key),n];this.setFilters(s)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(o)}setRangeFilter(e,r,o){let n=this.store.getState().request.metadataFilters,s={key:e,rangeFilter:{from:r,to:o}},a=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==s.key),s];this.setFilters(a)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(o)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.updateSearchRequest({...e,facets:this.store.getState().request.facets},!0),this.setLiveQuery(e.query)}setScope(e){this.updateSearchRequest({scope:e})}setOtherQueryParams(e){this.updateSearchRequest({otherQueryParams:e})}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setCanUpdateUiLocale(e){this.canUpdateUiLocale=e}setApplyStickyFilters(e){this.applyStickyFilters=e,this.launchSearch(),this.launchSuggest()}addRecentQuery(e){this.history.addRecentQuery(e)}removeRecentQuery(e){this.history.removeRecentQuery(e)}async fetchSearchData(e){var r,o,n,s,a;if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),!!this.isRequestNeeded(Xt.CLUSTERED_SEARCH))try{if(this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{!((o=this.store.getState().results)===null||o===void 0)&&o.length||this.store.actions.results(void 0),this.cancelableSearch=ti(this.service.launchSearch(e));let l=await this.cancelableSearch;if(this.store.actions.announcements(l.announcements),l.paging.currentPage<=1)this.store.actions.results(l.results),this.store.actions.facets(l.facets),this.store.actions.spellcheck(l.spellcheck);else{let d=((s=this.store.getState().results)!==null&&s!==void 0?s:[]).concat(l.results);this.store.actions.results(d),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(l.paging.currentPage-1)*((a=e.paging.perPage)!==null&&a!==void 0?a:20)+1}`})}this.store.actions.paging(l.paging)}}catch(l){l instanceof or||(console.error(l),(n=this.errorHandler)===null||n===void 0||n.call(this,l))}}async fetchSuggestData(e){var r;try{if((r=this.cancelableSuggest)===null||r===void 0||r.cancel(),e.input.length<3){this.store.actions.suggestResults([]);return}this.cancelableSuggest=ti(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.suggestResults(o.suggestions)}catch(o){!(o instanceof or)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});var Lu,Tu,bx,Iu,gO,yO,Nt,Wo=u(()=>{"use strict";C();j();Li();ku();Lu=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Tu=class extends Er{constructor(e){super("register-ft-search-component",e)}},bx=Symbol("registerInterval"),Iu=Symbol("registerAttempts"),gO=40,yO=we(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(o){var n,s,a;super.willUpdate(o),o.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=o.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(o){this.clearStateManager(),this.stateManager=o,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(o.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Iu]=0,this.tryToRegisterToContext(),this[bx]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Iu]>gO?window.clearInterval(this[bx]):(this[Iu]++,this.dispatchEvent(new Tu({target:this,registrationId:this.searchRegistrationId})))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Lu([k()],e.prototype,"stateManager",void 0),Lu([k({hasChanged:lt})],e.prototype,"neededSearchRequests",void 0),Lu([h()],e.prototype,"searchRegistrationId",void 0),e}),Nt=class extends yO(bt){}});function Fn(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Dn(t){var e,r;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values,negative:(r=t.valueFilter)===null||r===void 0?void 0:r.negative}}var Pu=u(()=>{"use strict"});var wa,xx=u(()=>{"use strict";C();zt();qt();Pu();wa=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=([o,n])=>{if(!this.canSendEvent()||!o||!n)return;let s=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(s,o,n):this.sendDocumentSearchEvent(s,o,n)},this.eventsService=r??new ia,this.resultsWatcher=jc(e,o=>[o.results,o.paging],this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.eventsService.convertMapToAnalyticsDocument(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=D.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=D.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Fn(e.metadataFilters),facets:e.metadataFilters.map(s=>Dn(s))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r,o){if(e.metadataFilters.find(s=>{var a;return s.key==="ft:publicationId"&&((a=s.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(s)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==nr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.SEARCH_PAGE__SELECT,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:Fn(o.metadataFilters),facets:o.metadataFilters.map(a=>Dn(a))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(s)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==nr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:Fn(o.metadataFilters),facets:o.metadataFilters.map(a=>Dn(a))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(s)}convertDocument(e){switch(e.type){case nr.MAP:return{id:e.map.mapId,title:e.map.title,type:$r.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case nr.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:$r.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case nr.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:$r.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case nr.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:$r.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case nr.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:$r.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r;return(r=It(e))===null||r===void 0?void 0:r.originUrl}}});var ke,me,Nu=u(()=>{"use strict";L();j();C();_u();Wo();qt();xx();Nn();ke=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},me=class extends bt{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ii.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new wa(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.applyStickyFilters=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this._appIntegrationInfoReady=!1,this.disableAnalyticsEvents=!1,this.addStore(D)}render(){return b`
780
+ `});function ux(t){var e;return((e=Tt(t))===null||e===void 0?void 0:e.openMode)===ss.EXTERNAL}function Sa(t,e){return ux(t)?Tt(t).originUrl:Il(t,e)}function px(t,e){return Ct(e&&ux(t)?"_blank":void 0)}var Ru=u(()=>{"use strict";Vt();Tn();C()});var Ho,Li,Ca,Ea,Oa,Nn,Fn=u(()=>{"use strict";Ho=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Li=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Ca=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e,composed:!0,bubbles:!0})}},Ea=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e,composed:!0,bubbles:!0})}},Oa=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o},composed:!0,bubbles:!0})}},Nn=class t extends Event{constructor(){super(t.eventName)}};Nn.eventName="search-context-clear-all-filters"});var gO,_u,ku=u(()=>{"use strict";L();gO={},_u=O`
781
+ `});var hx=u(()=>{"use strict"});var Jt,Ii=u(()=>{"use strict";(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Jt||(Jt={}))});var yO,mx,gx=u(()=>{"use strict";C();yO={setRequest:(t,e)=>{t.request=e.payload}},mx=t=>Ar.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",recentQueries:[],paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0,propagatedFacets:[]},reducers:yO,deprecatedKeys:["locales"]})});var wa,yx=u(()=>{"use strict";Zt();wa=class extends Ye{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((o,n)=>o.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),120*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),120*1e3)}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((o,n)=>o.localeCompare(n))}}).sort((r,o)=>r.key.localeCompare(o.key))}}});var bx,xx,Ti,Lu=u(()=>{"use strict";Ii();C();gx();Vt();yx();Fn();Zt();bx=t=>t.request.virtualField===uo.TITLE_ONLY&&t.request.scope===ai.DOCUMENTS,xx=t=>t.request.keywordMatch==Br.MANDATORY,Ti=class t extends Eo{static build(e,r){return new t(mx(e.trim()||"context"),r)}constructor(e,r){super(),this.store=e,this.ignoreEmptyQuery=!1,this.canUpdateUiLocale=!1,this.openExternalDocumentInNewTab=!1,this.applyStickyFilters=!1,this.history=new Qs(this.store.actions.recentQueries),this.onNewNeededRequest=o=>{o==Jt.CLUSTERED_SEARCH&&this.launchSearch()},this.onStorageEvent=o=>{o.key===this.taruqaConfigStorageKey&&this.loadTaruqaTemplate()},this.loadTaruqaTemplate=()=>{var o;let n;if(Xi(D.getState().session,Re.DEBUG_USER)){let s=JSON.parse((o=window.localStorage.getItem(this.taruqaConfigStorageKey))!==null&&o!==void 0?o:"{}");n=s.overrideEnabled?s.template:void 0}this.updateSearchRequest({taruqaTemplateOverride:n,changedByConfiguration:!0})},this.updateLocales=(o=D.getState().availableContentLocales)=>{this.store.actions.locales(o),o.length>0&&this.forceContentLocale(this.store.getState().request.contentLocale)},this.searchDebouncer=new ie(100),this.launchSearch=o=>this.searchDebouncer.run(()=>this.fetchSearchData(o??this.buildSearchRequest())),this.buildSearchRequest=(o=this.store.getState())=>{var n;return{...o.request,facets:this.facetIds.map(s=>({id:s})),stickyFiltersId:this.applyStickyFilters?(n=D.getState().stickyFilters)===null||n===void 0?void 0:n.id:void 0}},this.suggestDebouncer=new ie(1e3),this.launchSuggest=o=>this.suggestDebouncer.run(()=>this.fetchSuggestData(o??this.buildSuggestRequest())),this.buildSuggestRequest=(o=this.store.getState())=>{var n,s;return{input:o.liveQuery,metadataFilters:o.request.metadataFilters,sort:(s=o.request.sort)!==null&&s!==void 0?s:[],sortId:o.request.sortId,contentLocale:o.request.contentLocale,scope:o.request.scope,keywordMatch:o.request.keywordMatch,stickyFiltersId:this.applyStickyFilters?(n=D.getState().stickyFilters)===null||n===void 0?void 0:n.id:void 0}},this.service=r??new wa,this.searchWatcher=new _r(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=new _r(e,this.buildSuggestRequest,this.launchSuggest),this.localesWatcher=new _r(D,o=>o.availableContentLocales,this.updateLocales),this.stickyFiltersIdWatcher=new _r(D,o=>{var n;return(n=o.stickyFilters)===null||n===void 0?void 0:n.id},()=>{this.applyStickyFilters&&(this.launchSearch(),this.launchSuggest())})}async initService(){return this.updateLocales(),this.service.getConfiguration().then(e=>{this.store.actions.configuration(e),this.setSortId(this.store.getState().request.sortId)}),this.loadTaruqaTemplate(),this.launchSearch()}addListeners(){window.addEventListener("storage",this.onStorageEvent),D.addEventListener(fr.eventName,this.loadTaruqaTemplate),this.searchWatcher.watch(),this.suggestWatcher.watch(),this.localesWatcher.watch(),this.stickyFiltersIdWatcher.watch(),this.history.enable(D.getState().tenantId+"-ft-recent-queries")}removeListeners(){window.removeEventListener("storage",this.onStorageEvent),D.removeEventListener(fr.eventName,this.loadTaruqaTemplate),this.searchWatcher.stop(),this.suggestWatcher.stop(),this.localesWatcher.stop(),this.stickyFiltersIdWatcher.stop(),this.history.disable()}get taruqaConfigStorageKey(){return D.getState().tenantId+"-taruqa-experiment-conf"}updateSearchRequest(e,r=!1){let o=gt(this.store.getState().request);delete o.changedByConfiguration,this.store.actions.setRequest({...o,paging:{perPage:o.paging.perPage,page:r?1:o.paging.page},...e})}setQuery(e){this.updateSearchRequest({query:e},!0),this.setLiveQuery(e)}setContentLocale(e){var r;let o=this.store.getState().request.contentLocale;return e!==o&&(e=t.findKnownContentLocale(e,o),this.updateSearchRequest({contentLocale:e,metadataFilters:[]},!0),this.canUpdateUiLocale&&(!((r=D.getState().localesConfiguration)===null||r===void 0)&&r.searchLanguageSetsUiLanguage)&&e&&$o.requestUiLocaleUpdate(e,e)),e}static findKnownContentLocale(...e){let{availableContentLocales:r,localesConfiguration:o}=D.getState();if(r.length===0)return e[0];let n=a=>r.some(l=>l.lang==a);for(let a of e)if(n(a))return a;let s=o?.defaultLocales.defaultContentLocale;return s?`${s.lang}-${s.region}`:r[0].lang}forceContentLocale(e){this.updateSearchRequest({contentLocale:t.findKnownContentLocale(e)})}setPageSize(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,perPage:isNaN(e)?20:Sr(1,e,1e3)}})}setPageNumber(e){let r=this.store.getState().request;this.updateSearchRequest({paging:{...r.paging,page:isNaN(e)?1:Math.max(1,e)}})}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.updateSearchRequest({sort:e},!0)}setSortId(e,r=!1){var o;let n=r?{changedByConfiguration:!0}:{};if(e==null||this.sortOptions.length==0)return this.updateSearchRequest({sortId:e,...n},!0),e;let s=(o=this.sortOptions.find(a=>a.id==e))!==null&&o!==void 0?o:this.sortOptions[0];return this.updateSearchRequest({sortId:s.id,...n},!0),s.id}setFilters(e){let r=e.filter(o=>!o.valueFilter||o.valueFilter.values.length>0);this.updateSearchRequest({metadataFilters:r},!0)}setClusterSortCriterion(e){this.updateSearchRequest({clusterSortCriterions:e})}setSearchInDocumentTitlesOnly(e){e?this.updateSearchRequest({virtualField:uo.TITLE_ONLY,scope:ai.DOCUMENTS},!0):this.updateSearchRequest({virtualField:uo.EVERYWHERE,scope:ai.DEFAULT},!0)}setKeywordMatch(e){this.updateSearchRequest({keywordMatch:e},!0)}setVirtualField(e){this.updateSearchRequest({virtualField:e},!0)}get searchInDocumentTitlesOnly(){return bx(this.store.getState())}get keywordMatch(){return xx(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Nn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let o=this.facetIds.filter(n=>n!=e);r&&o.push(r),this.facetIds=o}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(o=>o.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(o=>o.key)])]}set facetIds(e){let o=[...new Set(e)].map(n=>({id:n}));this.updateSearchRequest({facets:o})}addPropagatedFacet(e){let r=new Set(this.store.getState().propagatedFacets);r.add(e),this.store.actions.propagatedFacets([...r])}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},s=[...o.filter(a=>!a.valueFilter),...o.filter(a=>a.valueFilter&&a.key!==n.key),n];this.setFilters(s)}setDateFilter(e,r){let o=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},s=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==n.key),n];this.setFilters(s)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(o)}setRangeFilter(e,r,o){let n=this.store.getState().request.metadataFilters,s={key:e,rangeFilter:{from:r,to:o}},a=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==s.key),s];this.setFilters(a)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,o=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(o)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.updateSearchRequest({...e,facets:this.store.getState().request.facets},!0),this.setLiveQuery(e.query)}setScope(e){this.updateSearchRequest({scope:e})}setOtherQueryParams(e){this.updateSearchRequest({otherQueryParams:e})}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setCanUpdateUiLocale(e){this.canUpdateUiLocale=e}setApplyStickyFilters(e){this.applyStickyFilters=e,this.launchSearch(),this.launchSuggest()}addRecentQuery(e){this.history.addRecentQuery(e)}removeRecentQuery(e){this.history.removeRecentQuery(e)}async fetchSearchData(e){var r,o,n,s,a;if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),!!this.isRequestNeeded(Jt.CLUSTERED_SEARCH))try{if(this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{!((o=this.store.getState().results)===null||o===void 0)&&o.length||this.store.actions.results(void 0),this.cancelableSearch=ri(this.service.launchSearch(e));let l=await this.cancelableSearch;if(this.store.actions.announcements(l.announcements),l.paging.currentPage<=1)this.store.actions.results(l.results),this.store.actions.facets(l.facets),this.store.actions.spellcheck(l.spellcheck);else{let d=((s=this.store.getState().results)!==null&&s!==void 0?s:[]).concat(l.results);this.store.actions.results(d),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(l.paging.currentPage-1)*((a=e.paging.perPage)!==null&&a!==void 0?a:20)+1}`})}this.store.actions.paging(l.paging)}}catch(l){l instanceof ir||(console.error(l),(n=this.errorHandler)===null||n===void 0||n.call(this,l))}}async fetchSuggestData(e){var r;try{if((r=this.cancelableSuggest)===null||r===void 0||r.cancel(),e.input.length<3){this.store.actions.suggestResults([]);return}this.cancelableSuggest=ri(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.suggestResults(o.suggestions)}catch(o){!(o instanceof ir)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});var Iu,Pu,vx,Tu,bO,xO,Ft,Wo=u(()=>{"use strict";C();j();Ii();Lu();Iu=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Pu=class extends Er{constructor(e){super("register-ft-search-component",e)}},vx=Symbol("registerInterval"),Tu=Symbol("registerAttempts"),bO=40,xO=Oe(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(o){var n,s,a;super.willUpdate(o),o.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=o.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(o){this.clearStateManager(),this.stateManager=o,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(o.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Tu]=0,this.tryToRegisterToContext(),this[vx]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Tu]>bO?window.clearInterval(this[vx]):(this[Tu]++,this.dispatchEvent(new Pu({target:this,registrationId:this.searchRegistrationId})))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Iu([k()],e.prototype,"stateManager",void 0),Iu([k({hasChanged:lt})],e.prototype,"neededSearchRequests",void 0),Iu([h()],e.prototype,"searchRegistrationId",void 0),e}),Ft=class extends xO(bt){}});function Dn(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Mn(t){var e,r;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values,negative:(r=t.valueFilter)===null||r===void 0?void 0:r.negative}}var Nu=u(()=>{"use strict"});var Ra,Sx=u(()=>{"use strict";C();Vt();Zt();Nu();Ra=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=([o,n])=>{if(!this.canSendEvent()||!o||!n)return;let s=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(s,o,n):this.sendDocumentSearchEvent(s,o,n)},this.eventsService=r??new na,this.resultsWatcher=Kc(e,o=>[o.results,o.paging],this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.eventsService.convertMapToAnalyticsDocument(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=D.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=D.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Dn(e.metadataFilters),facets:e.metadataFilters.map(s=>Mn(s))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r,o){if(e.metadataFilters.find(s=>{var a;return s.key==="ft:publicationId"&&((a=s.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.totalClustersCount},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(s)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==sr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.SEARCH_PAGE__SELECT,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:Dn(o.metadataFilters),facets:o.metadataFilters.map(a=>Mn(a))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(s)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let o=this.store.getState().request,n;e.type==sr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let s={offline:!1,appVersion:this.appVersion,appName:this.appName,name:co.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:o.query,searchType:o.virtualField,lastUpdate:Dn(o.metadataFilters),facets:o.metadataFilters.map(a=>Mn(a))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(s)}convertDocument(e){switch(e.type){case sr.MAP:return{id:e.map.mapId,title:e.map.title,type:$r.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case sr.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:$r.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case sr.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:$r.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case sr.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:$r.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case sr.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:$r.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r;return(r=Tt(e))===null||r===void 0?void 0:r.originUrl}}});var Ae,he,Fu=u(()=>{"use strict";L();j();C();ku();Wo();Zt();Sx();Fn();Ae=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},he=class extends bt{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ti.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Ra(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.applyStickyFilters=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this._appIntegrationInfoReady=!1,this.disableAnalyticsEvents=!1,this.addStore(D)}render(){return b`
782
782
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click=${this.onResultClicked}
783
783
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
784
- `}willUpdate(e){super.willUpdate(e),e.has("_appIntegrationInfoReady")&&this._appIntegrationInfoReady&&this.eventManager.initAppInfo(),e.has("disableAnalyticsEvents")&&this.eventManager.setEnableAnalyticsEvents(!this.disableAnalyticsEvents),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("keywordMatch")&&this.stateManager.setKeywordMatch(this.keywordMatch),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("applyStickyFilters")&&this.stateManager.setApplyStickyFilters(this.applyStickyFilters),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),$o.knownContexts.register(this),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams),this.stateManager.addListeners()}disconnectedCallback(){super.disconnectedCallback(),$o.knownContexts.unregister(this),this.stateManager.removeListeners(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ca(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Ea(this.request,this.paging,this.spellcheckAutocorrect))}registerComponent(e){var r,o,n;if(e.stopPropagation(),((r=e.detail)===null||r===void 0?void 0:r.registrationId)==this.registrationId){let s=(n=(o=e.detail)===null||o===void 0?void 0:o.target)!==null&&n!==void 0?n:e.composedPath()[0];this.register(s)}}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Sa(e))}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};me.elementDefinitions={};me.styles=Au;ke([de({store:D.name})],me.prototype,"session",void 0);ke([h()],me.prototype,"query",void 0);ke([h()],me.prototype,"contentLocale",void 0);ke([kt()],me.prototype,"pageSize",void 0);ke([h({type:Boolean})],me.prototype,"searchInDocumentTitlesOnly",void 0);ke([h()],me.prototype,"keywordMatch",void 0);ke([h()],me.prototype,"scope",void 0);ke([h()],me.prototype,"virtualField",void 0);ke([h()],me.prototype,"registrationId",void 0);ke([h({type:Boolean})],me.prototype,"ignoreEmptyQuery",void 0);ke([h({type:Boolean})],me.prototype,"applyStickyFilters",void 0);ke([de({store:D.name})],me.prototype,"openExternalDocumentInNewTab",void 0);ke([ce([])],me.prototype,"filters",void 0);ke([h()],me.prototype,"sortId",void 0);ke([ce([])],me.prototype,"sort",void 0);ke([ce({})],me.prototype,"otherQueryParams",void 0);ke([de({store:"search"})],me.prototype,"request",void 0);ke([de({store:"search"})],me.prototype,"paging",void 0);ke([de({store:"search",selector:t=>t.spellcheck})],me.prototype,"spellcheckAutocorrect",void 0);ke([de({store:D.name,selector:t=>t.apiIntegrationIdentifier!==void 0&&t.apiIntegrationAppVersion!==void 0})],me.prototype,"_appIntegrationInfoReady",void 0);ke([h({attribute:!1})],me.prototype,"searchServiceProvider",void 0);ke([h({type:Boolean})],me.prototype,"disableAnalyticsEvents",void 0)});var vx,Sx=u(()=>{"use strict";Nu();vx={"ft-search-context":me}});var Cx=u(()=>{"use strict";C();Sx();B(vx)});var Ex={};G(Ex,{FtSearchContext:()=>me,FtSearchContextCssVariables:()=>hO,FtSearchStateManager:()=>Ii,convertMetadataFilterToAnalyticsFacet:()=>Dn,getAnalyticsLastUpdate:()=>Fn,keywordMatchSelector:()=>yx,searchInDocumentTitlesOnlySelector:()=>gx,styles:()=>Au});var Ox=u(()=>{"use strict";_u();px();Nu();ku();Pu();Cx()});var wx=u(()=>{"use strict"});var Pr,Fu=u(()=>{"use strict";Pt();Pr=fr.build("designedSearchInput")});var Ft,Du=u(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Ft||(Ft={}))});var Rx,Mu=u(()=>{"use strict";L();Rx=O`
784
+ `}willUpdate(e){super.willUpdate(e),e.has("_appIntegrationInfoReady")&&this._appIntegrationInfoReady&&this.eventManager.initAppInfo(),e.has("disableAnalyticsEvents")&&this.eventManager.setEnableAnalyticsEvents(!this.disableAnalyticsEvents),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("keywordMatch")&&this.stateManager.setKeywordMatch(this.keywordMatch),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("applyStickyFilters")&&this.stateManager.setApplyStickyFilters(this.applyStickyFilters),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),$o.knownContexts.register(this),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams),this.stateManager.addListeners()}disconnectedCallback(){super.disconnectedCallback(),$o.knownContexts.unregister(this),this.stateManager.removeListeners(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ea(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Oa(this.request,this.paging,this.spellcheckAutocorrect))}registerComponent(e){var r,o,n;if(e.stopPropagation(),((r=e.detail)===null||r===void 0?void 0:r.registrationId)==this.registrationId){let s=(n=(o=e.detail)===null||o===void 0?void 0:o.target)!==null&&n!==void 0?n:e.composedPath()[0];this.register(s)}}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ca(e))}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};he.elementDefinitions={};he.styles=_u;Ae([ce({store:D.name})],he.prototype,"session",void 0);Ae([h()],he.prototype,"query",void 0);Ae([h()],he.prototype,"contentLocale",void 0);Ae([Lt()],he.prototype,"pageSize",void 0);Ae([h({type:Boolean})],he.prototype,"searchInDocumentTitlesOnly",void 0);Ae([h()],he.prototype,"keywordMatch",void 0);Ae([h()],he.prototype,"scope",void 0);Ae([h()],he.prototype,"virtualField",void 0);Ae([h()],he.prototype,"registrationId",void 0);Ae([h({type:Boolean})],he.prototype,"ignoreEmptyQuery",void 0);Ae([h({type:Boolean})],he.prototype,"applyStickyFilters",void 0);Ae([ce({store:D.name})],he.prototype,"openExternalDocumentInNewTab",void 0);Ae([le([])],he.prototype,"filters",void 0);Ae([h()],he.prototype,"sortId",void 0);Ae([le([])],he.prototype,"sort",void 0);Ae([le({})],he.prototype,"otherQueryParams",void 0);Ae([ce({store:"search"})],he.prototype,"request",void 0);Ae([ce({store:"search"})],he.prototype,"paging",void 0);Ae([ce({store:"search",selector:t=>t.spellcheck})],he.prototype,"spellcheckAutocorrect",void 0);Ae([ce({store:D.name,selector:t=>t.apiIntegrationIdentifier!==void 0&&t.apiIntegrationAppVersion!==void 0})],he.prototype,"_appIntegrationInfoReady",void 0);Ae([h({attribute:!1})],he.prototype,"searchServiceProvider",void 0);Ae([h({type:Boolean})],he.prototype,"disableAnalyticsEvents",void 0)});var Cx,Ex=u(()=>{"use strict";Fu();Cx={"ft-search-context":he}});var Ox=u(()=>{"use strict";C();Ex();B(Cx)});var wx={};G(wx,{FtSearchContext:()=>he,FtSearchContextCssVariables:()=>gO,FtSearchStateManager:()=>Ti,convertMetadataFilterToAnalyticsFacet:()=>Mn,getAnalyticsLastUpdate:()=>Dn,keywordMatchSelector:()=>xx,searchInDocumentTitlesOnlySelector:()=>bx,styles:()=>_u});var Rx=u(()=>{"use strict";ku();hx();Fu();Lu();Nu();Ox()});var Ax=u(()=>{"use strict"});var Pr,Du=u(()=>{"use strict";St();Pr=Pt.build("designedSearchInput")});var Dt,Mu=u(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Dt||(Dt={}))});var _x,$u=u(()=>{"use strict";L();_x=O`
785
785
  .ft-size-watcher--pixel {
786
786
  width: 0;
787
787
  height: 0;
@@ -800,11 +800,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
800
800
  .ft-size-watcher--local .ft-size-watcher--watcher {
801
801
  width: 100%;
802
802
  }
803
- `});var Mn,$u,Ct,Bu=u(()=>{"use strict";L();j();C();Du();Mu();Mn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},$u=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Ct=class extends ${constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Ft.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ie}render(){return b`
803
+ `});var $n,Bu,Et,Uu=u(()=>{"use strict";L();j();C();Mu();$u();$n=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Bu=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Et=class extends ${constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Dt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ie}render(){return b`
804
804
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
805
805
  <div class="ft-size-watcher--watcher"></div>
806
806
  </div>
807
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Ft.S:this.size<976?this.category=Ft.M:this.size<1024?this.category=Ft.L:this.size<1440?this.category=Ft.XL:this.category=Ft.XXL,this.dispatchEvent(new $u(this.size,this.category)))},this.debounceTimeout)}};Ct.elementDefinitions={};Ct.styles=Rx;Mn([h({type:Number})],Ct.prototype,"debounceTimeout",void 0);Mn([h({type:Boolean})],Ct.prototype,"local",void 0);Mn([h({type:Number,reflect:!0})],Ct.prototype,"size",void 0);Mn([h({type:String,reflect:!0})],Ct.prototype,"category",void 0);Mn([M(".ft-size-watcher--watcher")],Ct.prototype,"watcher",void 0)});var Ax,_x=u(()=>{"use strict";Bu();Ax={"ft-size-watcher":Ct}});var kx=u(()=>{"use strict";C();_x();B(Ax)});var Lx=u(()=>{"use strict";Bu();Mu();Du();kx()});function Ra(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Ix(t){return Ra(t).split("|").pop()}function Tx(t){return Ra(t).split("|").join(" > ")}function Px(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Px(r,t.selected)),value:t.value}}function Nx(t){return yt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Uu(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Px(e,!1))}}function Fx(t){return yt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var zu=u(()=>{"use strict";C()});var $n,Dx,Vu=u(()=>{"use strict";L();C();Vo();Kt();$n={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",x.colorOnSurface),borderRadiusM:i.external(x.borderRadiusM,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),fontFamily:i.external(Pe.fontFamily,"Body2 typography"),fontSize:i.external(Pe.fontSize,"Body2 typography"),fontWeight:i.external(Pe.fontWeight,"Body2 typography"),letterSpacing:i.external(Pe.letterSpacing,"Body2 typography"),lineHeight:i.external(Pe.lineHeight,"Body2 typography"),textTransform:i.external(Pe.textTransform,"Body2 typography")},Dx=O`
807
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Dt.S:this.size<976?this.category=Dt.M:this.size<1024?this.category=Dt.L:this.size<1440?this.category=Dt.XL:this.category=Dt.XXL,this.dispatchEvent(new Bu(this.size,this.category)))},this.debounceTimeout)}};Et.elementDefinitions={};Et.styles=_x;$n([h({type:Number})],Et.prototype,"debounceTimeout",void 0);$n([h({type:Boolean})],Et.prototype,"local",void 0);$n([h({type:Number,reflect:!0})],Et.prototype,"size",void 0);$n([h({type:String,reflect:!0})],Et.prototype,"category",void 0);$n([M(".ft-size-watcher--watcher")],Et.prototype,"watcher",void 0)});var kx,Lx=u(()=>{"use strict";Uu();kx={"ft-size-watcher":Et}});var Ix=u(()=>{"use strict";C();Lx();B(kx)});var Tx=u(()=>{"use strict";Uu();$u();Mu();Ix()});function Aa(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Px(t){return Aa(t).split("|").pop()}function Nx(t){return Aa(t).split("|").join(" > ")}function Fx(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Fx(r,t.selected)),value:t.value}}function Dx(t){return yt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function zu(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Fx(e,!1))}}function Mx(t){return yt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Vu=u(()=>{"use strict";C()});var Bn,$x,Hu=u(()=>{"use strict";L();C();Vo();qt();Bn={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",x.colorOnSurface),borderRadiusM:i.external(x.borderRadiusM,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),fontFamily:i.external(Pe.fontFamily,"Body2 typography"),fontSize:i.external(Pe.fontSize,"Body2 typography"),fontWeight:i.external(Pe.fontWeight,"Body2 typography"),letterSpacing:i.external(Pe.letterSpacing,"Body2 typography"),lineHeight:i.external(Pe.lineHeight,"Body2 typography"),textTransform:i.external(Pe.textTransform,"Body2 typography")},$x=O`
808
808
  .ft-filter-level--container {
809
809
  display: flex;
810
810
  flex-direction: column;
@@ -819,14 +819,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
819
819
  flex-shrink: 0;
820
820
  text-decoration: none;
821
821
  position: relative;
822
- border-radius: ${$n.borderRadiusM};
822
+ border-radius: ${Bn.borderRadiusM};
823
823
  overflow: hidden;
824
824
  display: flex;
825
825
  align-items: center;
826
826
  padding: 4px 4px;
827
827
  gap: 4px;
828
828
  cursor: pointer;
829
- color: ${$n.colorOnSurface};
829
+ color: ${Bn.colorOnSurface};
830
830
  }
831
831
 
832
832
  .ft-filter-level--go-back:focus {
@@ -855,11 +855,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
855
855
  }
856
856
 
857
857
  ft-button {
858
- ${w(Q.color,$n.colorOnSurface)};
858
+ ${w(Q.color,Bn.colorOnSurface)};
859
859
  }
860
860
 
861
861
  ft-button.ft-filter-level--display-more {
862
- ${w(Q.color,$n.buttonMoreColor)};
862
+ ${w(Q.color,Bn.buttonMoreColor)};
863
863
  }
864
864
 
865
865
  ft-radio, ft-checkbox {
@@ -873,17 +873,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
873
873
 
874
874
  .ft-filter-level--no-values {
875
875
  margin: 10px 0;
876
- color: ${$n.colorOnSurfaceMedium};
876
+ color: ${Bn.colorOnSurfaceMedium};
877
877
  }
878
- `});var Et,Mx,Hu=u(()=>{"use strict";C();L();Ie();ot();Et={textColor:i.extend("--ft-checkbox-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",P.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",x.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",x.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",x.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",x.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",x.colorError)},Mx=O`
878
+ `});var Ot,Bx,Wu=u(()=>{"use strict";C();L();ke();rt();Ot={textColor:i.extend("--ft-checkbox-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",P.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",x.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",x.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",x.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",x.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",x.colorError)},Bx=O`
879
879
  * {
880
880
  box-sizing: border-box;
881
881
  }
882
882
 
883
883
  .ft-checkbox {
884
884
  box-sizing: border-box;
885
- color: ${Et.textColor};
886
- font-size: ${Et.fontSize};
885
+ color: ${Ot.textColor};
886
+ font-size: ${Ot.fontSize};
887
887
 
888
888
  display: inline-flex;
889
889
  align-items: center;
@@ -891,7 +891,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
891
891
  }
892
892
 
893
893
  .ft-checkbox--disabled {
894
- color: ${Et.disabledColor};
894
+ color: ${Ot.disabledColor};
895
895
  }
896
896
 
897
897
  input {
@@ -915,26 +915,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
915
915
 
916
916
  .ft-checkbox--box {
917
917
  display: flex;
918
- border: 2px solid ${Et.borderColor};
918
+ border: 2px solid ${Ot.borderColor};
919
919
  border-radius: 2px;
920
920
 
921
921
  width: 18px;
922
922
  height: 18px;
923
923
 
924
- color: ${Et.checkColor};
924
+ color: ${Ot.checkColor};
925
925
  }
926
926
 
927
927
 
928
928
  .ft-checkbox--checked .ft-checkbox--box,
929
929
  .ft-checkbox--indeterminate .ft-checkbox--box {
930
- border-color: ${Et.activeColor};
931
- background-color: ${Et.activeColor};
930
+ border-color: ${Ot.activeColor};
931
+ background-color: ${Ot.activeColor};
932
932
  }
933
933
 
934
934
  .ft-checkbox--disabled .ft-checkbox--box {
935
- border-color: ${Et.disabledColor};
935
+ border-color: ${Ot.disabledColor};
936
936
  background-color: transparent;
937
- color: ${Et.disabledColor};
937
+ color: ${Ot.disabledColor};
938
938
  }
939
939
 
940
940
  .ft-checkbox--checkmark {
@@ -955,16 +955,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
955
955
  }
956
956
 
957
957
  .ft-checkbox.ft-checkbox--error {
958
- color: ${Et.errorColor};
959
- ${w(re.color,Et.errorColor)};
958
+ color: ${Ot.errorColor};
959
+ ${w(re.color,Ot.errorColor)};
960
960
 
961
961
  .ft-checkbox--box {
962
- border-color: ${Et.errorColor};
962
+ border-color: ${Ot.errorColor};
963
963
  }
964
964
 
965
965
  &.ft-checkbox--checked, &.ft-checkbox--indeterminate {
966
966
  .ft-checkbox--box {
967
- background-color: ${Et.errorColor};
967
+ background-color: ${Ot.errorColor};
968
968
  }
969
969
  }
970
970
  }
@@ -977,7 +977,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
977
977
  .ft-checkbox ft-typography {
978
978
  padding-right: 2px;
979
979
  }
980
- `});var hr,Wu,Ue,Gu=u(()=>{"use strict";L();j();C();rt();In();ot();Ie();Hu();hr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Wu=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Ue=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1,this.ariaLabel=null}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 b`
980
+ `});var hr,Gu,Ue,ju=u(()=>{"use strict";L();j();C();tt();Tn();rt();ke();Wu();hr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Gu=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Ue=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1,this.ariaLabel=null}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 b`
981
981
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
982
982
  <ft-ripple part="checkbox-ripple"
983
983
  ?disabled=${this.disabled}
@@ -993,7 +993,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
993
993
  name="${this.name}"
994
994
  aria-checked="${this.indeterminate?"mixed":this.checked?"true":"false"}"
995
995
  role="checkbox"
996
- aria-label="${St(this.ariaLabel)}"
996
+ aria-label="${Ct(this.ariaLabel)}"
997
997
  .checked=${this.indeterminate?!1:this.checked}
998
998
  .indeterminate=${this.indeterminate}
999
999
  .disabled=${this.disabled}
@@ -1001,9 +1001,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1001
1001
  >
1002
1002
  </div>
1003
1003
  `}render(){return b`
1004
- <label class="${fe(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
1004
+ <label class="${pe(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
1005
1005
  ${this.renderBoxContainer()}
1006
- <ft-typography variant="${pe.body2}" part="checkbox-body">
1006
+ <ft-typography variant="${ue.body2}" part="checkbox-body">
1007
1007
  <slot @slotchange=${this.onSlotchange}></slot>
1008
1008
  </ft-typography>
1009
1009
  </label>
@@ -1012,7 +1012,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1012
1012
  <path class="ft-checkbox--checkmark-path" fill="none"
1013
1013
  d="${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}"></path>
1014
1014
  </svg>
1015
- `}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 Wu(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)}};Ue.elementDefinitions={"ft-ripple":Z,"ft-typography":oe};Ue.styles=Mx;hr([h()],Ue.prototype,"name",void 0);hr([h()],Ue.prototype,"value",void 0);hr([h({type:Boolean,reflect:!0})],Ue.prototype,"checked",void 0);hr([h({type:Boolean})],Ue.prototype,"indeterminate",void 0);hr([h({type:Boolean})],Ue.prototype,"disabled",void 0);hr([h({type:Boolean})],Ue.prototype,"error",void 0);hr([h({attribute:"aria-label"})],Ue.prototype,"ariaLabel",void 0);hr([M(".ft-checkbox")],Ue.prototype,"container",void 0);hr([M("ft-ripple")],Ue.prototype,"ripple",void 0);hr([M("input")],Ue.prototype,"input",void 0)});var $x=u(()=>{"use strict"});var Bx,Ux=u(()=>{"use strict";Gu();Bx={"ft-checkbox":Ue}});var zx=u(()=>{"use strict";C();Ux();B(Bx)});var Vx=u(()=>{"use strict";Gu();Hu();$x();zx()});var Zr,Hx,ju=u(()=>{"use strict";L();C();Ie();Zr={textColor:i.extend("--ft-radio-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-radio-font-size","",P.fontSize),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),borderColor:i.extend("--ft-radio-border-color","",x.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system")},Hx=O`
1015
+ `}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 Gu(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)}};Ue.elementDefinitions={"ft-ripple":Z,"ft-typography":oe};Ue.styles=Bx;hr([h()],Ue.prototype,"name",void 0);hr([h()],Ue.prototype,"value",void 0);hr([h({type:Boolean,reflect:!0})],Ue.prototype,"checked",void 0);hr([h({type:Boolean})],Ue.prototype,"indeterminate",void 0);hr([h({type:Boolean})],Ue.prototype,"disabled",void 0);hr([h({type:Boolean})],Ue.prototype,"error",void 0);hr([h({attribute:"aria-label"})],Ue.prototype,"ariaLabel",void 0);hr([M(".ft-checkbox")],Ue.prototype,"container",void 0);hr([M("ft-ripple")],Ue.prototype,"ripple",void 0);hr([M("input")],Ue.prototype,"input",void 0)});var Ux=u(()=>{"use strict"});var zx,Vx=u(()=>{"use strict";ju();zx={"ft-checkbox":Ue}});var Hx=u(()=>{"use strict";C();Vx();B(zx)});var Wx=u(()=>{"use strict";ju();Wu();Ux();Hx()});var Zr,Gx,Ku=u(()=>{"use strict";L();C();ke();Zr={textColor:i.extend("--ft-radio-text-color","",x.colorOnSurfaceHigh),fontSize:i.extend("--ft-radio-font-size","",P.fontSize),colorPrimary:i.external(x.colorPrimary,"Design system"),colorOnPrimary:i.external(x.colorOnPrimary,"Design system"),borderColor:i.extend("--ft-radio-border-color","",x.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system")},Gx=O`
1016
1016
  * {
1017
1017
  box-sizing: border-box;
1018
1018
  }
@@ -1101,8 +1101,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1101
1101
  .ft-radio ft-typography {
1102
1102
  padding-right: 2px;
1103
1103
  }
1104
- `});var Qr,Aa,ze,Ku=u(()=>{"use strict";L();j();C();rt();ot();Ie();Qs();ju();Qr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Aa=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ze=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return b`
1105
- <div class="${fe(this.radioClasses)}"
1104
+ `});var Qr,_a,ze,qu=u(()=>{"use strict";L();j();C();tt();rt();ke();Ys();Ku();Qr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},_a=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ze=class extends ${constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return b`
1105
+ <div class="${pe(this.radioClasses)}"
1106
1106
  @click=${this.onClick}>
1107
1107
  <div class="ft-radio--box-container">
1108
1108
  <ft-ripple
@@ -1122,12 +1122,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1122
1122
  >
1123
1123
  </div>
1124
1124
  <label for="radio-button" inert>
1125
- <ft-typography variant="${pe.body2}">
1125
+ <ft-typography variant="${ue.body2}">
1126
1126
  <slot></slot>
1127
1127
  </ft-typography>
1128
1128
  </label>
1129
1129
  </div>
1130
- `}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 Aa(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 Aa(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())}};ze.elementDefinitions={"ft-ripple":Z,"ft-typography":oe};ze.styles=Hx;Qr([h()],ze.prototype,"name",void 0);Qr([h()],ze.prototype,"value",void 0);Qr([h({type:Boolean,reflect:!0})],ze.prototype,"checked",void 0);Qr([h({attribute:"aria-checked",reflect:!0})],ze.prototype,"ariaChecked",void 0);Qr([h({type:Boolean})],ze.prototype,"disabled",void 0);Qr([M(".ft-radio")],ze.prototype,"container",void 0);Qr([M("ft-ripple")],ze.prototype,"ripple",void 0);Qr([M("input")],ze.prototype,"input",void 0)});var Wx=u(()=>{"use strict"});var Gx,qu=u(()=>{"use strict";L();Gx=O`
1130
+ `}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 _a(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 _a(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())}};ze.elementDefinitions={"ft-ripple":Z,"ft-typography":oe};ze.styles=Gx;Qr([h()],ze.prototype,"name",void 0);Qr([h()],ze.prototype,"value",void 0);Qr([h({type:Boolean,reflect:!0})],ze.prototype,"checked",void 0);Qr([h({attribute:"aria-checked",reflect:!0})],ze.prototype,"ariaChecked",void 0);Qr([h({type:Boolean})],ze.prototype,"disabled",void 0);Qr([M(".ft-radio")],ze.prototype,"container",void 0);Qr([M("ft-ripple")],ze.prototype,"ripple",void 0);Qr([M("input")],ze.prototype,"input",void 0)});var jx=u(()=>{"use strict"});var Kx,Zu=u(()=>{"use strict";L();Kx=O`
1131
1131
  :host {
1132
1132
  display: block;
1133
1133
  }
@@ -1135,12 +1135,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1135
1135
  :host(:focus-visible) {
1136
1136
  outline: none;
1137
1137
  }
1138
- `});var Bn,Ot,Zu=u(()=>{"use strict";C();j();L();qu();Bn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ot=class extends ${constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return b`
1138
+ `});var Un,wt,Qu=u(()=>{"use strict";C();j();L();Zu();Un=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},wt=class extends ${constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return b`
1139
1139
  <slot @slotchange=${this.onSlotChange}
1140
1140
  @change=${this.onChange}
1141
1141
  @keydown=${this.onKeyDown}
1142
1142
  ></slot>
1143
- `}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 o=this.currentSelectedIndex-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select(),this.radioButtons[o<0?this.radioButtons.length-1:o].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let o=this.currentSelectedIndex+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].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()}};Ot.elementDefinitions={};Ot.styles=Gx;Bn([h()],Ot.prototype,"name",void 0);Bn([h({reflect:!0,attribute:"role"})],Ot.prototype,"role",void 0);Bn([h({reflect:!0,attribute:"aria-labelledby"})],Ot.prototype,"ariaLabelledBy",void 0);Bn([ol()],Ot.prototype,"assignedElements",void 0);Bn([k()],Ot.prototype,"currentSelectedIndex",void 0)});var jx=u(()=>{"use strict"});var Kx,qx=u(()=>{"use strict";Ku();Zu();Kx={"ft-radio":ze,"ft-radio-group":Ot}});var Zx=u(()=>{"use strict";C();qx();B(Kx)});var Qu=u(()=>{"use strict";Ku();Wx();ju();Zu();jx();qu();Zx()});var He,Yu,Re,Qx=u(()=>{"use strict";L();j();Ut();C();Yt();Ie();ot();Tr();Vx();Qu();Vu();Pt();He=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Yu={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},Re=class extends qs(pt(vn($)),Yu){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 ie(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 b`
1143
+ `}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 o=this.currentSelectedIndex-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select(),this.radioButtons[o<0?this.radioButtons.length-1:o].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let o=this.currentSelectedIndex+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].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()}};wt.elementDefinitions={};wt.styles=Kx;Un([h()],wt.prototype,"name",void 0);Un([h({reflect:!0,attribute:"role"})],wt.prototype,"role",void 0);Un([h({reflect:!0,attribute:"aria-labelledby"})],wt.prototype,"ariaLabelledBy",void 0);Un([il()],wt.prototype,"assignedElements",void 0);Un([k()],wt.prototype,"currentSelectedIndex",void 0)});var qx=u(()=>{"use strict"});var Zx,Qx=u(()=>{"use strict";qu();Qu();Zx={"ft-radio":ze,"ft-radio-group":wt}});var Yx=u(()=>{"use strict";C();Qx();B(Zx)});var Yu=u(()=>{"use strict";qu();jx();Ku();Qu();qx();Zu();Yx()});var Go,Xu=u(()=>{"use strict";St();Go=Pt.build("designedFilterComponent")});var st,Ju,Ie,Xx=u(()=>{"use strict";L();j();zt();C();Xt();ke();rt();Tr();Wx();Yu();Hu();St();Xu();st=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ju={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},Ie=class extends Zs(pt(Sn($)),Ju){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.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new ie(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 b`
1144
1144
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1145
1145
  ${this.parent==null?null:b`
1146
1146
  <div tabindex="0"
@@ -1153,12 +1153,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1153
1153
  @click=${this.goBackOnClick}>
1154
1154
  <ft-ripple></ft-ripple>
1155
1155
  <ft-icon>thin_arrow_left</ft-icon>
1156
- <ft-typography variant="${pe.body2}">${this.parent.label}</ft-typography>
1156
+ <ft-typography variant="${ue.body2}">${this.parent.label}</ft-typography>
1157
1157
  </div>
1158
1158
  `}
1159
- ${this.filteredOptions.length===0&&this.noValuesLabel?b`
1160
- <ft-typography class="ft-filter-level--no-values" element="span" variant="${pe.body2}">
1161
- ${this.noValuesLabel}
1159
+ ${this.filteredOptions.length===0?b`
1160
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="${ue.body2}">
1161
+ ${Go.messages.noFilterValuesAvailable()}
1162
1162
  </ft-typography>
1163
1163
  `:_}
1164
1164
  ${ge(e,r=>r.value,r=>{var o;return b`
@@ -1182,7 +1182,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1182
1182
  dense trailingIcon
1183
1183
  part="controls display-more"
1184
1184
  @click=${()=>{this.emitAnalyticsAction("more-filters-button-pressed",{}),this.displayMore()}}>
1185
- ${this.moreValuesButtonLabel}
1185
+ ${Go.messages.displayMoreFilterValuesButton()}
1186
1186
  </ft-button>
1187
1187
  `:_}
1188
1188
  </div>
@@ -1208,7 +1208,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1208
1208
  @change=${r=>this.optionsChanged(r,e)}>
1209
1209
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1210
1210
  </ft-radio>
1211
- `}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)})}};Re.elementDefinitions={"ft-button":z,"ft-ripple":Z,"ft-typography":oe,"ft-checkbox":Ue,"ft-icon":ve,"ft-radio":ze};Re.styles=Dx;He([h({type:String})],Re.prototype,"filterId",void 0);He([h({type:Object})],Re.prototype,"parent",void 0);He([h({type:Array,hasChanged:lt})],Re.prototype,"options",void 0);He([h({type:Boolean})],Re.prototype,"multivalued",void 0);He([h({type:Boolean})],Re.prototype,"disabled",void 0);He([h({type:Boolean})],Re.prototype,"hideSelectedOptions",void 0);He([h({type:Boolean})],Re.prototype,"displayCount",void 0);He([h({type:Boolean})],Re.prototype,"preventNavigation",void 0);He([h({type:String})],Re.prototype,"filter",void 0);He([h({type:String})],Re.prototype,"moreValuesButtonLabel",void 0);He([h({type:String})],Re.prototype,"noValuesLabel",void 0);He([h()],Re.prototype,"filteredOptionsNumberAriaNotification",void 0);He([kt()],Re.prototype,"displayedValuesLimit",void 0);He([M(".ft-filter-level--container")],Re.prototype,"container",void 0);He([k()],Re.prototype,"radios",void 0);He([k()],Re.prototype,"displayedPages",void 0);He([k()],Re.prototype,"filteredOptions",void 0)});var at,Yx,_a=u(()=>{"use strict";L();C();Vo();at={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",x.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(x.colorSurface,"Design system")},Yx=O`
1211
+ `}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)})}};Ie.elementDefinitions={"ft-button":z,"ft-ripple":Z,"ft-typography":oe,"ft-checkbox":Ue,"ft-icon":ve,"ft-radio":ze};Ie.styles=$x;st([h({type:String})],Ie.prototype,"filterId",void 0);st([h({type:Object})],Ie.prototype,"parent",void 0);st([h({type:Array,hasChanged:lt})],Ie.prototype,"options",void 0);st([h({type:Boolean})],Ie.prototype,"multivalued",void 0);st([h({type:Boolean})],Ie.prototype,"disabled",void 0);st([h({type:Boolean})],Ie.prototype,"hideSelectedOptions",void 0);st([h({type:Boolean})],Ie.prototype,"displayCount",void 0);st([h({type:Boolean})],Ie.prototype,"preventNavigation",void 0);st([h({type:String})],Ie.prototype,"filter",void 0);st([h()],Ie.prototype,"filteredOptionsNumberAriaNotification",void 0);st([Lt()],Ie.prototype,"displayedValuesLimit",void 0);st([M(".ft-filter-level--container")],Ie.prototype,"container",void 0);st([k()],Ie.prototype,"radios",void 0);st([k()],Ie.prototype,"displayedPages",void 0);st([k()],Ie.prototype,"filteredOptions",void 0)});var at,Jx,ka=u(()=>{"use strict";L();C();Vo();at={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",x.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(x.colorSurface,"Design system")},Jx=O`
1212
1212
  .ft-snap-scroll {
1213
1213
  box-sizing: border-box;
1214
1214
  position: relative;
@@ -1333,7 +1333,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1333
1333
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1334
1334
  background-color: ${at.colorSurface};
1335
1335
  }
1336
- `});var mr,Xu,Fe,Ju=u(()=>{"use strict";L();j();C();Yt();rt();_a();mr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Xu=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Fe=class extends ${constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ie(200),this.updateScrollDebouncer=new ie(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&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=fe({"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":_o}),r=this.controls&&this.withScroll;return b`
1336
+ `});var mr,ep,Fe,tp=u(()=>{"use strict";L();j();C();Xt();tt();ka();mr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ep=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Fe=class extends ${constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ie(200),this.updateScrollDebouncer=new ie(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&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=pe({"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":_o}),r=this.controls&&this.withScroll;return b`
1337
1337
  <div part="container" class="${e}">
1338
1338
  <ft-button
1339
1339
  class="ft-snap-scroll--previous"
@@ -1357,7 +1357,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1357
1357
  @click=${this.next}
1358
1358
  ></ft-button>
1359
1359
  </div>
1360
- `}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 Xu(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,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.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(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Fe.elementDefinitions={"ft-button":z};Fe.styles=Yx;mr([h({type:Boolean})],Fe.prototype,"horizontal",void 0);mr([h({type:Boolean})],Fe.prototype,"hideScrollbar",void 0);mr([h({type:Boolean})],Fe.prototype,"controls",void 0);mr([h({type:Boolean})],Fe.prototype,"limitSize",void 0);mr([k()],Fe.prototype,"elements",void 0);mr([k()],Fe.prototype,"currentElement",void 0);mr([k()],Fe.prototype,"withScroll",void 0);mr([k()],Fe.prototype,"startReached",void 0);mr([k()],Fe.prototype,"endReached",void 0);mr([M(".ft-snap-scroll--content")],Fe.prototype,"contentSlot",void 0)});var Xx=u(()=>{"use strict"});var Jx,ev=u(()=>{"use strict";Ju();Jx={"ft-snap-scroll":Fe}});var tv=u(()=>{"use strict";C();ev();B(Jx)});var ka=u(()=>{"use strict";Ju();_a();Xx();tv()});var ht,rv,La=u(()=>{"use strict";L();C();Kt();Vo();ht={colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorSurface:i.external(x.colorSurface,"Design system"),transitionDuration:i.external(x.transitionDuration,"Design system"),transitionTimingFunction:i.external(x.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",x.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",P.fontSize,"16px")},rv=[Kr,vo,O`
1360
+ `}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 ep(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,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.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(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Fe.elementDefinitions={"ft-button":z};Fe.styles=Jx;mr([h({type:Boolean})],Fe.prototype,"horizontal",void 0);mr([h({type:Boolean})],Fe.prototype,"hideScrollbar",void 0);mr([h({type:Boolean})],Fe.prototype,"controls",void 0);mr([h({type:Boolean})],Fe.prototype,"limitSize",void 0);mr([k()],Fe.prototype,"elements",void 0);mr([k()],Fe.prototype,"currentElement",void 0);mr([k()],Fe.prototype,"withScroll",void 0);mr([k()],Fe.prototype,"startReached",void 0);mr([k()],Fe.prototype,"endReached",void 0);mr([M(".ft-snap-scroll--content")],Fe.prototype,"contentSlot",void 0)});var ev=u(()=>{"use strict"});var tv,rv=u(()=>{"use strict";tp();tv={"ft-snap-scroll":Fe}});var ov=u(()=>{"use strict";C();rv();B(tv)});var La=u(()=>{"use strict";tp();ka();ev();ov()});var ht,iv,Ia=u(()=>{"use strict";L();C();qt();Vo();ht={colorOutline:i.external(x.colorOutline,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),colorSurface:i.external(x.colorSurface,"Design system"),transitionDuration:i.external(x.transitionDuration,"Design system"),transitionTimingFunction:i.external(x.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",x.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",P.fontSize,"16px")},iv=[Kr,vo,O`
1361
1361
  :host {
1362
1362
  display: flex;
1363
1363
  max-height: 100%;
@@ -1474,25 +1474,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1474
1474
  slot:not([name]) {
1475
1475
  display: none;
1476
1476
  }
1477
- `]});var Se,ep,le,tp=u(()=>{"use strict";L();j();C();Ie();Qx();Yt();ka();La();Se=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ep=class extends CustomEvent{constructor(e){super("change",{detail:e})}},le=class extends qs($,Yu){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 ie(300),this.changeDebouncer=new ie(10),this.lastDispatchedValues=[]}get flatOptions(){return yt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return yt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return b`
1477
+ `]});var Te,rp,me,op=u(()=>{"use strict";L();j();C();ke();Xx();Xt();La();Ia();Xu();Te=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},rp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},me=class extends Zs($,Ju){constructor(){super(...arguments),this.id="",this.label="",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 ie(300),this.changeDebouncer=new ie(10),this.lastDispatchedValues=[]}get flatOptions(){return yt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return yt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=Go.messages.filterInputPlaceHolder(this.label);return b`
1478
1478
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1479
1479
  part="container">
1480
1480
  ${!this.label&&!e?null:b`
1481
1481
 
1482
1482
  <div class="ft-filter--header" part="header">
1483
1483
  <div class="filter-label" id="id-group-${this.id}">
1484
- <ft-typography class="ft-filter--label" variant="${pe.overline}" part="label">
1484
+ <ft-typography class="ft-filter--label" variant="${ue.overline}" part="label">
1485
1485
  ${this.label}
1486
1486
  </ft-typography>
1487
1487
  <slot name="label"></slot>
1488
1488
  </div>
1489
1489
  ${e&&!this.hideClearButton?b`
1490
1490
  <ft-button icon="close"
1491
- aria-label="${this.clearButtonLabel+" "+this.label}"
1491
+ aria-label="${Go.messages.clearFilterButton()+" "+this.label}"
1492
1492
  dense
1493
1493
  @click=${()=>{this.clear(),this.focusOnFirstOption()}}
1494
1494
  part="clear-button">
1495
- ${this.clearButtonLabel}
1495
+ ${Go.messages.clearFilterButton()}
1496
1496
  </ft-button>
1497
1497
  `:null}
1498
1498
  </div>
@@ -1542,7 +1542,6 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1542
1542
  filterId="${this.id}"
1543
1543
  .filter=${this.filter}
1544
1544
  .configuredAnalyticsActions=${this.configuredAnalyticsActions}
1545
- moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1546
1545
  ?multivalued=${this.multivalued}
1547
1546
  ?disabled=${this.disabled||e!=="ft-filter--level-center"}
1548
1547
  ?hideSelectedOptions=${this.raiseSelectedOptions}
@@ -1555,24 +1554,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1555
1554
  @display-level=${this.onDisplayLevel}
1556
1555
  part="values available-values"
1557
1556
  .exportpartsPrefixes=${["values","available-values"]}
1558
- noValuesLabel="${this.noValuesLabel}"
1559
1557
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
1560
1558
  ></ft-filter-level>
1561
- `}goBack(e){this.slideOut=e.detail.value,qi(()=>this.slideOut===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,qi(()=>this.slideIn===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnBackButton()})}focusOnFirstOption(){qi(()=>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 o=this.flatOptions.find(s=>s.value===e.detail.value);o.selected=!o.selected;let n=s=>{var a;s!==o&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;Le(this.lastDispatchedValues,e)||(this.dispatchEvent(new ep(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)}};le.elementDefinitions={"ft-button":z,"ft-filter-level":Re,"ft-snap-scroll":Fe,"ft-typography":oe};le.styles=rv;Se([h({type:String})],le.prototype,"id",void 0);Se([h({type:String})],le.prototype,"label",void 0);Se([h({type:String})],le.prototype,"filterPlaceHolder",void 0);Se([h({type:String})],le.prototype,"clearButtonLabel",void 0);Se([h({type:String})],le.prototype,"moreValuesButtonLabel",void 0);Se([h({type:String})],le.prototype,"noValuesLabel",void 0);Se([ce([])],le.prototype,"options",void 0);Se([h({type:Boolean})],le.prototype,"multivalued",void 0);Se([h({type:Boolean})],le.prototype,"disabled",void 0);Se([h({type:Boolean})],le.prototype,"raiseSelectedOptions",void 0);Se([h({type:Boolean})],le.prototype,"displayCount",void 0);Se([kt()],le.prototype,"displayedValuesLimit",void 0);Se([ce(void 0)],le.prototype,"filteredOptionsNumberAriaNotification",void 0);Se([h({type:Boolean})],le.prototype,"hideClearButton",void 0);Se([M(".ft-filter--slot")],le.prototype,"slotElement",void 0);Se([M(".ft-filter--container")],le.prototype,"container",void 0);Se([M(".ft-filter--values")],le.prototype,"valuesContainer",void 0);Se([M(".ft-filter--levels")],le.prototype,"levelsContainer",void 0);Se([k()],le.prototype,"lastLevelHasHiddenvalues",void 0);Se([M(".ft-filter--filter input")],le.prototype,"filterInput",void 0);Se([rl(".ft-filter--levels ft-filter-level")],le.prototype,"levels",void 0);Se([k()],le.prototype,"withScroll",void 0);Se([k()],le.prototype,"filter",void 0);Se([k()],le.prototype,"slideIn",void 0);Se([k()],le.prototype,"slideOut",void 0)});var ov=u(()=>{"use strict"});var Ti,wt,rp=u(()=>{"use strict";C();j();L();Ti=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},wt=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return b`
1559
+ `}goBack(e){this.slideOut=e.detail.value,Zi(()=>this.slideOut===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Zi(()=>this.slideIn===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnBackButton()})}focusOnFirstOption(){Zi(()=>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 o=this.flatOptions.find(s=>s.value===e.detail.value);o.selected=!o.selected;let n=s=>{var a;s!==o&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;_e(this.lastDispatchedValues,e)||(this.dispatchEvent(new rp(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)}};me.elementDefinitions={"ft-button":z,"ft-filter-level":Ie,"ft-snap-scroll":Fe,"ft-typography":oe};me.styles=iv;Te([h({type:String})],me.prototype,"id",void 0);Te([h({type:String})],me.prototype,"label",void 0);Te([le([])],me.prototype,"options",void 0);Te([h({type:Boolean})],me.prototype,"multivalued",void 0);Te([h({type:Boolean})],me.prototype,"disabled",void 0);Te([h({type:Boolean})],me.prototype,"raiseSelectedOptions",void 0);Te([h({type:Boolean})],me.prototype,"displayCount",void 0);Te([Lt()],me.prototype,"displayedValuesLimit",void 0);Te([le(void 0)],me.prototype,"filteredOptionsNumberAriaNotification",void 0);Te([h({type:Boolean})],me.prototype,"hideClearButton",void 0);Te([M(".ft-filter--slot")],me.prototype,"slotElement",void 0);Te([M(".ft-filter--container")],me.prototype,"container",void 0);Te([M(".ft-filter--values")],me.prototype,"valuesContainer",void 0);Te([M(".ft-filter--levels")],me.prototype,"levelsContainer",void 0);Te([k()],me.prototype,"lastLevelHasHiddenvalues",void 0);Te([M(".ft-filter--filter input")],me.prototype,"filterInput",void 0);Te([ol(".ft-filter--levels ft-filter-level")],me.prototype,"levels",void 0);Te([k()],me.prototype,"withScroll",void 0);Te([k()],me.prototype,"filter",void 0);Te([k()],me.prototype,"slideIn",void 0);Te([k()],me.prototype,"slideOut",void 0)});var nv=u(()=>{"use strict"});var Pi,Rt,ip=u(()=>{"use strict";C();j();L();Pi=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Rt=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return b`
1562
1560
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1563
- `}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}))}};wt.elementDefinitions={};Ti([h({type:String})],wt.prototype,"label",void 0);Ti([h({type:Object,converter:t=>t})],wt.prototype,"value",void 0);Ti([h({type:Boolean,reflect:!0})],wt.prototype,"selected",void 0);Ti([h({type:Object})],wt.prototype,"subOptions",void 0);Ti([ce({})],wt.prototype,"renderOption",void 0);Ti([M(".ft-filter-option--slot")],wt.prototype,"slotElement",void 0)});var iv=u(()=>{"use strict"});var nv,sv=u(()=>{"use strict";tp();rp();nv={"ft-filter":le,"ft-filter-option":wt}});var av=u(()=>{"use strict";C();sv();B(nv)});var lv=u(()=>{"use strict";Vu();tp();La();ov();rp();iv();av()});var cv,op=u(()=>{"use strict";L();cv=O`
1561
+ `}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}))}};Rt.elementDefinitions={};Pi([h({type:String})],Rt.prototype,"label",void 0);Pi([h({type:Object,converter:t=>t})],Rt.prototype,"value",void 0);Pi([h({type:Boolean,reflect:!0})],Rt.prototype,"selected",void 0);Pi([h({type:Object})],Rt.prototype,"subOptions",void 0);Pi([le({})],Rt.prototype,"renderOption",void 0);Pi([M(".ft-filter-option--slot")],Rt.prototype,"slotElement",void 0)});var sv=u(()=>{"use strict"});var av,lv=u(()=>{"use strict";op();ip();av={"ft-filter":me,"ft-filter-option":Rt}});var cv=u(()=>{"use strict";C();lv();B(av)});var dv=u(()=>{"use strict";Hu();op();Ia();nv();ip();sv();cv()});var uv,np=u(()=>{"use strict";L();uv=O`
1564
1562
  .ft-accordion {
1565
1563
  box-sizing: border-box;
1566
1564
  }
1567
- `});var dv,gr,ip=u(()=>{"use strict";L();j();C();op();dv=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},gr=class extends ${constructor(){super(...arguments),this.multi=!1}render(){return b`
1565
+ `});var pv,gr,sp=u(()=>{"use strict";L();j();C();np();pv=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},gr=class extends ${constructor(){super(...arguments),this.multi=!1}render(){return b`
1568
1566
  <div class="ft-accordion">
1569
1567
  <slot @activated=${this.onChange}></slot>
1570
1568
  </div>
1571
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};gr.elementDefinitions={};gr.styles=cv;dv([h({type:Boolean})],gr.prototype,"multi",void 0);dv([M("slot")],gr.prototype,"content",void 0)});var uv=u(()=>{"use strict"});var Go,pv,np=u(()=>{"use strict";L();C();Go={horizontalSpacing:i.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:i.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:i.external(x.colorOutline,"Design system"),backgroundColor:i.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},pv=O`
1569
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};gr.elementDefinitions={};gr.styles=uv;pv([h({type:Boolean})],gr.prototype,"multi",void 0);pv([M("slot")],gr.prototype,"content",void 0)});var fv=u(()=>{"use strict"});var jo,hv,ap=u(()=>{"use strict";L();C();jo={horizontalSpacing:i.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:i.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:i.external(x.colorOutline,"Design system"),backgroundColor:i.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},hv=O`
1572
1570
  .ft-accordion-item {
1573
1571
  display: flex;
1574
1572
  flex-direction: column;
1575
- background-color: ${Go.backgroundColor};
1573
+ background-color: ${jo.backgroundColor};
1576
1574
  }
1577
1575
 
1578
1576
  .ft-accordion-item--toggle {
@@ -1582,8 +1580,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1582
1580
  display: flex;
1583
1581
  align-items: center;
1584
1582
  cursor: pointer;
1585
- padding: ${Go.verticalSpacing} ${Go.horizontalSpacing};
1586
- gap: calc(${Go.horizontalSpacing} / 2);
1583
+ padding: ${jo.verticalSpacing} ${jo.horizontalSpacing};
1584
+ gap: calc(${jo.horizontalSpacing} / 2);
1587
1585
  outline: none;
1588
1586
  }
1589
1587
 
@@ -1608,13 +1606,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1608
1606
  .ft-accordion-item--active .ft-accordion-item--content {
1609
1607
  height: initial;
1610
1608
  overflow: visible;
1611
- padding: ${Go.verticalSpacing} ${Go.horizontalSpacing};
1609
+ padding: ${jo.verticalSpacing} ${jo.horizontalSpacing};
1612
1610
  }
1613
1611
 
1614
1612
  .ft-accordion-item--separator {
1615
- border-bottom: 1px solid ${Go.colorOutline};
1613
+ border-bottom: 1px solid ${jo.colorOutline};
1616
1614
  }
1617
- `});var Ia,Dt,sp=u(()=>{"use strict";L();j();C();ot();Ie();Tr();np();Ia=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Dt=class extends ${constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return b`
1615
+ `});var Ta,Mt,lp=u(()=>{"use strict";L();j();C();rt();ke();Tr();ap();Ta=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Mt=class extends ${constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return b`
1618
1616
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1619
1617
  <div class="ft-accordion-item--toggle"
1620
1618
  part="toggle"
@@ -1644,7 +1642,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1644
1642
  </div>
1645
1643
  <div class="ft-accordion-item--separator" part="separator"></div>
1646
1644
  </div>
1647
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Dt.elementDefinitions={"ft-ripple":Z,"ft-typography":oe,"ft-icon":ve};Dt.styles=pv;Ia([h()],Dt.prototype,"icon",void 0);Ia([h()],Dt.prototype,"iconVariant",void 0);Ia([h()],Dt.prototype,"label",void 0);Ia([h({type:Boolean,reflect:!0})],Dt.prototype,"active",void 0)});var fv=u(()=>{"use strict"});var hv,mv=u(()=>{"use strict";ip();sp();hv={"ft-accordion":gr,"ft-accordion-item":Dt}});var gv=u(()=>{"use strict";C();mv();B(hv)});var yv=u(()=>{"use strict";ip();op();uv();sp();np();fv();gv()});var bv,We,xv,ap,vv,Sv,lp=u(()=>{"use strict";L();C();kr();Kt();Ai();Yt();bv=i.extend("--ft-chip-color","",x.colorOnSurface),We={backgroundColor:i.extend("--ft-chip-background-color","",x.colorSurface),color:bv,fontSize:i.extend("--ft-chip-font-size","",Pe.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",Pe.fontWeight),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",bv),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:i.extend("--ft-chip-border-color","",x.colorOutline),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},xv=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",x.colorOnPrimary)),ap={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",x.colorPrimary)),color:xv,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",xv)},vv={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Sv=[xo,O`
1645
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Mt.elementDefinitions={"ft-ripple":Z,"ft-typography":oe,"ft-icon":ve};Mt.styles=hv;Ta([h()],Mt.prototype,"icon",void 0);Ta([h()],Mt.prototype,"iconVariant",void 0);Ta([h()],Mt.prototype,"label",void 0);Ta([h({type:Boolean,reflect:!0})],Mt.prototype,"active",void 0)});var mv=u(()=>{"use strict"});var gv,yv=u(()=>{"use strict";sp();lp();gv={"ft-accordion":gr,"ft-accordion-item":Mt}});var bv=u(()=>{"use strict";C();yv();B(gv)});var xv=u(()=>{"use strict";sp();np();fv();lp();ap();mv();bv()});var vv,He,Sv,cp,Cv,Ev,dp=u(()=>{"use strict";L();C();kr();qt();_i();Xt();vv=i.extend("--ft-chip-color","",x.colorOnSurface),He={backgroundColor:i.extend("--ft-chip-background-color","",x.colorSurface),color:vv,fontSize:i.extend("--ft-chip-font-size","",Pe.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",Pe.fontWeight),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",vv),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:i.extend("--ft-chip-border-color","",x.colorOutline),opacityDisabled:i.external(x.colorOpacityDisabled,"Design system")},Sv=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",x.colorOnPrimary)),cp={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",x.colorPrimary)),color:Sv,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",Sv)},Cv={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Ev=[xo,O`
1648
1646
  :host {
1649
1647
  display: inline-block;
1650
1648
  max-width: 100%;
@@ -1660,21 +1658,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1660
1658
  box-sizing: border-box;
1661
1659
  pointer-events: auto;
1662
1660
 
1663
- --chip-internal-font-size: ${We.fontSize};
1664
- --chip-internal-font-weight: ${We.fontWeight};
1661
+ --chip-internal-font-size: ${He.fontSize};
1662
+ --chip-internal-font-weight: ${He.fontWeight};
1665
1663
  --chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
1666
- ${w(nt.size,We.iconSize)};
1667
- --chip-internal-vertical-padding: ${We.verticalPadding};
1668
- --chip-internal-horizontal-padding: ${We.horizontalPadding};
1664
+ ${w(it.size,He.iconSize)};
1665
+ --chip-internal-vertical-padding: ${He.verticalPadding};
1666
+ --chip-internal-horizontal-padding: ${He.horizontalPadding};
1669
1667
  --chip-internal-icon-padding: 3px;
1670
- --chip-internal-content-height: max(var(--chip-internal-line-height), ${We.iconSize});
1668
+ --chip-internal-content-height: max(var(--chip-internal-line-height), ${He.iconSize});
1671
1669
 
1672
- border: 1px solid ${We.borderColor};
1673
- color: ${We.color};
1674
- ${w(re.color,We.rippleColor)};
1675
- border-radius: var(${eo(We.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
1670
+ border: 1px solid ${He.borderColor};
1671
+ color: ${He.color};
1672
+ ${w(re.color,He.rippleColor)};
1673
+ border-radius: var(${eo(He.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
1676
1674
  padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
1677
- background-color: ${We.backgroundColor};
1675
+ background-color: ${He.backgroundColor};
1678
1676
  line-height: var(--chip-internal-content-height);
1679
1677
  }
1680
1678
 
@@ -1684,28 +1682,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1684
1682
 
1685
1683
  .ft-chip--dense {
1686
1684
  --chip-internal-icon-padding: 3px;
1687
- --chip-internal-vertical-padding: ${vv.verticalPadding};
1688
- --chip-internal-horizontal-padding: ${vv.horizontalPadding};
1685
+ --chip-internal-vertical-padding: ${Cv.verticalPadding};
1686
+ --chip-internal-horizontal-padding: ${Cv.horizontalPadding};
1689
1687
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
1690
1688
  }
1691
1689
 
1692
1690
  .ft-chip--no-content {
1693
- --chip-internal-horizontal-padding: ${We.horizontalPadding.get(O`var(--chip-internal-vertical-padding)`)};
1691
+ --chip-internal-horizontal-padding: ${He.horizontalPadding.get(O`var(--chip-internal-vertical-padding)`)};
1694
1692
  }
1695
1693
 
1696
1694
  .ft-chip--disabled {
1697
1695
  cursor: default;
1698
1696
  pointer-events: none;
1699
1697
  filter: grayscale(1);
1700
- opacity: ${We.opacityDisabled};
1698
+ opacity: ${He.opacityDisabled};
1701
1699
  }
1702
1700
 
1703
1701
  .ft-chip--highlighted {
1704
1702
  border: none;
1705
1703
  padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
1706
- background-color: ${ap.backgroundColor};
1707
- ${w(re.color,ap.rippleColor)};
1708
- color: ${ap.color};
1704
+ background-color: ${cp.backgroundColor};
1705
+ ${w(re.color,cp.rippleColor)};
1706
+ color: ${cp.color};
1709
1707
  }
1710
1708
 
1711
1709
  .ft-chip--clickable {
@@ -1736,7 +1734,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1736
1734
  }
1737
1735
 
1738
1736
  .ft-chip--icon-button {
1739
- ${w(Q.iconSize,We.iconSize)};
1737
+ ${w(Q.iconSize,He.iconSize)};
1740
1738
  ${w(Q.horizontalPadding,"var(--chip-internal-icon-padding)")};
1741
1739
  ${w(Q.verticalPadding,"var(--chip-internal-icon-padding)")};
1742
1740
  margin: calc((-1) * var(--chip-internal-icon-padding));
@@ -1784,8 +1782,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1784
1782
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1785
1783
  order: -1;
1786
1784
  }
1787
- `]});var et,Ta,Ee,cp=u(()=>{"use strict";L();j();rt();C();ot();Ie();Tr();lp();Yt();et=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ta=class extends CustomEvent{constructor(){super("icon-click")}},Ee=class extends ${constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.accessibleLabelOnIcon=!1,this.icon=void 0,this.trailingIcon=!1}render(){var e;let r={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":_o};return b`
1788
- <div class="${fe(r)}"
1785
+ `]});var Je,Pa,Ce,up=u(()=>{"use strict";L();j();tt();C();rt();ke();Tr();dp();Xt();Je=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Pa=class extends CustomEvent{constructor(){super("icon-click")}},Ce=class extends ${constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.accessibleLabelOnIcon=!1,this.icon=void 0,this.trailingIcon=!1}render(){var e;let r={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":_o};return b`
1786
+ <div class="${pe(r)}"
1789
1787
  aria-label="${this.labelOnIconOnly?_:this.getLabel()}"
1790
1788
  tabindex="${this.interactionsOnChip?0:-1}"
1791
1789
  @keyup=${this.onKeyUp}
@@ -1812,7 +1810,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1812
1810
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1813
1811
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
1814
1812
  </div>
1815
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ta))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ta))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return rs(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ee.elementDefinitions={"ft-ripple":Z,"ft-typography":oe,"ft-icon":ve,"ft-button":z};Ee.styles=Sv;et([h({type:Boolean})],Ee.prototype,"highlighted",void 0);et([h({type:Boolean})],Ee.prototype,"removable",void 0);et([h({type:Boolean})],Ee.prototype,"disabled",void 0);et([h({type:Boolean})],Ee.prototype,"clickable",void 0);et([h({type:Boolean})],Ee.prototype,"iconClickable",void 0);et([h({type:Boolean})],Ee.prototype,"dense",void 0);et([h({type:Boolean})],Ee.prototype,"multiLine",void 0);et([h()],Ee.prototype,"label",void 0);et([h()],Ee.prototype,"iconLabel",void 0);et([h({type:Boolean})],Ee.prototype,"hideIconTooltip",void 0);et([h({type:Boolean})],Ee.prototype,"accessibleLabelOnIcon",void 0);et([h()],Ee.prototype,"icon",void 0);et([h()],Ee.prototype,"iconVariant",void 0);et([h({type:Boolean})],Ee.prototype,"trailingIcon",void 0);et([h()],Ee.prototype,"typographyVariant",void 0);et([M("ft-typography slot")],Ee.prototype,"slottedContent",void 0)});var Cv=u(()=>{"use strict"});var Ev,Ov=u(()=>{"use strict";cp();Ev={"ft-chip":Ee}});var wv=u(()=>{"use strict";C();Ov();B(Ev)});var dp=u(()=>{"use strict";cp();lp();Cv();wv()});var ne,Rv,Un=u(()=>{"use strict";L();C();Kt();ne={fontSize:i.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:i.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:i.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:i.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:i.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:i.extend("--ft-input-label-border-color","",x.colorOutline),textColor:i.extend("--ft-input-label-text-color","",x.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",x.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",x.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",x.borderRadiusS),colorError:i.external(x.colorError,"Design system")},Rv=O`
1813
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Pa))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Pa))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return os(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ce.elementDefinitions={"ft-ripple":Z,"ft-typography":oe,"ft-icon":ve,"ft-button":z};Ce.styles=Ev;Je([h({type:Boolean})],Ce.prototype,"highlighted",void 0);Je([h({type:Boolean})],Ce.prototype,"removable",void 0);Je([h({type:Boolean})],Ce.prototype,"disabled",void 0);Je([h({type:Boolean})],Ce.prototype,"clickable",void 0);Je([h({type:Boolean})],Ce.prototype,"iconClickable",void 0);Je([h({type:Boolean})],Ce.prototype,"dense",void 0);Je([h({type:Boolean})],Ce.prototype,"multiLine",void 0);Je([h()],Ce.prototype,"label",void 0);Je([h()],Ce.prototype,"iconLabel",void 0);Je([h({type:Boolean})],Ce.prototype,"hideIconTooltip",void 0);Je([h({type:Boolean})],Ce.prototype,"accessibleLabelOnIcon",void 0);Je([h()],Ce.prototype,"icon",void 0);Je([h()],Ce.prototype,"iconVariant",void 0);Je([h({type:Boolean})],Ce.prototype,"trailingIcon",void 0);Je([h()],Ce.prototype,"typographyVariant",void 0);Je([M("ft-typography slot")],Ce.prototype,"slottedContent",void 0)});var Ov=u(()=>{"use strict"});var wv,Rv=u(()=>{"use strict";up();wv={"ft-chip":Ce}});var Av=u(()=>{"use strict";C();Rv();B(wv)});var pp=u(()=>{"use strict";up();dp();Ov();Av()});var ne,_v,zn=u(()=>{"use strict";L();C();qt();ne={fontSize:i.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:i.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:i.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:i.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:i.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:i.extend("--ft-input-label-border-color","",x.colorOutline),textColor:i.extend("--ft-input-label-text-color","",x.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",x.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",x.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",x.borderRadiusS),colorError:i.external(x.colorError,"Design system")},_v=O`
1816
1814
  .ft-input-label {
1817
1815
  position: absolute;
1818
1816
  inset: 0;
@@ -1906,8 +1904,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1906
1904
  border-radius: ${ne.borderRadius};
1907
1905
  top: calc((${ut.lineHeight} / -2) + 2px);
1908
1906
  }
1909
- `});var Av,jo,_v=u(()=>{"use strict";L();j();Gs();rt();C();Av=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},jo=class extends ${constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return b`
1910
- <div class="${fe(this.inputLabelClasses)}">
1907
+ `});var kv,Ko,Lv=u(()=>{"use strict";L();j();js();tt();C();kv=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ko=class extends ${constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return b`
1908
+ <div class="${pe(this.inputLabelClasses)}">
1911
1909
  ${wo(this.text,()=>b`
1912
1910
  <div class="ft-input-label--text ft-typography--caption">
1913
1911
  <label class="ft-input-label--floating-text">${this.text}</label>
@@ -1915,7 +1913,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1915
1913
  </div>
1916
1914
  `)}
1917
1915
  </div>
1918
- `}};jo.elementDefinitions={};Av([h({type:String})],jo.prototype,"text",void 0);Av([h({type:Boolean})],jo.prototype,"raised",void 0)});var up,Jt,pp=u(()=>{"use strict";j();Kt();Un();_v();up=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Jt=class extends jo{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Jt.elementDefinitions={};Jt.styles=[Kr,Rv];up([h({type:Boolean})],Jt.prototype,"outlined",void 0);up([h({type:Boolean})],Jt.prototype,"error",void 0);up([h({type:Boolean})],Jt.prototype,"disabled",void 0)});var kv=u(()=>{"use strict"});var Lv,Iv=u(()=>{"use strict";pp();Lv={"ft-input-label":Jt}});var Tv=u(()=>{"use strict";C();Iv();B(Lv)});var Pv=u(()=>{"use strict";pp();Un();kv();Tv()});var J,Nv,zn=u(()=>{"use strict";L();C();Un();Kt();kr();Ai();J={labelSize:i.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:i.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:i.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:i.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:i.extend("--ft-select-selected-option-color","",x.colorOnSurface),helperColor:i.extend("--ft-select-helper-color","",x.colorOnSurfaceMedium),optionsColor:i.extend("--ft-select-options-color","",x.colorOnSurface),optionsZIndex:i.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:i.extend("--ft-select-background-color","",x.colorSurface),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),borderRadiusS:i.external(x.borderRadiusS,"Design system"),elevation02:i.external(x.elevation02,"Design system"),colorError:i.external(x.colorError,"Design system")},Nv=O`
1916
+ `}};Ko.elementDefinitions={};kv([h({type:String})],Ko.prototype,"text",void 0);kv([h({type:Boolean})],Ko.prototype,"raised",void 0)});var fp,er,hp=u(()=>{"use strict";j();qt();zn();Lv();fp=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},er=class extends Ko{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};er.elementDefinitions={};er.styles=[Kr,_v];fp([h({type:Boolean})],er.prototype,"outlined",void 0);fp([h({type:Boolean})],er.prototype,"error",void 0);fp([h({type:Boolean})],er.prototype,"disabled",void 0)});var Iv=u(()=>{"use strict"});var Tv,Pv=u(()=>{"use strict";hp();Tv={"ft-input-label":er}});var Nv=u(()=>{"use strict";C();Pv();B(Tv)});var Fv=u(()=>{"use strict";hp();zn();Iv();Nv()});var J,Dv,Vn=u(()=>{"use strict";L();C();zn();qt();kr();_i();J={labelSize:i.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:i.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:i.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:i.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:i.extend("--ft-select-selected-option-color","",x.colorOnSurface),helperColor:i.extend("--ft-select-helper-color","",x.colorOnSurfaceMedium),optionsColor:i.extend("--ft-select-options-color","",x.colorOnSurface),optionsZIndex:i.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:i.extend("--ft-select-background-color","",x.colorSurface),colorOnSurfaceDisabled:i.external(x.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),borderRadiusS:i.external(x.borderRadiusS,"Design system"),elevation02:i.external(x.elevation02,"Design system"),colorError:i.external(x.colorError,"Design system")},Dv=O`
1919
1917
  *:focus {
1920
1918
  outline: none;
1921
1919
  }
@@ -1972,7 +1970,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1972
1970
  ${w(ne.verticalSpacing,J.verticalSpacing)};
1973
1971
  ${w(ne.horizontalSpacing,J.horizontalSpacing)};
1974
1972
  ${w(ne.backgroundColor,J.backgroundColor)};
1975
- ${w(ne.labelMaxWidth,`calc(100% - ${nt.size} - 8px)`)};
1973
+ ${w(ne.labelMaxWidth,`calc(100% - ${it.size} - 8px)`)};
1976
1974
  }
1977
1975
 
1978
1976
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
@@ -1991,8 +1989,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
1991
1989
  overflow: hidden;
1992
1990
  white-space: nowrap;
1993
1991
  text-overflow: ellipsis;
1994
- ${w(ur.fontSize,J.selectedOptionSize)};
1995
- ${w(ur.lineHeight,J.selectedOptionSize)};
1992
+ ${w(pr.fontSize,J.selectedOptionSize)};
1993
+ ${w(pr.lineHeight,J.selectedOptionSize)};
1996
1994
  }
1997
1995
 
1998
1996
  .ft-select--in-error .ft-select--selected-option {
@@ -2051,7 +2049,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2051
2049
  .ft-select:not(.ft-select--has-option-selected) .ft-select--selected-option {
2052
2050
  opacity: 0;
2053
2051
  }
2054
- `});var Fv,Dv=u(()=>{"use strict";kr();C();zn();L();Fv=O`
2052
+ `});var Mv,$v=u(()=>{"use strict";kr();C();Vn();L();Mv=O`
2055
2053
  .ft-select--option {
2056
2054
  ${w(re.opacityContentOnSurfaceHover,"0.08")};
2057
2055
  ${w(re.opacityContentOnSurfacePressed,"0.04")};
@@ -2078,8 +2076,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2078
2076
  overflow: hidden;
2079
2077
  }
2080
2078
 
2081
- `});var Vn,tt,Mv=u(()=>{"use strict";C();ot();Ie();L();rt();j();Dv();Vn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},tt=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var e,r;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return b`
2082
- <div class="${fe(o)}"
2079
+ `});var Hn,et,Bv=u(()=>{"use strict";C();rt();ke();L();tt();j();$v();Hn=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},et=class extends ${constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var e,r;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return b`
2080
+ <div class="${pe(o)}"
2083
2081
  part="option option-${(r=(e=this.value)===null||e===void 0?void 0:e.toString())===null||r===void 0?void 0:r.replace(/[^\w-]/g,"")}"
2084
2082
  tabindex="0"
2085
2083
  aria-label="${this.label}"
@@ -2090,8 +2088,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2090
2088
  </slot>
2091
2089
  ${this.isSlotEmpty?b`<span>${this.label}</span>`:b``}
2092
2090
  </div>
2093
- `}onSlotChange(){this.isSlotEmpty=sn(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};tt.elementDefinitions={"ft-ripple":Z};tt.shadowRootOptions={...$t.shadowRootOptions,delegatesFocus:!0};tt.styles=[Fv,jr];Vn([h({type:String})],tt.prototype,"label",void 0);Vn([h({type:Object,converter:t=>t})],tt.prototype,"value",void 0);Vn([h({type:Boolean,reflect:!0})],tt.prototype,"selected",void 0);Vn([M("slot")],tt.prototype,"slotElement",void 0);Vn([k()],tt.prototype,"isSlotEmpty",void 0)});var Ge,xe,fp=u(()=>{"use strict";L();j();rt();Ut();Gs();In();C();Ie();Pv();ot();Tr();zn();Mv();Ge=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},xe=class t extends ${constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return gl(this.optionsList)}render(){var e,r,o,n,s;let a=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":a,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return b`
2094
- <div class="${fe(f)}" part="container">
2091
+ `}onSlotChange(){this.isSlotEmpty=an(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};et.elementDefinitions={"ft-ripple":Z};et.shadowRootOptions={...Bt.shadowRootOptions,delegatesFocus:!0};et.styles=[Mv,jr];Hn([h({type:String})],et.prototype,"label",void 0);Hn([h({type:Object,converter:t=>t})],et.prototype,"value",void 0);Hn([h({type:Boolean,reflect:!0})],et.prototype,"selected",void 0);Hn([M("slot")],et.prototype,"slotElement",void 0);Hn([k()],et.prototype,"isSlotEmpty",void 0)});var We,xe,mp=u(()=>{"use strict";L();j();tt();zt();js();Tn();C();ke();Fv();rt();Tr();Vn();Bv();We=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},xe=class t extends ${constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return yl(this.optionsList)}render(){var e,r,o,n,s;let a=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":a,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return b`
2092
+ <div class="${pe(f)}" part="container">
2095
2093
  <div class="ft-select--main-panel" part="main-panel">
2096
2094
  <ft-input-label text="${this.label}"
2097
2095
  part="label"
@@ -2106,15 +2104,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2106
2104
  tabindex="${l?"-1":"0"}"
2107
2105
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
2108
2106
  @keydown=${this.onMainPanelKeyDown}
2109
- aria-label="${St(this.ariaLabel)}"
2107
+ aria-label="${Ct(this.ariaLabel)}"
2110
2108
  aria-labelledby="${wo(!this.ariaLabel,()=>"label")}"
2111
2109
  aria-haspopup="listbox"
2112
2110
  aria-expanded="${a}"
2113
- aria-activedescendant="${St(this.getOptionId(this.selectedOption))}"
2111
+ aria-activedescendant="${Ct(this.getOptionId(this.selectedOption))}"
2114
2112
  role="combobox">
2115
2113
  <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
2116
2114
  <slot name="input-value">
2117
- <ft-typography variant="${pe.body1}"
2115
+ <ft-typography variant="${ue.body1}"
2118
2116
  aria-hidden="${d?"false":"true"}"
2119
2117
  class="ft-select--selected-option">
2120
2118
  ${(s=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&s!==void 0?s:this.label}
@@ -2136,7 +2134,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2136
2134
  </div>
2137
2135
  <slot name="helper" part="helper">
2138
2136
  ${this.helper?b`
2139
- <ft-typography class="ft-select--helper-text" variant="${pe.caption}">${this.helper}
2137
+ <ft-typography class="ft-select--helper-text" variant="${ue.caption}">${this.helper}
2140
2138
  </ft-typography>`:_}
2141
2139
  </slot>
2142
2140
  </div>
@@ -2146,34 +2144,34 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2146
2144
  label="${e.label}"
2147
2145
  .value=${e.value}
2148
2146
  ></ft-select-option>
2149
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];oc(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",J.optionsHeight,0).then(({x:s,y:a})=>{this.optionsMenu.style.left=`${s}px`,this.optionsMenu.style.top=`${a}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=sn(this.optionsSlot);let o=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,o;let n,s=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(s-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(s+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(n=>{var s;return((s=n.label)===null||s===void 0?void 0:s.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,o&&this.optionsList.find(n=>n.value===o.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(o=>Le(o.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let o=this.options.find(n=>Le(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!Le((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let s of this.options)s.selected=s===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}};xe.elementDefinitions={"ft-input-label":Jt,"ft-typography":oe,"ft-ripple":Z,"ft-icon":ve,"ft-select-option":tt};xe.searchTimeoutMilliseconds=2e3;xe.styles=[Kr,Nv];Ge([h({type:String})],xe.prototype,"label",void 0);Ge([h({type:String})],xe.prototype,"ariaLabel",void 0);Ge([h({type:String})],xe.prototype,"helper",void 0);Ge([h({type:Boolean})],xe.prototype,"outlined",void 0);Ge([h({type:Boolean})],xe.prototype,"disabled",void 0);Ge([h({type:Boolean})],xe.prototype,"error",void 0);Ge([h({type:Boolean})],xe.prototype,"fixedMenuPosition",void 0);Ge([h({type:Array})],xe.prototype,"options",void 0);Ge([k()],xe.prototype,"selectedOption",void 0);Ge([k()],xe.prototype,"optionsDisplayed",void 0);Ge([k()],xe.prototype,"focusOptions",void 0);Ge([k()],xe.prototype,"currentSearch",void 0);Ge([k()],xe.prototype,"lastSearchInputDate",void 0);Ge([M(".ft-select")],xe.prototype,"container",void 0);Ge([M(".ft-select--options")],xe.prototype,"optionsMenu",void 0);Ge([M(".ft-select--input-panel")],xe.prototype,"mainPanel",void 0);Ge([M("slot:not([name])")],xe.prototype,"optionsSlot",void 0)});var $v=u(()=>{"use strict"});var Bv,Uv=u(()=>{"use strict";fp();Bv={"ft-select":xe,"ft-select-option":tt}});var zv=u(()=>{"use strict";C();Uv();B(Bv)});var Vv=u(()=>{"use strict";fp();zn();$v();zv()});var je,Hv,Pa=u(()=>{"use strict";L();C();je={display:i.create("--ft-skeleton--display","","DISPLAY","block"),width:i.create("--ft-skeleton--width","","SIZE","100%"),height:i.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:i.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:i.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:i.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:i.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:i.external(x.borderRadiusM,"Design system")},Hv=O`
2147
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];ic(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",J.optionsHeight,0).then(({x:s,y:a})=>{this.optionsMenu.style.left=`${s}px`,this.optionsMenu.style.top=`${a}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=an(this.optionsSlot);let o=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,o;let n,s=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(s-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(s+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(n=>{var s;return((s=n.label)===null||s===void 0?void 0:s.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,o&&this.optionsList.find(n=>n.value===o.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(o=>_e(o.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let o=this.options.find(n=>_e(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!_e((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let s of this.options)s.selected=s===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}};xe.elementDefinitions={"ft-input-label":er,"ft-typography":oe,"ft-ripple":Z,"ft-icon":ve,"ft-select-option":et};xe.searchTimeoutMilliseconds=2e3;xe.styles=[Kr,Dv];We([h({type:String})],xe.prototype,"label",void 0);We([h({type:String})],xe.prototype,"ariaLabel",void 0);We([h({type:String})],xe.prototype,"helper",void 0);We([h({type:Boolean})],xe.prototype,"outlined",void 0);We([h({type:Boolean})],xe.prototype,"disabled",void 0);We([h({type:Boolean})],xe.prototype,"error",void 0);We([h({type:Boolean})],xe.prototype,"fixedMenuPosition",void 0);We([h({type:Array})],xe.prototype,"options",void 0);We([k()],xe.prototype,"selectedOption",void 0);We([k()],xe.prototype,"optionsDisplayed",void 0);We([k()],xe.prototype,"focusOptions",void 0);We([k()],xe.prototype,"currentSearch",void 0);We([k()],xe.prototype,"lastSearchInputDate",void 0);We([M(".ft-select")],xe.prototype,"container",void 0);We([M(".ft-select--options")],xe.prototype,"optionsMenu",void 0);We([M(".ft-select--input-panel")],xe.prototype,"mainPanel",void 0);We([M("slot:not([name])")],xe.prototype,"optionsSlot",void 0)});var Uv=u(()=>{"use strict"});var zv,Vv=u(()=>{"use strict";mp();zv={"ft-select":xe,"ft-select-option":et}});var Hv=u(()=>{"use strict";C();Vv();B(zv)});var Wv=u(()=>{"use strict";mp();Vn();Uv();Hv()});var Ge,Gv,Na=u(()=>{"use strict";L();C();Ge={display:i.create("--ft-skeleton--display","","DISPLAY","block"),width:i.create("--ft-skeleton--width","","SIZE","100%"),height:i.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:i.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:i.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:i.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:i.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:i.external(x.borderRadiusM,"Design system")},Gv=O`
2150
2148
  :host {
2151
- width: ${je.width};
2152
- height: ${je.height};
2153
- display: ${je.display};
2149
+ width: ${Ge.width};
2150
+ height: ${Ge.height};
2151
+ display: ${Ge.display};
2154
2152
  overflow: hidden;
2155
- border-radius: ${je.borderRadiusM};
2153
+ border-radius: ${Ge.borderRadiusM};
2156
2154
  background: linear-gradient(
2157
2155
  90deg,
2158
2156
  transparent,
2159
- ${je.glareColor} calc(0.45 * ${je.glareWidth}),
2160
- ${je.glareColor} calc(0.55 * ${je.glareWidth}),
2161
- transparent ${je.glareWidth}
2162
- ), ${je.backgroundColor};
2157
+ ${Ge.glareColor} calc(0.45 * ${Ge.glareWidth}),
2158
+ ${Ge.glareColor} calc(0.55 * ${Ge.glareWidth}),
2159
+ transparent ${Ge.glareWidth}
2160
+ ), ${Ge.backgroundColor};
2163
2161
  background-repeat: repeat-y;
2164
2162
  background-size: 100vw 100vh;
2165
2163
  background-attachment: fixed;
2166
- background-position: calc(${je.glareWidth} * -1) 0;
2167
- animation: shine ${je.animationDuration} infinite;
2164
+ background-position: calc(${Ge.glareWidth} * -1) 0;
2165
+ animation: shine ${Ge.animationDuration} infinite;
2168
2166
  animation-timing-function: linear;
2169
2167
  }
2170
2168
 
2171
2169
  @keyframes shine {
2172
2170
  to {
2173
- background-position: calc(100vw + ${je.glareWidth}) 0, calc(${je.glareWidth} * -1) 0;
2171
+ background-position: calc(100vw + ${Ge.glareWidth}) 0, calc(${Ge.glareWidth} * -1) 0;
2174
2172
  }
2175
2173
  }
2176
- `});var W,Wv,Gv,Na=u(()=>{"use strict";C();L();Vo();Un();zn();Pa();_a();La();Kt();W={height:i.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-bar-border-radius","",x.borderRadiusS),mobileOpenPosition:i.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:i.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:i.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:i.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:i.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:i.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:i.external(x.colorSurface,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),elevation02:i.external(x.elevation02,"Design system"),buttonColor:i.external(Q.color,"Button"),buttonRippleColor:i.external(Q.rippleColor,"Button"),activeItemBorderColor:i.extend("--ft-search-bar-active-border-color","",x.colorPrimary)},Wv=O`
2174
+ `});var W,jv,Kv,Fa=u(()=>{"use strict";C();L();Vo();zn();Vn();Na();ka();Ia();qt();W={height:i.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-bar-border-radius","",x.borderRadiusS),mobileOpenPosition:i.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:i.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:i.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:i.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:i.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:i.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:i.external(x.colorSurface,"Design system"),colorOnSurface:i.external(x.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(x.colorOnSurfaceMedium,"Design system"),colorOutline:i.external(x.colorOutline,"Design system"),colorPrimary:i.external(x.colorPrimary,"Design system"),elevation02:i.external(x.elevation02,"Design system"),buttonColor:i.external(Q.color,"Button"),buttonRippleColor:i.external(Q.rippleColor,"Button"),activeItemBorderColor:i.extend("--ft-search-bar-active-border-color","",x.colorPrimary)},jv=O`
2177
2175
  * {
2178
2176
  box-sizing: border-box;
2179
2177
  }
@@ -2221,8 +2219,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2221
2219
  }
2222
2220
 
2223
2221
  .ft-search-bar--skeleton {
2224
- ${w(je.height,W.height)};
2225
- ${w(je.borderRadiusM,W.borderRadius)};
2222
+ ${w(Ge.height,W.height)};
2223
+ ${w(Ge.borderRadiusM,W.borderRadius)};
2226
2224
  }
2227
2225
 
2228
2226
  .ft-search-bar--floating-panel-open .ft-search-bar {
@@ -2366,7 +2364,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2366
2364
  ${w(P.fontWeight,"bold")};
2367
2365
  }
2368
2366
 
2369
- `,Gv=O`
2367
+ `,Kv=O`
2370
2368
  .ft-search-bar--presets {
2371
2369
  min-width: 200px;
2372
2370
  }
@@ -2527,8 +2525,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2527
2525
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2528
2526
  margin: 0;
2529
2527
  }
2530
- `});var Yr,hp=u(()=>{"use strict";L();C();Pa();Yr=class extends ${render(){return b`
2531
- `}};Yr.elementDefinitions={};Yr.styles=Hv});var jv=u(()=>{"use strict"});var Kv,qv=u(()=>{"use strict";hp();Kv={"ft-skeleton":Yr}});var Zv=u(()=>{"use strict";C();qv();B(Kv)});var Qv=u(()=>{"use strict";hp();Pa();jv();Zv()});var yr,Fa=u(()=>{"use strict";L();Ut();Tr();C();Na();ot();yr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new ie(r)}render(){let e=this.recentSearchesMatchingQuery;return b`
2528
+ `});var Yr,gp=u(()=>{"use strict";L();C();Na();Yr=class extends ${render(){return b`
2529
+ `}};Yr.elementDefinitions={};Yr.styles=Gv});var qv=u(()=>{"use strict"});var Zv,Qv=u(()=>{"use strict";gp();Zv={"ft-skeleton":Yr}});var Yv=u(()=>{"use strict";C();Qv();B(Zv)});var Xv=u(()=>{"use strict";gp();Na();qv();Yv()});var yr,Da=u(()=>{"use strict";L();zt();Tr();C();Fa();rt();yr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new ie(r)}render(){let e=this.recentSearchesMatchingQuery;return b`
2532
2530
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
2533
2531
  id="${this.listboxId}"
2534
2532
  role="listbox"
@@ -2581,9 +2579,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2581
2579
  </div>
2582
2580
  `)}
2583
2581
  </div>
2584
- `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(o=>o.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(o=>o.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?st.file_format:st.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Ne.BOOK:Ne.ARTICLE;break;case"DOCUMENT":o=fa(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Ne.TOPICS;break;case"HTML_PACKAGE":o=Ne.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Ne.FILE_CODE;break}return b`
2582
+ `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(o=>o.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(o=>o.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?nt.file_format:nt.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?Ne.BOOK:Ne.ARTICLE;break;case"DOCUMENT":o=ha(e.mimeType,e.filenameExtension);break;case"TOPIC":o=Ne.TOPICS;break;case"HTML_PACKAGE":o=Ne.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=Ne.FILE_CODE;break}return b`
2585
2583
  <ft-icon .variant=${r} .value=${o} part="suggestion-icon"></ft-icon>
2586
- `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};yr.styles=[dn,O`
2584
+ `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};yr.styles=[un,O`
2587
2585
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2588
2586
  flex-grow: 1;
2589
2587
  flex-shrink: 1;
@@ -2673,7 +2671,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2673
2671
  ft-ripple {
2674
2672
  ${w(re.opacityContentOnSurfaceHover,re.opacityContentOnSurfaceSelected)}
2675
2673
  }
2676
- `]});var br,Da=u(()=>{"use strict";L();Ut();zu();C();ka();dp();br=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return b``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),o=b`
2674
+ `]});var br,Ma=u(()=>{"use strict";L();zt();Vu();C();La();pp();br=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return b``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),o=b`
2677
2675
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?b`
2678
2676
  <ft-chip part="selected-filters selected-filter-ft-locale"
2679
2677
  ?dense=${this.searchBar.dense&&!e}
@@ -2684,7 +2682,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2684
2682
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2685
2683
  </ft-chip>
2686
2684
  `:null}
2687
- ${ge(this.searchBar.facets,n=>n.key,n=>{let s=Fx(n);return ge(s,a=>{let l=n.label+": "+Tx(a),d=n.key.replace(":","-"),f=b`
2685
+ ${ge(this.searchBar.facets,n=>n.key,n=>{let s=Mx(n);return ge(s,a=>{let l=n.label+": "+Nx(a),d=n.key.replace(":","-"),f=b`
2688
2686
  <ft-chip
2689
2687
  part="selected-filters selected-filter-${d}"
2690
2688
  ?dense=${this.searchBar.dense&&!e}
@@ -2697,7 +2695,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2697
2695
  @icon-click=${()=>this.searchBar.setFilter(n.key,s.filter(g=>g!==a))}
2698
2696
  data-key="${n.key}"
2699
2697
  data-value="${a}">
2700
- ${Ix(a)}
2698
+ ${Px(a)}
2701
2699
  </ft-chip>
2702
2700
  `;return r?f:b`
2703
2701
  <ft-tooltip inline text="${l}">
@@ -2742,8 +2740,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2742
2740
  }
2743
2741
 
2744
2742
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
2745
- ${w(We.iconSize,"17px")};
2746
- ${w(We.fontSize,"12px")};
2743
+ ${w(He.iconSize,"17px")};
2744
+ ${w(He.fontSize,"12px")};
2747
2745
  }
2748
2746
 
2749
2747
  .ft-search-bar--selected-filters * {
@@ -2753,8 +2751,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2753
2751
  .ft-search-bar--selected-filters ft-chip {
2754
2752
  flex-grow: 0;
2755
2753
  }
2756
- `});var bO,Pi,Yv=u(()=>{"use strict";L();Da();Fa();rt();C();bO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Pi=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new br(e),this.suggestManager=o??new yr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return b`
2757
- <div class="${fe(r)}" part="container" tabindex="-1">
2754
+ `});var vO,Ni,Jv=u(()=>{"use strict";L();Ma();Da();tt();C();vO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ni=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new br(e),this.suggestManager=o??new yr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return b`
2755
+ <div class="${pe(r)}" part="container" tabindex="-1">
2758
2756
  <div class="ft-search-bar" role="search">
2759
2757
  <div class="ft-search-bar--input-container" part="input-container">
2760
2758
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -2810,10 +2808,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2810
2808
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
2811
2809
  ></ft-button>
2812
2810
  </div>
2813
- `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Pi.styles=O`
2811
+ `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Ni.styles=O`
2814
2812
 
2815
- `;bO([Mr()],Pi.prototype,"onSearchBarKeyDown",null)});var xO,Ni,Xv=u(()=>{"use strict";L();Ut();Da();Fa();rt();C();xO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ni=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new br(e),this.suggestManager=o??new yr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return b`
2816
- <div class="${fe(r)}" part="container" tabindex="-1">
2813
+ `;vO([Mr()],Ni.prototype,"onSearchBarKeyDown",null)});var SO,Fi,e0=u(()=>{"use strict";L();zt();Ma();Da();tt();C();SO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Fi=class{constructor(e,r,o){this.searchBar=e,this.selectedFacetsManager=r??new br(e),this.suggestManager=o??new yr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return b`
2814
+ <div class="${pe(r)}" part="container" tabindex="-1">
2817
2815
  <div class="ft-search-bar" part="search-bar" role="search">
2818
2816
  ${this.renderSearchBarLeftAction()}
2819
2817
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -2889,9 +2887,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2889
2887
  @click=${()=>this.searchBar.onLaunchSearch()}
2890
2888
  ></ft-button>
2891
2889
  </div>
2892
- `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Ni.styles=O`
2890
+ `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let o=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;o?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Fi.styles=O`
2893
2891
 
2894
- `;xO([Mr()],Ni.prototype,"onSearchBarKeyDown",null)});var te,Jv,mp,vO,K,gp=u(()=>{"use strict";L();j();Ut();C();Lx();Ie();zu();lv();Tr();yv();Yt();dp();Vv();ka();pu();ot();Na();Qv();Fa();Da();Yv();Xv();Qu();qt();te=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");Jv={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},mp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},vO=()=>{},K=class extends ${constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Vr(Jv,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Vt(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Ft.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new yr(this),this.selectedFacetsManager=new br(this),this.desktopSearchBarManager=new Ni(this),this.mobileSearchBarManager=new Pi(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ie(10),this.updateLocalesDebouncer=new ie(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ie(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(o=>r.values.includes(o)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(o=>r.metadataFilters.some(n=>this.compareFilters(o,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var o,n;return((n=(o=r.valueFilter)===null||o===void 0?void 0:o.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Ft.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}focusInput(){var e;this.reactToFocus=!1,(e=this.input)===null||e===void 0||e.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return b`
2892
+ `;SO([Mr()],Fi.prototype,"onSearchBarKeyDown",null)});var te,t0,yp,CO,K,bp=u(()=>{"use strict";L();j();zt();C();Tx();ke();Vu();dv();Tr();xv();Xt();pp();Wv();La();fu();rt();Fa();Xv();Da();Ma();Jv();e0();Yu();Zt();te=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");t0={filtersButton:"Filters",inputPlaceHolder:"Search",clearInputButton:"Clear",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},yp=class extends CustomEvent{constructor(e){super("change",{detail:e})}},CO=()=>{},K=class extends ${constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Vr(t0,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new Ht(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Dt.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new yr(this),this.selectedFacetsManager=new br(this),this.desktopSearchBarManager=new Fi(this),this.mobileSearchBarManager=new Ni(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ie(10),this.updateLocalesDebouncer=new ie(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ie(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(o=>r.values.includes(o)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(o=>r.metadataFilters.some(n=>this.compareFilters(o,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var o,n;return((n=(o=r.valueFilter)===null||o===void 0?void 0:o.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Dt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}focusInput(){var e;this.reactToFocus=!1,(e=this.input)===null||e===void 0||e.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return b`
2895
2893
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2896
2894
  <div class="sr-only" aria-live="polite" aria-atomic="true">
2897
2895
  ${this.renderLiveText()}
@@ -2919,7 +2917,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2919
2917
  </div>
2920
2918
  </ft-accordion-item>
2921
2919
  `:null}
2922
- ${ge(this.facets,r=>r.key,r=>{let o=Uu(r),n=r.key.replace(":","-"),s=Nx(o);return r.rootNodes.length>0?b`
2920
+ ${ge(this.facets,r=>r.key,r=>{let o=zu(r),n=r.key.replace(":","-"),s=Dx(o);return r.rootNodes.length>0?b`
2923
2921
  <ft-accordion-item data-facet-key="${r.key}">
2924
2922
  <div class="ft-search-bar--filter-label" slot="toggle">
2925
2923
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -2931,12 +2929,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
2931
2929
  </div>
2932
2930
  <ft-filter
2933
2931
  part="filters filter filter-${n}"
2932
+ label="${r.label}"
2934
2933
  .exportpartsPrefixes=${["filter","filter-"+n]}
2935
2934
  id="${o.id}"
2936
- filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",o.label)}"
2937
- clearButtonLabel="${this.labelResolver.resolve("clearFilterButton")}"
2938
- moreValuesButtonLabel="${this.labelResolver.resolve("displayMoreFilterValuesButton")}"
2939
- noValuesLabel="${this.labelResolver.resolve("noFilterValuesAvailable")}"
2940
2935
  ?multivalued=${o.multivalued}
2941
2936
  raiseSelectedOptions
2942
2937
  .options=${o.options}
@@ -3012,17 +3007,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3012
3007
  ${this.getContentLocaleRadioGroup()}
3013
3008
  </div>
3014
3009
  `:_}
3015
- ${ge(this.facets,e=>e.key,e=>{let r=Uu(e),o=r.options.some(s=>{var a,l;return((l=(a=s.subOptions)===null||a===void 0?void 0:a.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return b`
3010
+ ${ge(this.facets,e=>e.key,e=>{let r=zu(e),o=r.options.some(s=>{var a,l;return((l=(a=s.subOptions)===null||a===void 0?void 0:a.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return b`
3016
3011
  <ft-filter
3017
3012
  class="${o?"ft-search-bar--hierarchical-filter":""}"
3018
3013
  part="filters filter filter-${n}"
3019
3014
  .exportpartsPrefixes=${["filter","filter-"+n]}
3020
3015
  id="${r.id}"
3021
3016
  label="${r.label}"
3022
- filterPlaceHolder="${this.labelResolver.resolve("filterInputPlaceHolder",r.label)}"
3023
- clearButtonLabel="${this.labelResolver.resolve("clearFilterButton")}"
3024
- moreValuesButtonLabel="${this.labelResolver.resolve("displayMoreFilterValuesButton")}"
3025
- noValuesLabel="${this.labelResolver.resolve("noFilterValuesAvailable")}"
3026
3017
  ?multivalued=${r.multivalued}
3027
3018
  raiseSelectedOptions
3028
3019
  .options=${r.options}
@@ -3031,14 +3022,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3031
3022
  ></ft-filter>
3032
3023
  `})}
3033
3024
  </ft-snap-scroll>
3034
- `:_}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,o,n,s,a;if(e.has("labels")&&(this.labelResolver=new Vr(Jv,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((n=this.presets)!==null&&n!==void 0?n:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Ra(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((s=this.presets)!==null&&s!==void 0?s:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(o=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||o===void 0?void 0:o.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new mp(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,o,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(o=this.scrollingFiltersContainer)===null||o===void 0||o.scrollIndexIntoView(this.facets.findIndex(a=>a.key===this.scrollToFacet));let s=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);s&&(s.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(o=>o.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(vO)),this.facets=[];for(let o of this.facetsRequest)r.has(o.id)?this.facets.push(r.get(o.id)):this.knownFacetLabels.has(o.id)&&this.facets.push({key:o.id,label:this.knownFacetLabels.get(o.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,o)=>o<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),D.addEventListener("authentication-change",this.initSearchData),this.initSearchData(),this.focusOnDisplay&&oi(()=>this.input,50).then(e=>{Ao.allowAutoFocus(e)&&this.focusInput()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),D.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let o=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&yt(n.rootNodes,s=>s.childNodes).forEach(s=>s.selected=r.includes(s.value))}),r.length&&o.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=o,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>yt(r.rootNodes,o=>o.childNodes).forEach(o=>o.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?_:b`
3025
+ `:_}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,o,n,s,a;if(e.has("labels")&&(this.labelResolver=new Vr(t0,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=d=>this.availableContentLocales.some(f=>f.lang==d);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((n=this.presets)!==null&&n!==void 0?n:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Aa(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((s=this.presets)!==null&&s!==void 0?s:[]).find(d=>d.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(o=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||o===void 0?void 0:o.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new yp(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,o,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(o=this.scrollingFiltersContainer)===null||o===void 0||o.scrollIndexIntoView(this.facets.findIndex(a=>a.key===this.scrollToFacet));let s=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);s&&(s.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(o=>o.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(CO)),this.facets=[];for(let o of this.facetsRequest)r.has(o.id)?this.facets.push(r.get(o.id)):this.knownFacetLabels.has(o.id)&&this.facets.push({key:o.id,label:this.knownFacetLabels.get(o.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,o)=>o<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),D.addEventListener("authentication-change",this.initSearchData),this.initSearchData(),this.focusOnDisplay&&ii(()=>this.input,50).then(e=>{Ao.allowAutoFocus(e)&&this.focusInput()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),D.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let o=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&yt(n.rootNodes,s=>s.childNodes).forEach(s=>s.selected=r.includes(s.value))}),r.length&&o.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=o,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>yt(r.rootNodes,o=>o.childNodes).forEach(o=>o.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?_:b`
3035
3026
  <div class="ft-search-bar--floating-panel"
3036
3027
  id="ft-search-bar-floating-panel"
3037
3028
  @keyup=${this.onFloatingContainerKeyUp}
3038
3029
  part="floating-panel"
3039
3030
  tabindex="-1">
3040
3031
  ${this.renderDesktopMenu()}
3041
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};K.elementDefinitions={"ft-accordion":gr,"ft-accordion-item":Dt,"ft-button":z,"ft-chip":Ee,"ft-filter":le,"ft-filter-option":wt,"ft-icon":ve,"ft-ripple":Z,"ft-select":xe,"ft-select-option":tt,"ft-size-watcher":Ct,"ft-skeleton":Yr,"ft-snap-scroll":Fe,"ft-tooltip":Te,"ft-typography":oe,"ft-radio-group":Ot,"ft-radio":ze};K.styles=[jr,vo,Wv,Gv,br.styles,yr.styles,xi];te([h({type:Boolean})],K.prototype,"dense",void 0);te([h()],K.prototype,"mode",void 0);te([h({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);te([h({type:Boolean})],K.prototype,"forceMenuOpen",void 0);te([h()],K.prototype,"baseUrl",void 0);te([h()],K.prototype,"apiIntegrationIdentifier",void 0);te([h()],K.prototype,"contentLocale",void 0);te([k()],K.prototype,"availableContentLocales",void 0);te([k()],K.prototype,"availableContentLocalesInitialized",void 0);te([h()],K.prototype,"uiLocale",void 0);te([ce({})],K.prototype,"labels",void 0);te([ce([])],K.prototype,"displayedFilters",void 0);te([ce([])],K.prototype,"presets",void 0);te([h({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);te([ce([])],K.prototype,"priors",void 0);te([h()],K.prototype,"searchRequestSerializer",void 0);te([h({type:Boolean})],K.prototype,"focusOnDisplay",void 0);te([k()],K.prototype,"metadataFilters",void 0);te([k()],K.prototype,"sizeCategory",void 0);te([k()],K.prototype,"displayFacets",void 0);te([k()],K.prototype,"mobileMenuOpen",void 0);te([k()],K.prototype,"facets",void 0);te([k()],K.prototype,"facetsInitialized",void 0);te([M(".ft-search-bar--container")],K.prototype,"container",void 0);te([M(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);te([M(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);te([M("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);te([M(".ft-search-bar--input")],K.prototype,"input",void 0);te([M(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);te([k()],K.prototype,"query",void 0);te([k()],K.prototype,"suggestions",void 0);te([k()],K.prototype,"recentSearches",void 0);te([k()],K.prototype,"scrollToFacet",void 0);te([k()],K.prototype,"api",void 0);te([k()],K.prototype,"displaySuggestListbox",void 0);te([k()],K.prototype,"selectedSuggestOptionId",void 0);te([k()],K.prototype,"selectedSuggestRemoveRecent",void 0);te([k()],K.prototype,"facetsLoaded",void 0)});var e0=u(()=>{"use strict"});var t0,r0=u(()=>{"use strict";gp();t0={"ft-search-bar":K}});var o0=u(()=>{"use strict";C();r0();B(t0)});var i0=u(()=>{"use strict";gp();Na();e0();o0()});var n0,s0=u(()=>{"use strict";L();Tn();C();ot();i0();n0=O`
3032
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};K.elementDefinitions={"ft-accordion":gr,"ft-accordion-item":Mt,"ft-button":z,"ft-chip":Ce,"ft-filter":me,"ft-filter-option":Rt,"ft-icon":ve,"ft-ripple":Z,"ft-select":xe,"ft-select-option":et,"ft-size-watcher":Et,"ft-skeleton":Yr,"ft-snap-scroll":Fe,"ft-tooltip":Le,"ft-typography":oe,"ft-radio-group":wt,"ft-radio":ze};K.styles=[jr,vo,jv,Kv,br.styles,yr.styles,vi];te([h({type:Boolean})],K.prototype,"dense",void 0);te([h()],K.prototype,"mode",void 0);te([h({type:Boolean})],K.prototype,"forceMobileMenuOpen",void 0);te([h({type:Boolean})],K.prototype,"forceMenuOpen",void 0);te([h()],K.prototype,"baseUrl",void 0);te([h()],K.prototype,"apiIntegrationIdentifier",void 0);te([h()],K.prototype,"contentLocale",void 0);te([k()],K.prototype,"availableContentLocales",void 0);te([k()],K.prototype,"availableContentLocalesInitialized",void 0);te([h()],K.prototype,"uiLocale",void 0);te([le({})],K.prototype,"labels",void 0);te([le([])],K.prototype,"displayedFilters",void 0);te([le([])],K.prototype,"presets",void 0);te([h({type:String,reflect:!0})],K.prototype,"selectedPreset",void 0);te([le([])],K.prototype,"priors",void 0);te([h()],K.prototype,"searchRequestSerializer",void 0);te([h({type:Boolean})],K.prototype,"focusOnDisplay",void 0);te([k()],K.prototype,"metadataFilters",void 0);te([k()],K.prototype,"sizeCategory",void 0);te([k()],K.prototype,"displayFacets",void 0);te([k()],K.prototype,"mobileMenuOpen",void 0);te([k()],K.prototype,"facets",void 0);te([k()],K.prototype,"facetsInitialized",void 0);te([M(".ft-search-bar--container")],K.prototype,"container",void 0);te([M(".ft-search-bar--filters-opener")],K.prototype,"filtersOpener",void 0);te([M(".ft-search-bar--floating-panel")],K.prototype,"floatingContainer",void 0);te([M("ft-snap-scroll.ft-search-bar--filters-container")],K.prototype,"scrollingFiltersContainer",void 0);te([M(".ft-search-bar--input")],K.prototype,"input",void 0);te([M(".ft-search-bar--launch-search")],K.prototype,"launchSearchButton",void 0);te([k()],K.prototype,"query",void 0);te([k()],K.prototype,"suggestions",void 0);te([k()],K.prototype,"recentSearches",void 0);te([k()],K.prototype,"scrollToFacet",void 0);te([k()],K.prototype,"api",void 0);te([k()],K.prototype,"displaySuggestListbox",void 0);te([k()],K.prototype,"selectedSuggestOptionId",void 0);te([k()],K.prototype,"selectedSuggestRemoveRecent",void 0);te([k()],K.prototype,"facetsLoaded",void 0)});var r0=u(()=>{"use strict"});var o0,i0=u(()=>{"use strict";bp();o0={"ft-search-bar":K}});var n0=u(()=>{"use strict";C();i0();B(o0)});var s0=u(()=>{"use strict";bp();Fa();r0();n0()});var a0,l0=u(()=>{"use strict";L();Pn();C();rt();s0();a0=O`
3042
3033
  * {
3043
3034
  box-sizing: border-box;
3044
3035
  }
@@ -3092,7 +3083,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3092
3083
  ft-ripple {
3093
3084
  ${w(re.opacityContentOnSurfaceHover,re.opacityContentOnSurfaceSelected)}
3094
3085
  }
3095
- `});var Xr,a0=u(()=>{"use strict";C();L();s0();Ut();Tr();ot();Ie();qt();Fu();Yt();Xr=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){var e;let r=Ir.get(),{recentQuerySuggestions:o}=this.ftSearchInput;return b`
3086
+ `});var Xr,c0=u(()=>{"use strict";C();L();l0();zt();Tr();rt();ke();Zt();Du();Xt();Xr=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){var e;let r=Ir.get(),{recentQuerySuggestions:o}=this.ftSearchInput;return b`
3096
3087
  <div class="ft-search-input-suggestion ft-word-wrap"
3097
3088
  id="${this.listboxId}"
3098
3089
  role="listbox"
@@ -3101,7 +3092,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3101
3092
  ${ge(o,n=>n,(n,s)=>this.renderRecentQuery(s,n,r))}
3102
3093
  ${ge((e=this.ftSearchInput.suggestResults)!==null&&e!==void 0?e:[],n=>n.value,(n,s)=>this.renderSuggestion(o.length+s,n,r))}
3103
3094
  </div>
3104
- `}renderRecentQuery(e,r,o){return this.renderOption(e,r,"history",st.material,!0,o)}renderSuggestion(e,r,o){let n=r.type==="DOCUMENT"?st.file_format:st.fluid_topics,s;switch(r.type){case"MAP":s=r.editorialType==="BOOK"?Ne.BOOK:Ne.ARTICLE;break;case"DOCUMENT":s=fa(r.mimeType,r.filenameExtension);break;case"TOPIC":s=Ne.TOPICS;break;case"HTML_PACKAGE":s=Ne.BOX_CODE;break;case"HTML_PACKAGE_PAGE":s=Ne.FILE_CODE;break}return this.renderOption(e,r.value,s,n,!1,o)}renderOption(e,r,o,n,s,a){let l=this.ftSearchInput.selectedSuggestOptionIndex===e,d=this.ftSearchInput.selectedSuggestOptionRemove,f=this.ftSearchInput.launchSearchPath?a.serializeToCurrentPageIfPossible({...this.ftSearchInput.request,query:r},this.ftSearchInput.launchSearchPath):_;return b`
3095
+ `}renderRecentQuery(e,r,o){return this.renderOption(e,r,"history",nt.material,!0,o)}renderSuggestion(e,r,o){let n=r.type==="DOCUMENT"?nt.file_format:nt.fluid_topics,s;switch(r.type){case"MAP":s=r.editorialType==="BOOK"?Ne.BOOK:Ne.ARTICLE;break;case"DOCUMENT":s=ha(r.mimeType,r.filenameExtension);break;case"TOPIC":s=Ne.TOPICS;break;case"HTML_PACKAGE":s=Ne.BOX_CODE;break;case"HTML_PACKAGE_PAGE":s=Ne.FILE_CODE;break}return this.renderOption(e,r.value,s,n,!1,o)}renderOption(e,r,o,n,s,a){let l=this.ftSearchInput.selectedSuggestOptionIndex===e,d=this.ftSearchInput.selectedSuggestOptionRemove,f=this.ftSearchInput.launchSearchPath?a.serializeToCurrentPageIfPossible({...this.ftSearchInput.request,query:r},this.ftSearchInput.launchSearchPath):_;return b`
3105
3096
  <div part="suggestion-container"
3106
3097
  class="ft-search-input-suggestion--container">
3107
3098
  <a href="${f}"
@@ -3115,7 +3106,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3115
3106
  >
3116
3107
  <ft-ripple ?activated=${l&&!d}></ft-ripple>
3117
3108
  <ft-icon variant="${n}" value="${o}" part="suggestion-icon"></ft-icon>
3118
- <ft-typography variant="${pe.body1}">${r}</ft-typography>
3109
+ <ft-typography variant="${ue.body1}">${r}</ft-typography>
3119
3110
  </a>
3120
3111
  ${s?b`
3121
3112
  <ft-button icon="${Ne.CLOSE}"
@@ -3131,8 +3122,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3131
3122
  </ft-button>
3132
3123
  `:_}
3133
3124
  </div>
3134
- `}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};Xr.elementDefinitions={"ft-ripple":Z,"ft-typography":oe,"ft-icon":ve,"ft-button":z};Xr.styles=[dn,n0]});function CO(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,SO)}var Ke,SO,Oe,yp=u(()=>{"use strict";L();C();Tn();Wo();Pt();Fu();j();rt();a0();Yt();Ie();qt();pa();Ke=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},SO=5;Oe=class extends pt(Nt){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Xr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(Pr)}render(){var e;let r=this.suggestions.optionsCount()>0,o={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},n={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,a=Ir.get().serializeToCurrentPageIfPossible(n,s),l=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return b`
3135
- <div class="${fe(o)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3125
+ `}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};Xr.elementDefinitions={"ft-ripple":Z,"ft-typography":oe,"ft-icon":ve,"ft-button":z};Xr.styles=[un,a0]});function OO(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,EO)}var je,EO,Ee,xp=u(()=>{"use strict";L();C();Pn();Wo();St();Du();j();tt();c0();Xt();ke();Zt();fa();je=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},EO=5;Ee=class extends pt(Ft){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Xr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(Pr)}render(){var e;let r=this.suggestions.optionsCount()>0,o={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},n={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,a=Ir.get().serializeToCurrentPageIfPossible(n,s),l=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return b`
3126
+ <div class="${pe(o)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3136
3127
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3137
3128
  <div class="ft-search-input--input-outline" part="input-outline">
3138
3129
  <input class="ft-search-input--input ft-typography--body2"
@@ -3178,74 +3169,74 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3178
3169
  ></ft-button>
3179
3170
  </div>
3180
3171
  </div>
3181
- `}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.suggestions.closeBox();break;case"Escape":this.displaySuggestListbox&&this.suggestions.optionsCount()>0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.closeBox());break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNext();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPrevious();break;case"ArrowLeft":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectLeft());break;case"ArrowRight":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectRight());break;case"Enter":{let r=this.suggestions.activeElement;if(r){r.click();break}this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){e.key==="Backspace"&&e.stopPropagation()}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r,o;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e),(o=this.stateManager)===null||o===void 0||o.addRecentQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.suggestions.closeBox()}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}connectedCallback(){super.connectedCallback(),this.focusOnDisplay&&this.updateComplete.then(()=>{this.input&&Ao.allowAutoFocus(this.input)&&(this.showSuggestionsOnFocus=!1,this.input.focus(),this.showSuggestionsOnFocus=!0)})}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("displaySuggestListbox")&&(this.displaySuggestListbox?document.addEventListener("pointerdown",this.onPointerDown):document.removeEventListener("pointerdown",this.onPointerDown))}};Oe.elementDefinitions={"ft-button":z,...Xr.elementDefinitions};Oe.styles=[jr,vo,vu,...Xr.styles,xi];Ke([de()],Oe.prototype,"request",void 0);Ke([de()],Oe.prototype,"liveQuery",void 0);Ke([de()],Oe.prototype,"suggestResults",void 0);Ke([de({selector:CO})],Oe.prototype,"recentQuerySuggestions",void 0);Ke([k()],Oe.prototype,"forceCloseSuggestion",void 0);Ke([k()],Oe.prototype,"displaySuggestListbox",void 0);Ke([k()],Oe.prototype,"selectedSuggestOptionIndex",void 0);Ke([k()],Oe.prototype,"selectedSuggestOptionRemove",void 0);Ke([h()],Oe.prototype,"launchSearchPath",void 0);Ke([wi()],Oe.prototype,"placeholder",void 0);Ke([h({type:Boolean})],Oe.prototype,"useCustomSearchPath",void 0);Ke([h({type:Boolean})],Oe.prototype,"triggerSearchOnClear",void 0);Ke([h({type:Boolean})],Oe.prototype,"focusOnDisplay",void 0);Ke([M(".ft-search-input--input")],Oe.prototype,"input",void 0);Ke([M('[part="launch-search-in-input"]')],Oe.prototype,"launchSearchButton",void 0);Ke([Mr()],Oe.prototype,"onSearchBarKeyDown",null);Ke([Mr()],Oe.prototype,"onSearchBarKeyUp",null)});var l0,c0=u(()=>{"use strict";yp();l0={"ft-search-input":Oe}});var d0=u(()=>{"use strict";C();c0();B(l0)});var u0={};G(u0,{FtSearchInput:()=>Oe,FtSearchInputCssVariables:()=>be,styles:()=>vu});var p0=u(()=>{"use strict";Tn();wx();yp();d0()});var EO,bp,xp=u(()=>{"use strict";L();EO={},bp=O`
3182
- `});var f0=u(()=>{"use strict"});var vp,h0=u(()=>{"use strict";Pt();vp=fr.fromGwt("designedActionBlockAriaLabels")});var m0,Nr,Sp=u(()=>{"use strict";L();C();xp();Yt();Wo();Pt();h0();Li();m0=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Nr=class extends pt(Nt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[Xt.CLUSTERED_SEARCH],this.addI18nContext(vp)}render(){return this.isLastPage?_:b`
3172
+ `}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.suggestions.closeBox();break;case"Escape":this.displaySuggestListbox&&this.suggestions.optionsCount()>0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.closeBox());break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNext();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPrevious();break;case"ArrowLeft":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectLeft());break;case"ArrowRight":this.selectedSuggestOptionIndex!==void 0&&(e.stopPropagation(),e.preventDefault(),this.suggestions.selectRight());break;case"Enter":{let r=this.suggestions.activeElement;if(r){r.click();break}this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){e.key==="Backspace"&&e.stopPropagation()}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r,o;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e),(o=this.stateManager)===null||o===void 0||o.addRecentQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.suggestions.closeBox()}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}connectedCallback(){super.connectedCallback(),this.focusOnDisplay&&this.updateComplete.then(()=>{this.input&&Ao.allowAutoFocus(this.input)&&(this.showSuggestionsOnFocus=!1,this.input.focus(),this.showSuggestionsOnFocus=!0)})}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("displaySuggestListbox")&&(this.displaySuggestListbox?document.addEventListener("pointerdown",this.onPointerDown):document.removeEventListener("pointerdown",this.onPointerDown))}};Ee.elementDefinitions={"ft-button":z,...Xr.elementDefinitions};Ee.styles=[jr,vo,Su,...Xr.styles,vi];je([ce()],Ee.prototype,"request",void 0);je([ce()],Ee.prototype,"liveQuery",void 0);je([ce()],Ee.prototype,"suggestResults",void 0);je([ce({selector:OO})],Ee.prototype,"recentQuerySuggestions",void 0);je([k()],Ee.prototype,"forceCloseSuggestion",void 0);je([k()],Ee.prototype,"displaySuggestListbox",void 0);je([k()],Ee.prototype,"selectedSuggestOptionIndex",void 0);je([k()],Ee.prototype,"selectedSuggestOptionRemove",void 0);je([h()],Ee.prototype,"launchSearchPath",void 0);je([Ri()],Ee.prototype,"placeholder",void 0);je([h({type:Boolean})],Ee.prototype,"useCustomSearchPath",void 0);je([h({type:Boolean})],Ee.prototype,"triggerSearchOnClear",void 0);je([h({type:Boolean})],Ee.prototype,"focusOnDisplay",void 0);je([M(".ft-search-input--input")],Ee.prototype,"input",void 0);je([M('[part="launch-search-in-input"]')],Ee.prototype,"launchSearchButton",void 0);je([Mr()],Ee.prototype,"onSearchBarKeyDown",null);je([Mr()],Ee.prototype,"onSearchBarKeyUp",null)});var d0,u0=u(()=>{"use strict";xp();d0={"ft-search-input":Ee}});var p0=u(()=>{"use strict";C();u0();B(d0)});var f0={};G(f0,{FtSearchInput:()=>Ee,FtSearchInputCssVariables:()=>be,styles:()=>Su});var h0=u(()=>{"use strict";Pn();Ax();xp();p0()});var wO,vp,Sp=u(()=>{"use strict";L();wO={},vp=O`
3173
+ `});var m0=u(()=>{"use strict"});var Cp,g0=u(()=>{"use strict";St();Cp=Pt.fromGwt("designedActionBlockAriaLabels")});var y0,Nr,Ep=u(()=>{"use strict";L();C();Sp();Xt();Wo();St();g0();Ii();y0=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Nr=class extends pt(Ft){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[Jt.CLUSTERED_SEARCH],this.addI18nContext(Cp)}render(){return this.isLastPage?_:b`
3183
3174
  <ft-button @click=${this.loadMore}>
3184
- ${vp.messages.searchPageLoadMore()}
3175
+ ${Cp.messages.searchPageLoadMore()}
3185
3176
  </ft-button>
3186
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Nr.elementDefinitions={"ft-button":z};Nr.styles=bp;m0([de({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],Nr.prototype,"currentPage",void 0);m0([de({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],Nr.prototype,"isLastPage",void 0)});var g0,y0=u(()=>{"use strict";Sp();g0={"ft-search-load-more-button":Nr}});var b0=u(()=>{"use strict";C();y0();B(g0)});var x0={};G(x0,{FtSearchLoadMoreButton:()=>Nr,FtSearchLoadMoreButtonCssVariables:()=>EO,styles:()=>bp});var v0=u(()=>{"use strict";xp();f0();Sp();b0()});var S0=u(()=>{"use strict"});var Ma,Ep,Cp,OO,Fi,Op=u(()=>{"use strict";C();Wo();j();Ma=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ep=class extends Er{constructor(e){super("register-ft-search-result-component",e)}},Cp=Symbol("registerInterval"),OO=we(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Cp]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Cp]):this.dispatchEvent(new Ep({target:this}))}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Cp,Ma([h({attribute:!1})],r.prototype,"cluster",void 0),Ma([h({attribute:!1})],r.prototype,"result",void 0),Ma([kt()],r.prototype,"rank",void 0),Ma([h({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),Fi=class extends OO(Nt){}});var Ko,wp=u(()=>{"use strict";L();C();Op();ga();ji();Ie();Ko=class extends Fi{render(){var e;let r=(e=It(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?b`
3187
- <ft-typography variant="${pe.body1}" part="text">${ao(r)}</ft-typography>
3177
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Nr.elementDefinitions={"ft-button":z};Nr.styles=vp;y0([ce({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],Nr.prototype,"currentPage",void 0);y0([ce({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],Nr.prototype,"isLastPage",void 0)});var b0,x0=u(()=>{"use strict";Ep();b0={"ft-search-load-more-button":Nr}});var v0=u(()=>{"use strict";C();x0();B(b0)});var S0={};G(S0,{FtSearchLoadMoreButton:()=>Nr,FtSearchLoadMoreButtonCssVariables:()=>wO,styles:()=>vp});var C0=u(()=>{"use strict";Sp();m0();Ep();v0()});var E0=u(()=>{"use strict"});var $a,wp,Op,RO,Di,Rp=u(()=>{"use strict";C();Wo();j();$a=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},wp=class extends Er{constructor(e){super("register-ft-search-result-component",e)}},Op=Symbol("registerInterval"),RO=Oe(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Op]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Op]):this.dispatchEvent(new wp({target:this}))}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Op,$a([h({attribute:!1})],r.prototype,"cluster",void 0),$a([h({attribute:!1})],r.prototype,"result",void 0),$a([Lt()],r.prototype,"rank",void 0),$a([h({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),Di=class extends RO(Ft){}});var qo,Ap=u(()=>{"use strict";L();C();Rp();ya();Ki();ke();qo=class extends Di{render(){var e;let r=(e=Tt(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?b`
3178
+ <ft-typography variant="${ue.body1}" part="text">${ao(r)}</ft-typography>
3188
3179
  `:b`
3189
3180
  <style>
3190
3181
  :host {
3191
3182
  display: none !important;
3192
3183
  }
3193
3184
  </style>
3194
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Ko.elementDefinitions={"ft-typography":oe};Ko.styles=Su});var C0,E0=u(()=>{"use strict";wp();C0={"ft-search-result-abstract":Ko}});var Rp=u(()=>{"use strict";C();E0();B(C0)});var O0={};G(O0,{FtSearchResultAbstract:()=>Ko,FtSearchResultAbstractCssVariables:()=>ma,styles:()=>Su});var w0=u(()=>{"use strict";ga();S0();wp();Rp()});var R0=u(()=>{"use strict"});var wO,Jr,Ap=u(()=>{"use strict";L();j();C();Op();ba();Ie();ji();wu();Nn();wO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Jr=class extends Fi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():b`
3195
- <a href="${va(this.result)}"
3185
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};qo.elementDefinitions={"ft-typography":oe};qo.styles=Cu});var O0,w0=u(()=>{"use strict";Ap();O0={"ft-search-result-abstract":qo}});var _p=u(()=>{"use strict";C();w0();B(O0)});var R0={};G(R0,{FtSearchResultAbstract:()=>qo,FtSearchResultAbstractCssVariables:()=>ga,styles:()=>Cu});var A0=u(()=>{"use strict";ya();E0();Ap();_p()});var _0=u(()=>{"use strict"});var AO,Jr,kp=u(()=>{"use strict";L();j();C();Rp();xa();ke();Ki();Ru();Fn();AO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Jr=class extends Di{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():b`
3186
+ <a href="${Sa(this.result)}"
3196
3187
  @click=${this.onResultClick}
3197
3188
  @auxclick=${r=>this.onAuxClick(r)}
3198
3189
  @contextmenu=${this.onContextMenu}
3199
- target="${dx(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3190
+ target="${px(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3200
3191
  part="link">
3201
3192
  ${this.renderTitle()}
3202
3193
  </a>
3203
3194
  `:_}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){var e;return b`
3204
- <ft-typography variant="${pe.title}" part="text">${ao((e=It(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
3205
- `}onResultClick(){this.dispatchEvent(new Ho(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new ki(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`)&&(this.elementToFocus={selector:"a"})}};Jr.elementDefinitions={"ft-typography":oe};Jr.styles=Cu;wO([h({type:Boolean})],Jr.prototype,"withoutLink",void 0)});var A0,_0=u(()=>{"use strict";Ap();A0={"ft-search-result-title":Jr}});var _p=u(()=>{"use strict";C();_0();B(A0)});var k0={};G(k0,{FtSearchResultTitle:()=>Jr,FtSearchResultTitleCssVariables:()=>ya,styles:()=>Cu});var L0=u(()=>{"use strict";ba();R0();Ap();_p()});var RO,kp,Lp=u(()=>{"use strict";L();RO={},kp=O`
3195
+ <ft-typography variant="${ue.title}" part="text">${ao((e=Tt(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
3196
+ `}onResultClick(){this.dispatchEvent(new Ho(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new Li(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`)&&(this.elementToFocus={selector:"a"})}};Jr.elementDefinitions={"ft-typography":oe};Jr.styles=Eu;AO([h({type:Boolean})],Jr.prototype,"withoutLink",void 0)});var k0,L0=u(()=>{"use strict";kp();k0={"ft-search-result-title":Jr}});var Lp=u(()=>{"use strict";C();L0();B(k0)});var I0={};G(I0,{FtSearchResultTitle:()=>Jr,FtSearchResultTitleCssVariables:()=>ba,styles:()=>Eu});var T0=u(()=>{"use strict";xa();_0();kp();Lp()});var _O,Ip,Tp=u(()=>{"use strict";L();_O={},Ip=O`
3206
3197
  [part="no-results-message"] {
3207
3198
  text-align: center;
3208
3199
  padding: 12px;
3209
3200
  }
3210
- `});var I0=u(()=>{"use strict"});var T0,P0=u(()=>{"use strict";L();T0=O`
3201
+ `});var P0=u(()=>{"use strict"});var N0,F0=u(()=>{"use strict";L();N0=O`
3211
3202
  a {
3212
3203
  color: inherit;
3213
3204
  text-decoration: inherit;
3214
3205
  }
3215
- `});var $a,N0=u(()=>{"use strict";$a=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var Ba,Ip,xr,F0=u(()=>{"use strict";L();j();C();P0();N0();Ba=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ip=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},xr=class extends ${constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new $a(e=>this.onResultSelected(e))}render(){return b`
3206
+ `});var Ba,D0=u(()=>{"use strict";Ba=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var Ua,Pp,xr,M0=u(()=>{"use strict";L();j();C();F0();D0();Ua=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Pp=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},xr=class extends ${constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Ba(e=>this.onResultSelected(e))}render(){return b`
3216
3207
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3217
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Ip(this.result))}registerComponent(e){var r,o;e.stopPropagation();let n=(o=(r=e.detail)===null||r===void 0?void 0:r.target)!==null&&o!==void 0?o:e.composedPath()[0];this.register(n)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};xr.elementDefinitions={};xr.styles=T0;Ba([h({attribute:!1})],xr.prototype,"cluster",void 0);Ba([h({attribute:!1,type:Boolean})],xr.prototype,"openResultInNewTab",void 0);Ba([k()],xr.prototype,"result",void 0);Ba([h()],xr.prototype,"index",void 0)});var D0,M0=u(()=>{"use strict";F0();D0={"ft-search-result-context":xr}});var $0=u(()=>{"use strict";C();M0();B(D0)});var Di,B0,Tp=u(()=>{"use strict";Pt();Di=fr.build("searchResultsNumber"),B0={results:"{0} results","results[\\=1]":"1 result"}});var qo,Rt,Pp=u(()=>{"use strict";L();Ut();j();C();Lp();Wo();$0();_p();Rp();Pt();Tp();Li();qo=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Rt=class extends pt(Nt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>b`
3208
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Pp(this.result))}registerComponent(e){var r,o;e.stopPropagation();let n=(o=(r=e.detail)===null||r===void 0?void 0:r.target)!==null&&o!==void 0?o:e.composedPath()[0];this.register(n)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};xr.elementDefinitions={};xr.styles=N0;Ua([h({attribute:!1})],xr.prototype,"cluster",void 0);Ua([h({attribute:!1,type:Boolean})],xr.prototype,"openResultInNewTab",void 0);Ua([k()],xr.prototype,"result",void 0);Ua([h()],xr.prototype,"index",void 0)});var $0,B0=u(()=>{"use strict";M0();$0={"ft-search-result-context":xr}});var U0=u(()=>{"use strict";C();B0();B($0)});var Mi,z0,Np=u(()=>{"use strict";St();Mi=Pt.build("searchResultsNumber"),z0={results:"{0} results","results[\\=1]":"1 result"}});var Zo,At,Fp=u(()=>{"use strict";L();zt();j();C();Tp();Wo();U0();Lp();_p();St();Np();Ii();Zo=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},At=class extends pt(Ft){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>b`
3218
3209
  <ft-search-result-title></ft-search-result-title>
3219
3210
  <ft-search-result-abstract></ft-search-result-abstract>
3220
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[Xt.CLUSTERED_SEARCH],this.addI18nContext(Di)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return b`
3221
- <ft-typography part="no-results-message" variant="body1">${Di.messages.results(0)}</ft-typography>
3211
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[Jt.CLUSTERED_SEARCH],this.addI18nContext(Mi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return b`
3212
+ <ft-typography part="no-results-message" variant="body1">${Mi.messages.results(0)}</ft-typography>
3222
3213
  `;let e=this.buildClusters();return ge(e,r=>r.id,(r,o)=>{var n;return b`
3223
3214
  <ft-search-result-context .cluster=${r} index="${o}"
3224
3215
  @ft-search-result-cluster-change=${s=>this.onClusterChange(r.id,s.detail)}>
3225
3216
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],o)}
3226
3217
  </ft-search-result-context>
3227
- `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");o&&Qc.scrollIntoViewIfPossible(o,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){return this.clusterPolicy==="display-all-results"?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(o=>({id:as(o.entries[0]),entries:o.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,o;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(s=>s.entries.map(a=>({id:as(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(o=this.paging.perPage)!==null&&o!==void 0?o:20):n}};Rt.styles=kp;qo([h({type:String,attribute:"cluster-policy"})],Rt.prototype,"clusterPolicy",void 0);qo([h({type:Boolean})],Rt.prototype,"displayNoResultsMessage",void 0);qo([h({attribute:!1})],Rt.prototype,"renderResult",void 0);qo([ce([])],Rt.prototype,"clusterSortCriterion",void 0);qo([de({selector:t=>({...t.request,paging:void 0,changedByConfiguration:void 0})})],Rt.prototype,"requestWithoutPaging",void 0);qo([de({selector:t=>t.request.paging})],Rt.prototype,"paging",void 0);qo([de()],Rt.prototype,"results",void 0)});var U0,z0=u(()=>{"use strict";Pp();U0={"ft-search-results":Rt}});var V0=u(()=>{"use strict";C();z0();B(U0)});var H0={};G(H0,{FtSearchResults:()=>Rt,FtSearchResultsCssVariables:()=>RO,styles:()=>kp});var W0=u(()=>{"use strict";Lp();I0();Pp();V0()});var AO,Np,Fp=u(()=>{"use strict";L();AO={},Np=O`
3218
+ `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");o&&Yc.scrollIntoViewIfPossible(o,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){return this.clusterPolicy==="display-all-results"?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(o=>({id:ls(o.entries[0]),entries:o.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,o;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(s=>s.entries.map(a=>({id:ls(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(o=this.paging.perPage)!==null&&o!==void 0?o:20):n}};At.styles=Ip;Zo([h({type:String,attribute:"cluster-policy"})],At.prototype,"clusterPolicy",void 0);Zo([h({type:Boolean})],At.prototype,"displayNoResultsMessage",void 0);Zo([h({attribute:!1})],At.prototype,"renderResult",void 0);Zo([le([])],At.prototype,"clusterSortCriterion",void 0);Zo([ce({selector:t=>({...t.request,paging:void 0,changedByConfiguration:void 0})})],At.prototype,"requestWithoutPaging",void 0);Zo([ce({selector:t=>t.request.paging})],At.prototype,"paging",void 0);Zo([ce()],At.prototype,"results",void 0)});var V0,H0=u(()=>{"use strict";Fp();V0={"ft-search-results":At}});var W0=u(()=>{"use strict";C();H0();B(V0)});var G0={};G(G0,{FtSearchResults:()=>At,FtSearchResultsCssVariables:()=>_O,styles:()=>Ip});var j0=u(()=>{"use strict";Tp();P0();Fp();W0()});var kO,Dp,Mp=u(()=>{"use strict";L();kO={},Dp=O`
3228
3219
 
3229
- `});var G0=u(()=>{"use strict"});var j0,Fr,Dp=u(()=>{"use strict";L();C();Fp();Wo();Pt();Tp();Ie();Li();j0=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Fr=class extends vn(pt(Nt)){constructor(){super(),this.ariaNotificationDebouncer=new ie(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.neededSearchRequests=[Xt.CLUSTERED_SEARCH],this.addI18nContext(Di,B0)}render(){return this.paging==null?_:b`
3230
- <ft-typography variant="${pe.body1}">
3231
- ${Di.messages.results(this.paging.totalClustersCount)}
3220
+ `});var K0=u(()=>{"use strict"});var q0,Fr,$p=u(()=>{"use strict";L();C();Mp();Wo();St();Np();ke();Ii();q0=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Fr=class extends Sn(pt(Ft)){constructor(){super(),this.ariaNotificationDebouncer=new ie(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.neededSearchRequests=[Jt.CLUSTERED_SEARCH],this.addI18nContext(Mi,z0)}render(){return this.paging==null?_:b`
3221
+ <ft-typography variant="${ue.body1}">
3222
+ ${Mi.messages.results(this.paging.totalClustersCount)}
3232
3223
  </ft-typography>
3233
- `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let r=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(r)}})}};Fr.elementDefinitions={"ft-typography":oe};Fr.styles=Np;j0([ce({context:"officialContext",key:"searchNumberOfResults"})],Fr.prototype,"searchNumberOfResults",void 0);j0([de()],Fr.prototype,"paging",void 0)});var K0,q0=u(()=>{"use strict";Dp();K0={"ft-search-results-number":Fr}});var Z0=u(()=>{"use strict";C();q0();B(K0)});var Q0={};G(Q0,{FtSearchResultsNumber:()=>Fr,FtSearchResultsNumberCssVariables:()=>AO,styles:()=>Np});var Y0=u(()=>{"use strict";Fp();G0();Dp();Z0()});C();L();C();L();C();L();C();kr();var he={padding:i.create("--ft-card-padding","","SIZE","12px"),borderRadius:i.extend("--ft-card-border-radius","",x.borderRadiusM),borderStyle:i.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:i.extend("--ft-card-border-color","",x.colorOutline),hoverBorderColor:i.extend("--ft-card-hover-border-color","",x.colorPrimary),outlineStyle:i.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:i.create("--ft-card-outline-width","","SIZE","0"),outlineColor:i.extend("--ft-card-outline-color","",x.colorPrimary),selectedOutlineStyle:i.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:i.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:i.extend("--ft-card-selected-outline-color","",x.colorPrimary),selectedBorderRadius:i.extend("--ft-card-selected-border-radius","",x.borderRadiusM),colorSurface:i.extend("--ft-card-background-color","",x.colorSurface),colorOnSurfaceMedium:i.extend("--ft-card-content-color","",x.colorOnSurfaceMedium),colorOnSurfaceHigh:i.extend("--ft-card-title-color","",x.colorOnSurfaceHigh),elevation02:i.extend("--ft-card-elevation","",x.elevation02),elevation04:i.extend("--ft-card-selected-elevation","",x.elevation04)},Ey=O`
3224
+ `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let r=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(r)}})}};Fr.elementDefinitions={"ft-typography":oe};Fr.styles=Dp;q0([le({context:"officialContext",key:"searchNumberOfResults"})],Fr.prototype,"searchNumberOfResults",void 0);q0([ce()],Fr.prototype,"paging",void 0)});var Z0,Q0=u(()=>{"use strict";$p();Z0={"ft-search-results-number":Fr}});var Y0=u(()=>{"use strict";C();Q0();B(Z0)});var X0={};G(X0,{FtSearchResultsNumber:()=>Fr,FtSearchResultsNumberCssVariables:()=>kO,styles:()=>Dp});var J0=u(()=>{"use strict";Mp();K0();$p();Y0()});C();L();C();L();C();L();C();kr();var fe={padding:i.create("--ft-card-padding","","SIZE","12px"),borderRadius:i.extend("--ft-card-border-radius","",x.borderRadiusM),borderStyle:i.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:i.extend("--ft-card-border-color","",x.colorOutline),hoverBorderColor:i.extend("--ft-card-hover-border-color","",x.colorPrimary),outlineStyle:i.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:i.create("--ft-card-outline-width","","SIZE","0"),outlineColor:i.extend("--ft-card-outline-color","",x.colorPrimary),selectedOutlineStyle:i.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:i.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:i.extend("--ft-card-selected-outline-color","",x.colorPrimary),selectedBorderRadius:i.extend("--ft-card-selected-border-radius","",x.borderRadiusM),colorSurface:i.extend("--ft-card-background-color","",x.colorSurface),colorOnSurfaceMedium:i.extend("--ft-card-content-color","",x.colorOnSurfaceMedium),colorOnSurfaceHigh:i.extend("--ft-card-title-color","",x.colorOnSurfaceHigh),elevation02:i.extend("--ft-card-elevation","",x.elevation02),elevation04:i.extend("--ft-card-selected-elevation","",x.elevation04)},wy=O`
3234
3225
  :host {
3235
3226
  display: block;
3236
3227
  }
3237
3228
 
3238
3229
  #container {
3239
- padding: ${he.padding};
3240
- outline-style: ${he.outlineStyle};
3241
- outline-width: ${he.outlineWidth};
3242
- outline-color: ${he.outlineColor};
3243
- border-color: ${he.borderColor};
3244
- border-style: ${he.borderStyle};
3230
+ padding: ${fe.padding};
3231
+ outline-style: ${fe.outlineStyle};
3232
+ outline-width: ${fe.outlineWidth};
3233
+ outline-color: ${fe.outlineColor};
3234
+ border-color: ${fe.borderColor};
3235
+ border-style: ${fe.borderStyle};
3245
3236
  border-width: 1px;
3246
- border-radius: ${he.borderRadius};
3247
- ${w(re.borderRadius,he.borderRadius)};
3248
- box-shadow: ${he.elevation02};
3237
+ border-radius: ${fe.borderRadius};
3238
+ ${w(re.borderRadius,fe.borderRadius)};
3239
+ box-shadow: ${fe.elevation02};
3249
3240
  position: relative;
3250
3241
  width: 100%;
3251
3242
  height: 100%;
@@ -3257,7 +3248,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3257
3248
  grid-template-rows: max-content minmax(0, 1fr);
3258
3249
  grid-gap: 8px;
3259
3250
  box-sizing: border-box;
3260
- background-color: ${he.colorSurface};
3251
+ background-color: ${fe.colorSurface};
3261
3252
  transition: box-shadow 0.2s linear, color 0.2s linear;
3262
3253
  }
3263
3254
 
@@ -3279,12 +3270,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3279
3270
  }
3280
3271
 
3281
3272
  #container.selected {
3282
- outline-style: ${he.selectedOutlineStyle};
3283
- outline-width: ${he.selectedOutlineWidth};
3284
- outline-color: ${he.selectedOutlineColor};
3285
- border-radius: ${he.selectedBorderRadius};
3286
- ${w(re.borderRadius,he.selectedBorderRadius)};
3287
- box-shadow: ${he.elevation04};
3273
+ outline-style: ${fe.selectedOutlineStyle};
3274
+ outline-width: ${fe.selectedOutlineWidth};
3275
+ outline-color: ${fe.selectedOutlineColor};
3276
+ border-radius: ${fe.selectedBorderRadius};
3277
+ ${w(re.borderRadius,fe.selectedBorderRadius)};
3278
+ box-shadow: ${fe.elevation04};
3288
3279
  }
3289
3280
 
3290
3281
  #container.clickable {
@@ -3292,13 +3283,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3292
3283
  }
3293
3284
 
3294
3285
  #container.clickable:hover {
3295
- box-shadow: ${he.elevation04};
3296
- border-color: ${he.hoverBorderColor};
3286
+ box-shadow: ${fe.elevation04};
3287
+ border-color: ${fe.hoverBorderColor};
3297
3288
  }
3298
3289
 
3299
3290
  #header {
3300
3291
  grid-area: header;
3301
- color: ${he.colorOnSurfaceHigh};
3292
+ color: ${fe.colorOnSurfaceHigh};
3302
3293
  text-overflow: ellipsis;
3303
3294
  overflow: hidden;
3304
3295
  word-break: break-word;
@@ -3313,13 +3304,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3313
3304
  word-break: break-word;
3314
3305
  min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
3315
3306
  grid-area: content;
3316
- color: ${he.colorOnSurfaceMedium};
3307
+ color: ${fe.colorOnSurfaceMedium};
3317
3308
  }
3318
3309
 
3319
3310
  #action {
3320
3311
  grid-area: actions;
3321
3312
  }
3322
- `;Tn();ga();kr();ba();var Je={searchFieldBackgroundColor:i.extend("--ft-rsid-search-field-background-color","",x.colorSurface),searchFieldBorderColor:i.extend("--ft-rsid-search-field-border-color","",x.colorOutline),searchFieldTextColor:i.extend("--ft-rsid-search-field-text-color","",x.colorOnSurface),searchFieldBorderRadius:i.extend("--ft-rsid-search-field-border-radius","",x.borderRadiusS),searchButtonColor:i.extend("--ft-rsid-search-field-button-color","",x.colorPrimary),resultsNumberColor:i.extend("--ft-rsid-results-number-color","",x.colorOnSurfaceMedium),resultBackgroundColor:i.extend("--ft-rsid-result-background-color","",x.colorSurface),resultBorderColor:i.extend("--ft-rsid-result-border-color","",x.colorOutline),resultBorderRadius:i.extend("--ft-rsid-result-border-radius","",x.borderRadiusS),resultTitleTextColor:i.extend("--ft-rsid-result-title-text-color","",x.colorOnSurface),resultBreadcrumbTextColor:i.extend("--ft-rsid-result-breadcrumb-text-color","",x.colorOnSurfaceMedium),resultContentTextColor:i.extend("--ft-rsid-result-content-text-color","",x.colorOnSurface),resultHighlightBackgroundColor:i.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:i.extend("--ft-rsid-result-hover-background-color","",x.colorPrimary),resultHoverBorderColor:i.extend("--ft-rsid-result-hover-border-color","",x.colorPrimary)},nx=O`
3313
+ `;Pn();ya();kr();xa();var Xe={searchFieldBackgroundColor:i.extend("--ft-rsid-search-field-background-color","",x.colorSurface),searchFieldBorderColor:i.extend("--ft-rsid-search-field-border-color","",x.colorOutline),searchFieldTextColor:i.extend("--ft-rsid-search-field-text-color","",x.colorOnSurface),searchFieldBorderRadius:i.extend("--ft-rsid-search-field-border-radius","",x.borderRadiusS),searchButtonColor:i.extend("--ft-rsid-search-field-button-color","",x.colorPrimary),resultsNumberColor:i.extend("--ft-rsid-results-number-color","",x.colorOnSurfaceMedium),resultBackgroundColor:i.extend("--ft-rsid-result-background-color","",x.colorSurface),resultBorderColor:i.extend("--ft-rsid-result-border-color","",x.colorOutline),resultBorderRadius:i.extend("--ft-rsid-result-border-radius","",x.borderRadiusS),resultTitleTextColor:i.extend("--ft-rsid-result-title-text-color","",x.colorOnSurface),resultBreadcrumbTextColor:i.extend("--ft-rsid-result-breadcrumb-text-color","",x.colorOnSurfaceMedium),resultContentTextColor:i.extend("--ft-rsid-result-content-text-color","",x.colorOnSurface),resultHighlightBackgroundColor:i.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:i.extend("--ft-rsid-result-hover-background-color","",x.colorPrimary),resultHoverBorderColor:i.extend("--ft-rsid-result-hover-border-color","",x.colorPrimary)},ax=O`
3323
3314
  .ft-search-in-doc--container {
3324
3315
  display: flex;
3325
3316
  flex-direction: column;
@@ -3327,11 +3318,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3327
3318
  }
3328
3319
 
3329
3320
  ft-search-input {
3330
- ${w(be.colorSurface,Je.searchFieldBackgroundColor)};
3331
- ${w(be.colorOutline,Je.searchFieldBorderColor)};
3332
- ${w(be.colorOnSurface,Je.searchFieldTextColor)};
3333
- ${w(be.borderRadius,Je.searchFieldBorderRadius)};
3334
- ${w(be.buttonColor,Je.searchButtonColor)};
3321
+ ${w(be.colorSurface,Xe.searchFieldBackgroundColor)};
3322
+ ${w(be.colorOutline,Xe.searchFieldBorderColor)};
3323
+ ${w(be.colorOnSurface,Xe.searchFieldTextColor)};
3324
+ ${w(be.borderRadius,Xe.searchFieldBorderRadius)};
3325
+ ${w(be.buttonColor,Xe.searchButtonColor)};
3335
3326
  }
3336
3327
 
3337
3328
  ft-search-results-number {
@@ -3339,41 +3330,41 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3339
3330
  }
3340
3331
 
3341
3332
  ft-search-results-number, ft-search-results::part(no-results-message) {
3342
- color: ${Je.resultsNumberColor};
3333
+ color: ${Xe.resultsNumberColor};
3343
3334
  }
3344
3335
 
3345
3336
  ft-search-load-more-button {
3346
3337
  margin: auto;
3347
3338
  }
3348
- `,sx=O`
3339
+ `,lx=O`
3349
3340
  ft-card {
3350
3341
  margin-bottom: 8px;
3351
- ${w(he.elevation04,"none")};
3352
- ${w(he.elevation02,"none")};
3353
- ${w(he.borderStyle,"solid")};
3354
- ${w(he.borderRadius,x.borderRadiusS)};
3355
- ${w(he.colorSurface,Je.resultBackgroundColor)};
3356
- ${w(he.borderColor,Je.resultBorderColor)};
3357
- ${w(he.borderRadius,Je.resultBorderRadius)};
3342
+ ${w(fe.elevation04,"none")};
3343
+ ${w(fe.elevation02,"none")};
3344
+ ${w(fe.borderStyle,"solid")};
3345
+ ${w(fe.borderRadius,x.borderRadiusS)};
3346
+ ${w(fe.colorSurface,Xe.resultBackgroundColor)};
3347
+ ${w(fe.borderColor,Xe.resultBorderColor)};
3348
+ ${w(fe.borderRadius,Xe.resultBorderRadius)};
3358
3349
  }
3359
3350
 
3360
3351
  ft-search-result-title {
3361
- color: ${Je.resultTitleTextColor};
3362
- ${w(ya.highlightBackgroundColor,Je.resultHighlightBackgroundColor)};
3352
+ color: ${Xe.resultTitleTextColor};
3353
+ ${w(ba.highlightBackgroundColor,Xe.resultHighlightBackgroundColor)};
3363
3354
  }
3364
3355
 
3365
3356
  .breadcrumb {
3366
- color: ${Je.resultBreadcrumbTextColor};
3357
+ color: ${Xe.resultBreadcrumbTextColor};
3367
3358
  }
3368
3359
 
3369
3360
  ft-search-result-abstract {
3370
- color: ${Je.resultContentTextColor};
3371
- ${w(ma.highlightBackgroundColor,Je.resultHighlightBackgroundColor)};
3361
+ color: ${Xe.resultContentTextColor};
3362
+ ${w(ga.highlightBackgroundColor,Xe.resultHighlightBackgroundColor)};
3372
3363
  }
3373
3364
 
3374
3365
  ft-card:hover {
3375
- ${w(he.hoverBorderColor,Je.resultHoverBorderColor)};
3376
- ${w(re.color,Je.resultHoverBackgroundColor)};
3366
+ ${w(fe.hoverBorderColor,Xe.resultHoverBorderColor)};
3367
+ ${w(re.color,Xe.resultHoverBackgroundColor)};
3377
3368
  }
3378
3369
 
3379
3370
  .result-container {
@@ -3386,8 +3377,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3386
3377
  text-decoration: none;
3387
3378
  color: inherit;
3388
3379
  }
3389
- `;Pt();C();j();var ax;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change",t.requestedTopicNotFound="requested-topic-not-found",t.requestedTopicFiltered="requested-topic-filtered"})(ax||(ax={}));var lx;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(lx||(lx={}));var pO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ou=class extends Er{constructor(e){super("register-ft-reader-component",e)}},Eu=Symbol("registerInterval"),fO=we(Symbol("toFtReaderComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Eu]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Eu]):this.dispatchEvent(new Ou({target:this}))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Eu,pO([k()],r.prototype,"stateManager",void 0),r}),xa=class extends fO(bt){};j();wu();Pt();var Ru=fr.build("designedReaderSearchInDocument");L();j();C();ot();Ie();rt();var _i=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ft=class extends ${constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return b`
3390
- <div id="container" part="container" class="${fe(e)}">
3380
+ `;St();C();j();var cx;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change",t.requestedTopicNotFound="requested-topic-not-found",t.requestedTopicFiltered="requested-topic-filtered"})(cx||(cx={}));var dx;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(dx||(dx={}));var hO=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},wu=class extends Er{constructor(e){super("register-ft-reader-component",e)}},Ou=Symbol("registerInterval"),mO=Oe(Symbol("toFtReaderComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Ou]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ou]):this.dispatchEvent(new wu({target:this}))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ou,hO([k()],r.prototype,"stateManager",void 0),r}),va=class extends mO(bt){};j();Ru();St();var Au=Pt.build("designedReaderSearchInDocument");L();j();C();rt();ke();tt();var ki=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},ft=class extends ${constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return b`
3381
+ <div id="container" part="container" class="${pe(e)}">
3391
3382
  ${this.clickable?b`
3392
3383
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
3393
3384
  `:_}
@@ -3404,9 +3395,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3404
3395
  </ft-typography>
3405
3396
  </div>
3406
3397
  </div>
3407
- `}};ft.elementDefinitions={"ft-ripple":Z,"ft-typography":oe};ft.styles=Ey;_i([h()],ft.prototype,"title",void 0);_i([h({type:Boolean})],ft.prototype,"clickable",void 0);_i([h({type:Boolean})],ft.prototype,"selected",void 0);_i([h({type:Boolean})],ft.prototype,"noHeader",void 0);_i([h({type:Boolean})],ft.prototype,"noContent",void 0);_i([h({type:Boolean})],ft.prototype,"oneLineHeader",void 0);C();var ux={"ft-card":ft};B(ux);Nn();Ie();pa();var er=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},qe=class t extends pt(xa){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.metadataFilters=[],this.uniqueId=bl(6,"search-in-document-"),this.addI18nContext(Ru)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}},...this.metadataFilters]}renderResult(e,r){var o;return b`
3408
- <style> ${sx}</style>
3409
- <a href="${va(e,this.metadataFilters)}" @click=${n=>this.onLinkClick(n,e,r)}
3398
+ `}};ft.elementDefinitions={"ft-ripple":Z,"ft-typography":oe};ft.styles=wy;ki([h()],ft.prototype,"title",void 0);ki([h({type:Boolean})],ft.prototype,"clickable",void 0);ki([h({type:Boolean})],ft.prototype,"selected",void 0);ki([h({type:Boolean})],ft.prototype,"noHeader",void 0);ki([h({type:Boolean})],ft.prototype,"noContent",void 0);ki([h({type:Boolean})],ft.prototype,"oneLineHeader",void 0);C();var fx={"ft-card":ft};B(fx);Fn();ke();fa();var tr=function(t,e,r,o){var n=arguments.length,s=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(n<3?a(s):n>3?a(e,r,s):a(e,r))||s);return n>3&&s&&Object.defineProperty(e,r,s),s},Ke=class t extends pt(va){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.metadataFilters=[],this.uniqueId=xl(6,"search-in-document-"),this.addI18nContext(Au)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}},...this.metadataFilters]}renderResult(e,r){var o;return b`
3399
+ <style> ${lx}</style>
3400
+ <a href="${Sa(e,this.metadataFilters)}" @click=${n=>this.onLinkClick(n,e,r)}
3410
3401
  @auxclick=${n=>this.onAuxClick(n,e,r)}
3411
3402
  @contextmenu=${()=>this.onContextMenu(e,r)}>
3412
3403
  <ft-card clickable noheader>
@@ -3414,7 +3405,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3414
3405
  ${this.hideResultTitle?_:b`
3415
3406
  <ft-search-result-title withoutLink="true"></ft-search-result-title>`}
3416
3407
  ${this.hideResultBreadcrumb?_:b`
3417
- <ft-typography class="breadcrumb" variant="${pe.caption}">
3408
+ <ft-typography class="breadcrumb" variant="${ue.caption}">
3418
3409
  ${(o=e.topic)===null||o===void 0?void 0:o.breadcrumb.join(" > ")}
3419
3410
  </ft-typography>
3420
3411
  `}
@@ -3424,7 +3415,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3424
3415
  </div>
3425
3416
  </ft-card>
3426
3417
  </a>
3427
- `}onAuxClick(e,r,o){e.button==1&&this.dispatchEvent(new Ho(r,o))}onContextMenu(e,r){this.dispatchEvent(new ki(e,r))}render(){return this.map?b`
3418
+ `}onAuxClick(e,r,o){e.button==1&&this.dispatchEvent(new Ho(r,o))}onContextMenu(e,r){this.dispatchEvent(new Li(e,r))}render(){return this.map?b`
3428
3419
  <ft-search-context id="${this.uniqueId}"
3429
3420
  part="search-context"
3430
3421
  contentLocale="${this.map.lang}"
@@ -3433,7 +3424,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3433
3424
  scope="ALL_TOPICS"
3434
3425
  ignoreEmptyQuery>
3435
3426
  <div class="ft-search-in-doc--container">
3436
- <ft-search-input placeholder="${this.placeholder?this.placeholder.message:Ru.messages.placeholder()}"
3427
+ <ft-search-input placeholder="${this.placeholder?this.placeholder.message:Au.messages.placeholder()}"
3437
3428
  ?triggerSearchOnClear=${this.emptyResultOnClear}
3438
3429
  @change=${e=>{var r;(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}></ft-search-input>
3439
3430
  ${this.hideResultsNumber?_:b`
@@ -3448,7 +3439,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
3448
3439
  </slot>
3449
3440
  </div>
3450
3441
  </ft-search-context>
3451
- `:_}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){oi(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r,o){var n,s;this.dispatchEvent(new Ho(r,o)),(n=this.stateManager)===null||n===void 0||n.navigateToTopic((s=r.topic)===null||s===void 0?void 0:s.tocId,void 0,void 0),e.preventDefault()}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Ox(),Ex)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(p0(),u0)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(v0(),x0)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(w0(),O0)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(L0(),k0)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(W0(),H0)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Y0(),Q0)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};qe.elementDefinitions={"ft-card":ft};qe.styles=nx;er([de()],qe.prototype,"map",void 0);er([de()],qe.prototype,"searchInDocumentQuery",void 0);er([M("ft-search-results")],qe.prototype,"searchResults",void 0);er([h({type:Boolean})],qe.prototype,"hideResultTitle",void 0);er([h({type:Boolean})],qe.prototype,"hideResultBreadcrumb",void 0);er([h({type:Boolean})],qe.prototype,"hideResultAbstract",void 0);er([h({type:Boolean})],qe.prototype,"hideResultsNumber",void 0);er([h({type:Boolean})],qe.prototype,"emptyResultOnClear",void 0);er([M('[part="search-context"]')],qe.prototype,"searchContext",void 0);er([wi()],qe.prototype,"placeholder",void 0);er([de({store:"reader"})],qe.prototype,"metadataFilters",void 0);var X0={"ft-reader-search-in-document":qe};B(X0);})();
3442
+ `:_}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){ii(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r,o){var n,s;this.dispatchEvent(new Ho(r,o)),(n=this.stateManager)===null||n===void 0||n.navigateToTopic((s=r.topic)===null||s===void 0?void 0:s.tocId,void 0,void 0),e.preventDefault()}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Rx(),wx)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(h0(),f0)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(C0(),S0)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(A0(),R0)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(T0(),I0)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(j0(),G0)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(J0(),X0)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Ke.elementDefinitions={"ft-card":ft};Ke.styles=ax;tr([ce()],Ke.prototype,"map",void 0);tr([ce()],Ke.prototype,"searchInDocumentQuery",void 0);tr([M("ft-search-results")],Ke.prototype,"searchResults",void 0);tr([h({type:Boolean})],Ke.prototype,"hideResultTitle",void 0);tr([h({type:Boolean})],Ke.prototype,"hideResultBreadcrumb",void 0);tr([h({type:Boolean})],Ke.prototype,"hideResultAbstract",void 0);tr([h({type:Boolean})],Ke.prototype,"hideResultsNumber",void 0);tr([h({type:Boolean})],Ke.prototype,"emptyResultOnClear",void 0);tr([M('[part="search-context"]')],Ke.prototype,"searchContext",void 0);tr([Ri()],Ke.prototype,"placeholder",void 0);tr([ce({store:"reader"})],Ke.prototype,"metadataFilters",void 0);var eS={"ft-reader-search-in-document":Ke};B(eS);})();
3452
3443
  /*! Bundled license information:
3453
3444
 
3454
3445
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: