@fluid-topics/ft-reader-search-in-document 1.3.53 → 1.3.54

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 Yv=Object.create;var pl=Object.defineProperty;var Qv=Object.getOwnPropertyDescriptor;var Xv=Object.getOwnPropertyNames;var Jv=Object.getPrototypeOf,ex=Object.prototype.hasOwnProperty;var p=(r,e)=>()=>(r&&(e=r(r=0)),e);var tx=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),oe=(r,e)=>{for(var t in e)pl(r,t,{get:e[t],enumerable:!0})},rx=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Xv(e))!ex.call(r,n)&&n!==t&&pl(r,n,{get:()=>e[n],enumerable:!(i=Qv(e,n))||i.enumerable});return r};var ox=(r,e,t)=>(t=r!=null?Yv(Jv(r)):{},rx(e||!r||!r.__esModule?pl(t,"default",{value:r,enumerable:!0}):t,r));var Ju=p(()=>{if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(I,w){if(I=I.toLowerCase(),this._getDefinition(I)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${I}" has already been used with this registry`);if(this._definitionsByClass.get(w)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let k=w.prototype.attributeChangedCallback,K=new Set(w.observedAttributes||[]);b(w,K,k);let ee={elementClass:w,connectedCallback:w.prototype.connectedCallback,disconnectedCallback:w.prototype.disconnectedCallback,adoptedCallback:w.prototype.adoptedCallback,attributeChangedCallback:k,formAssociated:w.formAssociated,formAssociatedCallback:w.prototype.formAssociatedCallback,formDisabledCallback:w.prototype.formDisabledCallback,formResetCallback:w.prototype.formResetCallback,formStateRestoreCallback:w.prototype.formStateRestoreCallback,observedAttributes:K};this._definitionsByTag.set(I,ee),this._definitionsByClass.set(w,ee);let he=t.call(i,I);he||(he=m(I),e.call(i,I,he)),this===window.customElements&&(s.set(w,ee),ee.standInClass=he);let ce=this._awaitingUpgrade.get(I);if(ce){this._awaitingUpgrade.delete(I);for(let v of ce)a.delete(v),C(v,ee,!0)}let q=this._whenDefinedPromises.get(I);return q!==void 0&&(q.resolve(w),this._whenDefinedPromises.delete(I)),w}upgrade(){N.push(this),i.upgrade.apply(i,arguments),N.pop()}get(I){return this._definitionsByTag.get(I)?.elementClass}_getDefinition(I){return this._definitionsByTag.get(I)}whenDefined(I){let w=this._getDefinition(I);if(w!==void 0)return Promise.resolve(w.elementClass);let k=this._whenDefinedPromises.get(I);return k===void 0&&(k={},k.promise=new Promise(K=>k.resolve=K),this._whenDefinedPromises.set(I,k)),k.promise}_upgradeWhenDefined(I,w,k){let K=this._awaitingUpgrade.get(w);K||this._awaitingUpgrade.set(w,K=new Set),k?K.add(I):K.delete(I)}};let d;window.HTMLElement=function(){let w=d;if(w)return d=void 0,w;let k=s.get(this.constructor);if(!k)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return w=Reflect.construct(r,[],k.standInClass),Object.setPrototypeOf(w,this.constructor.prototype),n.set(w,k),w},window.HTMLElement.prototype=r.prototype;let f=I=>I===document||I instanceof ShadowRoot,g=I=>{let w=I.getRootNode();if(!f(w)){let k=N[N.length-1];if(k instanceof CustomElementRegistry)return k;w=k.getRootNode(),f(w)||(w=l.get(w)?.getRootNode()||document)}return w.customElements},m=I=>class{static get formAssociated(){return!0}constructor(){let k=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(k,HTMLElement.prototype);let K=g(k)||window.customElements,ee=K._getDefinition(I);return ee?C(k,ee):a.set(k,K),k}connectedCallback(){let k=n.get(this);k?k.connectedCallback&&k.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,I,!0)}disconnectedCallback(){let k=n.get(this);k?k.disconnectedCallback&&k.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,I,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let k=n.get(this);k&&k.formAssociated&&k?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let k=n.get(this);k?.formAssociated&&k?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let k=n.get(this);k?.formAssociated&&k?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let k=n.get(this);k?.formAssociated&&k?.formStateRestoreCallback?.apply(this,arguments)}},b=(I,w,k)=>{if(w.size===0||k===void 0)return;let K=I.prototype.setAttribute;K&&(I.prototype.setAttribute=function(ce,q){let v=ce.toLowerCase();if(w.has(v)){let A=this.getAttribute(v);K.call(this,v,q),k.call(this,v,A,q)}else K.call(this,v,q)});let ee=I.prototype.removeAttribute;ee&&(I.prototype.removeAttribute=function(ce){let q=ce.toLowerCase();if(w.has(q)){let v=this.getAttribute(q);ee.call(this,q),k.call(this,q,v,null)}else ee.call(this,q)});let he=I.prototype.toggleAttribute;he&&(I.prototype.toggleAttribute=function(ce,q){let v=ce.toLowerCase();if(w.has(v)){let A=this.getAttribute(v);he.call(this,v,q);let G=this.getAttribute(v);k.call(this,v,A,G)}else he.call(this,v,q)})},O=I=>{let w=Object.getPrototypeOf(I);if(w!==window.HTMLElement)return w===r?Object.setPrototypeOf(I,window.HTMLElement):O(w)},C=(I,w,k=!1)=>{Object.setPrototypeOf(I,w.elementClass.prototype),n.set(I,w),d=I;try{new w.elementClass}catch{O(w.elementClass),new w.elementClass}w.attributeChangedCallback&&w.observedAttributes.forEach(K=>{I.hasAttribute(K)&&w.attributeChangedCallback.call(I,K,null,I.getAttribute(K))}),k&&w.connectedCallback&&I.isConnected&&w.connectedCallback.call(I)},_=Element.prototype.attachShadow;Element.prototype.attachShadow=function(I){let w=_.apply(this,arguments);return I.customElements&&(w.customElements=I.customElements),w};let N=[document],F=(I,w,k=void 0)=>{let K=(k?Object.getPrototypeOf(k):I.prototype)[w];I.prototype[w]=function(){N.push(this);let ee=K.apply(k||this,arguments);return ee!==void 0&&l.set(ee,this),N.pop(),ee}};F(ShadowRoot,"createElement",document),F(ShadowRoot,"importNode",document),F(Element,"insertAdjacentHTML");let z=(I,w)=>{let k=Object.getOwnPropertyDescriptor(I.prototype,w);Object.defineProperty(I.prototype,w,{...k,set(K){N.push(this),k.set.call(this,K),N.pop()}})};if(z(Element,"innerHTML"),z(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let I=new WeakMap,w=HTMLElement.prototype.attachInternals,k=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ce){let q=w.call(this,...ce);return I.set(q,this),q},k.forEach(ce=>{let q=window.ElementInternals.prototype,v=q[ce];q[ce]=function(...A){let G=I.get(this);if(n.get(G).formAssociated===!0)return v?.call(this,...A);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class K extends Array{constructor(q){super(...q),this._elements=q}get value(){return this._elements.find(q=>q.checked===!0)?.value||""}}class ee{constructor(q){let v=new Map;q.forEach((A,G)=>{let me=A.getAttribute("name"),Ae=v.get(me)||[];this[+G]=A,Ae.push(A),v.set(me,Ae)}),this.length=q.length,v.forEach((A,G)=>{A&&(A.length===1?this[G]=A[0]:this[G]=new K(A))})}namedItem(q){return this[q]}}let he=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ce=he.get.call(this,[]),q=[];for(let v of ce){let A=n.get(v);(!A||A.formAssociated===!0)&&q.push(v)}return new ee(q)}})}}});var ef=p(()=>{"use strict";Ju();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}});var Yn,tn,ul,tf,ni,Et,R,rn,Qn,Xn=p(()=>{Yn=globalThis,tn=Yn.ShadowRoot&&(Yn.ShadyCSS===void 0||Yn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ul=Symbol(),tf=new WeakMap,ni=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==ul)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(tn&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=tf.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&tf.set(t,e))}return e}toString(){return this.cssText}},Et=r=>new ni(typeof r=="string"?r:r+"",void 0,ul),R=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new ni(t,r,ul)},rn=(r,e)=>{if(tn)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Yn.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},Qn=tn?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Et(t)})(r):r});var ix,nx,ax,sx,lx,cx,Jn,rf,dx,px,on,ai,nn,of,cr,an=p(()=>{Xn();Xn();({is:ix,defineProperty:nx,getOwnPropertyDescriptor:ax,getOwnPropertyNames:sx,getOwnPropertySymbols:lx,getPrototypeOf:cx}=Object),Jn=globalThis,rf=Jn.trustedTypes,dx=rf?rf.emptyScript:"",px=Jn.reactiveElementPolyfillSupport,on=(r,e)=>r,ai={toAttribute(r,e){switch(e){case Boolean:r=r?dx:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},nn=(r,e)=>!ix(r,e),of={attribute:!0,type:String,converter:ai,reflect:!1,useDefault:!1,hasChanged:nn};Symbol.metadata??=Symbol("metadata"),Jn.litPropertyMetadata??=new WeakMap;cr=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,t=of){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&nx(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=ax(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??of}static _$Ei(){if(this.hasOwnProperty(on("elementProperties")))return;let e=cx(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(on("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(on("properties"))){let t=this.properties,i=[...sx(t),...lx(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(Qn(n))}else e!==void 0&&t.push(Qn(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i: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,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return rn(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,t,i){this._$AK(e,i)}_$ET(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:ai).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ai;this._$Em=n,this[n]=s.fromAttribute(t,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??nn)(a,t)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??t??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(t=void 0),this._$AL.set(e,t)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}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,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(t=>t.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(t=>this._$ET(t,this[t])),this._$EM()}updated(e){}firstUpdated(e){}};cr.elementStyles=[],cr.shadowRootOptions={mode:"open"},cr[on("elementProperties")]=new Map,cr[on("finalized")]=new Map,px?.({ReactiveElement:cr}),(Jn.reactiveElementVersions??=[]).push("2.1.0")});function ff(r,e){if(!yl(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return nf!==void 0?nf.createHTML(e):e}function Io(r,e,t=r,i){if(e===nt)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=cn(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=Io(r,n._$AS(r,e.values),n,i)),e}var hl,ea,nf,ml,Tr,gl,ux,Lo,ln,cn,yl,pf,fl,sn,af,sf,Ao,lf,cf,uf,bl,S,vl,xl,nt,P,df,Ro,hf,dn,ta,si,ko,ra,oa,ia,na,Sl,fx,Cl,Qt=p(()=>{hl=globalThis,ea=hl.trustedTypes,nf=ea?ea.createPolicy("lit-html",{createHTML:r=>r}):void 0,ml="$lit$",Tr=`lit$${Math.random().toFixed(9).slice(2)}$`,gl="?"+Tr,ux=`<${gl}>`,Lo=document,ln=()=>Lo.createComment(""),cn=r=>r===null||typeof r!="object"&&typeof r!="function",yl=Array.isArray,pf=r=>yl(r)||typeof r?.[Symbol.iterator]=="function",fl=`[
2
- \f\r]`,sn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,af=/-->/g,sf=/>/g,Ao=RegExp(`>|${fl}(?:([^\\s"'>=/]+)(${fl}*=${fl}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),lf=/'/g,cf=/"/g,uf=/^(?:script|style|textarea|title)$/i,bl=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),S=bl(1),vl=bl(2),xl=bl(3),nt=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),df=new WeakMap,Ro=Lo.createTreeWalker(Lo,129);hf=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=sn;for(let l=0;l<t;l++){let d=r[l],f,g,m=-1,b=0;for(;b<d.length&&(s.lastIndex=b,g=s.exec(d),g!==null);)b=s.lastIndex,s===sn?g[1]==="!--"?s=af:g[1]!==void 0?s=sf:g[2]!==void 0?(uf.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=Ao):g[3]!==void 0&&(s=Ao):s===Ao?g[0]===">"?(s=n??sn,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?Ao:g[3]==='"'?cf:lf):s===cf||s===lf?s=Ao:s===af||s===sf?s=sn:(s=Ao,n=void 0);let O=s===Ao&&r[l+1].startsWith("/>")?" ":"";a+=s===sn?d+ux:m>=0?(i.push(f),d.slice(0,m)+ml+d.slice(m)+Tr+O):d+Tr+(m===-2?l:O)}return[ff(r,a+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},dn=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=hf(e,t);if(this.el=r.createElement(f,i),Ro.currentNode=this.el.content,t===2||t===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(ml)){let b=g[s++],O=n.getAttribute(m).split(Tr),C=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?ra:C[1]==="?"?oa:C[1]==="@"?ia:ko}),n.removeAttribute(m)}else m.startsWith(Tr)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(uf.test(n.tagName)){let m=n.textContent.split(Tr),b=m.length-1;if(b>0){n.textContent=ea?ea.emptyScript:"";for(let O=0;O<b;O++)n.append(m[O],ln()),Ro.nextNode(),d.push({type:2,index:++a});n.append(m[b],ln())}}}else if(n.nodeType===8)if(n.data===gl)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(Tr,m+1))!==-1;)d.push({type:7,index:a}),m+=Tr.length-1}a++}}static createElement(e,t){let i=Lo.createElement("template");return i.innerHTML=e,i}};ta=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??Lo).importNode(t,!0);Ro.currentNode=n;let a=Ro.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new si(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new na(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=Ro.nextNode(),s++)}return Ro.currentNode=Lo,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},si=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Io(this,e,t),cn(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==nt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):pf(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&cn(this._$AH)?this._$AA.nextSibling.data=e:this.T(Lo.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=dn.createElement(ff(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new ta(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=df.get(e.strings);return t===void 0&&df.set(e.strings,t=new dn(e)),t}k(e){yl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.O(ln()),this.O(ln()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ko=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=P,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Io(this,e,t,0),s=!cn(e)||e!==this._$AH&&e!==nt,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Io(this,l[i+d],t,d),f===nt&&(f=this._$AH[d]),s||=!cn(f)||f!==this._$AH[d],f===P?e=P:e!==P&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ra=class extends ko{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},oa=class extends ko{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},ia=class extends ko{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=Io(this,e,t,0)??P)===nt)return;let i=this._$AH,n=e===P&&i!==P||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==P&&(i===P||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},na=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Io(this,e)}},Sl={M:ml,P:Tr,A:gl,C:1,L:hf,R:ta,D:pf,V:Io,I:si,H:ko,N:oa,U:ia,B:ra,F:na},fx=hl.litHtmlPolyfillSupport;fx?.(dn,si),(hl.litHtmlVersions??=[]).push("3.3.0");Cl=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new si(e.insertBefore(ln(),a),a,void 0,t??{})}return n._$AI(r),n}});var Ol,_r,hx,mx,mf=p(()=>{an();an();Qt();Qt();Ol=globalThis,_r=class extends cr{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 t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Cl(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return nt}};_r._$litElement$=!0,_r.finalized=!0,Ol.litElementHydrateSupport?.({LitElement:_r});hx=Ol.litElementPolyfillSupport;hx?.({LitElement:_r});mx={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(Ol.litElementVersions??=[]).push("4.2.0")});var pC,gf=p(()=>{pC=!1});var El={};oe(El,{CSSResult:()=>ni,LitElement:()=>_r,ReactiveElement:()=>cr,_$LE:()=>mx,_$LH:()=>Sl,adoptStyles:()=>rn,css:()=>R,defaultConverter:()=>ai,getCompatibleStyle:()=>Qn,html:()=>S,isServer:()=>pC,mathml:()=>xl,noChange:()=>nt,notEqual:()=>nn,nothing:()=>P,render:()=>Cl,supportsAdoptingStyleSheets:()=>tn,svg:()=>vl,unsafeCSS:()=>Et});var $=p(()=>{an();Qt();mf();gf()});var gx,yf=p(()=>{gx=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)}});function h(r){return(e,t)=>typeof t=="object"?bf(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}var yx,bf,wl=p(()=>{an();yx={attribute:!0,type:String,converter:ai,reflect:!1,hasChanged:nn},bf=(r=yx,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((r=Object.create(r)).wrapped=!0),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r,l),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)}});function D(r){return h({...r,state:!0,attribute:!1})}var vf=p(()=>{wl();});function bx(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var xf=p(()=>{});var Xt,li=p(()=>{Xt=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t)});function W(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Xt(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Xt(t,i,{get(){return a(this)}})}}var Sf=p(()=>{li();});function Al(r){return(e,t)=>Xt(e,t,{get(){return(this.renderRoot??(vx??=document.createDocumentFragment())).querySelectorAll(r)}})}var vx,Cf=p(()=>{li();});function xx(r){return(e,t)=>Xt(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}var Of=p(()=>{li();});function Rl(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Xt(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var Ef=p(()=>{li();});function Ll(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Xt(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var wf=p(()=>{li();});var Il={};oe(Il,{customElement:()=>gx,eventOptions:()=>bx,property:()=>h,query:()=>W,queryAll:()=>Al,queryAssignedElements:()=>Rl,queryAssignedNodes:()=>Ll,queryAsync:()=>xx,standardProperty:()=>bf,state:()=>D});var Y=p(()=>{yf();wl();vf();xf();Sf();Cf();Of();Ef();wf()});var dr,Jt,Ft,To=p(()=>{dr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Jt=r=>(...e)=>({_$litDirective$:r,values:e}),Ft=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var Sx,Rf,Af,ci,Yr,Cx,Lf,If,aa,kl=p(()=>{Qt();({I:Sx}=Sl),Rf=r=>r.strings===void 0,Af=()=>document.createComment(""),ci=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(Af(),n),s=i.insertBefore(Af(),n);t=new Sx(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return t},Yr=(r,e,t=r)=>(r._$AI(e,t),r),Cx={},Lf=(r,e=Cx)=>r._$AH=e,If=r=>r._$AH,aa=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}}});var kf,Re,Tf=p(()=>{Qt();To();kl();kf=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Re=Jt(class extends Ft{constructor(r){if(super(r),r.type!==dr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){let n=If(r),{values:a,keys:s}=this.dt(e,t,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,b=n.length-1,O=0,C=a.length-1;for(;m<=b&&O<=C;)if(n[m]===null)m++;else if(n[b]===null)b--;else if(l[m]===s[O])d[O]=Yr(n[m],a[O]),m++,O++;else if(l[b]===s[C])d[C]=Yr(n[b],a[C]),b--,C--;else if(l[m]===s[C])d[C]=Yr(n[m],a[C]),ci(r,d[C+1],n[m]),m++,C--;else if(l[b]===s[O])d[O]=Yr(n[b],a[O]),ci(r,n[m],n[b]),b--,O++;else if(f===void 0&&(f=kf(s,O,C),g=kf(l,m,b)),f.has(l[m]))if(f.has(l[b])){let _=g.get(s[O]),N=_!==void 0?n[_]:null;if(N===null){let F=ci(r,n[m]);Yr(F,a[O]),d[O]=F}else d[O]=Yr(N,a[O]),ci(r,n[m],N),n[_]=null;O++}else aa(n[b]),b--;else aa(n[m]),m++;for(;O<=C;){let _=ci(r,d[C+1]);Yr(_,a[O]),d[O++]=_}for(;m<=b;){let _=n[m++];_!==null&&aa(_)}return this.ut=s,Lf(r,d),nt}})});var Tl={};oe(Tl,{repeat:()=>Re});var er=p(()=>{Tf()});var xe,_f=p(()=>{Qt();To();xe=Jt(class extends Ft{constructor(r){if(super(r),r.type!==dr.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.st)i in e||(t.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(t.add(i),this.st.add(i)):(t.remove(i),this.st.delete(i)))}return nt}})});var _l={};oe(_l,{classMap:()=>xe});var ut=p(()=>{_f()});var $f,Ox,Ex,Pf=p(()=>{Qt();To();$f="important",Ox=" !"+$f,Ex=Jt(class extends Ft{constructor(r){if(super(r),r.type!==dr.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(Ox);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?$f:""):t[i]=n}}return nt}})});var $l={};oe($l,{styleMap:()=>Ex});var Nf=p(()=>{Pf()});var di,_o,Ff=p(()=>{Qt();To();di=class extends Ft{constructor(e){if(super(e),this.it=P,e.type!==dr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===nt)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 t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};di.directiveName="unsafeHTML",di.resultType=1;_o=Jt(di)});var Pl={};oe(Pl,{UnsafeHTMLDirective:()=>di,unsafeHTML:()=>_o});var pn=p(()=>{Ff()});var Nl={};oe(Nl,{CancelablePromise:()=>sa,CanceledPromiseError:()=>pr,cancelable:()=>pi});var pr,sa,pi,la=p(()=>{"use strict";pr=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},sa=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new pr("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new pr("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},pi=r=>new sa((e,t)=>r.then(e).catch(t))});var Ml={};oe(Ml,{applyMixinOnce:()=>Fe,dateReviver:()=>Ax,deepCopy:()=>fn,deepEqual:()=>Ze,delay:()=>ca,eventPathContainsMatchingElement:()=>Fl,everyDeep:()=>wx,flatDeep:()=>wt,forEachDeep:()=>Df,getComposedPathTo:()=>Dl,hasChanged:()=>tr,last:()=>Lx,minmax:()=>$o,parseDate:()=>Mf,randomId:()=>Bl,someDeep:()=>Bf,unslotText:()=>ui,waitFor:()=>Qr,waitUntil:()=>un});async function un(r,e=10,t=2e4){await Qr(async()=>await r()||void 0,e,t)}async function Qr(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await ca(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function wt(r,e){return r.flatMap(t=>[t,...wt(e(t),e)])}function Df(r,e,t){let i=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=t(d,l,n,a))!==null&&s!==void 0?s:!0)&&i(e(d),[...a,d])))return!1}return!0};i(r,[])}function Bf(r,e,t){let i=!1;return Df(r,e,(n,a,s,l)=>(i=!!t(n,a,s,l),!i)),i}function wx(r,e,t){return!Bf(r,e,(i,n,a,s)=>!t(i,n,a,s))}function Ax(...r){return(e,t)=>r.includes(e)?Mf(t):t}function Mf(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function Rx(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;let t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!Ze(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!Ze(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(r),t=n.length,t!==a(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){let s=n[i];if(!Ze(r[s],e[s]))return!1}return!0}return r!==r&&e!==e||r==null&&e==null}function Ze(r,e){try{return Rx(r,e)}catch{return!1}}function tr(r,e){return!Ze(r,e)}function Fl(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function $o(r,e,t){return Math.min(Math.max(r,e),t)}function Lx(r){return r[r.length-1]}function ui(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>ui(e)).join(""):r?.textContent||""}function Dl(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}function fn(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Bl(r,e){return(e??"")+(""+Math.floor(Math.random()*10**r)).padStart(r,"0")}function Fe(r,e){let t=i=>i[r]===!0;return i=>{if(t(i))return i;let n=e(i);return n[r]=!0,n}}var ca,gt=p(()=>{"use strict";ca=r=>new Promise(e=>setTimeout(e,r))});var Hl={};oe(Hl,{FtNotificationEvent:()=>hn,PostResizeEvent:()=>zl,PreResizeEvent:()=>Ul,WithEventBus:()=>$r,withEventBus:()=>da});var hn,Ul,zl,da,$r,fi=p(()=>{"use strict";gt();hn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ul=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},zl=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},da=Fe(Symbol("withEventBus"),function(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}),$r=class extends da(Object){}});var Wl={};oe(Wl,{CacheRegistry:()=>ur,ClearCacheEvent:()=>mn});var mn,ur,Vl=p(()=>{"use strict";la();fi();mn=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ur=class extends $r{constructor(){super(...arguments),this.content={}}register(e,t,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:t,final:i,status:s}}registerFinal(e,t){this.register(e,t,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,t=!0){let i=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return t&&i.length>0&&this.dispatchEvent(new mn(i)),i}clear(e,t=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),t&&this.dispatchEvent(new mn([e])),e}forceClear(e){var t;let i=this.content[e];i&&(this.clearClearTimeout(e),(t=i.promise)===null||t===void 0||t.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var t,i,n;((t=this.content[e])===null||t===void 0?void 0:t.clearTimeout)!=null&&(window.clearTimeout((i=this.content[e])===null||i===void 0?void 0:i.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,t,i=!1){this.forceClear(e);let n=async()=>t,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:t}}setFinal(e,t){return this.set(e,t,!0)}async get(e,t,i){if(!this.isRegistered(e)){if(!t)throw new Error("Unknown cache key "+e);this.register(e,t)}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 t=t??n.loader,n.status="LOADING",n.promise=pi(t()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,i!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),i)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var t;return(t=this.content[e])===null||t===void 0?void 0:t.value}has(e){var t,i;return((t=this.content[e])===null||t===void 0?void 0:t.status)!==void 0&&((i=this.content[e])===null||i===void 0?void 0:i.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var t;return((t=this.content[e])===null||t===void 0?void 0:t.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}}});var Gl={};oe(Gl,{accessResult:()=>Dt,accessResultId:()=>pa,accessResultUrl:()=>jl});function Dt(r){var e,t,i,n;return(n=(i=(t=(e=r?.map)!==null&&e!==void 0?e:r?.topic)!==null&&t!==void 0?t:r?.document)!==null&&i!==void 0?i:r?.htmlPackage)!==null&&n!==void 0?n:r?.htmlPackagePage}function pa(r){var e,t,i,n,a,s,l,d,f;return(d=(s=(n=(t=(e=r?.map)===null||e===void 0?void 0:e.mapId)!==null&&t!==void 0?t:(i=r?.topic)===null||i===void 0?void 0:i.tocId)!==null&&n!==void 0?n:(a=r?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=r?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=r?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function jl(r){var e,t,i,n,a,s,l,d,f;return(d=(s=(n=(t=(e=r?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&t!==void 0?t:(i=r?.topic)===null||i===void 0?void 0:i.readerUrl)!==null&&n!==void 0?n:(a=r?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=r?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=r?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}var ua=p(()=>{"use strict"});var Zl={};oe(Zl,{ClusteringHelper:()=>ql,formatHierarchicalValues:()=>Kl});function Kl(r,e){return e&&e>1&&r.length>=e?`... > ${r[r.length-1]}`:r.join(" > ")}var ql,Yl=p(()=>{"use strict";ua();ql=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){let t=Dt(e.result).metadata;return e.key==null?r.flattenMetadata(t,e.hierarchicalValueTruncatingLevel,e.dateFormatter):r.flattenMetadata(t.find(i=>i.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,t,i){if(Array.isArray(e))return e.map(a=>r.flattenMetadata(a,t,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Kl(l)),s.push(Kl(l,t))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,t,i="No value",n,a){var s,l;let d=r.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>r.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:i}).filter(m=>m.value!=d?.value).filter((m,b,O)=>O.findIndex(C=>C.value===m.value)===b).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,b)=>this.compareMetadata(m.metadata.value,b.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var f;return((f=r.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==t}),a=[...r.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata({result:e}).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}}});var Ql={};oe(Ql,{Debouncer:()=>de});var de,fa=p(()=>{"use strict";de=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Xl={};oe(Xl,{customElement:()=>M,dateProperty:()=>kx,isNumber:()=>Uf,jsonProperty:()=>ye,numberProperty:()=>Bt,optionalNumberProperty:()=>Ix});function ye(r,e){let t=()=>JSON.parse(JSON.stringify(r));return h({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:tr,...e??{}})}function Ix(r){return Bt(r)}function Bt(r){return h({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Uf(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...r??{}})}function Uf(r){return!isNaN(parseFloat(r))}function kx(r){return h({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let t=new Date(Date.parse(e));if(!isNaN(t.valueOf()))return t},toAttribute:e=>e?.toISOString()},useDefault:!0,...r??{}})}var M,ha=p(()=>{"use strict";Y();gt();M=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)}});function y(r,e){return Xr(`${r.name}: ${e}`)}var Xr,o,se=p(()=>{$();Xr=r=>typeof r=="string"?Et(r):r,o=class{static create(e,t,i,n){let a=l=>Xr(l??n),s=R`var(${Xr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>R`var(${Xr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=R`var(${Xr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>R`var(${Xr(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.defaultCssValue(a),n=R`var(${Xr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>R`var(${Xr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,ma,ga,ya,ba,va,xa,Sa,Ca,Jr,zf,Oa,Ea,wa,Aa,Ra,La,Ia,ka,Ta,_a,Pr,$a,Pa,Na,Fa,Da,eo,Tx,le=p(()=>{se();c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ma={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},ga={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},ya={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ba={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},va={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},xa={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Sa={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ca={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Jr={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},zf={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Oa={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ea={fontFamily:o.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},wa={fontFamily:o.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Aa={fontFamily:o.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ra={fontFamily:o.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},La={fontFamily:o.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ia={fontFamily:o.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},ka={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},_a={fontFamily:o.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Pr={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},$a={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Pa={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Na={fontFamily:o.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Fa={fontFamily:o.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Da={fontFamily:o.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},eo={display:ma,"title-1":ga,"title-2":ya,"title-3":ba,"body-1-regular":va,"body-1-medium":xa,"body-1-semibold":Sa,"body-2-regular":Ca,"body-2-medium":Jr,"body-2-medium-underline":zf,"body-2-semibold":Oa,"label-1-medium":Ea,"label-1-semibold":wa,"label-1-bold":Aa,"label-2-medium":Ra,"label-2-semibold":La,"label-2-bold":Ia,"caption-1-medium":ka,"caption-1-semibold":Ta,"caption-1-bold":_a,"caption-2-medium":Pr,"caption-2-semibold":$a,"caption-2-bold":Pa,"caption-3-medium":Na,"caption-3-semibold":Fa,"caption-3-bold":Da},Tx=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var u,ge=p(()=>{se();le();u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var x,Hf=p(()=>{se();le();ge();x={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var _x,Wf=p(()=>{se();le();ge();_x={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)}});var $x,Vf=p(()=>{se();le();ge();$x={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ftds-checkbox-left-padding","",c.spacing2)}});var ue,jf=p(()=>{se();le();ge();ue={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var Px,Gf=p(()=>{se();le();ge();Px={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var Nx,Kf=p(()=>{se();le();ge();Nx={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var Q,qf=p(()=>{se();le();ge();Q={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)}});var Fx,Zf=p(()=>{se();le();ge();Fx={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)}});var Dx,Yf=p(()=>{se();le();ge();Dx={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)}});var Bx,Qf=p(()=>{se();le();ge();Bx={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)}});var Mx,Xf=p(()=>{se();le();ge();Mx={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Ux,Jf=p(()=>{se();le();ge();Ux={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var zx,eh=p(()=>{se();le();ge();zx={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var Hx,th=p(()=>{se();le();Hx={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var Wx,rh=p(()=>{se();le();ge();Wx={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var Vx,oh=p(()=>{se();le();ge();Vx={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var jx,ih=p(()=>{se();le();ge();jx={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var Gx,nh=p(()=>{se();le();ge();Gx={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var Kx,ah=p(()=>{se();le();ge();Kx={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)}});var qx,sh=p(()=>{se();le();ge();qx={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)}});var Zx,lh=p(()=>{se();le();ge();Zx={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var Yx,ch=p(()=>{se();le();ge();Yx={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)}});var Qx,dh=p(()=>{se();le();ge();Qx={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)}});var Xx,ph=p(()=>{se();le();ge();Xx={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var Jx,uh=p(()=>{se();le();ge();Jx={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var e0,fh=p(()=>{se();le();e0={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var t0,hh=p(()=>{se();le();t0={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var r0,mh=p(()=>{se();le();ge();r0={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")}});var o0,gh=p(()=>{se();le();ge();o0={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)}});var i0,yh=p(()=>{se();le();ge();i0={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var n0,bh=p(()=>{se();le();ge();n0={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)}});var a0,vh=p(()=>{se();le();ge();a0={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var s0,xh=p(()=>{se();le();s0={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var Sh=p(()=>{le();ge();Hf();Wf();Vf();jf();Gf();Kf();qf();Zf();Yf();Qf();Xf();Jf();eh();th();rh();oh();ih();nh();ah();sh();lh();ch();dh();ph();uh();fh();hh();mh();gh();yh();bh();vh();xh()});function Jl(r){return`ftds--family-${r}`}function ec(r){return`ftds--size-${r}`}var At,yt,Ch=p(()=>{(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(At||(At={}));(function(r){r.large="large",r.medium="medium",r.small="small"})(yt||(yt={}))});var H=p(()=>{se();Sh();Ch()});var tc={};oe(tc,{DesignSystemFamily:()=>At,DesignSystemSize:()=>yt,FtCssVariableFactory:()=>o,badge:()=>Bx,banner:()=>Dx,button:()=>x,chart:()=>e0,checkbox:()=>$x,chip:()=>Q,chipChoice:()=>Nx,collapsible:()=>Xx,comboboxMultiSelect:()=>Yx,comboboxSingleSelect:()=>Zx,dateRangePicker:()=>s0,drawer:()=>Vx,floatingMenu:()=>qx,foundation:()=>c,link:()=>Fx,modal:()=>Wx,notice:()=>r0,notification:()=>i0,pageDesigner:()=>t0,pageFooter:()=>zx,pageHeader:()=>Ux,pageLayout:()=>Hx,popover:()=>Qx,radio:()=>ue,reorderableList:()=>a0,resolveFamilyClass:()=>Jl,resolveSizeClass:()=>ec,semantic:()=>u,setVariable:()=>y,switch_:()=>Jx,table:()=>Px,tabs:()=>jx,textArea:()=>Kx,textInput:()=>Gx,titleBreadcrumb:()=>Mx,toggle:()=>o0,tooltip:()=>n0,treeList:()=>_x,typographies:()=>eo,typographyBody1Medium:()=>xa,typographyBody1Regular:()=>va,typographyBody1Semibold:()=>Sa,typographyBody2Medium:()=>Jr,typographyBody2MediumUnderline:()=>zf,typographyBody2Regular:()=>Ca,typographyBody2Semibold:()=>Oa,typographyCaption1Bold:()=>_a,typographyCaption1Medium:()=>ka,typographyCaption1Semibold:()=>Ta,typographyCaption2Bold:()=>Pa,typographyCaption2Medium:()=>Pr,typographyCaption2Semibold:()=>$a,typographyCaption3Bold:()=>Da,typographyCaption3Medium:()=>Na,typographyCaption3Semibold:()=>Fa,typographyDisplay:()=>ma,typographyLabel1Bold:()=>Aa,typographyLabel1Medium:()=>Ea,typographyLabel1Semibold:()=>wa,typographyLabel2Bold:()=>Ia,typographyLabel2Medium:()=>Ra,typographyLabel2Semibold:()=>La,typographyTitle1:()=>ga,typographyTitle2:()=>ya,typographyTitle3:()=>ba,typographyVariants:()=>Tx});var Ba=p(()=>{"use strict";H()});var rc={};oe(rc,{designSystemVariables:()=>E});var E,oc=p(()=>{"use strict";Ba();E={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var ic={};oe(ic,{DynamicImporter:()=>Ma,dynamicImporter:()=>l0});var Ma,l0,nc=p(()=>{"use strict";Ma=class{async import(e){if(e)return import(e)}},l0=new Ma});function lc(r,e,t){return to(r,Ua(e,t))}function hi(r,e){return typeof r=="function"?r(e):r}function ro(r){return r.split("-")[0]}function fr(r){return r.split("-")[1]}function cc(r){return r==="x"?"y":"x"}function dc(r){return r==="y"?"height":"width"}function mi(r){return["top","bottom"].includes(ro(r))?"y":"x"}function pc(r){return cc(mi(r))}function wh(r,e,t){t===void 0&&(t=!1);let i=fr(r),n=pc(r),a=dc(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ac(s)),[s,ac(s)]}function Ah(r){return r.replace(/start|end/g,e=>d0[e])}function ac(r){return r.replace(/left|right|bottom|top/g,e=>c0[e])}function p0(r){return{top:0,right:0,bottom:0,left:0,...r}}function Rh(r){return typeof r!="number"?p0(r):{top:r,right:r,bottom:r,left:r}}function Po(r){let{x:e,y:t,width:i,height:n}=r;return{width:i,height:n,top:t,left:e,right:e+i,bottom:t+n,x:e,y:t}}var Eh,Oh,sc,Ua,to,c0,d0,uc=p(()=>{Eh=["top","right","bottom","left"],Oh=["start","end"],sc=Eh.reduce((r,e)=>r.concat(e,e+"-"+Oh[0],e+"-"+Oh[1]),[]),Ua=Math.min,to=Math.max,c0={left:"right",right:"left",bottom:"top",top:"bottom"},d0={start:"end",end:"start"}});function Lh(r,e,t){let{reference:i,floating:n}=r,a=mi(e),s=pc(e),l=dc(s),d=ro(e),f=a==="y",g=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,O;switch(d){case"top":O={x:g,y:i.y-n.height};break;case"bottom":O={x:g,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y:m};break;case"left":O={x:i.x-n.width,y:m};break;default:O={x:i.x,y:i.y}}switch(fr(e)){case"start":O[s]-=b*(t&&f?-1:1);break;case"end":O[s]+=b*(t&&f?-1:1);break}return O}async function za(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:b=!1,padding:O=0}=hi(e,r),C=Rh(O),N=l[b?m==="floating"?"reference":"floating":m],F=Po(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(N)))==null||t?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),z=m==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),w=await(a.isElement==null?void 0:a.isElement(I))?await(a.getScale==null?void 0:a.getScale(I))||{x:1,y:1}:{x:1,y:1},k=Po(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:z,offsetParent:I,strategy:d}):z);return{top:(F.top-k.top+C.top)/w.y,bottom:(k.bottom-F.bottom+C.bottom)/w.y,left:(F.left-k.left+C.left)/w.x,right:(k.right-F.right+C.right)/w.x}}function u0(r,e,t){return(r?[...t.filter(n=>fr(n)===r),...t.filter(n=>fr(n)!==r)]:t.filter(n=>ro(n)===n)).filter(n=>r?fr(n)===r||(e?Ah(n)!==n:!1):!0)}async function f0(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=ro(t),l=fr(t),d=mi(t)==="y",f=["left","top"].includes(s)?-1:1,g=a&&d?-1:1,m=hi(e,r),{mainAxis:b,crossAxis:O,alignmentAxis:C}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof C=="number"&&(O=l==="end"?C*-1:C),d?{x:O*g,y:b*f}:{x:b*f,y:O*g}}var Ih,Ha,fc,hc,mc,gc=p(()=>{uc();uc();Ih=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:g,y:m}=Lh(f,i,d),b=i,O={},C=0;for(let _=0;_<l.length;_++){let{name:N,fn:F}=l[_],{x:z,y:I,data:w,reset:k}=await F({x:g,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:O,rects:f,platform:s,elements:{reference:r,floating:e}});g=z??g,m=I??m,O={...O,[N]:{...O[N],...w}},k&&C<=50&&(C++,typeof k=="object"&&(k.placement&&(b=k.placement),k.rects&&(f=k.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):k.rects),{x:g,y:m}=Lh(f,b,d)),_=-1)}return{x:g,y:m,placement:b,strategy:n,middlewareData:O}};Ha=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:b=sc,autoAlignment:O=!0,...C}=hi(r,e),_=m!==void 0||b===sc?u0(m||null,O,b):b,N=await za(e,C),F=((t=s.autoPlacement)==null?void 0:t.index)||0,z=_[F];if(z==null)return{};let I=wh(z,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==z)return{reset:{placement:_[0]}};let w=[N[ro(z)],N[I[0]],N[I[1]]],k=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:z,overflows:w}],K=_[F+1];if(K)return{data:{index:F+1,overflows:k},reset:{placement:K}};let ee=k.map(q=>{let v=fr(q.placement);return[q.placement,v&&g?q.overflows.slice(0,2).reduce((A,G)=>A+G,0):q.overflows[0],q.overflows]}).sort((q,v)=>q[1]-v[1]),ce=((n=ee.filter(q=>q[2].slice(0,fr(q[0])?2:3).every(v=>v<=0))[0])==null?void 0:n[0])||ee[0][0];return ce!==l?{data:{index:F+1,overflows:k},reset:{placement:ce}}:{}}}};fc=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await f0(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},hc=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:F,y:z}=N;return{x:F,y:z}}},...d}=hi(r,e),f={x:t,y:i},g=await za(e,d),m=mi(ro(n)),b=cc(m),O=f[b],C=f[m];if(a){let N=b==="y"?"top":"left",F=b==="y"?"bottom":"right",z=O+g[N],I=O-g[F];O=lc(z,O,I)}if(s){let N=m==="y"?"top":"left",F=m==="y"?"bottom":"right",z=C+g[N],I=C-g[F];C=lc(z,C,I)}let _=l.fn({...e,[b]:O,[m]:C});return{..._,data:{x:_.x-t,y:_.y-i,enabled:{[b]:a,[m]:s}}}}}},mc=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){var t,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=hi(r,e),g=await za(e,f),m=ro(n),b=fr(n),O=mi(n)==="y",{width:C,height:_}=a.floating,N,F;m==="top"||m==="bottom"?(N=m,F=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(F=m,N=b==="end"?"top":"bottom");let z=_-g.top-g.bottom,I=C-g.left-g.right,w=Ua(_-g[N],z),k=Ua(C-g[F],I),K=!e.middlewareData.shift,ee=w,he=k;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(he=I),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(ee=z),K&&!b){let q=to(g.left,0),v=to(g.right,0),A=to(g.top,0),G=to(g.bottom,0);O?he=C-2*(q!==0||v!==0?q+v:to(g.left,g.right)):ee=_-2*(A!==0||G!==0?A+G:to(g.top,g.bottom))}await d({...e,availableWidth:he,availableHeight:ee});let ce=await s.getDimensions(l.floating);return C!==ce.width||_!==ce.height?{reset:{rects:!0}}:{}}}}});var yc,gi,gn,Nr,kh=p(()=>{yc=Math.min,gi=Math.max,gn=Math.round,Nr=r=>({x:r,y:r})});function Fr(r){return _h(r)?(r.nodeName||"").toLowerCase():"#document"}function bt(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Dr(r){var e;return(e=(_h(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function _h(r){return r instanceof Node||r instanceof bt(r).Node}function hr(r){return r instanceof Element||r instanceof bt(r).Element}function rr(r){return r instanceof HTMLElement||r instanceof bt(r).HTMLElement}function Th(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof bt(r).ShadowRoot}function yi(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Rt(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function $h(r){return["table","td","th"].includes(Fr(r))}function Va(r){let e=ja(),t=Rt(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Ph(r){let e=No(r);for(;rr(e)&&!yn(e);){if(Va(e))return e;e=No(e)}return null}function ja(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yn(r){return["html","body","#document"].includes(Fr(r))}function Rt(r){return bt(r).getComputedStyle(r)}function bn(r){return hr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function No(r){if(Fr(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Th(r)&&r.host||Dr(r);return Th(e)?e.host:e}function Nh(r){let e=No(r);return yn(e)?r.ownerDocument?r.ownerDocument.body:r.body:rr(e)&&yi(e)?e:Nh(e)}function Wa(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Nh(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=bt(n);return a?e.concat(s,s.visualViewport||[],yi(n)?n:[],s.frameElement&&t?Wa(s.frameElement):[]):e.concat(n,Wa(n,[],t))}var Fh=p(()=>{});function Mh(r){let e=Rt(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=rr(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=gn(t)!==a||gn(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Uh(r){return hr(r)?r:r.contextElement}function bi(r){let e=Uh(r);if(!rr(e))return Nr(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Mh(e),s=(a?gn(t.width):t.width)/i,l=(a?gn(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function zh(r){let e=bt(r);return!ja()||!e.visualViewport?h0:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function m0(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==bt(r)?!1:e}function vn(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Uh(r),s=Nr(1);e&&(i?hr(i)&&(s=bi(i)):s=bi(r));let l=m0(a,t,i)?zh(a):Nr(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a){let b=bt(a),O=i&&hr(i)?bt(i):i,C=b.frameElement;for(;C&&i&&O!==b;){let _=bi(C),N=C.getBoundingClientRect(),F=Rt(C),z=N.left+(C.clientLeft+parseFloat(F.paddingLeft))*_.x,I=N.top+(C.clientTop+parseFloat(F.paddingTop))*_.y;d*=_.x,f*=_.y,g*=_.x,m*=_.y,d+=z,f+=I,C=bt(C).frameElement}}return Po({width:g,height:m,x:d,y:f})}function g0(r){let{rect:e,offsetParent:t,strategy:i}=r,n=rr(t),a=Dr(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=Nr(1),d=Nr(0);if((n||!n&&i!=="fixed")&&((Fr(t)!=="body"||yi(a))&&(s=bn(t)),rr(t))){let f=vn(t);l=bi(t),d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function y0(r){return Array.from(r.getClientRects())}function Hh(r){return vn(Dr(r)).left+bn(r).scrollLeft}function b0(r){let e=Dr(r),t=bn(r),i=r.ownerDocument.body,n=gi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=gi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+Hh(r),l=-t.scrollTop;return Rt(i).direction==="rtl"&&(s+=gi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function v0(r,e){let t=bt(r),i=Dr(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=ja();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function x0(r,e){let t=vn(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=rr(r)?bi(r):Nr(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function Dh(r,e,t){let i;if(e==="viewport")i=v0(r,t);else if(e==="document")i=b0(Dr(r));else if(hr(e))i=x0(e,t);else{let n=zh(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return Po(i)}function Wh(r,e){let t=No(r);return t===e||!hr(t)||yn(t)?!1:Rt(t).position==="fixed"||Wh(t,e)}function S0(r,e){let t=e.get(r);if(t)return t;let i=Wa(r,[],!1).filter(l=>hr(l)&&Fr(l)!=="body"),n=null,a=Rt(r).position==="fixed",s=a?No(r):r;for(;hr(s)&&!yn(s);){let l=Rt(s),d=Va(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||yi(s)&&!d&&Wh(r,s))?i=i.filter(g=>g!==s):n=l,s=No(s)}return e.set(r,i),i}function C0(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?S0(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((f,g)=>{let m=Dh(e,g,n);return f.top=gi(m.top,f.top),f.right=yc(m.right,f.right),f.bottom=yc(m.bottom,f.bottom),f.left=gi(m.left,f.left),f},Dh(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function O0(r){return Mh(r)}function E0(r,e,t){let i=rr(e),n=Dr(e),a=t==="fixed",s=vn(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Nr(0);if(i||!i&&!a)if((Fr(e)!=="body"||yi(n))&&(l=bn(e)),i){let f=vn(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Hh(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Bh(r,e){return!rr(r)||Rt(r).position==="fixed"?null:e?e(r):r.offsetParent}function Vh(r,e){let t=bt(r);if(!rr(r))return t;let i=Bh(r,e);for(;i&&$h(i)&&Rt(i).position==="static";)i=Bh(i,e);return i&&(Fr(i)==="html"||Fr(i)==="body"&&Rt(i).position==="static"&&!Va(i))?t:i||Ph(r)||t}function A0(r){return Rt(r).direction==="rtl"}var h0,w0,vi,bc,jh=p(()=>{gc();gc();kh();Fh();h0=Nr(0);w0=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Vh,a=this.getDimensions;return{reference:E0(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};vi={convertOffsetParentRelativeRectToViewportRelativeRect:g0,getDocumentElement:Dr,getClippingRect:C0,getOffsetParent:Vh,getElementRects:w0,getClientRects:y0,getDimensions:O0,getScale:bi,isElement:hr,isRTL:A0},bc=(r,e,t)=>{let i=new Map,n={platform:vi,...t},a={...n.platform,_c:i};return Ih(r,e,{...n,platform:a})}});function xc(r){return R0(r)}function vc(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function R0(r){for(let e=r;e;e=vc(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=vc(r);e;e=vc(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}var Gh=p(()=>{});var Oc={};oe(Oc,{computeOffsetAutoPosition:()=>Cc,computeOffsetPosition:()=>Sc});async function Sc(r,e,t){return bc(r,e,{platform:{...vi,getOffsetParent:i=>vi.getOffsetParent(i,xc)},middleware:[hc({crossAxis:!0}),Ha({allowedPlacements:[t]})]})}async function Cc(r,e,t,i,n,a,s=4){return bc(r,e,{placement:t,strategy:n,platform:{...vi,getOffsetParent:l=>vi.getOffsetParent(l,xc)},middleware:[fc(s),Ha({allowedPlacements:i}),mc({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Ga=p(()=>{"use strict";jh();Gh()});var Ec={};oe(Ec,{ScopedRegistryLitElement:()=>xn});var xn,Ka=p(()=>{"use strict";$();Xn();xn=class extends _r{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return rn(i,e.elementStyles),i}}});var Ac={};oe(Ac,{shadowQuerySelector:()=>wc,shadowQuerySelectorAll:()=>L0});function wc(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function L0(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var qa=p(()=>{"use strict"});var Rc={};oe(Rc,{ExportpartsUpdatedEvent:()=>Fo,FtLitElement:()=>V});var xi,Yh,Kh,qh,Qh,Zh,Fo,V,Sn=p(()=>{"use strict";Y();ha();fa();Ka();qa();xi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Kh=Symbol("constructorPrototype"),qh=Symbol("constructorName"),Qh=Symbol("exportpartsDebouncer"),Zh=Symbol("dynamicDependenciesLoaded"),Fo=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};Fo.eventName="exportparts-updated";V=class extends xn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yh]=new de(5),this.scheduleExportpartsUpdate=()=>{var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[Qh].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[qh]=this.constructor.name,this[Kh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[qh]&&Object.setPrototypeOf(this,this[Kh])}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(i){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",i)}let t=this.constructor;t[Zh]||(t[Zh]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Fo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Fo.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 Fo)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:t,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];t=wc(this.shadowRoot,...a)}t?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||t?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.exportparts=void 0;return}let g=new Set;for(let b of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],_=[...O,...C].filter(d).map(N=>N.trim());for(let N of _)g.add(N)}if(g.size===0){this.exportparts=void 0;return}let m=[...g.values()].flatMap(b=>f.map(O=>`${b}:${O}--${b}`));this.exportparts=[...this.part,...m].join(", ")}};Yh=Qh;xi([h()],V.prototype,"exportpartsPrefix",void 0);xi([ye([])],V.prototype,"exportpartsPrefixes",void 0);xi([h({reflect:!0})],V.prototype,"exportparts",void 0);xi([h()],V.prototype,"customStylesheet",void 0);xi([h()],V.prototype,"elementToFocus",void 0);xi([D()],V.prototype,"useAdoptedStyleSheets",void 0)});var Lc={};oe(Lc,{FtdsBase:()=>Cn,toFtdsBase:()=>mr});var Xh,mr,Cn,Ic=p(()=>{"use strict";Sn();Y();H();gt();Xh=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},mr=Fe(Symbol("toFtdsBase"),function(r){class e extends r{constructor(){super(...arguments),this.size=yt.medium,this.family=At.neutral}getDesignSystemBaseClasses(){return{[Jl(this.family)]:!0,[ec(this.size)]:!0}}}return Xh([h()],e.prototype,"size",void 0),Xh([h()],e.prototype,"family",void 0),e}),Cn=class extends mr(V){}});var Jh={};var kc=p(()=>{"use strict"});var Do,em=p(()=>{Do=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];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(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{r.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{t(f)&&(l++,i(g)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(t,b=>this.checkIframeFilter(f,g,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,O=>d.push(O),n)}),d.push(f);d.forEach(b=>{i(b)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var On,tm=p(()=>{em();On=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.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 Do(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`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 t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),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,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=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(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.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 t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return Do.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let f=t-s.start,g=(i>s.end?s.end:i)-s.start,m=e.value.substr(0,s.start),b=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+b,e.nodes.forEach((O,C)=>{C>=l&&(e.nodes[C].start>0&&C!==l&&(e.nodes[C].start-=g),e.nodes[C].end-=g)}),i-=g,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>i(d[s],m),(m,b)=>{e.lastIndex=b,n(m)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,b=>t(b,l,a.value.substring(f,g),d),b=>{i(b,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.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,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=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,(b,O)=>this.opt.filter(O,f,i,m),b=>{m++,i++,this.opt.each(b)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=Do.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Tc(r){let e=new On(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var rm=p(()=>{tm()});var $c={};oe($c,{highlightHtml:()=>_c,highlightHtmlColorCssVariable:()=>om,highlightHtmlStyles:()=>k0});function _c(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new I0(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};t?.attributes!=null&&(l.each=f=>{for(let g in t.attributes)f.setAttribute(g,t.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var I0,om,k0,Pc=p(()=>{"use strict";$();H();rm();I0=Tc,om=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),k0=R`
1
+ "use strict";(()=>{var ex=Object.create;var hl=Object.defineProperty;var tx=Object.getOwnPropertyDescriptor;var rx=Object.getOwnPropertyNames;var ox=Object.getPrototypeOf,ix=Object.prototype.hasOwnProperty;var p=(r,e)=>()=>(r&&(e=r(r=0)),e);var nx=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),oe=(r,e)=>{for(var t in e)hl(r,t,{get:e[t],enumerable:!0})},ax=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of rx(e))!ix.call(r,n)&&n!==t&&hl(r,n,{get:()=>e[n],enumerable:!(i=tx(e,n))||i.enumerable});return r};var sx=(r,e,t)=>(t=r!=null?ex(ox(r)):{},ax(e||!r||!r.__esModule?hl(t,"default",{value:r,enumerable:!0}):t,r));var rf=p(()=>{if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(I,w){if(I=I.toLowerCase(),this._getDefinition(I)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${I}" has already been used with this registry`);if(this._definitionsByClass.get(w)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let k=w.prototype.attributeChangedCallback,K=new Set(w.observedAttributes||[]);b(w,K,k);let ee={elementClass:w,connectedCallback:w.prototype.connectedCallback,disconnectedCallback:w.prototype.disconnectedCallback,adoptedCallback:w.prototype.adoptedCallback,attributeChangedCallback:k,formAssociated:w.formAssociated,formAssociatedCallback:w.prototype.formAssociatedCallback,formDisabledCallback:w.prototype.formDisabledCallback,formResetCallback:w.prototype.formResetCallback,formStateRestoreCallback:w.prototype.formStateRestoreCallback,observedAttributes:K};this._definitionsByTag.set(I,ee),this._definitionsByClass.set(w,ee);let he=t.call(i,I);he||(he=m(I),e.call(i,I,he)),this===window.customElements&&(s.set(w,ee),ee.standInClass=he);let ce=this._awaitingUpgrade.get(I);if(ce){this._awaitingUpgrade.delete(I);for(let v of ce)a.delete(v),C(v,ee,!0)}let q=this._whenDefinedPromises.get(I);return q!==void 0&&(q.resolve(w),this._whenDefinedPromises.delete(I)),w}upgrade(){N.push(this),i.upgrade.apply(i,arguments),N.pop()}get(I){return this._definitionsByTag.get(I)?.elementClass}_getDefinition(I){return this._definitionsByTag.get(I)}whenDefined(I){let w=this._getDefinition(I);if(w!==void 0)return Promise.resolve(w.elementClass);let k=this._whenDefinedPromises.get(I);return k===void 0&&(k={},k.promise=new Promise(K=>k.resolve=K),this._whenDefinedPromises.set(I,k)),k.promise}_upgradeWhenDefined(I,w,k){let K=this._awaitingUpgrade.get(w);K||this._awaitingUpgrade.set(w,K=new Set),k?K.add(I):K.delete(I)}};let d;window.HTMLElement=function(){let w=d;if(w)return d=void 0,w;let k=s.get(this.constructor);if(!k)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return w=Reflect.construct(r,[],k.standInClass),Object.setPrototypeOf(w,this.constructor.prototype),n.set(w,k),w},window.HTMLElement.prototype=r.prototype;let f=I=>I===document||I instanceof ShadowRoot,g=I=>{let w=I.getRootNode();if(!f(w)){let k=N[N.length-1];if(k instanceof CustomElementRegistry)return k;w=k.getRootNode(),f(w)||(w=l.get(w)?.getRootNode()||document)}return w.customElements},m=I=>class{static get formAssociated(){return!0}constructor(){let k=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(k,HTMLElement.prototype);let K=g(k)||window.customElements,ee=K._getDefinition(I);return ee?C(k,ee):a.set(k,K),k}connectedCallback(){let k=n.get(this);k?k.connectedCallback&&k.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,I,!0)}disconnectedCallback(){let k=n.get(this);k?k.disconnectedCallback&&k.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,I,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let k=n.get(this);k&&k.formAssociated&&k?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let k=n.get(this);k?.formAssociated&&k?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let k=n.get(this);k?.formAssociated&&k?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let k=n.get(this);k?.formAssociated&&k?.formStateRestoreCallback?.apply(this,arguments)}},b=(I,w,k)=>{if(w.size===0||k===void 0)return;let K=I.prototype.setAttribute;K&&(I.prototype.setAttribute=function(ce,q){let v=ce.toLowerCase();if(w.has(v)){let A=this.getAttribute(v);K.call(this,v,q),k.call(this,v,A,q)}else K.call(this,v,q)});let ee=I.prototype.removeAttribute;ee&&(I.prototype.removeAttribute=function(ce){let q=ce.toLowerCase();if(w.has(q)){let v=this.getAttribute(q);ee.call(this,q),k.call(this,q,v,null)}else ee.call(this,q)});let he=I.prototype.toggleAttribute;he&&(I.prototype.toggleAttribute=function(ce,q){let v=ce.toLowerCase();if(w.has(v)){let A=this.getAttribute(v);he.call(this,v,q);let G=this.getAttribute(v);k.call(this,v,A,G)}else he.call(this,v,q)})},O=I=>{let w=Object.getPrototypeOf(I);if(w!==window.HTMLElement)return w===r?Object.setPrototypeOf(I,window.HTMLElement):O(w)},C=(I,w,k=!1)=>{Object.setPrototypeOf(I,w.elementClass.prototype),n.set(I,w),d=I;try{new w.elementClass}catch{O(w.elementClass),new w.elementClass}w.attributeChangedCallback&&w.observedAttributes.forEach(K=>{I.hasAttribute(K)&&w.attributeChangedCallback.call(I,K,null,I.getAttribute(K))}),k&&w.connectedCallback&&I.isConnected&&w.connectedCallback.call(I)},_=Element.prototype.attachShadow;Element.prototype.attachShadow=function(I){let w=_.apply(this,arguments);return I.customElements&&(w.customElements=I.customElements),w};let N=[document],F=(I,w,k=void 0)=>{let K=(k?Object.getPrototypeOf(k):I.prototype)[w];I.prototype[w]=function(){N.push(this);let ee=K.apply(k||this,arguments);return ee!==void 0&&l.set(ee,this),N.pop(),ee}};F(ShadowRoot,"createElement",document),F(ShadowRoot,"importNode",document),F(Element,"insertAdjacentHTML");let z=(I,w)=>{let k=Object.getOwnPropertyDescriptor(I.prototype,w);Object.defineProperty(I.prototype,w,{...k,set(K){N.push(this),k.set.call(this,K),N.pop()}})};if(z(Element,"innerHTML"),z(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let I=new WeakMap,w=HTMLElement.prototype.attachInternals,k=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ce){let q=w.call(this,...ce);return I.set(q,this),q},k.forEach(ce=>{let q=window.ElementInternals.prototype,v=q[ce];q[ce]=function(...A){let G=I.get(this);if(n.get(G).formAssociated===!0)return v?.call(this,...A);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class K extends Array{constructor(q){super(...q),this._elements=q}get value(){return this._elements.find(q=>q.checked===!0)?.value||""}}class ee{constructor(q){let v=new Map;q.forEach((A,G)=>{let me=A.getAttribute("name"),Ae=v.get(me)||[];this[+G]=A,Ae.push(A),v.set(me,Ae)}),this.length=q.length,v.forEach((A,G)=>{A&&(A.length===1?this[G]=A[0]:this[G]=new K(A))})}namedItem(q){return this[q]}}let he=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ce=he.get.call(this,[]),q=[];for(let v of ce){let A=n.get(v);(!A||A.formAssociated===!0)&&q.push(v)}return new ee(q)}})}}});var of=p(()=>{"use strict";rf();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,i,n)=>{if(i!==null)try{e.bind(window.customElements)(t,i,n)}catch(a){console.info(t,i,n,a)}}}});var Jn,on,ml,nf,ai,Et,R,nn,ea,ta=p(()=>{Jn=globalThis,on=Jn.ShadowRoot&&(Jn.ShadyCSS===void 0||Jn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ml=Symbol(),nf=new WeakMap,ai=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==ml)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(on&&e===void 0){let i=t!==void 0&&t.length===1;i&&(e=nf.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&nf.set(t,e))}return e}toString(){return this.cssText}},Et=r=>new ai(typeof r=="string"?r:r+"",void 0,ml),R=(r,...e)=>{let t=r.length===1?r[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+r[a+1],r[0]);return new ai(t,r,ml)},nn=(r,e)=>{if(on)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let i=document.createElement("style"),n=Jn.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=t.cssText,r.appendChild(i)}},ea=on?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let i of e.cssRules)t+=i.cssText;return Et(t)})(r):r});var lx,cx,dx,px,ux,fx,ra,af,hx,mx,an,si,sn,sf,cr,ln=p(()=>{ta();ta();({is:lx,defineProperty:cx,getOwnPropertyDescriptor:dx,getOwnPropertyNames:px,getOwnPropertySymbols:ux,getPrototypeOf:fx}=Object),ra=globalThis,af=ra.trustedTypes,hx=af?af.emptyScript:"",mx=ra.reactiveElementPolyfillSupport,an=(r,e)=>r,si={toAttribute(r,e){switch(e){case Boolean:r=r?hx:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},sn=(r,e)=>!lx(r,e),sf={attribute:!0,type:String,converter:si,reflect:!1,useDefault:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),ra.litPropertyMetadata??=new WeakMap;cr=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,t=sf){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,t);n!==void 0&&cx(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){let{get:n,set:a}=dx(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??sf}static _$Ei(){if(this.hasOwnProperty(an("elementProperties")))return;let e=fx(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(an("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(an("properties"))){let t=this.properties,i=[...px(t),...ux(t)];for(let n of i)this.createProperty(n,t[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[i,n]of t)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let n=this._$Eu(t,i);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)t.unshift(ea(n))}else e!==void 0&&t.push(ea(e));return t}static _$Eu(e,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i: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,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return nn(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,t,i){this._$AK(e,i)}_$ET(e,t){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:si).toAttribute(t,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,t){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:si;this._$Em=n,this[n]=s.fromAttribute(t,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,t,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??sn)(a,t)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,t,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??t??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(t=void 0),this._$AL.set(e,t)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}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,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(t)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(t=>t.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(t=>this._$ET(t,this[t])),this._$EM()}updated(e){}firstUpdated(e){}};cr.elementStyles=[],cr.shadowRootOptions={mode:"open"},cr[an("elementProperties")]=new Map,cr[an("finalized")]=new Map,mx?.({ReactiveElement:cr}),(ra.reactiveElementVersions??=[]).push("2.1.0")});function gf(r,e){if(!xl(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return lf!==void 0?lf.createHTML(e):e}function ko(r,e,t=r,i){if(e===nt)return e;let n=i!==void 0?t._$Co?.[i]:t._$Cl,a=pn(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(r),n._$AT(r,t,i)),i!==void 0?(t._$Co??=[])[i]=n:t._$Cl=n),n!==void 0&&(e=ko(r,n._$AS(r,e.values),n,i)),e}var yl,oa,lf,bl,_r,vl,gx,Io,dn,pn,xl,hf,gl,cn,cf,df,Ro,pf,uf,mf,Sl,S,Cl,Ol,nt,P,ff,Lo,yf,un,ia,li,To,na,aa,sa,la,El,yx,wl,Xt=p(()=>{yl=globalThis,oa=yl.trustedTypes,lf=oa?oa.createPolicy("lit-html",{createHTML:r=>r}):void 0,bl="$lit$",_r=`lit$${Math.random().toFixed(9).slice(2)}$`,vl="?"+_r,gx=`<${vl}>`,Io=document,dn=()=>Io.createComment(""),pn=r=>r===null||typeof r!="object"&&typeof r!="function",xl=Array.isArray,hf=r=>xl(r)||typeof r?.[Symbol.iterator]=="function",gl=`[
2
+ \f\r]`,cn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,cf=/-->/g,df=/>/g,Ro=RegExp(`>|${gl}(?:([^\\s"'>=/]+)(${gl}*=${gl}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pf=/'/g,uf=/"/g,mf=/^(?:script|style|textarea|title)$/i,Sl=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),S=Sl(1),Cl=Sl(2),Ol=Sl(3),nt=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),ff=new WeakMap,Lo=Io.createTreeWalker(Io,129);yf=(r,e)=>{let t=r.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=cn;for(let l=0;l<t;l++){let d=r[l],f,g,m=-1,b=0;for(;b<d.length&&(s.lastIndex=b,g=s.exec(d),g!==null);)b=s.lastIndex,s===cn?g[1]==="!--"?s=cf:g[1]!==void 0?s=df:g[2]!==void 0?(mf.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=Ro):g[3]!==void 0&&(s=Ro):s===Ro?g[0]===">"?(s=n??cn,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,f=g[1],s=g[3]===void 0?Ro:g[3]==='"'?uf:pf):s===uf||s===pf?s=Ro:s===cf||s===df?s=cn:(s=Ro,n=void 0);let O=s===Ro&&r[l+1].startsWith("/>")?" ":"";a+=s===cn?d+gx:m>=0?(i.push(f),d.slice(0,m)+bl+d.slice(m)+_r+O):d+_r+(m===-2?l:O)}return[gf(r,a+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},un=class r{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,g]=yf(e,t);if(this.el=r.createElement(f,i),Lo.currentNode=this.el.content,t===2||t===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=Lo.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(bl)){let b=g[s++],O=n.getAttribute(m).split(_r),C=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?na:C[1]==="?"?aa:C[1]==="@"?sa:To}),n.removeAttribute(m)}else m.startsWith(_r)&&(d.push({type:6,index:a}),n.removeAttribute(m));if(mf.test(n.tagName)){let m=n.textContent.split(_r),b=m.length-1;if(b>0){n.textContent=oa?oa.emptyScript:"";for(let O=0;O<b;O++)n.append(m[O],dn()),Lo.nextNode(),d.push({type:2,index:++a});n.append(m[b],dn())}}}else if(n.nodeType===8)if(n.data===vl)d.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(_r,m+1))!==-1;)d.push({type:7,index:a}),m+=_r.length-1}a++}}static createElement(e,t){let i=Io.createElement("template");return i.innerHTML=e,i}};ia=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:i}=this._$AD,n=(e?.creationScope??Io).importNode(t,!0);Lo.currentNode=n;let a=Lo.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new li(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new la(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=Lo.nextNode(),s++)}return Lo.currentNode=Io,n}p(e){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}},li=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,i,n){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=ko(this,e,t),pn(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==nt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):hf(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&pn(this._$AH)?this._$AA.nextSibling.data=e:this.T(Io.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=un.createElement(gf(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new ia(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(e){let t=ff.get(e.strings);return t===void 0&&ff.set(e.strings,t=new un(e)),t}k(e){xl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,n=0;for(let a of e)n===t.length?t.push(i=new r(this.O(dn()),this.O(dn()),this,this.options)):i=t[n],i._$AI(a),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},To=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,n,a){this.type=1,this._$AH=P,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}_$AI(e,t=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=ko(this,e,t,0),s=!pn(e)||e!==this._$AH&&e!==nt,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=ko(this,l[i+d],t,d),f===nt&&(f=this._$AH[d]),s||=!pn(f)||f!==this._$AH[d],f===P?e=P:e!==P&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},na=class extends To{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},aa=class extends To{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},sa=class extends To{constructor(e,t,i,n,a){super(e,t,i,n,a),this.type=5}_$AI(e,t=this){if((e=ko(this,e,t,0)??P)===nt)return;let i=this._$AH,n=e===P&&i!==P||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==P&&(i===P||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},la=class{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){ko(this,e)}},El={M:bl,P:_r,A:vl,C:1,L:yf,R:ia,D:hf,V:ko,I:li,H:To,N:aa,U:sa,B:na,F:la},yx=yl.litHtmlPolyfillSupport;yx?.(un,li),(yl.litHtmlVersions??=[]).push("3.3.0");wl=(r,e,t)=>{let i=t?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=t?.renderBefore??null;i._$litPart$=n=new li(e.insertBefore(dn(),a),a,void 0,t??{})}return n._$AI(r),n}});var Al,$r,bx,vx,bf=p(()=>{ln();ln();Xt();Xt();Al=globalThis,$r=class extends cr{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 t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=wl(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return nt}};$r._$litElement$=!0,$r.finalized=!0,Al.litElementHydrateSupport?.({LitElement:$r});bx=Al.litElementPolyfillSupport;bx?.({LitElement:$r});vx={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(Al.litElementVersions??=[]).push("4.2.0")});var hC,vf=p(()=>{hC=!1});var Rl={};oe(Rl,{CSSResult:()=>ai,LitElement:()=>$r,ReactiveElement:()=>cr,_$LE:()=>vx,_$LH:()=>El,adoptStyles:()=>nn,css:()=>R,defaultConverter:()=>si,getCompatibleStyle:()=>ea,html:()=>S,isServer:()=>hC,mathml:()=>Ol,noChange:()=>nt,notEqual:()=>sn,nothing:()=>P,render:()=>wl,supportsAdoptingStyleSheets:()=>on,svg:()=>Cl,unsafeCSS:()=>Et});var $=p(()=>{ln();Xt();bf();vf()});var xx,xf=p(()=>{xx=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)}});function h(r){return(e,t)=>typeof t=="object"?Sf(r,e,t):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(r,e,t)}var Sx,Sf,Ll=p(()=>{ln();Sx={attribute:!0,type:String,converter:si,reflect:!1,hasChanged:sn},Sf=(r=Sx,e,t)=>{let{kind:i,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((r=Object.create(r)).wrapped=!0),a.set(t.name,r),i==="accessor"){let{name:s}=t;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r,l),l}}}if(i==="setter"){let{name:s}=t;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+i)}});function D(r){return h({...r,state:!0,attribute:!1})}var Cf=p(()=>{Ll();});function Cx(r){return(e,t)=>{let i=typeof e=="function"?e:e[t];Object.assign(i,r)}}var Of=p(()=>{});var Jt,ci=p(()=>{Jt=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t)});function W(r,e){return(t,i,n)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof i=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Jt(t,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Jt(t,i,{get(){return a(this)}})}}var Ef=p(()=>{ci();});function Il(r){return(e,t)=>Jt(e,t,{get(){return(this.renderRoot??(Ox??=document.createDocumentFragment())).querySelectorAll(r)}})}var Ox,wf=p(()=>{ci();});function Ex(r){return(e,t)=>Jt(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}var Af=p(()=>{ci();});function kl(r){return(e,t)=>{let{slot:i,selector:n}=r??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Jt(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}var Rf=p(()=>{ci();});function Tl(r){return(e,t)=>{let{slot:i}=r??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Jt(e,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(r)??[]}})}}var Lf=p(()=>{ci();});var _l={};oe(_l,{customElement:()=>xx,eventOptions:()=>Cx,property:()=>h,query:()=>W,queryAll:()=>Il,queryAssignedElements:()=>kl,queryAssignedNodes:()=>Tl,queryAsync:()=>Ex,standardProperty:()=>Sf,state:()=>D});var Y=p(()=>{xf();Ll();Cf();Of();Ef();wf();Af();Rf();Lf()});var dr,er,Dt,_o=p(()=>{dr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},er=r=>(...e)=>({_$litDirective$:r,values:e}),Dt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}});var wx,kf,If,di,Qr,Ax,Tf,_f,ca,$l=p(()=>{Xt();({I:wx}=El),kf=r=>r.strings===void 0,If=()=>document.createComment(""),di=(r,e,t)=>{let i=r._$AA.parentNode,n=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=i.insertBefore(If(),n),s=i.insertBefore(If(),n);t=new wx(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let d;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(d=r._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return t},Qr=(r,e,t=r)=>(r._$AI(e,t),r),Ax={},Tf=(r,e=Ax)=>r._$AH=e,_f=r=>r._$AH,ca=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let i=e.nextSibling;e.remove(),e=i}}});var $f,Re,Pf=p(()=>{Xt();_o();$l();$f=(r,e,t)=>{let i=new Map;for(let n=e;n<=t;n++)i.set(r[n],n);return i},Re=er(class extends Dt{constructor(r){if(super(r),r.type!==dr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,e,t){let i;t===void 0?t=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of r)n[s]=i?i(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:n}}render(r,e,t){return this.dt(r,e,t).values}update(r,[e,t,i]){let n=_f(r),{values:a,keys:s}=this.dt(e,t,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,g,m=0,b=n.length-1,O=0,C=a.length-1;for(;m<=b&&O<=C;)if(n[m]===null)m++;else if(n[b]===null)b--;else if(l[m]===s[O])d[O]=Qr(n[m],a[O]),m++,O++;else if(l[b]===s[C])d[C]=Qr(n[b],a[C]),b--,C--;else if(l[m]===s[C])d[C]=Qr(n[m],a[C]),di(r,d[C+1],n[m]),m++,C--;else if(l[b]===s[O])d[O]=Qr(n[b],a[O]),di(r,n[m],n[b]),b--,O++;else if(f===void 0&&(f=$f(s,O,C),g=$f(l,m,b)),f.has(l[m]))if(f.has(l[b])){let _=g.get(s[O]),N=_!==void 0?n[_]:null;if(N===null){let F=di(r,n[m]);Qr(F,a[O]),d[O]=F}else d[O]=Qr(N,a[O]),di(r,n[m],N),n[_]=null;O++}else ca(n[b]),b--;else ca(n[m]),m++;for(;O<=C;){let _=di(r,d[C+1]);Qr(_,a[O]),d[O++]=_}for(;m<=b;){let _=n[m++];_!==null&&ca(_)}return this.ut=s,Tf(r,d),nt}})});var Pl={};oe(Pl,{repeat:()=>Re});var tr=p(()=>{Pf()});var xe,Nf=p(()=>{Xt();_o();xe=er(class extends Dt{constructor(r){if(super(r),r.type!==dr.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let t=r.element.classList;for(let i of this.st)i in e||(t.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(t.add(i),this.st.add(i)):(t.remove(i),this.st.delete(i)))}return nt}})});var Nl={};oe(Nl,{classMap:()=>xe});var ut=p(()=>{Nf()});var Ff,Rx,Lx,Df=p(()=>{Xt();_o();Ff="important",Rx=" !"+Ff,Lx=er(class extends Dt{constructor(r){if(super(r),r.type!==dr.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?t.removeProperty(i):t[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(Rx);i.includes("-")||a?t.setProperty(i,a?n.slice(0,-11):n,a?Ff:""):t[i]=n}}return nt}})});var Fl={};oe(Fl,{styleMap:()=>Lx});var Bf=p(()=>{Df()});var pi,$o,Mf=p(()=>{Xt();_o();pi=class extends Dt{constructor(e){if(super(e),this.it=P,e.type!==dr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===nt)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 t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};pi.directiveName="unsafeHTML",pi.resultType=1;$o=er(pi)});var Dl={};oe(Dl,{UnsafeHTMLDirective:()=>pi,unsafeHTML:()=>$o});var fn=p(()=>{Mf()});var Bl={};oe(Bl,{CancelablePromise:()=>da,CanceledPromiseError:()=>pr,cancelable:()=>ui});var pr,da,ui,pa=p(()=>{"use strict";pr=class extends Error{constructor(e,t,i){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=i}},da=class extends Promise{constructor(e){super((t,i)=>e(n=>{this.isCanceled?i(new pr("Promise has been canceled",n)):t(n)},n=>{this.isCanceled?i(new pr("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ui=r=>new da((e,t)=>r.then(e).catch(t))});var Hl={};oe(Hl,{applyMixinOnce:()=>Fe,dateReviver:()=>kx,deepCopy:()=>mn,deepEqual:()=>Ze,delay:()=>ua,eventPathContainsMatchingElement:()=>Ml,everyDeep:()=>Ix,flatDeep:()=>wt,forEachDeep:()=>Uf,getComposedPathTo:()=>Ul,hasChanged:()=>At,last:()=>_x,minmax:()=>Po,parseDate:()=>Hf,randomId:()=>zl,someDeep:()=>zf,unslotText:()=>fi,waitFor:()=>Xr,waitUntil:()=>hn});async function hn(r,e=10,t=2e4){await Xr(async()=>await r()||void 0,e,t)}async function Xr(r,e=10,t=2e4){let i=await r(),n,a;for(n=a=performance.now();i==null&&(!t||a-n<t);)await ua(e),i=await r(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function wt(r,e){return r.flatMap(t=>[t,...wt(e(t),e)])}function Uf(r,e,t){let i=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=t(d,l,n,a))!==null&&s!==void 0?s:!0)&&i(e(d),[...a,d])))return!1}return!0};i(r,[])}function zf(r,e,t){let i=!1;return Uf(r,e,(n,a,s,l)=>(i=!!t(n,a,s,l),!i)),i}function Ix(r,e,t){return!zf(r,e,(i,n,a,s)=>!t(i,n,a,s))}function kx(...r){return(e,t)=>r.includes(e)?Hf(t):t}function Hf(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,i,n)=>t+i+":"+n),new Date(r)}function Tx(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;let t,i,n;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(i=t;i--!==0;)if(!Ze(r[i],e[i]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;for(i of r.entries())if(!Ze(i[1],e.get(i[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(i of r.entries())if(!e.has(i[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(r),t=n.length,t!==a(e).length)return!1;for(i=t;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=t;i--!==0;){let s=n[i];if(!Ze(r[s],e[s]))return!1}return!0}return r!==r&&e!==e||r==null&&e==null}function Ze(r,e){try{return Tx(r,e)}catch{return!1}}function At(r,e){return!Ze(r,e)}function Ml(r,e,t=window.document.body){if(e.length>0){let i=r.composedPath();for(let n of i){if(n===t)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function Po(r,e,t){return Math.min(Math.max(r,e),t)}function _x(r){return r[r.length-1]}function fi(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>fi(e)).join(""):r?.textContent||""}function Ul(r){let e=[],t=i=>{i.stopPropagation(),e=i.composedPath()};return r.addEventListener("get-composed-path",t),r.dispatchEvent(new Event("get-composed-path",{composed:!0})),r.removeEventListener("get-composed-path",t),e}function mn(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function zl(r,e){return(e??"")+(""+Math.floor(Math.random()*10**r)).padStart(r,"0")}function Fe(r,e){let t=i=>i[r]===!0;return i=>{if(t(i))return i;let n=e(i);return n[r]=!0,n}}var ua,gt=p(()=>{"use strict";ua=r=>new Promise(e=>setTimeout(e,r))});var jl={};oe(jl,{FtNotificationEvent:()=>gn,PostResizeEvent:()=>Vl,PreResizeEvent:()=>Wl,WithEventBus:()=>Pr,withEventBus:()=>fa});var gn,Wl,Vl,fa,Pr,hi=p(()=>{"use strict";gt();gn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Wl=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Vl=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},fa=Fe(Symbol("withEventBus"),function(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(t,i,n){this.eventBus.addEventListener(t,i,n)}dispatchEvent(t){return this.eventBus.dispatchEvent(t)}removeEventListener(t,i,n){this.eventBus.removeEventListener(t,i,n)}}}),Pr=class extends fa(Object){}});var Gl={};oe(Gl,{CacheRegistry:()=>ur,ClearCacheEvent:()=>yn});var yn,ur,Kl=p(()=>{"use strict";pa();hi();yn=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ur=class extends Pr{constructor(){super(...arguments),this.content={}}register(e,t,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:t,final:i,status:s}}registerFinal(e,t){this.register(e,t,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,t=!0){let i=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return t&&i.length>0&&this.dispatchEvent(new yn(i)),i}clear(e,t=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),t&&this.dispatchEvent(new yn([e])),e}forceClear(e){var t;let i=this.content[e];i&&(this.clearClearTimeout(e),(t=i.promise)===null||t===void 0||t.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var t,i,n;((t=this.content[e])===null||t===void 0?void 0:t.clearTimeout)!=null&&(window.clearTimeout((i=this.content[e])===null||i===void 0?void 0:i.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,t,i=!1){this.forceClear(e);let n=async()=>t,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:t}}setFinal(e,t){return this.set(e,t,!0)}async get(e,t,i){if(!this.isRegistered(e)){if(!t)throw new Error("Unknown cache key "+e);this.register(e,t)}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 t=t??n.loader,n.status="LOADING",n.promise=ui(t()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,i!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),i)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var t;return(t=this.content[e])===null||t===void 0?void 0:t.value}has(e){var t,i;return((t=this.content[e])===null||t===void 0?void 0:t.status)!==void 0&&((i=this.content[e])===null||i===void 0?void 0:i.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var t;return((t=this.content[e])===null||t===void 0?void 0:t.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}}});var Zl={};oe(Zl,{accessResult:()=>Bt,accessResultId:()=>ha,accessResultUrl:()=>ql});function Bt(r){var e,t,i,n;return(n=(i=(t=(e=r?.map)!==null&&e!==void 0?e:r?.topic)!==null&&t!==void 0?t:r?.document)!==null&&i!==void 0?i:r?.htmlPackage)!==null&&n!==void 0?n:r?.htmlPackagePage}function ha(r){var e,t,i,n,a,s,l,d,f;return(d=(s=(n=(t=(e=r?.map)===null||e===void 0?void 0:e.mapId)!==null&&t!==void 0?t:(i=r?.topic)===null||i===void 0?void 0:i.tocId)!==null&&n!==void 0?n:(a=r?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=r?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=r?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function ql(r){var e,t,i,n,a,s,l,d,f;return(d=(s=(n=(t=(e=r?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&t!==void 0?t:(i=r?.topic)===null||i===void 0?void 0:i.readerUrl)!==null&&n!==void 0?n:(a=r?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=r?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=r?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}var ma=p(()=>{"use strict"});var Xl={};oe(Xl,{ClusteringHelper:()=>Ql,formatHierarchicalValues:()=>Yl});function Yl(r,e){return e&&e>1&&r.length>=e?`... > ${r[r.length-1]}`:r.join(" > ")}var Ql,Jl=p(()=>{"use strict";ma();Ql=class r{constructor(e,t,i,n){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){let t=Bt(e.result).metadata;return e.key==null?r.flattenMetadata(t,e.hierarchicalValueTruncatingLevel,e.dateFormatter):r.flattenMetadata(t.find(i=>i.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,t,i){if(Array.isArray(e))return e.map(a=>r.flattenMetadata(a,t,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Yl(l)),s.push(Yl(l,t))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,t,i="No value",n,a){var s,l;let d=r.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(m=>r.extractResultMetadata({result:m,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(m=>m??{key:e,label:f,value:void 0,displayValue:i}).filter(m=>m.value!=d?.value).filter((m,b,O)=>O.findIndex(C=>C.value===m.value)===b).map(m=>({result:this.findBestResultForMetadataValue(e,m.value),metadata:m})).sort((m,b)=>this.compareMetadata(m.metadata.value,b.metadata.value,e,t))}compareMetadata(e,t,i,n){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(t,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let i=this.allResults.filter(d=>{var f;return((f=r.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==t}),a=[...r.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata({result:e}).filter(i=>t.some(n=>n.key===i.key&&n.value===i.value)).length}}});var ec={};oe(ec,{Debouncer:()=>de});var de,ga=p(()=>{"use strict";de=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,i)=>{this.resolvePromise=t,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var tc={};oe(tc,{customElement:()=>M,dateProperty:()=>Px,isNumber:()=>Wf,jsonProperty:()=>ye,numberProperty:()=>Mt,optionalNumberProperty:()=>$x});function ye(r,e){let t=()=>JSON.parse(JSON.stringify(r));return h({type:Object,converter:{fromAttribute:i=>{if(i==null)return t();try{return JSON.parse(i)}catch{return t()}},toAttribute:i=>JSON.stringify(i)},hasChanged:At,...e??{}})}function $x(r){return Mt(r)}function Mt(r){return h({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Wf(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...r??{}})}function Wf(r){return!isNaN(parseFloat(r))}function Px(r){return h({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let t=new Date(Date.parse(e));if(!isNaN(t.valueOf()))return t},toAttribute:e=>e?.toISOString()},useDefault:!0,...r??{}})}var M,ya=p(()=>{"use strict";Y();gt();M=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)}});function y(r,e){return Jr(`${r.name}: ${e}`)}var Jr,o,se=p(()=>{$();Jr=r=>typeof r=="string"?Et(r):r,o=class{static create(e,t,i,n){let a=l=>Jr(l??n),s=R`var(${Jr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>R`var(${Jr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,t,i,n){let a=l=>i.get(l??n),s=R`var(${Jr(e)}, ${a(n)})`;return s.name=e,s.description=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>y(s,l??a(n)),s.get=l=>R`var(${Jr(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,t){let i=a=>e.defaultCssValue(a),n=R`var(${Jr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=t,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>R`var(${Jr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,ba,va,xa,Sa,Ca,Oa,Ea,wa,eo,Vf,Aa,Ra,La,Ia,ka,Ta,_a,$a,Pa,Na,Nr,Fa,Da,Ba,Ma,Ua,to,Nx,le=p(()=>{se();c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ba={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},va={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},xa={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Sa={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Ca={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Oa={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ea={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},wa={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},eo={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Vf={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Aa={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ra={fontFamily:o.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},La={fontFamily:o.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Ia={fontFamily:o.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},ka={fontFamily:o.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Ta={fontFamily:o.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},_a={fontFamily:o.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},$a={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Pa={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Na={fontFamily:o.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Nr={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Fa={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Da={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ba={fontFamily:o.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Ua={fontFamily:o.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},to={display:ba,"title-1":va,"title-2":xa,"title-3":Sa,"body-1-regular":Ca,"body-1-medium":Oa,"body-1-semibold":Ea,"body-2-regular":wa,"body-2-medium":eo,"body-2-medium-underline":Vf,"body-2-semibold":Aa,"label-1-medium":Ra,"label-1-semibold":La,"label-1-bold":Ia,"label-2-medium":ka,"label-2-semibold":Ta,"label-2-bold":_a,"caption-1-medium":$a,"caption-1-semibold":Pa,"caption-1-bold":Na,"caption-2-medium":Nr,"caption-2-semibold":Fa,"caption-2-bold":Da,"caption-3-medium":Ba,"caption-3-semibold":Ma,"caption-3-bold":Ua},Nx=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var u,ge=p(()=>{se();le();u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var x,jf=p(()=>{se();le();ge();x={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var Fx,Gf=p(()=>{se();le();ge();Fx={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)}});var Dx,Kf=p(()=>{se();le();ge();Dx={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ftds-checkbox-left-padding","",c.spacing2)}});var ue,qf=p(()=>{se();le();ge();ue={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)}});var Bx,Zf=p(()=>{se();le();ge();Bx={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)}});var Mx,Yf=p(()=>{se();le();ge();Mx={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)}});var Q,Qf=p(()=>{se();le();ge();Q={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)}});var Ux,Xf=p(()=>{se();le();ge();Ux={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)}});var zx,Jf=p(()=>{se();le();ge();zx={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)}});var Hx,eh=p(()=>{se();le();ge();Hx={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)}});var Wx,th=p(()=>{se();le();ge();Wx={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Vx,rh=p(()=>{se();le();ge();Vx={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")}});var jx,oh=p(()=>{se();le();ge();jx={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)}});var Gx,ih=p(()=>{se();le();Gx={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)}});var Kx,nh=p(()=>{se();le();ge();Kx={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)}});var qx,ah=p(()=>{se();le();ge();qx={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)}});var Zx,sh=p(()=>{se();le();ge();Zx={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var Yx,lh=p(()=>{se();le();ge();Yx={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)}});var Qx,ch=p(()=>{se();le();ge();Qx={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)}});var Xx,dh=p(()=>{se();le();ge();Xx={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)}});var Jx,ph=p(()=>{se();le();ge();Jx={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var e0,uh=p(()=>{se();le();ge();e0={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)}});var t0,fh=p(()=>{se();le();ge();t0={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)}});var r0,hh=p(()=>{se();le();ge();r0={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)}});var o0,mh=p(()=>{se();le();ge();o0={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)}});var i0,gh=p(()=>{se();le();i0={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var n0,yh=p(()=>{se();le();n0={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var a0,bh=p(()=>{se();le();ge();a0={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")}});var s0,vh=p(()=>{se();le();ge();s0={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)}});var l0,xh=p(()=>{se();le();ge();l0={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)}});var c0,Sh=p(()=>{se();le();ge();c0={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)}});var d0,Ch=p(()=>{se();le();ge();d0={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var p0,Oh=p(()=>{se();le();p0={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var Eh=p(()=>{le();ge();jf();Gf();Kf();qf();Zf();Yf();Qf();Xf();Jf();eh();th();rh();oh();ih();nh();ah();sh();lh();ch();dh();ph();uh();fh();hh();mh();gh();yh();bh();vh();xh();Sh();Ch();Oh()});function rc(r){return`ftds--family-${r}`}function oc(r){return`ftds--size-${r}`}var Rt,yt,wh=p(()=>{(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Rt||(Rt={}));(function(r){r.large="large",r.medium="medium",r.small="small"})(yt||(yt={}))});var H=p(()=>{se();Eh();wh()});var ic={};oe(ic,{DesignSystemFamily:()=>Rt,DesignSystemSize:()=>yt,FtCssVariableFactory:()=>o,badge:()=>Hx,banner:()=>zx,button:()=>x,chart:()=>i0,checkbox:()=>Dx,chip:()=>Q,chipChoice:()=>Mx,collapsible:()=>r0,comboboxMultiSelect:()=>e0,comboboxSingleSelect:()=>Jx,dateRangePicker:()=>p0,drawer:()=>qx,floatingMenu:()=>Xx,foundation:()=>c,link:()=>Ux,modal:()=>Kx,notice:()=>a0,notification:()=>l0,pageDesigner:()=>n0,pageFooter:()=>jx,pageHeader:()=>Vx,pageLayout:()=>Gx,popover:()=>t0,radio:()=>ue,reorderableList:()=>d0,resolveFamilyClass:()=>rc,resolveSizeClass:()=>oc,semantic:()=>u,setVariable:()=>y,switch_:()=>o0,table:()=>Bx,tabs:()=>Zx,textArea:()=>Qx,textInput:()=>Yx,titleBreadcrumb:()=>Wx,toggle:()=>s0,tooltip:()=>c0,treeList:()=>Fx,typographies:()=>to,typographyBody1Medium:()=>Oa,typographyBody1Regular:()=>Ca,typographyBody1Semibold:()=>Ea,typographyBody2Medium:()=>eo,typographyBody2MediumUnderline:()=>Vf,typographyBody2Regular:()=>wa,typographyBody2Semibold:()=>Aa,typographyCaption1Bold:()=>Na,typographyCaption1Medium:()=>$a,typographyCaption1Semibold:()=>Pa,typographyCaption2Bold:()=>Da,typographyCaption2Medium:()=>Nr,typographyCaption2Semibold:()=>Fa,typographyCaption3Bold:()=>Ua,typographyCaption3Medium:()=>Ba,typographyCaption3Semibold:()=>Ma,typographyDisplay:()=>ba,typographyLabel1Bold:()=>Ia,typographyLabel1Medium:()=>Ra,typographyLabel1Semibold:()=>La,typographyLabel2Bold:()=>_a,typographyLabel2Medium:()=>ka,typographyLabel2Semibold:()=>Ta,typographyTitle1:()=>va,typographyTitle2:()=>xa,typographyTitle3:()=>Sa,typographyVariants:()=>Nx});var za=p(()=>{"use strict";H()});var nc={};oe(nc,{designSystemVariables:()=>E});var E,ac=p(()=>{"use strict";za();E={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var sc={};oe(sc,{DynamicImporter:()=>Ha,dynamicImporter:()=>u0});var Ha,u0,lc=p(()=>{"use strict";Ha=class{async import(e){if(e)return import(e)}},u0=new Ha});function pc(r,e,t){return ro(r,Wa(e,t))}function mi(r,e){return typeof r=="function"?r(e):r}function oo(r){return r.split("-")[0]}function fr(r){return r.split("-")[1]}function uc(r){return r==="x"?"y":"x"}function fc(r){return r==="y"?"height":"width"}function gi(r){return["top","bottom"].includes(oo(r))?"y":"x"}function hc(r){return uc(gi(r))}function Lh(r,e,t){t===void 0&&(t=!1);let i=fr(r),n=hc(r),a=fc(n),s=n==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=cc(s)),[s,cc(s)]}function Ih(r){return r.replace(/start|end/g,e=>h0[e])}function cc(r){return r.replace(/left|right|bottom|top/g,e=>f0[e])}function m0(r){return{top:0,right:0,bottom:0,left:0,...r}}function kh(r){return typeof r!="number"?m0(r):{top:r,right:r,bottom:r,left:r}}function No(r){let{x:e,y:t,width:i,height:n}=r;return{width:i,height:n,top:t,left:e,right:e+i,bottom:t+n,x:e,y:t}}var Rh,Ah,dc,Wa,ro,f0,h0,mc=p(()=>{Rh=["top","right","bottom","left"],Ah=["start","end"],dc=Rh.reduce((r,e)=>r.concat(e,e+"-"+Ah[0],e+"-"+Ah[1]),[]),Wa=Math.min,ro=Math.max,f0={left:"right",right:"left",bottom:"top",top:"bottom"},h0={start:"end",end:"start"}});function Th(r,e,t){let{reference:i,floating:n}=r,a=gi(e),s=hc(e),l=fc(s),d=oo(e),f=a==="y",g=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,O;switch(d){case"top":O={x:g,y:i.y-n.height};break;case"bottom":O={x:g,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y:m};break;case"left":O={x:i.x-n.width,y:m};break;default:O={x:i.x,y:i.y}}switch(fr(e)){case"start":O[s]-=b*(t&&f?-1:1);break;case"end":O[s]+=b*(t&&f?-1:1);break}return O}async function Va(r,e){var t;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=r,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:b=!1,padding:O=0}=mi(e,r),C=kh(O),N=l[b?m==="floating"?"reference":"floating":m],F=No(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(N)))==null||t?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:g,strategy:d})),z=m==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),w=await(a.isElement==null?void 0:a.isElement(I))?await(a.getScale==null?void 0:a.getScale(I))||{x:1,y:1}:{x:1,y:1},k=No(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:z,offsetParent:I,strategy:d}):z);return{top:(F.top-k.top+C.top)/w.y,bottom:(k.bottom-F.bottom+C.bottom)/w.y,left:(F.left-k.left+C.left)/w.x,right:(k.right-F.right+C.right)/w.x}}function g0(r,e,t){return(r?[...t.filter(n=>fr(n)===r),...t.filter(n=>fr(n)!==r)]:t.filter(n=>oo(n)===n)).filter(n=>r?fr(n)===r||(e?Ih(n)!==n:!1):!0)}async function y0(r,e){let{placement:t,platform:i,elements:n}=r,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=oo(t),l=fr(t),d=gi(t)==="y",f=["left","top"].includes(s)?-1:1,g=a&&d?-1:1,m=mi(e,r),{mainAxis:b,crossAxis:O,alignmentAxis:C}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&typeof C=="number"&&(O=l==="end"?C*-1:C),d?{x:O*g,y:b*f}:{x:b*f,y:O*g}}var _h,ja,gc,yc,bc,vc=p(()=>{mc();mc();_h=async(r,e,t)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:r,floating:e,strategy:n}),{x:g,y:m}=Th(f,i,d),b=i,O={},C=0;for(let _=0;_<l.length;_++){let{name:N,fn:F}=l[_],{x:z,y:I,data:w,reset:k}=await F({x:g,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:O,rects:f,platform:s,elements:{reference:r,floating:e}});g=z??g,m=I??m,O={...O,[N]:{...O[N],...w}},k&&C<=50&&(C++,typeof k=="object"&&(k.placement&&(b=k.placement),k.rects&&(f=k.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:n}):k.rects),{x:g,y:m}=Th(f,b,d)),_=-1)}return{x:g,y:m,placement:b,strategy:n,middlewareData:O}};ja=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:b=dc,autoAlignment:O=!0,...C}=mi(r,e),_=m!==void 0||b===dc?g0(m||null,O,b):b,N=await Va(e,C),F=((t=s.autoPlacement)==null?void 0:t.index)||0,z=_[F];if(z==null)return{};let I=Lh(z,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==z)return{reset:{placement:_[0]}};let w=[N[oo(z)],N[I[0]],N[I[1]]],k=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:z,overflows:w}],K=_[F+1];if(K)return{data:{index:F+1,overflows:k},reset:{placement:K}};let ee=k.map(q=>{let v=fr(q.placement);return[q.placement,v&&g?q.overflows.slice(0,2).reduce((A,G)=>A+G,0):q.overflows[0],q.overflows]}).sort((q,v)=>q[1]-v[1]),ce=((n=ee.filter(q=>q[2].slice(0,fr(q[0])?2:3).every(v=>v<=0))[0])==null?void 0:n[0])||ee[0][0];return ce!==l?{data:{index:F+1,overflows:k},reset:{placement:ce}}:{}}}};gc=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var t,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await y0(e,r);return s===((t=l.offset)==null?void 0:t.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},yc=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:F,y:z}=N;return{x:F,y:z}}},...d}=mi(r,e),f={x:t,y:i},g=await Va(e,d),m=gi(oo(n)),b=uc(m),O=f[b],C=f[m];if(a){let N=b==="y"?"top":"left",F=b==="y"?"bottom":"right",z=O+g[N],I=O-g[F];O=pc(z,O,I)}if(s){let N=m==="y"?"top":"left",F=m==="y"?"bottom":"right",z=C+g[N],I=C-g[F];C=pc(z,C,I)}let _=l.fn({...e,[b]:O,[m]:C});return{..._,data:{x:_.x-t,y:_.y-i,enabled:{[b]:a,[m]:s}}}}}},bc=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){var t,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=mi(r,e),g=await Va(e,f),m=oo(n),b=fr(n),O=gi(n)==="y",{width:C,height:_}=a.floating,N,F;m==="top"||m==="bottom"?(N=m,F=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(F=m,N=b==="end"?"top":"bottom");let z=_-g.top-g.bottom,I=C-g.left-g.right,w=Wa(_-g[N],z),k=Wa(C-g[F],I),K=!e.middlewareData.shift,ee=w,he=k;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(he=I),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(ee=z),K&&!b){let q=ro(g.left,0),v=ro(g.right,0),A=ro(g.top,0),G=ro(g.bottom,0);O?he=C-2*(q!==0||v!==0?q+v:ro(g.left,g.right)):ee=_-2*(A!==0||G!==0?A+G:ro(g.top,g.bottom))}await d({...e,availableWidth:he,availableHeight:ee});let ce=await s.getDimensions(l.floating);return C!==ce.width||_!==ce.height?{reset:{rects:!0}}:{}}}}});var xc,yi,bn,Fr,$h=p(()=>{xc=Math.min,yi=Math.max,bn=Math.round,Fr=r=>({x:r,y:r})});function Dr(r){return Nh(r)?(r.nodeName||"").toLowerCase():"#document"}function bt(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Br(r){var e;return(e=(Nh(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Nh(r){return r instanceof Node||r instanceof bt(r).Node}function hr(r){return r instanceof Element||r instanceof bt(r).Element}function rr(r){return r instanceof HTMLElement||r instanceof bt(r).HTMLElement}function Ph(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof bt(r).ShadowRoot}function bi(r){let{overflow:e,overflowX:t,overflowY:i,display:n}=Lt(r);return/auto|scroll|overlay|hidden|clip/.test(e+i+t)&&!["inline","contents"].includes(n)}function Fh(r){return["table","td","th"].includes(Dr(r))}function Ka(r){let e=qa(),t=Lt(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(t.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(t.contain||"").includes(i))}function Dh(r){let e=Fo(r);for(;rr(e)&&!vn(e);){if(Ka(e))return e;e=Fo(e)}return null}function qa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function vn(r){return["html","body","#document"].includes(Dr(r))}function Lt(r){return bt(r).getComputedStyle(r)}function xn(r){return hr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Fo(r){if(Dr(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Ph(r)&&r.host||Br(r);return Ph(e)?e.host:e}function Bh(r){let e=Fo(r);return vn(e)?r.ownerDocument?r.ownerDocument.body:r.body:rr(e)&&bi(e)?e:Bh(e)}function Ga(r,e,t){var i;e===void 0&&(e=[]),t===void 0&&(t=!0);let n=Bh(r),a=n===((i=r.ownerDocument)==null?void 0:i.body),s=bt(n);return a?e.concat(s,s.visualViewport||[],bi(n)?n:[],s.frameElement&&t?Ga(s.frameElement):[]):e.concat(n,Ga(n,[],t))}var Mh=p(()=>{});function Hh(r){let e=Lt(r),t=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=rr(r),a=n?r.offsetWidth:t,s=n?r.offsetHeight:i,l=bn(t)!==a||bn(i)!==s;return l&&(t=a,i=s),{width:t,height:i,$:l}}function Wh(r){return hr(r)?r:r.contextElement}function vi(r){let e=Wh(r);if(!rr(e))return Fr(1);let t=e.getBoundingClientRect(),{width:i,height:n,$:a}=Hh(e),s=(a?bn(t.width):t.width)/i,l=(a?bn(t.height):t.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Vh(r){let e=bt(r);return!qa()||!e.visualViewport?b0:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function v0(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==bt(r)?!1:e}function Sn(r,e,t,i){e===void 0&&(e=!1),t===void 0&&(t=!1);let n=r.getBoundingClientRect(),a=Wh(r),s=Fr(1);e&&(i?hr(i)&&(s=vi(i)):s=vi(r));let l=v0(a,t,i)?Vh(a):Fr(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,g=n.width/s.x,m=n.height/s.y;if(a){let b=bt(a),O=i&&hr(i)?bt(i):i,C=b.frameElement;for(;C&&i&&O!==b;){let _=vi(C),N=C.getBoundingClientRect(),F=Lt(C),z=N.left+(C.clientLeft+parseFloat(F.paddingLeft))*_.x,I=N.top+(C.clientTop+parseFloat(F.paddingTop))*_.y;d*=_.x,f*=_.y,g*=_.x,m*=_.y,d+=z,f+=I,C=bt(C).frameElement}}return No({width:g,height:m,x:d,y:f})}function x0(r){let{rect:e,offsetParent:t,strategy:i}=r,n=rr(t),a=Br(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=Fr(1),d=Fr(0);if((n||!n&&i!=="fixed")&&((Dr(t)!=="body"||bi(a))&&(s=xn(t)),rr(t))){let f=Sn(t);l=vi(t),d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function S0(r){return Array.from(r.getClientRects())}function jh(r){return Sn(Br(r)).left+xn(r).scrollLeft}function C0(r){let e=Br(r),t=xn(r),i=r.ownerDocument.body,n=yi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=yi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-t.scrollLeft+jh(r),l=-t.scrollTop;return Lt(i).direction==="rtl"&&(s+=yi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function O0(r,e){let t=bt(r),i=Br(r),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=qa();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function E0(r,e){let t=Sn(r,!0,e==="fixed"),i=t.top+r.clientTop,n=t.left+r.clientLeft,a=rr(r)?vi(r):Fr(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function Uh(r,e,t){let i;if(e==="viewport")i=O0(r,t);else if(e==="document")i=C0(Br(r));else if(hr(e))i=E0(e,t);else{let n=Vh(r);i={...e,x:e.x-n.x,y:e.y-n.y}}return No(i)}function Gh(r,e){let t=Fo(r);return t===e||!hr(t)||vn(t)?!1:Lt(t).position==="fixed"||Gh(t,e)}function w0(r,e){let t=e.get(r);if(t)return t;let i=Ga(r,[],!1).filter(l=>hr(l)&&Dr(l)!=="body"),n=null,a=Lt(r).position==="fixed",s=a?Fo(r):r;for(;hr(s)&&!vn(s);){let l=Lt(s),d=Ka(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||bi(s)&&!d&&Gh(r,s))?i=i.filter(g=>g!==s):n=l,s=Fo(s)}return e.set(r,i),i}function A0(r){let{element:e,boundary:t,rootBoundary:i,strategy:n}=r,s=[...t==="clippingAncestors"?w0(e,this._c):[].concat(t),i],l=s[0],d=s.reduce((f,g)=>{let m=Uh(e,g,n);return f.top=yi(m.top,f.top),f.right=xc(m.right,f.right),f.bottom=xc(m.bottom,f.bottom),f.left=yi(m.left,f.left),f},Uh(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function R0(r){return Hh(r)}function L0(r,e,t){let i=rr(e),n=Br(e),a=t==="fixed",s=Sn(r,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Fr(0);if(i||!i&&!a)if((Dr(e)!=="body"||bi(n))&&(l=xn(e)),i){let f=Sn(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=jh(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function zh(r,e){return!rr(r)||Lt(r).position==="fixed"?null:e?e(r):r.offsetParent}function Kh(r,e){let t=bt(r);if(!rr(r))return t;let i=zh(r,e);for(;i&&Fh(i)&&Lt(i).position==="static";)i=zh(i,e);return i&&(Dr(i)==="html"||Dr(i)==="body"&&Lt(i).position==="static"&&!Ka(i))?t:i||Dh(r)||t}function k0(r){return Lt(r).direction==="rtl"}var b0,I0,xi,Sc,qh=p(()=>{vc();vc();$h();Mh();b0=Fr(0);I0=async function(r){let{reference:e,floating:t,strategy:i}=r,n=this.getOffsetParent||Kh,a=this.getDimensions;return{reference:L0(e,await n(t),i),floating:{x:0,y:0,...await a(t)}}};xi={convertOffsetParentRelativeRectToViewportRelativeRect:x0,getDocumentElement:Br,getClippingRect:A0,getOffsetParent:Kh,getElementRects:I0,getClientRects:S0,getDimensions:R0,getScale:vi,isElement:hr,isRTL:k0},Sc=(r,e,t)=>{let i=new Map,n={platform:xi,...t},a={...n.platform,_c:i};return _h(r,e,{...n,platform:a})}});function Oc(r){return T0(r)}function Cc(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function T0(r){for(let e=r;e;e=Cc(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Cc(r);e;e=Cc(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}var Zh=p(()=>{});var Ac={};oe(Ac,{computeOffsetAutoPosition:()=>wc,computeOffsetPosition:()=>Ec});async function Ec(r,e,t){return Sc(r,e,{platform:{...xi,getOffsetParent:i=>xi.getOffsetParent(i,Oc)},middleware:[yc({crossAxis:!0}),ja({allowedPlacements:[t]})]})}async function wc(r,e,t,i,n,a,s=4){return Sc(r,e,{placement:t,strategy:n,platform:{...xi,getOffsetParent:l=>xi.getOffsetParent(l,Oc)},middleware:[gc(s),ja({allowedPlacements:i}),bc({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Za=p(()=>{"use strict";qh();Zh()});var Rc={};oe(Rc,{ScopedRegistryLitElement:()=>Cn});var Cn,Ya=p(()=>{"use strict";$();ta();Cn=class extends $r{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let t={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(t);return nn(i,e.elementStyles),i}}});var Ic={};oe(Ic,{shadowQuerySelector:()=>Lc,shadowQuerySelectorAll:()=>_0});function Lc(r,e,...t){var i;let n=r.querySelector(e);for(let a of t)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function _0(r,e,...t){let i=[...r.querySelectorAll(e)];for(let n of t)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var Qa=p(()=>{"use strict"});var kc={};oe(kc,{ExportpartsUpdatedEvent:()=>Do,FtLitElement:()=>V});var Si,Jh,Yh,Qh,em,Xh,Do,V,On=p(()=>{"use strict";Y();ya();ga();Ya();Qa();Si=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Yh=Symbol("constructorPrototype"),Qh=Symbol("constructorName"),em=Symbol("exportpartsDebouncer"),Xh=Symbol("dynamicDependenciesLoaded"),Do=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};Do.eventName="exportparts-updated";V=class extends Cn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Jh]=new de(5),this.scheduleExportpartsUpdate=()=>{var e,t,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&i!==void 0&&i)&&this[em].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Qh]=this.constructor.name,this[Yh]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Qh]&&Object.setPrototypeOf(this,this[Yh])}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(i){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",i)}let t=this.constructor;t[Xh]||(t[Xh]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Do.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Do.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 Do)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:t,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];t=Lc(this.shadowRoot,...a)}t?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||t?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var t,i,n;if(((i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var t,i,n,a,s,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.exportparts=void 0;return}let g=new Set;for(let b of(i=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],_=[...O,...C].filter(d).map(N=>N.trim());for(let N of _)g.add(N)}if(g.size===0){this.exportparts=void 0;return}let m=[...g.values()].flatMap(b=>f.map(O=>`${b}:${O}--${b}`));this.exportparts=[...this.part,...m].join(", ")}};Jh=em;Si([h()],V.prototype,"exportpartsPrefix",void 0);Si([ye([])],V.prototype,"exportpartsPrefixes",void 0);Si([h({reflect:!0})],V.prototype,"exportparts",void 0);Si([h()],V.prototype,"customStylesheet",void 0);Si([h()],V.prototype,"elementToFocus",void 0);Si([D()],V.prototype,"useAdoptedStyleSheets",void 0)});var Tc={};oe(Tc,{FtdsBase:()=>En,toFtdsBase:()=>mr});var tm,mr,En,_c=p(()=>{"use strict";On();Y();H();gt();tm=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},mr=Fe(Symbol("toFtdsBase"),function(r){class e extends r{constructor(){super(...arguments),this.size=yt.medium,this.family=Rt.neutral}getDesignSystemBaseClasses(){return{[rc(this.family)]:!0,[oc(this.size)]:!0}}}return tm([h()],e.prototype,"size",void 0),tm([h()],e.prototype,"family",void 0),e}),En=class extends mr(V){}});var rm={};var $c=p(()=>{"use strict"});var Bo,om=p(()=>{Bo=class r{constructor(e,t=!0,i=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=i,this.iframesTimeout=n}static matches(e,t){let i=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];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(i=>{let n=t.filter(a=>a.contains(i)).length>0;t.indexOf(i)===-1&&!n&&t.push(i)}),t}getIframeContents(e,t,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&t(n)}isIframeBlank(e){let t="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&i!==t&&i}observeIframeLoad(e,t,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,i):this.getIframeContents(e,t,i):this.observeIframeLoad(e,t,i)}catch{i()}}waitForIframes(e,t){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||t()})},n=>{n||t()})}forEachIframe(e,t,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{r.matches(f,this.exclude)?d():this.onIframeReady(f,g=>{t(f)&&(l++,i(g)),d()},d)})}createIterator(e,t,i){return document.createNodeIterator(e,t,i,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){let s=t.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),i;return t===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:t,node:i}}checkIframeFilter(e,t,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,t,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,t,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,i,n)})})}iterateThroughNodes(e,t,i,n,a){let s=this.createIterator(t,e,n),l=[],d=[],f,g,m=()=>({prevNode:g,node:f}=this.getIteratorNode(s),f);for(;m();)this.iframes&&this.forEachIframe(t,b=>this.checkIframeFilter(f,g,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,O=>d.push(O),n)}),d.push(f);d.forEach(b=>{i(b)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,t,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}}});var wn,im=p(()=>{om();wn=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.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,t="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[t]=="function"&&i[t](`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 t=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),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,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&t.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",i=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(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):i.trim()&&t.indexOf(i)===-1&&t.push(i)}),{keywords:t.sort((i,n)=>n.length-i.length),length:t.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 t=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,t.push(n),i=s)}),t}callNoMatchOnInvalidRanges(e,t){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,t,i){let n,a=!0,s=i.length,l=t-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let t="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:i})})}matchesExclude(e){return Bo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(i-t),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!n(s.node))return!1;let f=t-s.start,g=(i>s.end?s.end:i)-s.start,m=e.value.substr(0,s.start),b=e.value.substr(g+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,g),e.value=m+b,e.nodes.forEach((O,C)=>{C>=l&&(e.nodes[C].start>0&&C!==l&&(e.nodes[C].start-=g),e.nodes[C].end-=g)}),i-=g,a(s.node.previousSibling,s.start),i>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let g=f.index;if(s!==0)for(let m=1;m<s;m++)g+=f[m].length;d=this.wrapRangeInTextNode(d,g,g+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,i,n,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let m=1;m<s;m++)f+=d[m].length;let g=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,g,m=>i(d[s],m),(m,b)=>{e.lastIndex=b,n(m)})}a()})}wrapRangeFromIndex(e,t,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:g,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,f,g,b=>t(b,l,a.value.substring(f,g),d),b=>{i(b,l)})}),n()})}unwrapMatches(e){let t=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.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,t){this.opt=t,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,t){this.opt=t;let i=0,n="wrapMatches",{keywords:a,length:s}=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,(b,O)=>this.opt.filter(O,f,i,m),b=>{m++,i++,this.opt.each(b)},()=>{m===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,t){this.opt=t;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=Bo.matches(i,t),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Pc(r){let e=new wn(r);return this.mark=(t,i)=>(e.mark(t,i),this),this.markRegExp=(t,i)=>(e.markRegExp(t,i),this),this.markRanges=(t,i)=>(e.markRanges(t,i),this),this.unmark=t=>(e.unmark(t),this),this}var nm=p(()=>{im()});var Fc={};oe(Fc,{highlightHtml:()=>Nc,highlightHtmlColorCssVariable:()=>am,highlightHtmlStyles:()=>P0});function Nc(r,e,t){var i,n;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new $0(r);if(s.unmark(),e&&e.trim()){let l={className:(i=t?.className)!==null&&i!==void 0?i:"highlight-html-match",acrossElements:!0};t?.attributes!=null&&(l.each=f=>{for(let g in t.attributes)f.setAttribute(g,t.attributes[g])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((n=e.match(/"[^"]+"/g))!==null&&n!==void 0?n:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var $0,am,P0,Dc=p(()=>{"use strict";$();H();nm();$0=Pc,am=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),P0=R`
5
5
  .highlight-html-match {
6
- background: ${om};
6
+ background: ${am};
7
7
  }
8
- `});var Nc={};oe(Nc,{noTextInputDefaultClearButton:()=>Bo,noTextSelect:()=>Br,safariEllipsisFix:()=>Mr,wordWrap:()=>En});var Br,En,Mr,Bo,Fc=p(()=>{"use strict";$();Br=R`
8
+ `});var Bc={};oe(Bc,{noTextInputDefaultClearButton:()=>Mo,noTextSelect:()=>Mr,safariEllipsisFix:()=>Ur,wordWrap:()=>An});var Mr,An,Ur,Mo,Mc=p(()=>{"use strict";$();Mr=R`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,En=R`
17
+ `,An=R`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,Mr=R`
29
+ `,Ur=R`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,15 +37,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,Bo=R`
40
+ `,Mo=R`
41
41
  input::-webkit-search-cancel-button,
42
42
  input::-webkit-search-decoration,
43
43
  input::-webkit-search-results-button,
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `});var im={};var Dc=p(()=>{"use strict"});var Bc={};oe(Bc,{ParametrizedLabelResolver:()=>oo});var oo,Mc=p(()=>{"use strict";oo=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}}});var T0,Ce,_0,nm=p(()=>{"use strict";gt();Y();T0=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},Ce=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:tr,attribute:!1,...e};h(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},_0=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)}});var wn,Uc=p(()=>{"use strict";wn=class{constructor(){this.queue=[]}add(e,t=!1){t&&this.clear(e.type),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}clear(e){typeof e=="string"?this.queue=this.queue.filter(t=>t.type!==e):this.queue=this.queue.filter(t=>!e.test(t.type))}}});function Si(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Za=p(()=>{"use strict"});var An,io,Mo,am,or,sm=p(()=>{"use strict";Sn();Za();gt();An=Symbol("internalReduxEventsUnsubscribers"),io=Symbol("internalStoresUnsubscribers"),Mo=Symbol("internalStores"),am=Fe(Symbol("withRedux"),function(r){var e,t,i;class n extends r{constructor(){super(...arguments),this[e]=new Map,this[t]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mo].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Mo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mo].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[io].has(s.store):this[io].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[io].set(s,l.subscribe(()=>this.updateFromStores())),this[An].set(s,[]),Si(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,g)=>{if(typeof this[g]=="function"&&(!f.store||l.name===f.store)){let m=b=>this[g](b);l.addEventListener(f.eventName,m),this[An].get(s).push(()=>l.removeEventListener(f.eventName,m))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[io].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[io].has(s)&&this[io].get(s)(),this[io].delete(s),(l=this[An].get(s))===null||l===void 0||l.forEach(d=>d()),this[An].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=io,t=Mo,i=An,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),or=class extends am(V){}});function Mt(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ur(r){return!!r&&!!r[Te]}function ir(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===U0}(r)||Array.isArray(r)||!!r[hm]||!!(!((e=r.constructor)===null||e===void 0)&&e[hm])||Zc(r)||Yc(r))}function Uo(r,e,t){t===void 0&&(t=!1),Ei(r)===0?(t?Object.keys:Oi)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function Ei(r){var e=r[Te];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Zc(r)?2:Yc(r)?3:0}function Ci(r,e){return Ei(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function $0(r,e){return Ei(r)===2?r.get(e):r[e]}function mm(r,e,t){var i=Ei(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function gm(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Zc(r){return B0&&r instanceof Map}function Yc(r){return M0&&r instanceof Set}function no(r){return r.o||r.t}function Qc(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=vm(r);delete e[Te];for(var t=Oi(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function Xc(r,e){return e===void 0&&(e=!1),Jc(r)||Ur(r)||!ir(r)||(Ei(r)>1&&(r.set=r.add=r.clear=r.delete=P0),Object.freeze(r),e&&Uo(r,function(t,i){return Xc(i,!0)},!0)),r}function P0(){Mt(2)}function Jc(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function gr(r){var e=qc[r];return e||Mt(18,r),e}function N0(r,e){qc[r]||(qc[r]=e)}function jc(){return Ln}function zc(r,e){e&&(gr("Patches"),r.u=[],r.s=[],r.v=e)}function Ya(r){Gc(r),r.p.forEach(F0),r.p=null}function Gc(r){r===Ln&&(Ln=r.l)}function lm(r){return Ln={p:[],l:Ln,h:r,m:!0,_:0}}function F0(r){var e=r[Te];e.i===0||e.i===1?e.j():e.g=!0}function Hc(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||gr("ES5").S(e,r,i),i?(t[Te].P&&(Ya(e),Mt(4)),ir(r)&&(r=Qa(e,r),e.l||Xa(e,r)),e.u&&gr("Patches").M(t[Te].t,r,e.u,e.s)):r=Qa(e,t,[]),Ya(e),e.u&&e.v(e.u,e.s),r!==bm?r:void 0}function Qa(r,e,t){if(Jc(e))return e;var i=e[Te];if(!i)return Uo(e,function(l,d){return cm(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return Xa(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Qc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Uo(a,function(l,d){return cm(r,i,n,l,d,t,s)}),Xa(r,n,!1),t&&r.u&&gr("Patches").N(i,t,r.u,r.s)}return i.o}function cm(r,e,t,i,n,a,s){if(Ur(n)){var l=Qa(r,n,a&&e&&e.i!==3&&!Ci(e.R,i)?a.concat(i):void 0);if(mm(t,i,l),!Ur(l))return;r.m=!1}else s&&t.add(n);if(ir(n)&&!Jc(n)){if(!r.h.D&&r._<1)return;Qa(r,n),e&&e.A.l||Xa(r,n)}}function Xa(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&Xc(e,t)}function Wc(r,e){var t=r[Te];return(t?no(t):r)[e]}function dm(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function ao(r){r.P||(r.P=!0,r.l&&ao(r.l))}function Vc(r){r.o||(r.o=Qc(r.t))}function Kc(r,e,t){var i=Zc(e)?gr("MapSet").F(e,t):Yc(e)?gr("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:jc(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=In;s&&(d=[l],f=Rn);var g=Proxy.revocable(d,f),m=g.revoke,b=g.proxy;return l.k=b,l.j=m,b}(e,t):gr("ES5").J(e,t);return(t?t.A:jc()).p.push(i),i}function D0(r){return Ur(r)||Mt(22,r),function e(t){if(!ir(t))return t;var i,n=t[Te],a=Ei(t);if(n){if(!n.P&&(n.i<4||!gr("ES5").K(n)))return n.t;n.I=!0,i=pm(t,a),n.I=!1}else i=pm(t,a);return Uo(i,function(s,l){n&&$0(n.t,s)===l||mm(i,s,e(l))}),a===3?new Set(i):i}(r)}function pm(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return Qc(r)}function ym(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[Te];return In.get(f,s)},set:function(f){var g=this[Te];In.set(g,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Te];if(!d.P)switch(d.i){case 5:i(d)&&ao(d);break;case 4:t(d)&&ao(d)}}}function t(s){for(var l=s.t,d=s.k,f=Oi(d),g=f.length-1;g>=0;g--){var m=f[g];if(m!==Te){var b=l[m];if(b===void 0&&!Ci(l,m))return!0;var O=d[m],C=O&&O[Te];if(C?C.t!==b:!gm(O,b))return!0}}var _=!!l[Te];return f.length!==Oi(l).length+(_?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&Mt(3,JSON.stringify(no(s)))}var a={};N0("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,b){if(m){for(var O=Array(b.length),C=0;C<b.length;C++)Object.defineProperty(O,""+C,r(C,!0));return O}var _=vm(b);delete _[Te];for(var N=Oi(_),F=0;F<N.length;F++){var z=N[F];_[z]=r(z,m||!!_[z].enumerable)}return Object.create(Object.getPrototypeOf(b),_)}(d,s),g={i:d?5:4,A:l?l.A:jc(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Te,{value:g,writable:!0}),f},S:function(s,l,d){d?Ur(l)&&l[Te].A===s&&e(s.p):(s.u&&function f(g){if(g&&typeof g=="object"){var m=g[Te];if(m){var b=m.t,O=m.k,C=m.R,_=m.i;if(_===4)Uo(O,function(w){w!==Te&&(b[w]!==void 0||Ci(b,w)?C[w]||f(O[w]):(C[w]=!0,ao(m)))}),Uo(b,function(w){O[w]!==void 0||Ci(O,w)||(C[w]=!1,ao(m))});else if(_===5){if(i(m)&&(ao(m),C.length=!0),O.length<b.length)for(var N=O.length;N<b.length;N++)C[N]=!1;else for(var F=b.length;F<O.length;F++)C[F]=!0;for(var z=Math.min(O.length,b.length),I=0;I<z;I++)O.hasOwnProperty(I)||(C[I]=!0),C[I]===void 0&&f(O[I])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var um,Ln,ed,B0,M0,fm,bm,hm,Te,U0,Oi,vm,qc,In,Rn,z0,Lt,H0,_R,$R,PR,NR,FR,DR,Ja,es=p(()=>{ed=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",B0=typeof Map<"u",M0=typeof Set<"u",fm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",bm=ed?Symbol.for("immer-nothing"):((um={})["immer-nothing"]=!0,um),hm=ed?Symbol.for("immer-draftable"):"__$immer_draftable",Te=ed?Symbol.for("immer-state"):"__$immer_state",U0=""+Object.prototype.constructor,Oi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,vm=Object.getOwnPropertyDescriptors||function(r){var e={};return Oi(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},qc={},In={get:function(r,e){if(e===Te)return r;var t=no(r);if(!Ci(t,e))return function(n,a,s){var l,d=dm(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!ir(i)?i:i===Wc(r.t,e)?(Vc(r),r.o[e]=Kc(r.A.h,i,r)):i},has:function(r,e){return e in no(r)},ownKeys:function(r){return Reflect.ownKeys(no(r))},set:function(r,e,t){var i=dm(no(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Wc(no(r),e),a=n?.[Te];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(gm(t,n)&&(t!==void 0||Ci(r.t,e)))return!0;Vc(r),ao(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Wc(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Vc(r),ao(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=no(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){Mt(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Mt(12)}},Rn={};Uo(In,function(r,e){Rn[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Rn.deleteProperty=function(r,e){return Rn.set.call(this,r,e,void 0)},Rn.set=function(r,e,t){return In.set.call(this,r[0],e,t,r[0])};z0=function(){function r(t){var i=this;this.O=fm,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(_){var N=this;_===void 0&&(_=l);for(var F=arguments.length,z=Array(F>1?F-1:0),I=1;I<F;I++)z[I-1]=arguments[I];return d.produce(_,function(w){var k;return(k=a).call.apply(k,[N,w].concat(z))})}}var f;if(typeof a!="function"&&Mt(6),s!==void 0&&typeof s!="function"&&Mt(7),ir(n)){var g=lm(i),m=Kc(i,n,void 0),b=!0;try{f=a(m),b=!1}finally{b?Ya(g):Gc(g)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(_){return zc(g,s),Hc(_,g)},function(_){throw Ya(g),_}):(zc(g,s),Hc(f,g))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===bm&&(f=void 0),i.D&&Xc(f,!0),s){var O=[],C=[];gr("Patches").M(n,f,O,C),s(O,C)}return f}Mt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var g=arguments.length,m=Array(g>1?g-1:0),b=1;b<g;b++)m[b-1]=arguments[b];return i.produceWithPatches(f,function(O){return n.apply(void 0,[O].concat(m))})};var s,l,d=i.produce(n,a,function(f,g){s=f,l=g});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){ir(t)||Mt(8),Ur(t)&&(t=D0(t));var i=lm(this),n=Kc(this,t,void 0);return n[Te].C=!0,Gc(i),n},e.finishDraft=function(t,i){var n=t&&t[Te],a=n.A;return zc(a,i),Hc(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!fm&&Mt(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=gr("Patches").$;return Ur(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),Lt=new z0,H0=Lt.produce,_R=Lt.produceWithPatches.bind(Lt),$R=Lt.setAutoFreeze.bind(Lt),PR=Lt.setUseProxies.bind(Lt),NR=Lt.applyPatches.bind(Lt),FR=Lt.createDraft.bind(Lt),DR=Lt.finishDraft.bind(Lt),Ja=H0});function zo(r){"@babel/helpers - typeof";return zo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zo(r)}var td=p(()=>{});function xm(r,e){if(zo(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(zo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Sm=p(()=>{td()});function Cm(r){var e=xm(r,"string");return zo(e)=="symbol"?e:e+""}var Om=p(()=>{td();Sm()});function Em(r,e,t){return(e=Cm(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var wm=p(()=>{Om()});function Am(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function rd(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Am(Object(t),!0).forEach(function(i){Em(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Am(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}var Rm=p(()=>{wm()});function at(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}function W0(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function id(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(at(1));return t(id)(r,e)}if(typeof r!="function")throw new Error(at(2));var n=r,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function g(){if(d)throw new Error(at(3));return a}function m(_){if(typeof _!="function")throw new Error(at(4));if(d)throw new Error(at(5));var N=!0;return f(),l.push(_),function(){if(N){if(d)throw new Error(at(6));N=!1,f();var z=l.indexOf(_);l.splice(z,1),s=null}}}function b(_){if(!W0(_))throw new Error(at(7));if(typeof _.type>"u")throw new Error(at(8));if(d)throw new Error(at(9));try{d=!0,a=n(a,_)}finally{d=!1}for(var N=s=l,F=0;F<N.length;F++){var z=N[F];z()}return _}function O(_){if(typeof _!="function")throw new Error(at(10));n=_,b({type:ts.REPLACE})}function C(){var _,N=m;return _={subscribe:function(z){if(typeof z!="object"||z===null)throw new Error(at(11));function I(){z.next&&z.next(g())}I();var w=N(I);return{unsubscribe:w}}},_[Lm]=function(){return this},_}return b({type:ts.INIT}),i={dispatch:b,subscribe:m,getState:g,replaceReducer:O},i[Lm]=C,i}function V0(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:ts.INIT});if(typeof i>"u")throw new Error(at(12));if(typeof t(void 0,{type:ts.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function Im(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{V0(t)}catch(d){l=d}return function(f,g){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var b=!1,O={},C=0;C<a.length;C++){var _=a[C],N=t[_],F=f[_],z=N(F,g);if(typeof z>"u"){var I=g&&g.type;throw new Error(at(14))}O[_]=z,b=b||z!==F}return b=b||a.length!==Object.keys(f).length,b?O:f}}function wi(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function km(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(at(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=wi.apply(void 0,l)(n.dispatch),rd(rd({},n),{},{dispatch:a})}}}var Lm,od,ts,rs=p(()=>{Rm();Lm=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),od=function(){return Math.random().toString(36).substring(7).split("").join(".")},ts={INIT:"@@redux/INIT"+od(),REPLACE:"@@redux/REPLACE"+od(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+od()}}});function Tm(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var _m,nd,$m=p(()=>{_m=Tm();_m.withExtraArgument=Tm;nd=_m});function J0(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}function cd(r){return ir(r)?Ja(r,function(){}):r}function rS(r){return typeof r=="boolean"}function oS(){return function(e){return iS(e)}}function iS(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new eS;if(t&&(rS(t)?l.push(nd):l.push(nd.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var f}return l}function Mm(r){var e=oS(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,g=f===void 0?void 0:f,m=t.enhancers,b=m===void 0?void 0:m,O;if(typeof n=="function")O=n;else if(J0(n))O=Im(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var C=s;if(typeof C=="function"&&(C=C(e),!sd&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!sd&&C.some(function(w){return typeof w!="function"}))throw new Error("each middleware provided to configureStore must be a function");var _=km.apply(void 0,C),N=wi;d&&(N=X0(so({trace:!sd},typeof d=="object"&&d)));var F=new tS(_),z=F;Array.isArray(b)?z=Ai([_],b):typeof b=="function"&&(z=b(F));var I=N.apply(void 0,z);return id(O,g,I)}function lo(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return so(so({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function Um(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function nS(r){return typeof r=="function"}function aS(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?Um(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(nS(r))d=function(){return cd(r())};else{var f=cd(r);d=function(){return f}}function g(m,b){m===void 0&&(m=d());var O=Ai([a[b.type]],s.filter(function(C){var _=C.matcher;return _(b)}).map(function(C){var _=C.reducer;return _}));return O.filter(function(C){return!!C}).length===0&&(O=[l]),O.reduce(function(C,_){if(_)if(Ur(C)){var N=C,F=_(N,b);return F===void 0?C:F}else{if(ir(C))return Ja(C,function(z){return _(z,b)});var F=_(C,b);if(F===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return F}return C},m)}return g.getInitialState=d,g}function sS(r,e){return r+"/"+e}function zm(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:cd(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var m=i[g],b=sS(e,g),O,C;"reducer"in m?(O=m.reducer,C=m.prepare):O=m,a[g]=O,s[b]=O,l[g]=C?lo(b,C):lo(b)});function d(){var g=typeof r.extraReducers=="function"?Um(r.extraReducers):[r.extraReducers],m=g[0],b=m===void 0?{}:m,O=g[1],C=O===void 0?[]:O,_=g[2],N=_===void 0?void 0:_,F=so(so({},b),s);return aS(t,function(z){for(var I in F)z.addCase(I,F[I]);for(var w=0,k=C;w<k.length;w++){var K=k[w];z.addMatcher(K.matcher,K.reducer)}N&&z.addDefaultCase(N)})}var f;return{name:e,reducer:function(g,m){return f||(f=d()),f(g,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}function uS(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function fS(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Bm,j0,Ai,G0,K0,q0,Pm,Z0,Y0,Nm,so,ad,Q0,X0,tL,eS,tS,sd,lS,cS,dS,ld,Fm,pS,nL,Hm,Wm,Vm,aL,sL,lL,cL,dd,dL,pL,uL,Dm,fL,hS,hL,jm=p(()=>{es();rs();rs();rs();$m();es();es();Bm=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),j0=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(g){return d([f,g])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,n=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(r,t)}catch(g){f=[6,g],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ai=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},G0=Object.defineProperty,K0=Object.defineProperties,q0=Object.getOwnPropertyDescriptors,Pm=Object.getOwnPropertySymbols,Z0=Object.prototype.hasOwnProperty,Y0=Object.prototype.propertyIsEnumerable,Nm=function(r,e,t){return e in r?G0(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},so=function(r,e){for(var t in e||(e={}))Z0.call(e,t)&&Nm(r,t,e[t]);if(Pm)for(var i=0,n=Pm(e);i<n.length;i++){var t=n[i];Y0.call(e,t)&&Nm(r,t,e[t])}return r},ad=function(r,e){return K0(r,q0(e))},Q0=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(f){n(f)}},s=function(d){try{l(t.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})},X0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wi:wi.apply(null,arguments)},tL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};eS=function(r){Bm(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ai([void 0],t.concat(this))))},e}(Array),tS=function(r){Bm(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ai([void 0],t.concat(this))))},e}(Array);sd=!0;lS="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",cS=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=lS[Math.random()*64|0];return e},dS=["name","message","stack","code"],ld=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Fm=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),pS=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=dS;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},nL=function(){function r(e,t,i){var n=lo(e+"/fulfilled",function(g,m,b,O){return{payload:g,meta:ad(so({},O||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=lo(e+"/pending",function(g,m,b){return{payload:void 0,meta:ad(so({},b||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=lo(e+"/rejected",function(g,m,b,O,C){return{payload:O,error:(i&&i.serializeError||pS)(g||"Rejected"),meta:ad(so({},C||{}),{arg:b,requestId:m,rejectedWithValue:!!O,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function f(g){return function(m,b,O){var C=i?.idGenerator?i.idGenerator(g):cS(),_=new d,N,F=!1;function z(w){N=w,_.abort()}var I=function(){return Q0(this,null,function(){var w,k,K,ee,he,ce,q;return j0(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),ee=(w=i?.condition)==null?void 0:w.call(i,g,{getState:b,extra:O}),fS(ee)?[4,ee]:[3,2];case 1:ee=v.sent(),v.label=2;case 2:if(ee===!1||_.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return F=!0,he=new Promise(function(A,G){return _.signal.addEventListener("abort",function(){return G({name:"AbortError",message:N||"Aborted"})})}),m(a(C,g,(k=i?.getPendingMeta)==null?void 0:k.call(i,{requestId:C,arg:g},{getState:b,extra:O}))),[4,Promise.race([he,Promise.resolve(t(g,{dispatch:m,getState:b,extra:O,requestId:C,signal:_.signal,abort:z,rejectWithValue:function(A,G){return new ld(A,G)},fulfillWithValue:function(A,G){return new Fm(A,G)}})).then(function(A){if(A instanceof ld)throw A;return A instanceof Fm?n(A.payload,C,g,A.meta):n(A,C,g)})])];case 3:return K=v.sent(),[3,5];case 4:return ce=v.sent(),K=ce instanceof ld?s(null,C,g,ce.payload,ce.meta):s(ce,C,g),[3,5];case 5:return q=i&&!i.dispatchConditionRejection&&s.match(K)&&K.meta.condition,q||m(K),[2,K]}})})}();return Object.assign(I,{abort:z,requestId:C,arg:g,unwrap:function(){return I.then(uS)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();Hm="listener",Wm="completed",Vm="cancelled",aL="task-"+Vm,sL="task-"+Wm,lL=Hm+"-"+Vm,cL=Hm+"-"+Wm,dd="listenerMiddleware",dL=lo(dd+"/add"),pL=lo(dd+"/removeAll"),uL=lo(dd+"/remove"),fL=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Dm||(Dm=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},hS=function(r){return function(e){setTimeout(e,r)}},hL=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:hS(10);ym()});function mS(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Si(e)&&e.clear()}var zr,Gm=p(()=>{"use strict";jm();Za();Uc();fi();window.ftReduxStores||(window.ftReduxStores={});zr=class r extends $r{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Si(a))return a;if(n==null)return;let s=zm({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Mm({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new r(s,l,n.eventBus)}constructor(e,t,i){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new wn;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[d]:n(g)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function Ri(r,e,t){return new os(r,e,t).watch()}var os,Km=p(()=>{"use strict";gt();os=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);tr(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var pd={};oe(pd,{FtCommandQueue:()=>wn,FtLitElementRedux:()=>or,FtReduxStore:()=>zr,ReduxWatcher:()=>os,clearAllStores:()=>mS,isFtReduxStore:()=>Si,redux:()=>Ce,reduxEventListener:()=>_0,reduxReactive:()=>T0,watch:()=>Ri,withRedux:()=>am});var is=p(()=>{"use strict";nm();Uc();sm();Gm();Za();Km()});var md={};oe(md,{scrollHelper:()=>hd});var ud,ns,fd,hd,gd=p(()=>{"use strict";gt();ns=new Map,fd=class{lock(e,t){if(t){let i=ns.get(t);if(i==null||i===e)return ns.set(t,e),t}}release(e,t){t&&ns.get(t)===e&&ns.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Dl(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=$o(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(ud=window.FluidTopicsScrollHelper)!==null&&ud!==void 0?ud:new fd;hd=window.FluidTopicsScrollHelper});var Zm=tx((co,qm)=>{var as=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ss=function(){function r(){this.fetch=!1,this.DOMException=as.DOMException}return r.prototype=as,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(v){return v&&DataView.prototype.isPrototypeOf(v)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(v){return v&&s.indexOf(Object.prototype.toString.call(v))>-1};function d(v){if(typeof v!="string"&&(v=String(v)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(v)||v==="")throw new TypeError('Invalid character in header field name: "'+v+'"');return v.toLowerCase()}function f(v){return typeof v!="string"&&(v=String(v)),v}function g(v){var A={next:function(){var G=v.shift();return{done:G===void 0,value:G}}};return n.iterable&&(A[Symbol.iterator]=function(){return A}),A}function m(v){this.map={},v instanceof m?v.forEach(function(A,G){this.append(G,A)},this):Array.isArray(v)?v.forEach(function(A){if(A.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+A.length);this.append(A[0],A[1])},this):v&&Object.getOwnPropertyNames(v).forEach(function(A){this.append(A,v[A])},this)}m.prototype.append=function(v,A){v=d(v),A=f(A);var G=this.map[v];this.map[v]=G?G+", "+A:A},m.prototype.delete=function(v){delete this.map[d(v)]},m.prototype.get=function(v){return v=d(v),this.has(v)?this.map[v]:null},m.prototype.has=function(v){return this.map.hasOwnProperty(d(v))},m.prototype.set=function(v,A){this.map[d(v)]=f(A)},m.prototype.forEach=function(v,A){for(var G in this.map)this.map.hasOwnProperty(G)&&v.call(A,this.map[G],G,this)},m.prototype.keys=function(){var v=[];return this.forEach(function(A,G){v.push(G)}),g(v)},m.prototype.values=function(){var v=[];return this.forEach(function(A){v.push(A)}),g(v)},m.prototype.entries=function(){var v=[];return this.forEach(function(A,G){v.push([G,A])}),g(v)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function b(v){if(!v._noBody){if(v.bodyUsed)return Promise.reject(new TypeError("Already read"));v.bodyUsed=!0}}function O(v){return new Promise(function(A,G){v.onload=function(){A(v.result)},v.onerror=function(){G(v.error)}})}function C(v){var A=new FileReader,G=O(A);return A.readAsArrayBuffer(v),G}function _(v){var A=new FileReader,G=O(A),me=/charset=([A-Za-z0-9_-]+)/.exec(v.type),Ae=me?me[1]:"utf-8";return A.readAsText(v,Ae),G}function N(v){for(var A=new Uint8Array(v),G=new Array(A.length),me=0;me<A.length;me++)G[me]=String.fromCharCode(A[me]);return G.join("")}function F(v){if(v.slice)return v.slice(0);var A=new Uint8Array(v.byteLength);return A.set(new Uint8Array(v)),A.buffer}function z(){return this.bodyUsed=!1,this._initBody=function(v){this.bodyUsed=this.bodyUsed,this._bodyInit=v,v?typeof v=="string"?this._bodyText=v:n.blob&&Blob.prototype.isPrototypeOf(v)?this._bodyBlob=v:n.formData&&FormData.prototype.isPrototypeOf(v)?this._bodyFormData=v:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(v)?this._bodyText=v.toString():n.arrayBuffer&&n.blob&&a(v)?(this._bodyArrayBuffer=F(v.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(v)||l(v))?this._bodyArrayBuffer=F(v):this._bodyText=v=Object.prototype.toString.call(v):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof v=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(v)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var v=b(this);if(v)return v;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var v=b(this);return v||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var v=b(this);if(v)return v;if(this._bodyBlob)return _(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(K)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function w(v){var A=v.toUpperCase();return I.indexOf(A)>-1?A:v}function k(v,A){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var G=A.body;if(v instanceof k){if(v.bodyUsed)throw new TypeError("Already read");this.url=v.url,this.credentials=v.credentials,A.headers||(this.headers=new m(v.headers)),this.method=v.method,this.mode=v.mode,this.signal=v.signal,!G&&v._bodyInit!=null&&(G=v._bodyInit,v.bodyUsed=!0)}else this.url=String(v);if(this.credentials=A.credentials||this.credentials||"same-origin",(A.headers||!this.headers)&&(this.headers=new m(A.headers)),this.method=w(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal||function(){if("AbortController"in i){var pe=new AbortController;return pe.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var me=/([?&])_=[^&]*/;if(me.test(this.url))this.url=this.url.replace(me,"$1_="+new Date().getTime());else{var Ae=/\?/;this.url+=(Ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};function K(v){var A=new FormData;return v.trim().split("&").forEach(function(G){if(G){var me=G.split("="),Ae=me.shift().replace(/\+/g," "),pe=me.join("=").replace(/\+/g," ");A.append(decodeURIComponent(Ae),decodeURIComponent(pe))}}),A}function ee(v){var A=new m,G=v.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(me){return me.indexOf(`
48
- `)===0?me.substr(1,me.length):me}).forEach(function(me){var Ae=me.split(":"),pe=Ae.shift().trim();if(pe){var Zn=Ae.join(":").trim();try{A.append(pe,Zn)}catch(dl){console.warn("Response "+dl.message)}}}),A}z.call(k.prototype);function he(v,A){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(A||(A={}),this.type="default",this.status=A.status===void 0?200:A.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=A.statusText===void 0?"":""+A.statusText,this.headers=new m(A.headers),this.url=A.url||"",this._initBody(v)}z.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},he.error=function(){var v=new he(null,{status:200,statusText:""});return v.ok=!1,v.status=0,v.type="error",v};var ce=[301,302,303,307,308];he.redirect=function(v,A){if(ce.indexOf(A)===-1)throw new RangeError("Invalid status code");return new he(null,{status:A,headers:{location:v}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(A,G){this.message=A,this.name=G;var me=Error(A);this.stack=me.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function q(v,A){return new Promise(function(G,me){var Ae=new k(v,A);if(Ae.signal&&Ae.signal.aborted)return me(new t.DOMException("Aborted","AbortError"));var pe=new XMLHttpRequest;function Zn(){pe.abort()}pe.onload=function(){var Je={statusText:pe.statusText,headers:ee(pe.getAllResponseHeaders()||"")};Ae.url.indexOf("file://")===0&&(pe.status<200||pe.status>599)?Je.status=200:Je.status=pe.status,Je.url="responseURL"in pe?pe.responseURL:Je.headers.get("X-Request-URL");var wo="response"in pe?pe.response:pe.responseText;setTimeout(function(){G(new he(wo,Je))},0)},pe.onerror=function(){setTimeout(function(){me(new TypeError("Network request failed"))},0)},pe.ontimeout=function(){setTimeout(function(){me(new TypeError("Network request timed out"))},0)},pe.onabort=function(){setTimeout(function(){me(new t.DOMException("Aborted","AbortError"))},0)};function dl(Je){try{return Je===""&&i.location.href?i.location.href:Je}catch{return Je}}if(pe.open(Ae.method,dl(Ae.url),!0),Ae.credentials==="include"?pe.withCredentials=!0:Ae.credentials==="omit"&&(pe.withCredentials=!1),"responseType"in pe&&(n.blob?pe.responseType="blob":n.arrayBuffer&&(pe.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof m||i.Headers&&A.headers instanceof i.Headers)){var Xu=[];Object.getOwnPropertyNames(A.headers).forEach(function(Je){Xu.push(d(Je)),pe.setRequestHeader(Je,f(A.headers[Je]))}),Ae.headers.forEach(function(Je,wo){Xu.indexOf(wo)===-1&&pe.setRequestHeader(wo,Je)})}else Ae.headers.forEach(function(Je,wo){pe.setRequestHeader(wo,Je)});Ae.signal&&(Ae.signal.addEventListener("abort",Zn),pe.onreadystatechange=function(){pe.readyState===4&&Ae.signal.removeEventListener("abort",Zn)}),pe.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}return q.polyfill=!0,i.fetch||(i.fetch=q,i.Headers=m,i.Request=k,i.Response=he),t.Headers=m,t.Request=k,t.Response=he,t.fetch=q,t}({})})(ss);ss.fetch.ponyfill=!0;delete ss.fetch.polyfill;var Li=as.fetch?as:ss;co=Li.fetch;co.default=Li.fetch;co.fetch=Li.fetch;co.Headers=Li.Headers;co.Request=Li.Request;co.Response=Li.Response;qm.exports=co});var yd=p(()=>{});var Ym,Qm,Xm,po,Jm,eg,Ho,tg,rg,og,ig,ng,ag,sg,uo,lg,cg,Wo,fg,dg,ls,pg,Ii,hg,yr,ki,ug,je,Ut,bd=p(()=>{(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Ym||(Ym={}));(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Qm||(Qm={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(Xm||(Xm={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(po||(po={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Jm||(Jm={}));(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(eg||(eg={}));(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.CHATBOT__RATE="CHATBOT__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",r.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",r.AI__RATE="AI__RATE",r.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",r.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Ho||(Ho={}));(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(tg||(tg={}));(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT",r.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",r.LINK_PREVIEW="LINK_PREVIEW"})(rg||(rg={}));(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(og||(og={}));(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(ig||(ig={}));(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(ng||(ng={}));(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(ag||(ag={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(sg||(sg={}));(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(uo||(uo={}));(function(r){r.ASC="ASC",r.DESC="DESC"})(lg||(lg={}));(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(cg||(cg={}));(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Wo||(Wo={}));fg=r=>Object.keys(Wo).includes(r);(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(dg||(dg={}));(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ls||(ls={}));(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(pg||(pg={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Ii||(Ii={}));hg=r=>Object.keys(Ii).includes(r);(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(yr||(yr={}));(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ki||(ki={}));(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ug||(ug={}));(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(je||(je={}));(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(Ut||(Ut={}))});var mg,gg,yg,bg,vg,xg=p(()=>{(function(r){r.VALID="VALID",r.INVALID="INVALID"})(mg||(mg={}));(function(r){r.JSON="JSON",r.TEXT="TEXT"})(gg||(gg={}));(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(yg||(yg={}));(function(r){r.TEXT="TEXT",r.HTML="HTML"})(bg||(bg={}));(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})(vg||(vg={}))});function Sg(r,e){return r===e||(gS[r]??[]).some(t=>Sg(t,e))}function Cg(r,e){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(i=>Sg(i,e))}var gS,Og=p(()=>{bd();gS={[je.PERSONAL_BOOK_SHARE_USER]:[je.PERSONAL_BOOK_USER],[je.HTML_EXPORT_USER]:[je.PERSONAL_BOOK_USER],[je.PDF_EXPORT_USER]:[je.PERSONAL_BOOK_USER],[je.KHUB_ADMIN]:[je.CONTENT_PUBLISHER],[je.ADMIN]:[je.KHUB_ADMIN,je.USERS_ADMIN,je.PORTAL_ADMIN],[je.GENERATIVE_AI_EXPORT_USER]:[je.GENERATIVE_AI_USER]}});var Eg=p(()=>{});var yS,fo=p(()=>{yS=ox(Zm(),1);yd();bd();xg();Og();Eg();yd()});var vd={};oe(vd,{SearchPlaceConverter:()=>ho,SearchPlaceQueryParams:()=>be,isSearchPlaceQueryParams:()=>Ag,serializeRequest:()=>vS});function bS(r){return`"${r}"`}function wg(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function vS(r,e){return new ho(r).serialize(e)}function Ag(r){return xS.has(r)}var be,xS,ho,xd=p(()=>{"use strict";fo();gt();(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page",r.KEYWORD_MATCH="keyword-match"})(be||(be={}));xS=new Set(Object.values(be));ho=class{constructor(e,t=20,i=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=t,this.allLanguagesAllowed=i,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=t==null||t.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,f,g,m,b,O;let C=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&C.append(be.LOCALE,e.contentLocale):C.append(be.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&C.append(be.QUERY,e.query);let _=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(w=>w.valueFilter&&!w.valueFilter.negative))!==null&&a!==void 0?a:[];if(_.length>0){let w=_.map(k=>{var K,ee;let he=((ee=(K=k.valueFilter)===null||K===void 0?void 0:K.values)!==null&&ee!==void 0?ee:[]).map(ce=>this.escapeFilters(ce)).map(ce=>bS(wg(ce))).join("_");return`${k.key}~${he}`}).join("*");C.append(be.VALUE_FILTERS,w)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(w=>w.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let w=N.map(k=>{var K;return`${k.key}~${(K=k.dateFilter)===null||K===void 0?void 0:K.type.toLowerCase()}`}).join("*");C.append(be.DATE_FILTERS,w)}let F=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(w=>w.rangeFilter))!==null&&f!==void 0?f:[];if(F.length>0){let w=F.map(k=>{var K,ee;return`${k.key}~${(K=k.rangeFilter)===null||K===void 0?void 0:K.from}_${(ee=k.rangeFilter)===null||ee===void 0?void 0:ee.to}`}).join("*");C.append(be.RANGE_FILTERS,w)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&C.append(be.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&C.append(be.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&C.append(be.SORT,e.sortId),!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&C.append(be.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&C.append(be.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let z=(O=e.otherQueryParams)!==null&&O!==void 0?O:{};for(let w in z)C.append(w,z[w]);let I=new Array;return C.forEach((w,k)=>{I.push(this.encodeQueryString(k)+"="+this.encodeQueryString(w))}),encodeURI(I.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(F){console.warn("Could not decode search request query params, fallback on raw value",F)}let d=new URLSearchParams(e),f=d.get(be.LOCALE)==="all"?void 0:d.get(be.LOCALE),g=((t=d.get(be.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),m=(i=d.get(be.SORT))===null||i===void 0?void 0:i.toLowerCase(),b=(n=d.get(be.SCOPE))!==null&&n!==void 0?n:"default",O=+((a=d.get(be.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C=d.get(be.KEYWORD_MATCH),_=C?C.toUpperCase()===uo.MANDATORY?uo.MANDATORY:uo.OPTIONAL:void 0,N={};for(let F of d.keys())Ag(F)||(N[F]=d.get(F));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(be.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:fg(g)?g:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:$o(1,isNaN(O)?this.defaultPerPage:O,1e3)},keywordMatch:_,otherQueryParams:N}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(be.FILTERS)&&(d=this.parseValueFilters((t=e.get(be.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(be.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(be.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(be.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(be.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(be.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(wg).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:Ii[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(hg(e))return[{key:"ft:lastEdition",dateFilter:{type:Ii[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}}});var Od={};oe(Od,{toFtFormComponent:()=>Cd});var Sd,Cd,Ed=p(()=>{"use strict";gt();Sd=Symbol("elementInternals"),Cd=Fe(Symbol("toFtFormComponent"),function(r){class e extends r{static get formAssociated(){return!0}get form(){return this[Sd].form}constructor(...i){super(i),this[Sd]=this.attachInternals()}setFormValue(i){this[Sd].setFormValue(i)}}return e})});var wd={};oe(wd,{DateFormatter:()=>Vo});var Vo,cs=p(()=>{"use strict";Vo=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getMomentDateFormat(i,n)):this.getIntlDateTime(e,t,i,n)}static getMomentDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}static getIntlDateTime(e,t,i,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(t,{dateStyle:i?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(t,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),t=new Date().getTimezoneOffset();return`${t<0?"+":"-"}${e(Math.abs(t)/60)}:${e(Math.abs(t)%60)}`}}});var Rd={};oe(Rd,{ALL_KEYS_VALUE:()=>Ad,SameWindowStorageEvent:()=>Ti});var Ad,Ti,Ld=p(()=>{"use strict";Ad="__all__",Ti=class extends CustomEvent{constructor(e,t,i){super("same-window-storage",{detail:{key:e,oldValue:t,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ad}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new Ti(t[0],i,t[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new Ti(t[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(r,e,t){Reflect.apply(r,e,t),window.dispatchEvent(new Ti(Ad))}})});var kd={};oe(kd,{FocusMainContentEvent:()=>Id});var Id,Td=p(()=>{"use strict";Id=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var Rg={};function SS(r){(r.key==="Enter"||r.key===" "||r.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=r.key}function CS(r){window.FluidTopicsA11yHints.isKeyboardNavigation=r.detail==0}var _d=p(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",SS);document.addEventListener("click",CS)});var _i,$d=p(()=>{"use strict";$();_i=R`
47
+ `});var sm={};var Uc=p(()=>{"use strict"});var zc={};oe(zc,{ParametrizedLabelResolver:()=>io});var io,Hc=p(()=>{"use strict";io=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var i,n;e=this.resolvePluralKey(e,t);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(i,s))),e}resolvePluralKey(e,t){for(let i of t)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let i=n=>t?.includes("date")?e.toLocaleDateString(n):t?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}}});var N0,Ce,F0,lm=p(()=>{"use strict";gt();Y();N0=()=>(r,e)=>{var t;let i=r.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(t=i.reduxReactiveProperties)===null||t===void 0||t.add(e)},Ce=r=>{let e=r??{};return(t,i)=>{var n;let a={hasChanged:At,attribute:!1,...e};h(a)(t,i);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},F0=r=>(e,t)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(t,r)}});var Rn,Wc=p(()=>{"use strict";Rn=class{constructor(){this.queue=[]}add(e,t=!1){t&&this.clear(e.type),this.queue.push(e)}consume(e){let t=this.queue.find(i=>i.type===e);return t&&(this.queue=this.queue.filter(i=>i!==t)),t}clear(e){typeof e=="string"?this.queue=this.queue.filter(t=>t.type!==e):this.queue=this.queue.filter(t=>!e.test(t.type))}}});function Ci(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Xa=p(()=>{"use strict"});var Ln,no,Uo,cm,or,dm=p(()=>{"use strict";On();Xa();gt();Ln=Symbol("internalReduxEventsUnsubscribers"),no=Symbol("internalStoresUnsubscribers"),Uo=Symbol("internalStores"),cm=Fe(Symbol("withRedux"),function(r){var e,t,i;class n extends r{constructor(){super(...arguments),this[e]=new Map,this[t]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Uo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Uo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Uo].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Uo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Uo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Uo].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[no].has(s.store):this[no].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[no].set(s,l.subscribe(()=>this.updateFromStores())),this[Ln].set(s,[]),Ci(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,g)=>{if(typeof this[g]=="function"&&(!f.store||l.name===f.store)){let m=b=>this[g](b);l.addEventListener(f.eventName,m),this[Ln].get(s).push(()=>l.removeEventListener(f.eventName,m))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[no].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[no].has(s)&&this[no].get(s)(),this[no].delete(s),(l=this[Ln].get(s))===null||l===void 0||l.forEach(d=>d()),this[Ln].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=no,t=Uo,i=Ln,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),or=class extends cm(V){}});function Ut(r){for(var e=arguments.length,t=Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zr(r){return!!r&&!!r[Te]}function ir(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var i=Object.getPrototypeOf(t);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===V0}(r)||Array.isArray(r)||!!r[ym]||!!(!((e=r.constructor)===null||e===void 0)&&e[ym])||Xc(r)||Jc(r))}function zo(r,e,t){t===void 0&&(t=!1),wi(r)===0?(t?Object.keys:Ei)(r).forEach(function(i){t&&typeof i=="symbol"||e(i,r[i],r)}):r.forEach(function(i,n){return e(n,i,r)})}function wi(r){var e=r[Te];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Xc(r)?2:Jc(r)?3:0}function Oi(r,e){return wi(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function D0(r,e){return wi(r)===2?r.get(e):r[e]}function bm(r,e,t){var i=wi(r);i===2?r.set(e,t):i===3?r.add(t):r[e]=t}function vm(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Xc(r){return H0&&r instanceof Map}function Jc(r){return W0&&r instanceof Set}function ao(r){return r.o||r.t}function ed(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Cm(r);delete e[Te];for(var t=Ei(e),i=0;i<t.length;i++){var n=t[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[n]})}return Object.create(Object.getPrototypeOf(r),e)}function td(r,e){return e===void 0&&(e=!1),rd(r)||zr(r)||!ir(r)||(wi(r)>1&&(r.set=r.add=r.clear=r.delete=B0),Object.freeze(r),e&&zo(r,function(t,i){return td(i,!0)},!0)),r}function B0(){Ut(2)}function rd(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function gr(r){var e=Qc[r];return e||Ut(18,r),e}function M0(r,e){Qc[r]||(Qc[r]=e)}function qc(){return kn}function Vc(r,e){e&&(gr("Patches"),r.u=[],r.s=[],r.v=e)}function Ja(r){Zc(r),r.p.forEach(U0),r.p=null}function Zc(r){r===kn&&(kn=r.l)}function pm(r){return kn={p:[],l:kn,h:r,m:!0,_:0}}function U0(r){var e=r[Te];e.i===0||e.i===1?e.j():e.g=!0}function jc(r,e){e._=e.p.length;var t=e.p[0],i=r!==void 0&&r!==t;return e.h.O||gr("ES5").S(e,r,i),i?(t[Te].P&&(Ja(e),Ut(4)),ir(r)&&(r=es(e,r),e.l||ts(e,r)),e.u&&gr("Patches").M(t[Te].t,r,e.u,e.s)):r=es(e,t,[]),Ja(e),e.u&&e.v(e.u,e.s),r!==Sm?r:void 0}function es(r,e,t){if(rd(e))return e;var i=e[Te];if(!i)return zo(e,function(l,d){return um(r,i,e,l,d,t)},!0),e;if(i.A!==r)return e;if(!i.P)return ts(r,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=ed(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),zo(a,function(l,d){return um(r,i,n,l,d,t,s)}),ts(r,n,!1),t&&r.u&&gr("Patches").N(i,t,r.u,r.s)}return i.o}function um(r,e,t,i,n,a,s){if(zr(n)){var l=es(r,n,a&&e&&e.i!==3&&!Oi(e.R,i)?a.concat(i):void 0);if(bm(t,i,l),!zr(l))return;r.m=!1}else s&&t.add(n);if(ir(n)&&!rd(n)){if(!r.h.D&&r._<1)return;es(r,n),e&&e.A.l||ts(r,n)}}function ts(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&td(e,t)}function Gc(r,e){var t=r[Te];return(t?ao(t):r)[e]}function fm(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}}function so(r){r.P||(r.P=!0,r.l&&so(r.l))}function Kc(r){r.o||(r.o=ed(r.t))}function Yc(r,e,t){var i=Xc(e)?gr("MapSet").F(e,t):Jc(e)?gr("MapSet").T(e,t):r.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:qc(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=Tn;s&&(d=[l],f=In);var g=Proxy.revocable(d,f),m=g.revoke,b=g.proxy;return l.k=b,l.j=m,b}(e,t):gr("ES5").J(e,t);return(t?t.A:qc()).p.push(i),i}function z0(r){return zr(r)||Ut(22,r),function e(t){if(!ir(t))return t;var i,n=t[Te],a=wi(t);if(n){if(!n.P&&(n.i<4||!gr("ES5").K(n)))return n.t;n.I=!0,i=hm(t,a),n.I=!1}else i=hm(t,a);return zo(i,function(s,l){n&&D0(n.t,s)===l||bm(i,s,e(l))}),a===3?new Set(i):i}(r)}function hm(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return ed(r)}function xm(){function r(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[Te];return Tn.get(f,s)},set:function(f){var g=this[Te];Tn.set(g,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Te];if(!d.P)switch(d.i){case 5:i(d)&&so(d);break;case 4:t(d)&&so(d)}}}function t(s){for(var l=s.t,d=s.k,f=Ei(d),g=f.length-1;g>=0;g--){var m=f[g];if(m!==Te){var b=l[m];if(b===void 0&&!Oi(l,m))return!0;var O=d[m],C=O&&O[Te];if(C?C.t!==b:!vm(O,b))return!0}}var _=!!l[Te];return f.length!==Ei(l).length+(_?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&Ut(3,JSON.stringify(ao(s)))}var a={};M0("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(m,b){if(m){for(var O=Array(b.length),C=0;C<b.length;C++)Object.defineProperty(O,""+C,r(C,!0));return O}var _=Cm(b);delete _[Te];for(var N=Ei(_),F=0;F<N.length;F++){var z=N[F];_[z]=r(z,m||!!_[z].enumerable)}return Object.create(Object.getPrototypeOf(b),_)}(d,s),g={i:d?5:4,A:l?l.A:qc(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Te,{value:g,writable:!0}),f},S:function(s,l,d){d?zr(l)&&l[Te].A===s&&e(s.p):(s.u&&function f(g){if(g&&typeof g=="object"){var m=g[Te];if(m){var b=m.t,O=m.k,C=m.R,_=m.i;if(_===4)zo(O,function(w){w!==Te&&(b[w]!==void 0||Oi(b,w)?C[w]||f(O[w]):(C[w]=!0,so(m)))}),zo(b,function(w){O[w]!==void 0||Oi(O,w)||(C[w]=!1,so(m))});else if(_===5){if(i(m)&&(so(m),C.length=!0),O.length<b.length)for(var N=O.length;N<b.length;N++)C[N]=!1;else for(var F=b.length;F<O.length;F++)C[F]=!0;for(var z=Math.min(O.length,b.length),I=0;I<z;I++)O.hasOwnProperty(I)||(C[I]=!0),C[I]===void 0&&f(O[I])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):i(s)}})}var mm,kn,od,H0,W0,gm,Sm,ym,Te,V0,Ei,Cm,Qc,Tn,In,j0,It,G0,NR,FR,DR,BR,MR,UR,rs,os=p(()=>{od=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",H0=typeof Map<"u",W0=typeof Set<"u",gm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Sm=od?Symbol.for("immer-nothing"):((mm={})["immer-nothing"]=!0,mm),ym=od?Symbol.for("immer-draftable"):"__$immer_draftable",Te=od?Symbol.for("immer-state"):"__$immer_state",V0=""+Object.prototype.constructor,Ei=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Cm=Object.getOwnPropertyDescriptors||function(r){var e={};return Ei(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},Qc={},Tn={get:function(r,e){if(e===Te)return r;var t=ao(r);if(!Oi(t,e))return function(n,a,s){var l,d=fm(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(r,t,e);var i=t[e];return r.I||!ir(i)?i:i===Gc(r.t,e)?(Kc(r),r.o[e]=Yc(r.A.h,i,r)):i},has:function(r,e){return e in ao(r)},ownKeys:function(r){return Reflect.ownKeys(ao(r))},set:function(r,e,t){var i=fm(ao(r),e);if(i?.set)return i.set.call(r.k,t),!0;if(!r.P){var n=Gc(ao(r),e),a=n?.[Te];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(vm(t,n)&&(t!==void 0||Oi(r.t,e)))return!0;Kc(r),so(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Gc(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Kc(r),so(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=ao(r),i=Reflect.getOwnPropertyDescriptor(t,e);return i&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:i.enumerable,value:t[e]}},defineProperty:function(){Ut(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Ut(12)}},In={};zo(Tn,function(r,e){In[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),In.deleteProperty=function(r,e){return In.set.call(this,r,e,void 0)},In.set=function(r,e,t){return Tn.set.call(this,r[0],e,t,r[0])};j0=function(){function r(t){var i=this;this.O=gm,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(_){var N=this;_===void 0&&(_=l);for(var F=arguments.length,z=Array(F>1?F-1:0),I=1;I<F;I++)z[I-1]=arguments[I];return d.produce(_,function(w){var k;return(k=a).call.apply(k,[N,w].concat(z))})}}var f;if(typeof a!="function"&&Ut(6),s!==void 0&&typeof s!="function"&&Ut(7),ir(n)){var g=pm(i),m=Yc(i,n,void 0),b=!0;try{f=a(m),b=!1}finally{b?Ja(g):Zc(g)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(_){return Vc(g,s),jc(_,g)},function(_){throw Ja(g),_}):(Vc(g,s),jc(f,g))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Sm&&(f=void 0),i.D&&td(f,!0),s){var O=[],C=[];gr("Patches").M(n,f,O,C),s(O,C)}return f}Ut(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var g=arguments.length,m=Array(g>1?g-1:0),b=1;b<g;b++)m[b-1]=arguments[b];return i.produceWithPatches(f,function(O){return n.apply(void 0,[O].concat(m))})};var s,l,d=i.produce(n,a,function(f,g){s=f,l=g});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){ir(t)||Ut(8),zr(t)&&(t=z0(t));var i=pm(this),n=Yc(this,t,void 0);return n[Te].C=!0,Zc(i),n},e.finishDraft=function(t,i){var n=t&&t[Te],a=n.A;return Vc(a,i),jc(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!gm&&Ut(20),this.O=t},e.applyPatches=function(t,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(i=i.slice(n+1));var s=gr("Patches").$;return zr(t)?s(t,i):this.produce(t,function(l){return s(l,i)})},r}(),It=new j0,G0=It.produce,NR=It.produceWithPatches.bind(It),FR=It.setAutoFreeze.bind(It),DR=It.setUseProxies.bind(It),BR=It.applyPatches.bind(It),MR=It.createDraft.bind(It),UR=It.finishDraft.bind(It),rs=G0});function Ho(r){"@babel/helpers - typeof";return Ho=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ho(r)}var id=p(()=>{});function Om(r,e){if(Ho(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(Ho(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Em=p(()=>{id()});function wm(r){var e=Om(r,"string");return Ho(e)=="symbol"?e:e+""}var Am=p(()=>{id();Em()});function Rm(r,e,t){return(e=wm(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Lm=p(()=>{Am()});function Im(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function nd(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Im(Object(t),!0).forEach(function(i){Rm(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Im(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}var km=p(()=>{Lm()});function at(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}function K0(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function sd(r,e,t){var i;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(at(1));return t(sd)(r,e)}if(typeof r!="function")throw new Error(at(2));var n=r,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function g(){if(d)throw new Error(at(3));return a}function m(_){if(typeof _!="function")throw new Error(at(4));if(d)throw new Error(at(5));var N=!0;return f(),l.push(_),function(){if(N){if(d)throw new Error(at(6));N=!1,f();var z=l.indexOf(_);l.splice(z,1),s=null}}}function b(_){if(!K0(_))throw new Error(at(7));if(typeof _.type>"u")throw new Error(at(8));if(d)throw new Error(at(9));try{d=!0,a=n(a,_)}finally{d=!1}for(var N=s=l,F=0;F<N.length;F++){var z=N[F];z()}return _}function O(_){if(typeof _!="function")throw new Error(at(10));n=_,b({type:is.REPLACE})}function C(){var _,N=m;return _={subscribe:function(z){if(typeof z!="object"||z===null)throw new Error(at(11));function I(){z.next&&z.next(g())}I();var w=N(I);return{unsubscribe:w}}},_[Tm]=function(){return this},_}return b({type:is.INIT}),i={dispatch:b,subscribe:m,getState:g,replaceReducer:O},i[Tm]=C,i}function q0(r){Object.keys(r).forEach(function(e){var t=r[e],i=t(void 0,{type:is.INIT});if(typeof i>"u")throw new Error(at(12));if(typeof t(void 0,{type:is.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function _m(r){for(var e=Object.keys(r),t={},i=0;i<e.length;i++){var n=e[i];typeof r[n]=="function"&&(t[n]=r[n])}var a=Object.keys(t),s,l;try{q0(t)}catch(d){l=d}return function(f,g){if(f===void 0&&(f={}),l)throw l;if(0)var m;for(var b=!1,O={},C=0;C<a.length;C++){var _=a[C],N=t[_],F=f[_],z=N(F,g);if(typeof z>"u"){var I=g&&g.type;throw new Error(at(14))}O[_]=z,b=b||z!==F}return b=b||a.length!==Object.keys(f).length,b?O:f}}function Ai(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function $m(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(at(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Ai.apply(void 0,l)(n.dispatch),nd(nd({},n),{},{dispatch:a})}}}var Tm,ad,is,ns=p(()=>{km();Tm=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ad=function(){return Math.random().toString(36).substring(7).split("").join(".")},is={INIT:"@@redux/INIT"+ad(),REPLACE:"@@redux/REPLACE"+ad(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ad()}}});function Pm(r){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,r):s(l)}}};return e}var Nm,ld,Fm=p(()=>{Nm=Pm();Nm.withExtraArgument=Pm;ld=Nm});function oS(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}function ud(r){return ir(r)?rs(r,function(){}):r}function aS(r){return typeof r=="boolean"}function sS(){return function(e){return lS(e)}}function lS(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,i=r.immutableCheck,n=i===void 0?!0:i,a=r.serializableCheck,s=a===void 0?!0:a,l=new iS;if(t&&(aS(t)?l.push(ld):l.push(ld.withExtraArgument(t.extraArgument))),0){if(n)var d;if(s)var f}return l}function Hm(r){var e=sS(),t=r||{},i=t.reducer,n=i===void 0?void 0:i,a=t.middleware,s=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,g=f===void 0?void 0:f,m=t.enhancers,b=m===void 0?void 0:m,O;if(typeof n=="function")O=n;else if(oS(n))O=_m(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var C=s;if(typeof C=="function"&&(C=C(e),!dd&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!dd&&C.some(function(w){return typeof w!="function"}))throw new Error("each middleware provided to configureStore must be a function");var _=$m.apply(void 0,C),N=Ai;d&&(N=rS(lo({trace:!dd},typeof d=="object"&&d)));var F=new nS(_),z=F;Array.isArray(b)?z=Ri([_],b):typeof b=="function"&&(z=b(F));var I=N.apply(void 0,z);return sd(O,g,I)}function co(r,e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return lo(lo({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:i[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(i){return i.type===r},t}function Wm(r){var e={},t=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return r(n),[e,t,i]}function cS(r){return typeof r=="function"}function dS(r,e,t,i){t===void 0&&(t=[]);var n=typeof e=="function"?Wm(e):[e,t,i],a=n[0],s=n[1],l=n[2],d;if(cS(r))d=function(){return ud(r())};else{var f=ud(r);d=function(){return f}}function g(m,b){m===void 0&&(m=d());var O=Ri([a[b.type]],s.filter(function(C){var _=C.matcher;return _(b)}).map(function(C){var _=C.reducer;return _}));return O.filter(function(C){return!!C}).length===0&&(O=[l]),O.reduce(function(C,_){if(_)if(zr(C)){var N=C,F=_(N,b);return F===void 0?C:F}else{if(ir(C))return rs(C,function(z){return _(z,b)});var F=_(C,b);if(F===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return F}return C},m)}return g.getInitialState=d,g}function pS(r,e){return r+"/"+e}function Vm(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:ud(r.initialState),i=r.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var m=i[g],b=pS(e,g),O,C;"reducer"in m?(O=m.reducer,C=m.prepare):O=m,a[g]=O,s[b]=O,l[g]=C?co(b,C):co(b)});function d(){var g=typeof r.extraReducers=="function"?Wm(r.extraReducers):[r.extraReducers],m=g[0],b=m===void 0?{}:m,O=g[1],C=O===void 0?[]:O,_=g[2],N=_===void 0?void 0:_,F=lo(lo({},b),s);return dS(t,function(z){for(var I in F)z.addCase(I,F[I]);for(var w=0,k=C;w<k.length;w++){var K=k[w];z.addMatcher(K.matcher,K.reducer)}N&&z.addDefaultCase(N)})}var f;return{name:e,reducer:function(g,m){return f||(f=d()),f(g,m)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}function gS(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function yS(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var zm,Z0,Ri,Y0,Q0,X0,Dm,J0,eS,Bm,lo,cd,tS,rS,iL,iS,nS,dd,uS,fS,hS,pd,Mm,mS,lL,jm,Gm,Km,cL,dL,pL,uL,fd,fL,hL,mL,Um,gL,bS,yL,qm=p(()=>{os();ns();ns();ns();Fm();os();os();zm=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}(),Z0=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(g){return d([f,g])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,n=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(r,t)}catch(g){f=[6,g],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ri=function(r,e){for(var t=0,i=e.length,n=r.length;t<i;t++,n++)r[n]=e[t];return r},Y0=Object.defineProperty,Q0=Object.defineProperties,X0=Object.getOwnPropertyDescriptors,Dm=Object.getOwnPropertySymbols,J0=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,Bm=function(r,e,t){return e in r?Y0(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},lo=function(r,e){for(var t in e||(e={}))J0.call(e,t)&&Bm(r,t,e[t]);if(Dm)for(var i=0,n=Dm(e);i<n.length;i++){var t=n[i];eS.call(e,t)&&Bm(r,t,e[t])}return r},cd=function(r,e){return Q0(r,X0(e))},tS=function(r,e,t){return new Promise(function(i,n){var a=function(d){try{l(t.next(d))}catch(f){n(f)}},s=function(d){try{l(t.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((t=t.apply(r,e)).next())})},rS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ai:Ai.apply(null,arguments)},iL=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};iS=function(r){zm(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Ri([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ri([void 0],t.concat(this))))},e}(Array),nS=function(r){zm(e,r);function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=r.apply(this,t)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,Ri([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ri([void 0],t.concat(this))))},e}(Array);dd=!0;uS="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fS=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=uS[Math.random()*64|0];return e},hS=["name","message","stack","code"],pd=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Mm=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),mS=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,i=hS;t<i.length;t++){var n=i[t];typeof r[n]=="string"&&(e[n]=r[n])}return e}return{message:String(r)}},lL=function(){function r(e,t,i){var n=co(e+"/fulfilled",function(g,m,b,O){return{payload:g,meta:cd(lo({},O||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=co(e+"/pending",function(g,m,b){return{payload:void 0,meta:cd(lo({},b||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=co(e+"/rejected",function(g,m,b,O,C){return{payload:O,error:(i&&i.serializeError||mS)(g||"Rejected"),meta:cd(lo({},C||{}),{arg:b,requestId:m,rejectedWithValue:!!O,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function f(g){return function(m,b,O){var C=i?.idGenerator?i.idGenerator(g):fS(),_=new d,N,F=!1;function z(w){N=w,_.abort()}var I=function(){return tS(this,null,function(){var w,k,K,ee,he,ce,q;return Z0(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),ee=(w=i?.condition)==null?void 0:w.call(i,g,{getState:b,extra:O}),yS(ee)?[4,ee]:[3,2];case 1:ee=v.sent(),v.label=2;case 2:if(ee===!1||_.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return F=!0,he=new Promise(function(A,G){return _.signal.addEventListener("abort",function(){return G({name:"AbortError",message:N||"Aborted"})})}),m(a(C,g,(k=i?.getPendingMeta)==null?void 0:k.call(i,{requestId:C,arg:g},{getState:b,extra:O}))),[4,Promise.race([he,Promise.resolve(t(g,{dispatch:m,getState:b,extra:O,requestId:C,signal:_.signal,abort:z,rejectWithValue:function(A,G){return new pd(A,G)},fulfillWithValue:function(A,G){return new Mm(A,G)}})).then(function(A){if(A instanceof pd)throw A;return A instanceof Mm?n(A.payload,C,g,A.meta):n(A,C,g)})])];case 3:return K=v.sent(),[3,5];case 4:return ce=v.sent(),K=ce instanceof pd?s(null,C,g,ce.payload,ce.meta):s(ce,C,g),[3,5];case 5:return q=i&&!i.dispatchConditionRejection&&s.match(K)&&K.meta.condition,q||m(K),[2,K]}})})}();return Object.assign(I,{abort:z,requestId:C,arg:g,unwrap:function(){return I.then(gS)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return r.withTypes=function(){return r},r}();jm="listener",Gm="completed",Km="cancelled",cL="task-"+Km,dL="task-"+Gm,pL=jm+"-"+Km,uL=jm+"-"+Gm,fd="listenerMiddleware",fL=co(fd+"/add"),hL=co(fd+"/removeAll"),mL=co(fd+"/remove"),gL=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Um||(Um=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},bS=function(r){return function(e){setTimeout(e,r)}},yL=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bS(10);xm()});function vS(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Ci(e)&&e.clear()}var Hr,Zm=p(()=>{"use strict";qm();Xa();Wc();hi();window.ftReduxStores||(window.ftReduxStores={});Hr=class r extends Pr{static get(e){var t;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Ci(a))return a;if(n==null)return;let s=Vm({...n,reducers:(t=n.reducers)!==null&&t!==void 0?t:{}}),l=Hm({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new r(s,l,n.eventBus)}constructor(e,t,i){super(),this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.commands=new Rn;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...g)=>{let m=f(...g.map(n));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[d]:n(g)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function Li(r,e,t){return new as(r,e,t).watch()}var as,Ym=p(()=>{"use strict";gt();as=class{constructor(e,t,i){this.store=e,this.valueSelector=t,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),t=this.valueSelector(e);At(this.lastValue,t)&&(this.callback(t,e),this.lastValue=t)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var _n,Qm=p(()=>{"use strict";_n=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var t;return(t=this.requestConsumers.get(e))!==null&&t!==void 0?t:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,t){for(let i of t)this.getOrCreateRequestConsumers(i).add(e)}unregisterComponent(e,t){for(let i of t)this.getOrCreateRequestConsumers(i).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}}});var hd={};oe(hd,{FtCommandQueue:()=>Rn,FtLitElementRedux:()=>or,FtReduxStore:()=>Hr,FtStateManager:()=>_n,ReduxWatcher:()=>as,clearAllStores:()=>vS,isFtReduxStore:()=>Ci,redux:()=>Ce,reduxEventListener:()=>F0,reduxReactive:()=>N0,watch:()=>Li,withRedux:()=>cm});var ss=p(()=>{"use strict";lm();Wc();dm();Zm();Xa();Ym();Qm()});var bd={};oe(bd,{scrollHelper:()=>yd});var md,ls,gd,yd,vd=p(()=>{"use strict";gt();ls=new Map,gd=class{lock(e,t){if(t){let i=ls.get(t);if(i==null||i===e)return ls.set(t,e),t}}release(e,t){t&&ls.get(t)===e&&ls.delete(t)}findFirstScrollableParent(e){var t;let i,n;for(let a of Ul(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(t=i??n)!==null&&t!==void 0?t:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){var i,n;let a=0;for(;t&&t.offsetParent!==e.offsetParent;)a+=(i=t.offsetTop)!==null&&i!==void 0?i:0,t=t.offsetParent;return a+((n=t?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=Po(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;i.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(md=window.FluidTopicsScrollHelper)!==null&&md!==void 0?md:new gd;yd=window.FluidTopicsScrollHelper});var Jm=nx((po,Xm)=>{var cs=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ds=function(){function r(){this.fetch=!1,this.DOMException=cs.DOMException}return r.prototype=cs,new r}();(function(r){var e=function(t){var i=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(v){return v&&DataView.prototype.isPrototypeOf(v)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(v){return v&&s.indexOf(Object.prototype.toString.call(v))>-1};function d(v){if(typeof v!="string"&&(v=String(v)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(v)||v==="")throw new TypeError('Invalid character in header field name: "'+v+'"');return v.toLowerCase()}function f(v){return typeof v!="string"&&(v=String(v)),v}function g(v){var A={next:function(){var G=v.shift();return{done:G===void 0,value:G}}};return n.iterable&&(A[Symbol.iterator]=function(){return A}),A}function m(v){this.map={},v instanceof m?v.forEach(function(A,G){this.append(G,A)},this):Array.isArray(v)?v.forEach(function(A){if(A.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+A.length);this.append(A[0],A[1])},this):v&&Object.getOwnPropertyNames(v).forEach(function(A){this.append(A,v[A])},this)}m.prototype.append=function(v,A){v=d(v),A=f(A);var G=this.map[v];this.map[v]=G?G+", "+A:A},m.prototype.delete=function(v){delete this.map[d(v)]},m.prototype.get=function(v){return v=d(v),this.has(v)?this.map[v]:null},m.prototype.has=function(v){return this.map.hasOwnProperty(d(v))},m.prototype.set=function(v,A){this.map[d(v)]=f(A)},m.prototype.forEach=function(v,A){for(var G in this.map)this.map.hasOwnProperty(G)&&v.call(A,this.map[G],G,this)},m.prototype.keys=function(){var v=[];return this.forEach(function(A,G){v.push(G)}),g(v)},m.prototype.values=function(){var v=[];return this.forEach(function(A){v.push(A)}),g(v)},m.prototype.entries=function(){var v=[];return this.forEach(function(A,G){v.push([G,A])}),g(v)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function b(v){if(!v._noBody){if(v.bodyUsed)return Promise.reject(new TypeError("Already read"));v.bodyUsed=!0}}function O(v){return new Promise(function(A,G){v.onload=function(){A(v.result)},v.onerror=function(){G(v.error)}})}function C(v){var A=new FileReader,G=O(A);return A.readAsArrayBuffer(v),G}function _(v){var A=new FileReader,G=O(A),me=/charset=([A-Za-z0-9_-]+)/.exec(v.type),Ae=me?me[1]:"utf-8";return A.readAsText(v,Ae),G}function N(v){for(var A=new Uint8Array(v),G=new Array(A.length),me=0;me<A.length;me++)G[me]=String.fromCharCode(A[me]);return G.join("")}function F(v){if(v.slice)return v.slice(0);var A=new Uint8Array(v.byteLength);return A.set(new Uint8Array(v)),A.buffer}function z(){return this.bodyUsed=!1,this._initBody=function(v){this.bodyUsed=this.bodyUsed,this._bodyInit=v,v?typeof v=="string"?this._bodyText=v:n.blob&&Blob.prototype.isPrototypeOf(v)?this._bodyBlob=v:n.formData&&FormData.prototype.isPrototypeOf(v)?this._bodyFormData=v:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(v)?this._bodyText=v.toString():n.arrayBuffer&&n.blob&&a(v)?(this._bodyArrayBuffer=F(v.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(v)||l(v))?this._bodyArrayBuffer=F(v):this._bodyText=v=Object.prototype.toString.call(v):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof v=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(v)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var v=b(this);if(v)return v;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var v=b(this);return v||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var v=b(this);if(v)return v;if(this._bodyBlob)return _(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(K)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function w(v){var A=v.toUpperCase();return I.indexOf(A)>-1?A:v}function k(v,A){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var G=A.body;if(v instanceof k){if(v.bodyUsed)throw new TypeError("Already read");this.url=v.url,this.credentials=v.credentials,A.headers||(this.headers=new m(v.headers)),this.method=v.method,this.mode=v.mode,this.signal=v.signal,!G&&v._bodyInit!=null&&(G=v._bodyInit,v.bodyUsed=!0)}else this.url=String(v);if(this.credentials=A.credentials||this.credentials||"same-origin",(A.headers||!this.headers)&&(this.headers=new m(A.headers)),this.method=w(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal||function(){if("AbortController"in i){var pe=new AbortController;return pe.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&G)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(G),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var me=/([?&])_=[^&]*/;if(me.test(this.url))this.url=this.url.replace(me,"$1_="+new Date().getTime());else{var Ae=/\?/;this.url+=(Ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};function K(v){var A=new FormData;return v.trim().split("&").forEach(function(G){if(G){var me=G.split("="),Ae=me.shift().replace(/\+/g," "),pe=me.join("=").replace(/\+/g," ");A.append(decodeURIComponent(Ae),decodeURIComponent(pe))}}),A}function ee(v){var A=new m,G=v.replace(/\r?\n[\t ]+/g," ");return G.split("\r").map(function(me){return me.indexOf(`
48
+ `)===0?me.substr(1,me.length):me}).forEach(function(me){var Ae=me.split(":"),pe=Ae.shift().trim();if(pe){var Xn=Ae.join(":").trim();try{A.append(pe,Xn)}catch(fl){console.warn("Response "+fl.message)}}}),A}z.call(k.prototype);function he(v,A){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(A||(A={}),this.type="default",this.status=A.status===void 0?200:A.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=A.statusText===void 0?"":""+A.statusText,this.headers=new m(A.headers),this.url=A.url||"",this._initBody(v)}z.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},he.error=function(){var v=new he(null,{status:200,statusText:""});return v.ok=!1,v.status=0,v.type="error",v};var ce=[301,302,303,307,308];he.redirect=function(v,A){if(ce.indexOf(A)===-1)throw new RangeError("Invalid status code");return new he(null,{status:A,headers:{location:v}})},t.DOMException=i.DOMException;try{new t.DOMException}catch{t.DOMException=function(A,G){this.message=A,this.name=G;var me=Error(A);this.stack=me.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function q(v,A){return new Promise(function(G,me){var Ae=new k(v,A);if(Ae.signal&&Ae.signal.aborted)return me(new t.DOMException("Aborted","AbortError"));var pe=new XMLHttpRequest;function Xn(){pe.abort()}pe.onload=function(){var Je={statusText:pe.statusText,headers:ee(pe.getAllResponseHeaders()||"")};Ae.url.indexOf("file://")===0&&(pe.status<200||pe.status>599)?Je.status=200:Je.status=pe.status,Je.url="responseURL"in pe?pe.responseURL:Je.headers.get("X-Request-URL");var Ao="response"in pe?pe.response:pe.responseText;setTimeout(function(){G(new he(Ao,Je))},0)},pe.onerror=function(){setTimeout(function(){me(new TypeError("Network request failed"))},0)},pe.ontimeout=function(){setTimeout(function(){me(new TypeError("Network request timed out"))},0)},pe.onabort=function(){setTimeout(function(){me(new t.DOMException("Aborted","AbortError"))},0)};function fl(Je){try{return Je===""&&i.location.href?i.location.href:Je}catch{return Je}}if(pe.open(Ae.method,fl(Ae.url),!0),Ae.credentials==="include"?pe.withCredentials=!0:Ae.credentials==="omit"&&(pe.withCredentials=!1),"responseType"in pe&&(n.blob?pe.responseType="blob":n.arrayBuffer&&(pe.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof m||i.Headers&&A.headers instanceof i.Headers)){var tf=[];Object.getOwnPropertyNames(A.headers).forEach(function(Je){tf.push(d(Je)),pe.setRequestHeader(Je,f(A.headers[Je]))}),Ae.headers.forEach(function(Je,Ao){tf.indexOf(Ao)===-1&&pe.setRequestHeader(Ao,Je)})}else Ae.headers.forEach(function(Je,Ao){pe.setRequestHeader(Ao,Je)});Ae.signal&&(Ae.signal.addEventListener("abort",Xn),pe.onreadystatechange=function(){pe.readyState===4&&Ae.signal.removeEventListener("abort",Xn)}),pe.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}return q.polyfill=!0,i.fetch||(i.fetch=q,i.Headers=m,i.Request=k,i.Response=he),t.Headers=m,t.Request=k,t.Response=he,t.fetch=q,t}({})})(ds);ds.fetch.ponyfill=!0;delete ds.fetch.polyfill;var Ii=cs.fetch?cs:ds;po=Ii.fetch;po.default=Ii.fetch;po.fetch=Ii.fetch;po.Headers=Ii.Headers;po.Request=Ii.Request;po.Response=Ii.Response;Xm.exports=po});var xd=p(()=>{});var eg,tg,rg,uo,og,ig,Wo,ng,ag,sg,lg,cg,dg,pg,fo,ug,fg,Vo,yg,hg,ps,mg,ki,bg,yr,Ti,gg,je,zt,Sd=p(()=>{(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(eg||(eg={}));(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(tg||(tg={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(rg||(rg={}));(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(uo||(uo={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(og||(og={}));(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(ig||(ig={}));(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.CHATBOT__RATE="CHATBOT__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",r.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",r.AI__RATE="AI__RATE",r.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",r.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Wo||(Wo={}));(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(ng||(ng={}));(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT",r.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",r.LINK_PREVIEW="LINK_PREVIEW"})(ag||(ag={}));(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(sg||(sg={}));(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(lg||(lg={}));(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(cg||(cg={}));(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(dg||(dg={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(pg||(pg={}));(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(fo||(fo={}));(function(r){r.ASC="ASC",r.DESC="DESC"})(ug||(ug={}));(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(fg||(fg={}));(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Vo||(Vo={}));yg=r=>Object.keys(Vo).includes(r);(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(hg||(hg={}));(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(ps||(ps={}));(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(mg||(mg={}));(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(ki||(ki={}));bg=r=>Object.keys(ki).includes(r);(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(yr||(yr={}));(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ti||(Ti={}));(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(gg||(gg={}));(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(je||(je={}));(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(zt||(zt={}))});var vg,xg,Sg,Cg,Og,Eg=p(()=>{(function(r){r.VALID="VALID",r.INVALID="INVALID"})(vg||(vg={}));(function(r){r.JSON="JSON",r.TEXT="TEXT"})(xg||(xg={}));(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(Sg||(Sg={}));(function(r){r.TEXT="TEXT",r.HTML="HTML"})(Cg||(Cg={}));(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})(Og||(Og={}))});function wg(r,e){return r===e||(xS[r]??[]).some(t=>wg(t,e))}function Ag(r,e){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(i=>wg(i,e))}var xS,Rg=p(()=>{Sd();xS={[je.PERSONAL_BOOK_SHARE_USER]:[je.PERSONAL_BOOK_USER],[je.HTML_EXPORT_USER]:[je.PERSONAL_BOOK_USER],[je.PDF_EXPORT_USER]:[je.PERSONAL_BOOK_USER],[je.KHUB_ADMIN]:[je.CONTENT_PUBLISHER],[je.ADMIN]:[je.KHUB_ADMIN,je.USERS_ADMIN,je.PORTAL_ADMIN],[je.GENERATIVE_AI_EXPORT_USER]:[je.GENERATIVE_AI_USER]}});var Lg=p(()=>{});var SS,ho=p(()=>{SS=sx(Jm(),1);xd();Sd();Eg();Rg();Lg();xd()});var Cd={};oe(Cd,{SearchPlaceConverter:()=>mo,SearchPlaceQueryParams:()=>be,isSearchPlaceQueryParams:()=>kg,serializeRequest:()=>OS});function CS(r){return`"${r}"`}function Ig(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function OS(r,e){return new mo(r).serialize(e)}function kg(r){return ES.has(r)}var be,ES,mo,Od=p(()=>{"use strict";ho();gt();(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page",r.KEYWORD_MATCH="keyword-match"})(be||(be={}));ES=new Set(Object.values(be));mo=class{constructor(e,t=20,i=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=t,this.allLanguagesAllowed=i,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t){return this.serializeToCurrentPageIfPossible(e,t??"/search")}serializeToCurrentPageIfPossible(e,t){let i=t==null||t.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${t}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,t=!1){var i,n,a,s,l,d,f,g,m,b,O;let C=new URLSearchParams;e.contentLocale?(!t||e.contentLocale!==this.defaultContentLocale)&&C.append(be.LOCALE,e.contentLocale):C.append(be.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&C.append(be.QUERY,e.query);let _=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(w=>w.valueFilter&&!w.valueFilter.negative))!==null&&a!==void 0?a:[];if(_.length>0){let w=_.map(k=>{var K,ee;let he=((ee=(K=k.valueFilter)===null||K===void 0?void 0:K.values)!==null&&ee!==void 0?ee:[]).map(ce=>this.escapeFilters(ce)).map(ce=>CS(Ig(ce))).join("_");return`${k.key}~${he}`}).join("*");C.append(be.VALUE_FILTERS,w)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(w=>w.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let w=N.map(k=>{var K;return`${k.key}~${(K=k.dateFilter)===null||K===void 0?void 0:K.type.toLowerCase()}`}).join("*");C.append(be.DATE_FILTERS,w)}let F=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(w=>w.rangeFilter))!==null&&f!==void 0?f:[];if(F.length>0){let w=F.map(k=>{var K,ee;return`${k.key}~${(K=k.rangeFilter)===null||K===void 0?void 0:K.from}_${(ee=k.rangeFilter)===null||ee===void 0?void 0:ee.to}`}).join("*");C.append(be.RANGE_FILTERS,w)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&C.append(be.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&C.append(be.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&C.append(be.SORT,e.sortId),!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&C.append(be.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&C.append(be.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let z=(O=e.otherQueryParams)!==null&&O!==void 0?O:{};for(let w in z)C.append(w,z[w]);let I=new Array;return C.forEach((w,k)=>{I.push(this.encodeQueryString(k)+"="+this.encodeQueryString(w))}),encodeURI(I.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var t;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:n.scope}}fromURLSearchParams(e){var t,i,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(F){console.warn("Could not decode search request query params, fallback on raw value",F)}let d=new URLSearchParams(e),f=d.get(be.LOCALE)==="all"?void 0:d.get(be.LOCALE),g=((t=d.get(be.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),m=(i=d.get(be.SORT))===null||i===void 0?void 0:i.toLowerCase(),b=(n=d.get(be.SCOPE))!==null&&n!==void 0?n:"default",O=+((a=d.get(be.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C=d.get(be.KEYWORD_MATCH),_=C?C.toUpperCase()===fo.MANDATORY?fo.MANDATORY:fo.OPTIONAL:void 0,N={};for(let F of d.keys())kg(F)||(N[F]=d.get(F));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(be.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:yg(g)?g:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Po(1,isNaN(O)?this.defaultPerPage:O,1e3)},keywordMatch:_,otherQueryParams:N}}parseCompatFilters(e){var t,i,n,a,s,l;let d=[];return e.has(be.FILTERS)&&(d=this.parseValueFilters((t=e.get(be.FILTERS))!==null&&t!==void 0?t:"")),(i=e.has(be.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(be.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(be.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(be.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(be.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(Ig).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:ki[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(t,i);return e}superEscapeFilters(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[t,i,n]of this.filtersEscapeMapping)e=e.replace(n,t);return e}parseLegacyPeriodFilter(e){if(bg(e))return[{key:"ft:lastEdition",dateFilter:{type:ki[e]}}];if(e.startsWith("CUSTOM_")){let[t,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}}});var Ad={};oe(Ad,{toFtFormComponent:()=>wd});var Ed,wd,Rd=p(()=>{"use strict";gt();Ed=Symbol("elementInternals"),wd=Fe(Symbol("toFtFormComponent"),function(r){class e extends r{static get formAssociated(){return!0}get form(){return this[Ed].form}constructor(...i){super(i),this[Ed]=this.attachInternals()}setFormValue(i){this[Ed].setFormValue(i)}}return e})});var Ld={};oe(Ld,{DateFormatter:()=>jo});var jo,us=p(()=>{"use strict";jo=class{static format(e,t,i,n){return window.moment?window.moment(e).locale(t).format(this.getMomentDateFormat(i,n)):this.getIntlDateTime(e,t,i,n)}static getMomentDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}static getIntlDateTime(e,t,i,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(t,{dateStyle:i?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(t,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),t=new Date().getTimezoneOffset();return`${t<0?"+":"-"}${e(Math.abs(t)/60)}:${e(Math.abs(t)%60)}`}}});var kd={};oe(kd,{ALL_KEYS_VALUE:()=>Id,SameWindowStorageEvent:()=>_i});var Id,_i,Td=p(()=>{"use strict";Id="__all__",_i=class extends CustomEvent{constructor(e,t,i){super("same-window-storage",{detail:{key:e,oldValue:t,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Id}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new _i(t[0],i,t[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(r,e,t){let i=e.getItem(t[0]);Reflect.apply(r,e,t),window.dispatchEvent(new _i(t[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(r,e,t){Reflect.apply(r,e,t),window.dispatchEvent(new _i(Id))}})});var $d={};oe($d,{FocusMainContentEvent:()=>_d});var _d,Pd=p(()=>{"use strict";_d=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var Tg={};function wS(r){(r.key==="Enter"||r.key===" "||r.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=r.key}function AS(r){window.FluidTopicsA11yHints.isKeyboardNavigation=r.detail==0}var Nd=p(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};document.addEventListener("keydown",wS);document.addEventListener("click",AS)});var $i,Fd=p(()=>{"use strict";$();$i=R`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -69,7 +69,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
69
69
  width:auto;
70
70
  height:auto;
71
71
  }
72
- `});var OS,ds,Lg=p(()=>{"use strict";gt();fi();OS={checkVisibility:!0},ds=Fe(Symbol("withAriaNotification"),function(r){class e extends r{sendAriaNotification(i,n){let{checkVisibility:a}={...OS,...n};setTimeout(()=>{(!a||this.checkVisibility())&&(i=typeof i=="string"?i:i?.message,i&&this.dispatchEvent(new hn({type:"aria",message:i})))},20)}}return e})});function $i(r,e,t){return r?e(r):t?.(r)}var Ig=p(()=>{});var ps=p(()=>{Ig()});var et,jo,Go,Pd,sI,kg=p(()=>{"use strict";Y();er();ps();$();gt();et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};(function(r){r.blur="blur",r.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",r.input="input"})(jo||(jo={}));(function(r){r.default="default",r.warning="warning",r.error="error"})(Go||(Go={}));Pd=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},sI=Fe(Symbol("toFtInput"),function(r){class e extends r{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=jo.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Go.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===jo.blur||this.validateOn===jo.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==Go.default&&this.validateOn===jo.blurWithStatusResolutionOnInput||this.validateOn===jo.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Pd(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return S`
72
+ `});var RS,fs,_g=p(()=>{"use strict";gt();hi();RS={checkVisibility:!0},fs=Fe(Symbol("withAriaNotification"),function(r){class e extends r{sendAriaNotification(i,n){let{checkVisibility:a}={...RS,...n};setTimeout(()=>{(!a||this.checkVisibility())&&(i=typeof i=="string"?i:i?.message,i&&this.dispatchEvent(new gn({type:"aria",message:i})))},20)}}return e})});function Pi(r,e,t){return r?e(r):t?.(r)}var $g=p(()=>{});var hs=p(()=>{$g()});var et,Go,Ko,Dd,uI,Pg=p(()=>{"use strict";Y();tr();hs();$();gt();et=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};(function(r){r.blur="blur",r.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",r.input="input"})(Go||(Go={}));(function(r){r.default="default",r.warning="warning",r.error="error"})(Ko||(Ko={}));Dd=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},uI=Fe(Symbol("toFtInput"),function(r){class e extends r{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Go.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ko.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Go.blur||this.validateOn===Go.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==Ko.default&&this.validateOn===Go.blurWithStatusResolutionOnInput||this.validateOn===Go.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Dd(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return S`
73
73
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
74
74
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
75
75
  ${Re(this.errorMessages,i=>S`
@@ -78,11 +78,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
78
78
  ${Re(this.warningMessages,i=>S`
79
79
  <li>${i}</li>
80
80
  `)}
81
- ${$i(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>S`
81
+ ${Pi(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>S`
82
82
  <li>${this.helperText}</li>
83
83
  `)}
84
84
  </ul>
85
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Go.error:this.warningMessages.length?Go.warning:Go.default}processRules(i){return i.map(n=>n(this.value)).filter(n=>n!==!0).map(n=>n)}}return et([h()],e.prototype,"warningRules",void 0),et([h()],e.prototype,"errorRules",void 0),et([h()],e.prototype,"validateOn",void 0),et([h({type:Boolean})],e.prototype,"validateAtRender",void 0),et([h()],e.prototype,"label",void 0),et([h({type:Boolean})],e.prototype,"hideLabel",void 0),et([h()],e.prototype,"name",void 0),et([h({type:Boolean})],e.prototype,"disabled",void 0),et([h()],e.prototype,"helperText",void 0),et([h()],e.prototype,"forceStatus",void 0),et([h({reflect:!0})],e.prototype,"value",void 0),et([D()],e.prototype,"errorMessages",void 0),et([D()],e.prototype,"warningMessages",void 0),et([D()],e.prototype,"status",void 0),et([D()],e.prototype,"focused",void 0),et([D()],e.prototype,"additionalWarningRules",void 0),et([D()],e.prototype,"additionalErrorRules",void 0),e})});var Tg=p(()=>{"use strict"});var _g=p(()=>{"use strict";kg();Tg()});function ES(r){this._$AN!==void 0?(us(this),this._$AM=r,$g(this)):this._$AM=r}function wS(r,e=!1,t=0){let i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=t;a<i.length;a++)kn(i[a],!1),us(i[a]);else i!=null&&(kn(i,!1),us(i));else kn(this,r)}var kn,us,$g,AS,fs,Pg=p(()=>{kl();To();To();kn=(r,e)=>{let t=r._$AN;if(t===void 0)return!1;for(let i of t)i._$AO?.(e,!1),kn(i,e);return!0},us=r=>{let e,t;do{if((e=r._$AM)===void 0)break;t=e._$AN,t.delete(r),r=e}while(t?.size===0)},$g=r=>{for(let e;e=r._$AM;r=e){let t=e._$AN;if(t===void 0)e._$AN=t=new Set;else if(t.has(r))break;t.add(r),AS(e)}};AS=r=>{r.type==dr.CHILD&&(r._$AP??=wS,r._$AQ??=ES)},fs=class extends Ft{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,i){super._$AT(e,t,i),$g(this),this.isConnected=e._$AU}_$AO(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&(kn(this,e),us(this))}setValue(e){if(Rf(this._$Ct))this._$Ct._$AI(e,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}});var Ng=p(()=>{Pg()});var Fg,RS,Nd,SI,Dg=p(()=>{"use strict";Ng();$();(function(r){r.sm="sm",r.md="md",r.lg="lg",r.xl="xl"})(Fg||(Fg={}));RS={sm:640,md:768,lg:1024,xl:1280},Nd=class extends fs{constructor(e){super(e),this.size=0,this.onResize=()=>{let t=window.innerWidth;this.size!==t&&(this.size=t,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,[t,i,n]){return this.lastArgs=[t,i,n],this.render(t,i,n)}render(e,t,i){let n=this.resolveThreshold(e),a=i??(()=>P);return this.size>n?t():a()}resolveThreshold(e){return typeof e=="number"?e:RS[e]}},SI=Jt(Nd)});var Bg=p(()=>{"use strict";Dg()});var Fd,Dd,Bd,Md,Ko,Tn,L=p(()=>{"use strict";ef();$();Y();er();ut();Nf();pn();Vl();la();Yl();fa();ha();oc();nc();fi();Ga();Ba();Ic();Sn();kc();gt();Pc();Fc();Dc();Mc();is();Ka();gd();qa();xd();Ed();cs();H();Ld();Td();_d();$d();ua();Td();_d();Vl();la();Yl();cs();fa();ha();oc();nc();fi();Ga();gd();Ba();Ic();Ed();Sn();Lg();kc();gt();Pc();Fc();Dc();Mc();is();Ld();Ka();qa();xd();$d();_g();Bg();ua();H();Ko=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Bd=(Dd=(Fd=window.safari)===null||Fd===void 0?void 0:Fd.pushNotification)===null||Dd===void 0?void 0:Dd.toString())!==null&&Bd!==void 0?Bd:"")==="[object SafariRemoteNotification]",Tn="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Md=window.ftGlobals)!==null&&Md!==void 0?Md:{lit:El,litDecorators:Il,litRepeat:Tl,litClassMap:_l,litStyleMap:$l,litUnsafeHTML:Pl,wcUtils:{...Wl,...Nl,...Zl,...wd,...Ql,...Xl,...rc,...Hl,...Oc,...kd,...Rg,...md,...tc,...Lc,...Od,...Rc,...Jh,...Ml,...$c,...ic,...Nc,..._i,...im,...Bc,...pd,...Rd,...Ec,...Ac,...vd,...Gl,isSafari:Ko,isTouchScreen:Tn,setVariable:y}}});var Mg,T,Ug,zg,Hg,Wg,Vg,Hr=p(()=>{"use strict";$();L();Mg=o.extend("--ft-ripple-color","",E.colorContent),T={color:Mg,backgroundColor:o.extend("--ft-ripple-background-color","",Mg),opacityContentOnSurfacePressed:o.external(E.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(E.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(E.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(E.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Ug=o.extend("--ft-ripple-color","",E.colorPrimary),zg={color:Ug,backgroundColor:o.extend("--ft-ripple-background-color","",Ug)},Hg=o.extend("--ft-ripple-color","",E.colorSecondary),Wg={color:Hg,backgroundColor:o.extend("--ft-ripple-background-color","",Hg)},Vg=R`
85
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ko.error:this.warningMessages.length?Ko.warning:Ko.default}processRules(i){return i.map(n=>n(this.value)).filter(n=>n!==!0).map(n=>n)}}return et([h()],e.prototype,"warningRules",void 0),et([h()],e.prototype,"errorRules",void 0),et([h()],e.prototype,"validateOn",void 0),et([h({type:Boolean})],e.prototype,"validateAtRender",void 0),et([h()],e.prototype,"label",void 0),et([h({type:Boolean})],e.prototype,"hideLabel",void 0),et([h()],e.prototype,"name",void 0),et([h({type:Boolean})],e.prototype,"disabled",void 0),et([h()],e.prototype,"helperText",void 0),et([h()],e.prototype,"forceStatus",void 0),et([h({reflect:!0})],e.prototype,"value",void 0),et([D()],e.prototype,"errorMessages",void 0),et([D()],e.prototype,"warningMessages",void 0),et([D()],e.prototype,"status",void 0),et([D()],e.prototype,"focused",void 0),et([D()],e.prototype,"additionalWarningRules",void 0),et([D()],e.prototype,"additionalErrorRules",void 0),e})});var Ng=p(()=>{"use strict"});var Fg=p(()=>{"use strict";Pg();Ng()});function LS(r){this._$AN!==void 0?(ms(this),this._$AM=r,Dg(this)):this._$AM=r}function IS(r,e=!1,t=0){let i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=t;a<i.length;a++)$n(i[a],!1),ms(i[a]);else i!=null&&($n(i,!1),ms(i));else $n(this,r)}var $n,ms,Dg,kS,gs,Bg=p(()=>{$l();_o();_o();$n=(r,e)=>{let t=r._$AN;if(t===void 0)return!1;for(let i of t)i._$AO?.(e,!1),$n(i,e);return!0},ms=r=>{let e,t;do{if((e=r._$AM)===void 0)break;t=e._$AN,t.delete(r),r=e}while(t?.size===0)},Dg=r=>{for(let e;e=r._$AM;r=e){let t=e._$AN;if(t===void 0)e._$AN=t=new Set;else if(t.has(r))break;t.add(r),kS(e)}};kS=r=>{r.type==dr.CHILD&&(r._$AP??=IS,r._$AQ??=LS)},gs=class extends Dt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,i){super._$AT(e,t,i),Dg(this),this.isConnected=e._$AU}_$AO(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&($n(this,e),ms(this))}setValue(e){if(kf(this._$Ct))this._$Ct._$AI(e,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}});var Mg=p(()=>{Bg()});var Ug,TS,Bd,AI,zg=p(()=>{"use strict";Mg();$();(function(r){r.sm="sm",r.md="md",r.lg="lg",r.xl="xl"})(Ug||(Ug={}));TS={sm:640,md:768,lg:1024,xl:1280},Bd=class extends gs{constructor(e){super(e),this.size=0,this.onResize=()=>{let t=window.innerWidth;this.size!==t&&(this.size=t,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,[t,i,n]){return this.lastArgs=[t,i,n],this.render(t,i,n)}render(e,t,i){let n=this.resolveThreshold(e),a=i??(()=>P);return this.size>n?t():a()}resolveThreshold(e){return typeof e=="number"?e:TS[e]}},AI=er(Bd)});var Hg=p(()=>{"use strict";zg()});var Md,Ud,zd,Hd,qo,Pn,L=p(()=>{"use strict";of();$();Y();tr();ut();Bf();fn();Kl();pa();Jl();ga();ya();ac();lc();hi();Za();za();_c();On();$c();gt();Dc();Mc();Uc();Hc();ss();Ya();vd();Qa();Od();Rd();us();H();Td();Pd();Nd();Fd();ma();Pd();Nd();Kl();pa();Jl();us();ga();ya();ac();lc();hi();Za();vd();za();_c();Rd();On();_g();$c();gt();Dc();Mc();Uc();Hc();ss();Td();Ya();Qa();Od();Fd();Fg();Hg();ma();H();qo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((zd=(Ud=(Md=window.safari)===null||Md===void 0?void 0:Md.pushNotification)===null||Ud===void 0?void 0:Ud.toString())!==null&&zd!==void 0?zd:"")==="[object SafariRemoteNotification]",Pn="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Hd=window.ftGlobals)!==null&&Hd!==void 0?Hd:{lit:Rl,litDecorators:_l,litRepeat:Pl,litClassMap:Nl,litStyleMap:Fl,litUnsafeHTML:Dl,wcUtils:{...Gl,...Bl,...Xl,...Ld,...ec,...tc,...nc,...jl,...Ac,...$d,...Tg,...bd,...ic,...Tc,...Ad,...kc,...rm,...Hl,...Fc,...sc,...Bc,...$i,...sm,...zc,...hd,...kd,...Rc,...Ic,...Cd,...Zl,isSafari:qo,isTouchScreen:Pn,setVariable:y}}});var Wg,T,Vg,jg,Gg,Kg,qg,Wr=p(()=>{"use strict";$();L();Wg=o.extend("--ft-ripple-color","",E.colorContent),T={color:Wg,backgroundColor:o.extend("--ft-ripple-background-color","",Wg),opacityContentOnSurfacePressed:o.external(E.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(E.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(E.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(E.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Vg=o.extend("--ft-ripple-color","",E.colorPrimary),jg={color:Vg,backgroundColor:o.extend("--ft-ripple-background-color","",Vg)},Gg=o.extend("--ft-ripple-color","",E.colorSecondary),Kg={color:Gg,backgroundColor:o.extend("--ft-ripple-background-color","",Gg)},qg=R`
86
86
  :host {
87
87
  display: contents;
88
88
  }
@@ -137,19 +137,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
137
137
  }
138
138
 
139
139
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
140
- background-color: ${Wg.backgroundColor};
140
+ background-color: ${Kg.backgroundColor};
141
141
  }
142
142
 
143
143
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
144
- background-color: ${Wg.color};
144
+ background-color: ${Kg.color};
145
145
  }
146
146
 
147
147
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
148
- background-color: ${zg.backgroundColor};
148
+ background-color: ${jg.backgroundColor};
149
149
  }
150
150
 
151
151
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
152
- background-color: ${zg.color};
152
+ background-color: ${jg.color};
153
153
  }
154
154
 
155
155
  .ft-ripple .ft-ripple--background {
@@ -194,7 +194,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
194
194
  opacity: ${T.opacityContentOnSurfacePressed};
195
195
  transform: translate(-50%, -50%) scale(1);
196
196
  }
197
- `});function Gg(r,e){let t=eo[r];return R`
197
+ `});function Yg(r,e){let t=to[r];return R`
198
198
  ${e?Et(e):R`.ft-typography--${Et(r)}`} {
199
199
  font-family: ${t.fontFamily};
200
200
  font-size: ${t.fontSize};
@@ -204,17 +204,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
204
204
  text-decoration: ${t.textDecoration};
205
205
  text-transform: ${t.textCase};
206
206
  }
207
- `}var Kg=p(()=>{"use strict";$();H()});var qg,Vr,j,Pi,Ni,Fi,Di,Wr,Ge,Ye,Bi,Mi,br,Zg,Yg,Qg,Xg,Jg,mo,vr,ey,ty,ry,oy,iy,zt=p(()=>{"use strict";$();L();H();Kg();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();qg=o.extend("--ft-typography-font-family","",E.titleFont),Vr=o.extend("--ft-typography-font-family","",E.contentFont),j={fontFamily:Vr,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Pi={fontFamily:o.extend("--ft-typography-title-font-family","",qg),fontSize:o.extend("--ft-typography-title-font-size","",j.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",j.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",j.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",j.textTransform,"inherit")},Ni={fontFamily:o.extend("--ft-typography-title-dense-font-family","",qg),fontSize:o.extend("--ft-typography-title-dense-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",j.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",j.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",j.textTransform,"inherit")},Fi={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Vr),fontSize:o.extend("--ft-typography-subtitle1-font-size","",j.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",j.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",j.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",j.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",j.textTransform,"inherit")},Di={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Vr),fontSize:o.extend("--ft-typography-subtitle2-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",j.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",j.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",j.textTransform,"inherit")},Wr={fontFamily:o.extend("--ft-typography-body1-font-family","",Vr),fontSize:o.extend("--ft-typography-body1-font-size","",j.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",j.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",j.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",j.textTransform,"inherit")},Ge={fontFamily:o.extend("--ft-typography-body2-font-family","",Vr),fontSize:o.extend("--ft-typography-body2-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",j.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",j.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",j.textTransform,"inherit")},Ye={fontFamily:o.extend("--ft-typography-caption-font-family","",Vr),fontSize:o.extend("--ft-typography-caption-font-size","",j.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",j.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",j.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",j.textTransform,"inherit")},Bi={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Vr),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",j.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",j.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",j.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",j.textTransform,"inherit")},Mi={fontFamily:o.extend("--ft-typography-overline-font-family","",Vr),fontSize:o.extend("--ft-typography-overline-font-size","",j.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",j.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",j.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",j.textTransform,"uppercase")},br={fontFamily:o.extend("--ft-typography-button-font-family","",Vr),fontSize:o.extend("--ft-typography-button-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",j.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",j.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",j.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",j.textTransform,"uppercase")},Zg=R`
207
+ `}var Qg=p(()=>{"use strict";$();H()});var Xg,jr,j,Ni,Fi,Di,Bi,Vr,Ge,Ye,Mi,Ui,br,Jg,ey,ty,ry,oy,go,vr,iy,ny,ay,sy,ly,Ht=p(()=>{"use strict";$();L();H();Qg();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();Xg=o.extend("--ft-typography-font-family","",E.titleFont),jr=o.extend("--ft-typography-font-family","",E.contentFont),j={fontFamily:jr,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ni={fontFamily:o.extend("--ft-typography-title-font-family","",Xg),fontSize:o.extend("--ft-typography-title-font-size","",j.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",j.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",j.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",j.textTransform,"inherit")},Fi={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Xg),fontSize:o.extend("--ft-typography-title-dense-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",j.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",j.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",j.textTransform,"inherit")},Di={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",jr),fontSize:o.extend("--ft-typography-subtitle1-font-size","",j.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",j.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",j.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",j.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",j.textTransform,"inherit")},Bi={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",jr),fontSize:o.extend("--ft-typography-subtitle2-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",j.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",j.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",j.textTransform,"inherit")},Vr={fontFamily:o.extend("--ft-typography-body1-font-family","",jr),fontSize:o.extend("--ft-typography-body1-font-size","",j.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",j.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",j.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",j.textTransform,"inherit")},Ge={fontFamily:o.extend("--ft-typography-body2-font-family","",jr),fontSize:o.extend("--ft-typography-body2-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",j.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",j.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",j.textTransform,"inherit")},Ye={fontFamily:o.extend("--ft-typography-caption-font-family","",jr),fontSize:o.extend("--ft-typography-caption-font-size","",j.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",j.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",j.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",j.textTransform,"inherit")},Mi={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",jr),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",j.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",j.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",j.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",j.textTransform,"inherit")},Ui={fontFamily:o.extend("--ft-typography-overline-font-family","",jr),fontSize:o.extend("--ft-typography-overline-font-size","",j.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",j.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",j.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",j.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",j.textTransform,"uppercase")},br={fontFamily:o.extend("--ft-typography-button-font-family","",jr),fontSize:o.extend("--ft-typography-button-font-size","",j.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",j.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",j.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",j.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",j.textTransform,"uppercase")},Jg=R`
208
208
  .ft-typography--title {
209
- font-family: ${Pi.fontFamily};
210
- font-size: ${Pi.fontSize};
211
- font-weight: ${Pi.fontWeight};
212
- letter-spacing: ${Pi.letterSpacing};
213
- line-height: ${Pi.lineHeight};
214
- text-transform: ${Pi.textTransform};
215
- }
216
- `,Yg=R`
217
- .ft-typography--title-dense {
218
209
  font-family: ${Ni.fontFamily};
219
210
  font-size: ${Ni.fontSize};
220
211
  font-weight: ${Ni.fontWeight};
@@ -222,8 +213,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
222
213
  line-height: ${Ni.lineHeight};
223
214
  text-transform: ${Ni.textTransform};
224
215
  }
225
- `,Qg=R`
226
- .ft-typography--subtitle1 {
216
+ `,ey=R`
217
+ .ft-typography--title-dense {
227
218
  font-family: ${Fi.fontFamily};
228
219
  font-size: ${Fi.fontSize};
229
220
  font-weight: ${Fi.fontWeight};
@@ -231,8 +222,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
231
222
  line-height: ${Fi.lineHeight};
232
223
  text-transform: ${Fi.textTransform};
233
224
  }
234
- `,Xg=R`
235
- .ft-typography--subtitle2 {
225
+ `,ty=R`
226
+ .ft-typography--subtitle1 {
236
227
  font-family: ${Di.fontFamily};
237
228
  font-size: ${Di.fontSize};
238
229
  font-weight: ${Di.fontWeight};
@@ -240,17 +231,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
240
231
  line-height: ${Di.lineHeight};
241
232
  text-transform: ${Di.textTransform};
242
233
  }
234
+ `,ry=R`
235
+ .ft-typography--subtitle2 {
236
+ font-family: ${Bi.fontFamily};
237
+ font-size: ${Bi.fontSize};
238
+ font-weight: ${Bi.fontWeight};
239
+ letter-spacing: ${Bi.letterSpacing};
240
+ line-height: ${Bi.lineHeight};
241
+ text-transform: ${Bi.textTransform};
242
+ }
243
243
 
244
- `,Jg=R`
244
+ `,oy=R`
245
245
  .ft-typography--body1 {
246
- font-family: ${Wr.fontFamily};
247
- font-size: ${Wr.fontSize};
248
- font-weight: ${Wr.fontWeight};
249
- letter-spacing: ${Wr.letterSpacing};
250
- line-height: ${Wr.lineHeight};
251
- text-transform: ${Wr.textTransform};
252
- }
253
- `,mo=R`
246
+ font-family: ${Vr.fontFamily};
247
+ font-size: ${Vr.fontSize};
248
+ font-weight: ${Vr.fontWeight};
249
+ letter-spacing: ${Vr.letterSpacing};
250
+ line-height: ${Vr.lineHeight};
251
+ text-transform: ${Vr.textTransform};
252
+ }
253
+ `,go=R`
254
254
  .ft-typography--body2 {
255
255
  font-family: ${Ge.fontFamily};
256
256
  font-size: ${Ge.fontSize};
@@ -268,17 +268,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
268
268
  line-height: ${Ye.lineHeight};
269
269
  text-transform: ${Ye.textTransform};
270
270
  }
271
- `,ey=R`
271
+ `,iy=R`
272
272
  .ft-typography--breadcrumb {
273
- font-family: ${Bi.fontFamily};
274
- font-size: ${Bi.fontSize};
275
- font-weight: ${Bi.fontWeight};
276
- letter-spacing: ${Bi.letterSpacing};
277
- line-height: ${Bi.lineHeight};
278
- text-transform: ${Bi.textTransform};
279
- }
280
- `,ty=R`
281
- .ft-typography--overline {
282
273
  font-family: ${Mi.fontFamily};
283
274
  font-size: ${Mi.fontSize};
284
275
  font-weight: ${Mi.fontWeight};
@@ -286,7 +277,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
286
277
  line-height: ${Mi.lineHeight};
287
278
  text-transform: ${Mi.textTransform};
288
279
  }
289
- `,ry=R`
280
+ `,ny=R`
281
+ .ft-typography--overline {
282
+ font-family: ${Ui.fontFamily};
283
+ font-size: ${Ui.fontSize};
284
+ font-weight: ${Ui.fontWeight};
285
+ letter-spacing: ${Ui.letterSpacing};
286
+ line-height: ${Ui.lineHeight};
287
+ text-transform: ${Ui.textTransform};
288
+ }
289
+ `,ay=R`
290
290
  .ft-typography--button {
291
291
  font-family: ${br.fontFamily};
292
292
  font-size: ${br.fontSize};
@@ -295,11 +295,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
295
295
  line-height: ${br.lineHeight};
296
296
  text-transform: ${br.textTransform};
297
297
  }
298
- `,oy=R`
298
+ `,sy=R`
299
299
  .ft-typography {
300
300
  vertical-align: inherit;
301
301
  }
302
- `,iy=[Object.keys(eo).map(r=>Gg(r))]});var _e,ny,_n=p(()=>{"use strict";$();L();_e={color:o.extend("--ft-loader-color","",E.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},ny=R`
302
+ `,ly=[Object.keys(to).map(r=>Yg(r))]});var _e,cy,Nn=p(()=>{"use strict";$();L();_e={color:o.extend("--ft-loader-color","",E.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},cy=R`
303
303
  :host {
304
304
  line-height: 0;
305
305
  }
@@ -368,7 +368,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
368
368
  transform: translate(calc(0.35 * ${_e.size}), 0);
369
369
  }
370
370
  }
371
- `});var De,ay,qo=p(()=>{"use strict";$();L();De={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ay=[R`
371
+ `});var De,dy,Zo=p(()=>{"use strict";$();L();De={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},dy=[R`
372
372
  :host, i.ft-icon {
373
373
  display: inline-flex;
374
374
  align-items: center;
@@ -416,7 +416,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
416
416
  .ft-icon--material {
417
417
  font-family: ${De.materialFontFamily}, "Material Icons", sans-serif;
418
418
  }
419
- `,Br]});var sy,te,ly,Ud,xr,cy,Zo=p(()=>{"use strict";$();L();Hr();zt();_n();qo();sy=o.extend("--ft-button-color","",E.colorPrimary),te={backgroundColor:o.extend("--ft-button-background-color","",E.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",E.borderRadiusL),color:sy,fontSize:o.extend("--ft-button-font-size","",br.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",sy),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},ly=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",E.colorOnPrimary)),Ud={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",E.colorPrimary)),color:ly,rippleColor:o.extend("--ft-button-primary-ripple-color","",ly)},xr={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",E.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},cy=[R`
419
+ `,Mr]});var py,te,uy,Wd,xr,fy,Yo=p(()=>{"use strict";$();L();Wr();Ht();Nn();Zo();py=o.extend("--ft-button-color","",E.colorPrimary),te={backgroundColor:o.extend("--ft-button-background-color","",E.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",E.borderRadiusL),color:py,fontSize:o.extend("--ft-button-font-size","",br.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",py),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},uy=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",E.colorOnPrimary)),Wd={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",E.colorPrimary)),color:uy,rippleColor:o.extend("--ft-button-primary-ripple-color","",uy)},xr={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",E.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},fy=[R`
420
420
  :host {
421
421
  display: inline-block;
422
422
  max-width: 100%;
@@ -502,9 +502,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
502
502
  }
503
503
 
504
504
  .ft-button.ft-button--primary {
505
- background-color: ${Ud.backgroundColor};
506
- --button-internal-color: ${Ud.color};
507
- ${y(T.color,Ud.rippleColor)};
505
+ background-color: ${Wd.backgroundColor};
506
+ --button-internal-color: ${Wd.color};
507
+ ${y(T.color,Wd.rippleColor)};
508
508
  }
509
509
 
510
510
  .ft-button:focus {
@@ -553,7 +553,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
553
553
  ${y(_e.size,te.iconSize)};
554
554
  ${y(_e.color,"var(--button-internal-color)")};
555
555
  }
556
- `,Br]});var vt,re,zd=p(()=>{"use strict";$();Y();ut();L();Hr();vt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},re=class extends V{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 de(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 de(10),this.moveRipple=e=>{var t,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return S`
556
+ `,Mr]});var vt,re,Vd=p(()=>{"use strict";$();Y();ut();L();Wr();vt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},re=class extends V{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 de(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 de(10),this.moveRipple=e=>{var t,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return S`
557
557
  <style>
558
558
  .ft-ripple .ft-ripple--effect {
559
559
  left: ${this.originX}px;
@@ -564,15 +564,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
564
564
  <div class="ft-ripple--background"></div>
565
565
  <div class="ft-ripple--effect"></div>
566
566
  </div>
567
- `}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 t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t:i)}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 t=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};re.elementDefinitions={};re.styles=Vg;vt([h({type:Boolean})],re.prototype,"primary",void 0);vt([h({type:Boolean})],re.prototype,"secondary",void 0);vt([h({type:Boolean})],re.prototype,"unbounded",void 0);vt([h({type:Boolean})],re.prototype,"activated",void 0);vt([h({type:Boolean})],re.prototype,"selected",void 0);vt([h({type:Boolean})],re.prototype,"disabled",void 0);vt([D()],re.prototype,"hovered",void 0);vt([D()],re.prototype,"focused",void 0);vt([D()],re.prototype,"pressed",void 0);vt([D()],re.prototype,"rippling",void 0);vt([D()],re.prototype,"originX",void 0);vt([D()],re.prototype,"originY",void 0);vt([W(".ft-ripple")],re.prototype,"ripple",void 0);vt([W(".ft-ripple--effect")],re.prototype,"rippleEffect",void 0)});var dy=p(()=>{"use strict"});var ft=p(()=>{"use strict";L();zd();zd();Hr();dy();M("ft-ripple")(re)});var uy,LS,Ui,py,Hd,zi,ST,CT,fy=p(()=>{Qt();uy=Symbol.for(""),LS=r=>{if(r?.r===uy)return r?._$litStatic$},Ui=r=>({_$litStatic$:r,r:uy}),py=new Map,Hd=r=>(e,...t)=>{let i=t.length,n,a,s=[],l=[],d,f=0,g=!1;for(;f<i;){for(d=e[f];f<i&&(a=t[f],(n=LS(a))!==void 0);)d+=n+e[++f],g=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),g){let m=s.join("$$lit$$");(e=py.get(m))===void 0&&(s.raw=s,py.set(m,e=s)),t=l}return r(e,...t)},zi=Hd(S),ST=Hd(vl),CT=Hd(xl)});var Wd=p(()=>{fy()});var $e,hs=p(()=>{"use strict";(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})($e||($e={}))});var hy,ie,Vd=p(()=>{"use strict";Wd();Y();L();hs();zt();hy=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ie=class extends V{constructor(){super(...arguments),this.variant=$e.body1}render(){return this.element?zi`
568
- <${Ui(this.element)}
567
+ `}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 t,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,t;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((t=this.target)!==null&&t!==void 0?t:i)}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 t=(...l)=>d=>{l.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},i=t("mouseup","contextmenu"),n=t("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&t("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,i=e,n,a;return t.x!=null?{x:n,y:a}=t:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};re.elementDefinitions={};re.styles=qg;vt([h({type:Boolean})],re.prototype,"primary",void 0);vt([h({type:Boolean})],re.prototype,"secondary",void 0);vt([h({type:Boolean})],re.prototype,"unbounded",void 0);vt([h({type:Boolean})],re.prototype,"activated",void 0);vt([h({type:Boolean})],re.prototype,"selected",void 0);vt([h({type:Boolean})],re.prototype,"disabled",void 0);vt([D()],re.prototype,"hovered",void 0);vt([D()],re.prototype,"focused",void 0);vt([D()],re.prototype,"pressed",void 0);vt([D()],re.prototype,"rippling",void 0);vt([D()],re.prototype,"originX",void 0);vt([D()],re.prototype,"originY",void 0);vt([W(".ft-ripple")],re.prototype,"ripple",void 0);vt([W(".ft-ripple--effect")],re.prototype,"rippleEffect",void 0)});var hy=p(()=>{"use strict"});var ft=p(()=>{"use strict";L();Vd();Vd();Wr();hy();M("ft-ripple")(re)});var gy,_S,zi,my,jd,Hi,AT,RT,yy=p(()=>{Xt();gy=Symbol.for(""),_S=r=>{if(r?.r===gy)return r?._$litStatic$},zi=r=>({_$litStatic$:r,r:gy}),my=new Map,jd=r=>(e,...t)=>{let i=t.length,n,a,s=[],l=[],d,f=0,g=!1;for(;f<i;){for(d=e[f];f<i&&(a=t[f],(n=_S(a))!==void 0);)d+=n+e[++f],g=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),g){let m=s.join("$$lit$$");(e=my.get(m))===void 0&&(s.raw=s,my.set(m,e=s)),t=l}return r(e,...t)},Hi=jd(S),AT=jd(Cl),RT=jd(Ol)});var Gd=p(()=>{yy()});var $e,ys=p(()=>{"use strict";(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})($e||($e={}))});var by,ie,Kd=p(()=>{"use strict";Gd();Y();L();ys();Ht();by=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ie=class extends V{constructor(){super(...arguments),this.variant=$e.body1}render(){return this.element?Hi`
568
+ <${zi(this.element)}
569
569
  part="text"
570
570
  class="ft-typography ft-typography--${this.variant}">
571
571
  <slot></slot>
572
- </${Ui(this.element)}>
573
- `:zi`
572
+ </${zi(this.element)}>
573
+ `:Hi`
574
574
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
575
- `}};ie.styles=[Zg,Yg,Qg,Xg,Jg,mo,vr,ey,ty,ry,oy,...iy];hy([h()],ie.prototype,"element",void 0);hy([h()],ie.prototype,"variant",void 0)});var It,jd=p(()=>{"use strict";(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(It||(It={}))});function IS(r,e){let t=eo[r];return R`
575
+ `}};ie.styles=[Jg,ey,ty,ry,oy,go,vr,iy,ny,ay,sy,...ly];by([h()],ie.prototype,"element",void 0);by([h()],ie.prototype,"variant",void 0)});var kt,qd=p(()=>{"use strict";(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(kt||(kt={}))});function $S(r,e){let t=to[r];return R`
576
576
  ${e?Et(e):R`.ftds-typography--${Et(r)}`} {
577
577
  font-family: ${t.fontFamily};
578
578
  font-size: ${t.fontSize};
@@ -582,15 +582,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
582
582
  text-decoration: ${t.textDecoration};
583
583
  text-transform: ${t.textCase};
584
584
  }
585
- `}var my,Gd=p(()=>{"use strict";H();$();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();my=[Object.keys(eo).map(r=>IS(r))]});var gy,nr,Kd=p(()=>{"use strict";Wd();Y();L();jd();Gd();gy=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},nr=class extends V{constructor(){super(...arguments),this.variant=It.body2medium}render(){return this.element?zi`
586
- <${Ui(this.element)}
585
+ `}var vy,Zd=p(()=>{"use strict";H();$();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();H();vy=[Object.keys(to).map(r=>$S(r))]});var xy,nr,Yd=p(()=>{"use strict";Gd();Y();L();qd();Zd();xy=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},nr=class extends V{constructor(){super(...arguments),this.variant=kt.body2medium}render(){return this.element?Hi`
586
+ <${zi(this.element)}
587
587
  part="text"
588
588
  class="ftds-typography ftds-typography--${this.variant}">
589
589
  <slot></slot>
590
- </${Ui(this.element)}>
591
- `:zi`
590
+ </${zi(this.element)}>
591
+ `:Hi`
592
592
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
593
- `}};nr.styles=[...my];gy([h()],nr.prototype,"element",void 0);gy([h()],nr.prototype,"variant",void 0)});var Be=p(()=>{"use strict";L();Vd();Kd();Vd();zt();hs();Kd();Gd();jd();M("ft-typography")(ie);M("ftds-typography")(nr)});var Sr,yy,ms=p(()=>{"use strict";$();L();Sr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.extend("--ft-tooltip-border-radius","",E.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},yy=R`
593
+ `}};nr.styles=[...vy];xy([h()],nr.prototype,"element",void 0);xy([h()],nr.prototype,"variant",void 0)});var Be=p(()=>{"use strict";L();Kd();Yd();Kd();Ht();ys();Yd();Zd();qd();M("ft-typography")(ie);M("ftds-typography")(nr)});var Sr,Sy,bs=p(()=>{"use strict";$();L();Sr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.extend("--ft-tooltip-border-radius","",E.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Sy=R`
594
594
  .ft-tooltip--container {
595
595
  display: block;
596
596
  }
@@ -619,15 +619,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
619
619
  position: relative;
620
620
  word-break: break-word;
621
621
  }
622
- `});var by,qd=p(()=>{"use strict";$();by=R`
623
- `});var kS,Yo,TS,U,st=p(()=>{"use strict";L();kS="ft-app-info",Yo=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:e})}};Yo.eventName="authentication-change";TS={session:(r,e)=>{Ze(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>U.dispatchEvent(new Yo(e.payload)),0))}},U=zr.get({name:kS,reducers:TS,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Qo,Zd=p(()=>{"use strict";st();Qo=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=U.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=U.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}}});var gs,vy=p(()=>{"use strict";Zd();gs=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Qo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Qo.await()}}});var lt,go=p(()=>{"use strict";L();vy();lt=class extends gs{constructor(e=!0,t){var i;super(t),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new ur,this.cache=e?n.commonCache:new ur}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((t,i)=>0|31*t+i.charCodeAt(0),0))}}});var ys,Yd=p(()=>{"use strict";st();go();ys=class extends lt{async listMyBookmarks(){let e=U.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Qd,xy=p(()=>{"use strict";st();Qd=class{addCommand(e,t=!1){U.commands.add(e,t)}consumeCommand(e){return U.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Qd});var Sy,Hi,_S,bs,Wi,vs,Cy=p(()=>{"use strict";st();L();go();Hi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},_S=Symbol("clearAfterUnitTest"),bs=class extends da(lt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sy]=()=>{this.defaultMessages={},this.cache=new ur,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=U.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),t&&Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};Ze(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new oo((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){let t=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),t&&await this.notify(e)}catch(n){!(n instanceof pr)&&t&&console.error(n)}return i}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Hi({loadedContexts:e})),this.dispatchEvent(new Hi({loadedContexts:e})),await Promise.all(e.map(t=>this.notify(t,!1)))}async notify(e,t=!0){t&&(document.body.dispatchEvent(new Hi({loadedContexts:[e]})),this.dispatchEvent(new Hi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>ca(0).then(()=>i()).catch(()=>null)))}};Sy=_S;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends bs{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends bs{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});Wi=window.FluidTopicsI18nService,vs=window.FluidTopicsCustomI18nService});var Xd,Oy=p(()=>{"use strict";L();Xd=class{highlightHtml(e,t,i){_c(e,t,i)}};window.FluidTopicsHighlightHtmlService=new Xd});var xs,Jd=p(()=>{"use strict";st();fo();go();xs=class extends lt{async listMySearches(){let{session:e}=U.getState();return Cg(e,je.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var ep,Ey=p(()=>{"use strict";L();st();ep=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=U.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return Vo.format(e,(i=t?.locale)!==null&&i!==void 0?i:U.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ep});var jr,tp=p(()=>{"use strict";L();st();jr=class{static get(e,t){var i,n;let a=U.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new ho(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,t??`${s}-${l}`)}}});var Ss,wy=p(()=>{"use strict";go();Ss=class extends lt{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")}sortEventArrays(e){let t=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(t)}sendEvents(e,t){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(t),console.debug(n),i)),1e3)}}});var rp,Ay=p(()=>{"use strict";tp();rp=class{urlToSearchRequest(e){return jr.get().parse(e)}searchRequestToUrl(e){return jr.get().serialize(e)}};window.FluidTopicsUrlService=new rp});var Xo,Ry=p(()=>{"use strict";Xo=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:{currentItem:e}})}};Xo.eventName="change"});var op,Ly,Iy=p(()=>{"use strict";op=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let t=sessionStorage.getItem(this.itemName(e));return t?JSON.parse(t):void 0}set(e,t){sessionStorage.setItem(this.itemName(e),JSON.stringify(t))}},Ly=new op});var Cs,ky=p(()=>{"use strict";L();Ry();Iy();Cs=class r extends $r{static build(){return new r(window.history,Ly,()=>window.location,!1)}constructor(e,t,i,n){var a,s;super(),this.history=e,this.historyStorage=t,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,t=!1){let i=t&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ze(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Xo(this.currentItem())),0)}installProxies(){let e=t=>(i,n,[a,s,l])=>{let d=t(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[f,s,l]),this.setCurrentState(f,!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 t=this.history.length-1;t>=0;t--)e?this.states[t]=this.historyStorage.get(t):setTimeout(()=>this.states[t]=this.historyStorage.get(t),this.history.length-t)}updateCurrentState(e){var t;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(t=e?.title)!==null&&t!==void 0?t:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(Xo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Xo.eventName,e)}currentItem(){return fn(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 fn(this.states[this.previousDifferentMajorPosition()])}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 fn(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 t;let i=(t=this.states[e])===null||t===void 0?void 0:t.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,t;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(t=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,t){var i;if(!this.hasState(e))return!1;let n=t??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}}});var Ty=p(()=>{"use strict";ky();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Cs.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)})});var _y=p(()=>{"use strict";st()});var ip=p(()=>{"use strict";Yd();Zd();xy();Cy();go();Oy();Jd();Ey();tp();wy();Ay();Ty();_y()});function Py(r,e){var t;return $y.getState().authenticationRequired&&!(!((t=$y.getState().session)===null||t===void 0)&&t.sessionAuthenticated)?Promise.resolve(e):r()}var $y,Ny=p(()=>{"use strict";st();$y=U});var Ke,Le,np=p(()=>{"use strict";$();Y();L();qd();st();ip();Ny();Ke=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Le=class extends V{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Qo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ur,this.cleanSessionDebouncer=new de,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return S`
622
+ `});var Cy,Qd=p(()=>{"use strict";$();Cy=R`
623
+ `});var PS,Qo,NS,U,st=p(()=>{"use strict";L();PS="ft-app-info",Qo=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:e})}};Qo.eventName="authentication-change";NS={session:(r,e)=>{Ze(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>U.dispatchEvent(new Qo(e.payload)),0))}},U=Hr.get({name:PS,reducers:NS,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Xo,Xd=p(()=>{"use strict";st();Xo=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:i}=U.getState(),n=e??i;if(t&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,n,!0)}static await(e){return new Promise(t=>{let i=r.get(e);if(i)t(i);else{let n=U.subscribe(()=>{i=r.get(e),i&&(n(),t(i))})}})}}});var vs,Oy=p(()=>{"use strict";Xd();vs=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Xo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Xo.await()}}});var lt,yo=p(()=>{"use strict";L();Oy();lt=class extends vs{constructor(e=!0,t){var i;super(t),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new ur,this.cache=e?n.commonCache:new ur}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((t,i)=>0|31*t+i.charCodeAt(0),0))}}});var xs,Jd=p(()=>{"use strict";st();yo();xs=class extends lt{async listMyBookmarks(){let e=U.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var ep,Ey=p(()=>{"use strict";st();ep=class{addCommand(e,t=!1){U.commands.add(e,t)}consumeCommand(e){return U.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ep});var wy,Wi,FS,Ss,Vi,Cs,Ay=p(()=>{"use strict";st();L();yo();Wi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},FS=Symbol("clearAfterUnitTest"),Ss=class extends fa(lt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wy]=()=>{this.defaultMessages={},this.cache=new ur,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=U.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var i;if(e=e.toLowerCase(),t&&Object.keys(t).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...t};Ze(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var t,i;return this.fetchContext(e),(i=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,t){let i=e.toLowerCase();return this.resolveContext(i)[t]}resolveMessage(e,t,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new io((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(t,...i)}async fetchContext(e){let t=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),t&&await this.notify(e)}catch(n){!(n instanceof pr)&&t&&console.error(n)}return i}subscribe(e,t){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(t),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(t)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Wi({loadedContexts:e})),this.dispatchEvent(new Wi({loadedContexts:e})),await Promise.all(e.map(t=>this.notify(t,!1)))}async notify(e,t=!0){t&&(document.body.dispatchEvent(new Wi({loadedContexts:[e]})),this.dispatchEvent(new Wi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>ua(0).then(()=>i()).catch(()=>null)))}};wy=FS;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ss{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ss{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});Vi=window.FluidTopicsI18nService,Cs=window.FluidTopicsCustomI18nService});var tp,Ry=p(()=>{"use strict";L();tp=class{highlightHtml(e,t,i){Nc(e,t,i)}};window.FluidTopicsHighlightHtmlService=new tp});var Os,rp=p(()=>{"use strict";st();ho();yo();Os=class extends lt{async listMySearches(){let{session:e}=U.getState();return Ag(e,je.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var op,Ly=p(()=>{"use strict";L();st();op=class{isDate(e){var t,i,n,a;return(a=(n=((i=(t=U.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,t){var i,n,a;return jo.format(e,(i=t?.locale)!==null&&i!==void 0?i:U.getState().uiLocale,(n=t?.longFormat)!==null&&n!==void 0?n:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new op});var Gr,ip=p(()=>{"use strict";L();st();Gr=class{static get(e,t){var i,n;let a=U.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new mo(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,t??`${s}-${l}`)}}});var Es,Iy=p(()=>{"use strict";yo();Es=class extends lt{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")}sortEventArrays(e){let t=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(t)}sendEvents(e,t){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(t),console.debug(n),i)),1e3)}}});var np,ky=p(()=>{"use strict";ip();np=class{urlToSearchRequest(e){return Gr.get().parse(e)}searchRequestToUrl(e){return Gr.get().serialize(e)}};window.FluidTopicsUrlService=new np});var Jo,Ty=p(()=>{"use strict";Jo=class r extends CustomEvent{constructor(e){super(r.eventName,{detail:{currentItem:e}})}};Jo.eventName="change"});var ap,_y,$y=p(()=>{"use strict";ap=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let t=sessionStorage.getItem(this.itemName(e));return t?JSON.parse(t):void 0}set(e,t){sessionStorage.setItem(this.itemName(e),JSON.stringify(t))}},_y=new ap});var ws,Py=p(()=>{"use strict";L();Ty();$y();ws=class r extends Pr{static build(){return new r(window.history,_y,()=>window.location,!1)}constructor(e,t,i,n){var a,s;super(),this.history=e,this.historyStorage=t,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,t=!1){let i=t&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ze(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Jo(this.currentItem())),0)}installProxies(){let e=t=>(i,n,[a,s,l])=>{let d=t(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[f,s,l]),this.setCurrentState(f,!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 t=this.history.length-1;t>=0;t--)e?this.states[t]=this.historyStorage.get(t):setTimeout(()=>this.states[t]=this.historyStorage.get(t),this.history.length-t)}updateCurrentState(e){var t;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(t=e?.title)!==null&&t!==void 0?t:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(Jo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Jo.eventName,e)}currentItem(){return mn(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 mn(this.states[this.previousDifferentMajorPosition()])}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 mn(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 t;let i=(t=this.states[e])===null||t===void 0?void 0:t.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,t;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(t=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,t){var i;if(!this.hasState(e))return!1;let n=t??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}}});var Ny=p(()=>{"use strict";Py();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ws.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)})});var Fy=p(()=>{"use strict";st()});var sp=p(()=>{"use strict";Jd();Xd();Ey();Ay();yo();Ry();rp();Ly();ip();Iy();ky();Ny();Fy()});function By(r,e){var t;return Dy.getState().authenticationRequired&&!(!((t=Dy.getState().session)===null||t===void 0)&&t.sessionAuthenticated)?Promise.resolve(e):r()}var Dy,My=p(()=>{"use strict";st();Dy=U});var Ke,Le,lp=p(()=>{"use strict";$();Y();L();Qd();st();sp();My();Ke=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Le=class extends V{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Xo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ur,this.cleanSessionDebouncer=new de,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return S`
624
624
  <slot></slot>
625
- `}connectedCallback(){super.connectedCallback(),U.addEventListener(Yo.eventName,this.reloadConfiguration)}disconnectedCallback(){U.addEventListener(Yo.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var t,i,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&U.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&U.actions.noCustom(this.noCustom),e.has("editorMode")&&U.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&U.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>Wi.addContext(f)),e.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(U.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),U.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),U.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&U.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&U.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Py(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Le.elementDefinitions={};Le.styles=by;Ke([h()],Le.prototype,"baseUrl",void 0);Ke([h()],Le.prototype,"apiIntegrationIdentifier",void 0);Ke([h()],Le.prototype,"apiIntegrationAppVersion",void 0);Ke([h()],Le.prototype,"uiLocale",void 0);Ke([ye(null)],Le.prototype,"availableUiLocales",void 0);Ke([ye(null)],Le.prototype,"metadataConfiguration",void 0);Ke([h({type:Boolean})],Le.prototype,"editorMode",void 0);Ke([h({type:Boolean})],Le.prototype,"noCustom",void 0);Ke([h({type:Boolean})],Le.prototype,"openExternalDocumentInNewTab",void 0);Ke([h({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],Le.prototype,"noCustomComponent",void 0);Ke([h({type:Boolean})],Le.prototype,"withManualResources",void 0);Ke([h({type:Boolean})],Le.prototype,"navigatorOnline",void 0);Ke([h({type:Boolean})],Le.prototype,"forcedOffline",void 0);Ke([h({type:Object})],Le.prototype,"apiProvider",void 0);Ke([h({type:Boolean})],Le.prototype,"authenticationRequired",void 0);Ke([ye([])],Le.prototype,"messageContexts",void 0);Ke([ye(void 0)],Le.prototype,"session",void 0);Ke([D()],Le.prototype,"localesConfiguration",void 0);Ke([D()],Le.prototype,"availableContentLocales",void 0)});var Os,Z$,Fy=p(()=>{"use strict";Y();is();cs();st();L();Os=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Z$=Fe(Symbol("withDateFormat"),function(r){class e extends r{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(U)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>Vo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Os([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Os([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Os([Ce({store:U.name,selector:t=>{var i,n;return(n=(i=t.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),Os([Ce({store:U.name})],e.prototype,"uiLocale",void 0),e})});var Es,Dy=p(()=>{"use strict";st();go();Es=class extends lt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=U.getState().session;return!!e?.sessionAuthenticated}}});var ws,By=p(()=>{"use strict";go();st();ws=class extends lt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=U.getState().session;return!!e?.sessionAuthenticated}}});var $S,PS,zy,ap,sp,My,Uy,kt,lp,cp,As=p(()=>{"use strict";fo();L();Jd();Yd();st();Dy();By();$S="ft-user-assets",PS={setAssetCount:(r,e)=>{let{userAssetType:t,count:i}=e.payload.assetCount;r.assetCounts.allAsset[t]=i},clearAssetCount:r=>{Object.values(Ut).forEach(e=>{r.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(r,e)=>{let t=e.payload.mapId;r.assetCounts.bookmarkByMap[t]=e.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,e)=>{let{assetType:t,mapId:i,asset:n}=e.payload;sp(r,t,[...ap(r,t),n]),My(r,t,1,i),Uy(r,n)},editAsset:(r,e)=>{let{assetType:t,asset:i}=e.payload;sp(r,t,ap(r,t).map(n=>n.id===i.id?i:n)),Uy(r,i)},removeAsset:(r,e)=>{let{assetType:t,mapId:i,assetId:n}=e.payload;sp(r,t,ap(r,t).filter(a=>a.id!==n)),My(r,t,-1,i)}},zy={[Ut.SEARCHES]:"savedSearches",[Ut.BOOKMARKS]:"bookmarks",[Ut.BOOKS]:void 0,[Ut.COLLECTIONS]:void 0},ap=(r,e)=>{var t;let i=zy[e];return i?(t=r[i])!==null&&t!==void 0?t:[]:[]},sp=(r,e,t)=>{let i=zy[e];i&&(r[i]=t)},My=(r,e,t,i)=>{let n=r.assetCounts.allAsset[e];if(n!==void 0&&(r.assetCounts.allAsset[e]=Math.max(0,n+t),e===Ut.BOOKMARKS&&i)){let a=r.assetCounts.bookmarkByMap[i];r.assetCounts.bookmarkByMap[i]=Math.max(0,a+t)}},Uy=(r,e)=>{let t=r.assetLabels.map(n=>n.title),i=e.labels.filter(n=>!t.includes(n)).map(n=>({title:n}));r.assetLabels.push(...i)},kt=zr.get({name:$S,reducers:PS,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ut).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),lp=class{constructor(e=new Es,t=new ws){this.assetCountsService=e,this.assetLabelsService=t,this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ys,this.savedSearchesService=new xs,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=U.getState();Ze((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),kt.actions.clearAssetCount(),kt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),kt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),kt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();kt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();kt.actions.assetLabels(e)}async loadAssetCount(e){let t=await this.assetCountsService.getUserAssetCount(e);t&&kt.actions.setAssetCount({assetCount:t})}async loadBookmarkByMapId(e){let t=await this.assetCountsService.getUserBookmarkCountByMap(e);t&&kt.actions.setBookmarkCountByMap({count:t.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let t=Object.keys(kt.getState().assetCounts.bookmarkByMap).length!==0;e===Ut.BOOKMARKS&&t&&kt.actions.clearBookmarkCountByMap(),kt.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 t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;kt.actions.bookmarks(t)}}},cp=new lp;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=cp)});var Hy=p(()=>{"use strict";fo();As()});var Wy=p(()=>{"use strict"});var Cr=p(()=>{"use strict";L();np();Fy();st();As();Hy();ip();qd();Wy();np();M("ft-app-context")(Le)});var dp,Vi,Rs=p(()=>{"use strict";dp=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[i,n]=e.split(".");return{context:i,key:n,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Vi=new dp});var NS,Pn,Vy,jy,Ls,$n,xt,Is,ks,Nn=p(()=>{"use strict";L();Cr();Y();Rs();NS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Pn=Symbol("i18nAttributes"),Vy=Symbol("i18nListAttributes"),jy=Symbol("i18nProperties"),Ls=Symbol("i18nContexts"),$n=Symbol("i18nUnsubs"),xt=Fe(Symbol("withI18n"),function(r){var e,t;class i extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[t]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?vs:Wi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:g,argsProvider:m}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let b=g??(m?m(this):[]);return this.getI18nService(f).resolveMessage(s,l,...b)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Vi.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,b)=>b?.context&&b.key&&a(g,m,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...g})}:b;(s=this[Pn])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[Vy])===null||l===void 0||l.forEach((g,m)=>{var b;return d[m]=(b=d[m])===null||b===void 0?void 0:b.map(O=>f(g,m,O))})}updateI18nProperties(a){var s;(s=this[jy])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Ls].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,s)}hasI18nContext(a){return this[Ls].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ls].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[$n].forEach(a=>a()),this[$n].clear()}}return e=Ls,t=$n,NS([h({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),Is=class extends xt(V){},ks=class extends xt(or){}});var pp,FS,Gy=p(()=>{"use strict";Rs();pp=class{fromAttribute(e){if(!e)return[];try{let t=JSON.parse(e);return Array.isArray(t)?t.map(i=>typeof i=="string"?Vi.fromAttribute(i):i):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},FS=new pp});var Ky,qy=p(()=>{"use strict";Nn();L();Rs();Gy();Ky=(r,e)=>(t,i)=>{var n;t.constructor.createProperty(i,{type:Object,hasChanged:tr,converter:Vi,...e}),t[Pn]=(n=t[Pn])!==null&&n!==void 0?n:new Map,t[Pn].set(i,r??{})}});var Zy,up=p(()=>{"use strict";$();Zy=R`
626
- `});var Fn,ar,fp=p(()=>{"use strict";$();Y();L();up();Nn();Cr();Fn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ar=class extends ks{constructor(){super(),this.editorMode=!1,this.addStore(U)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":P:S`
625
+ `}connectedCallback(){super.connectedCallback(),U.addEventListener(Qo.eventName,this.reloadConfiguration)}disconnectedCallback(){U.addEventListener(Qo.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var t,i,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&U.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&U.actions.noCustom(this.noCustom),e.has("editorMode")&&U.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&U.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>Vi.addContext(f)),e.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(U.actions.defaultLocales((t=this.localesConfiguration)===null||t===void 0?void 0:t.defaultLocales),U.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),U.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&U.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&U.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>By(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Le.elementDefinitions={};Le.styles=Cy;Ke([h()],Le.prototype,"baseUrl",void 0);Ke([h()],Le.prototype,"apiIntegrationIdentifier",void 0);Ke([h()],Le.prototype,"apiIntegrationAppVersion",void 0);Ke([h()],Le.prototype,"uiLocale",void 0);Ke([ye(null)],Le.prototype,"availableUiLocales",void 0);Ke([ye(null)],Le.prototype,"metadataConfiguration",void 0);Ke([h({type:Boolean})],Le.prototype,"editorMode",void 0);Ke([h({type:Boolean})],Le.prototype,"noCustom",void 0);Ke([h({type:Boolean})],Le.prototype,"openExternalDocumentInNewTab",void 0);Ke([h({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],Le.prototype,"noCustomComponent",void 0);Ke([h({type:Boolean})],Le.prototype,"withManualResources",void 0);Ke([h({type:Boolean})],Le.prototype,"navigatorOnline",void 0);Ke([h({type:Boolean})],Le.prototype,"forcedOffline",void 0);Ke([h({type:Object})],Le.prototype,"apiProvider",void 0);Ke([h({type:Boolean})],Le.prototype,"authenticationRequired",void 0);Ke([ye([])],Le.prototype,"messageContexts",void 0);Ke([ye(void 0)],Le.prototype,"session",void 0);Ke([D()],Le.prototype,"localesConfiguration",void 0);Ke([D()],Le.prototype,"availableContentLocales",void 0)});var As,eP,Uy=p(()=>{"use strict";Y();ss();us();st();L();As=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},eP=Fe(Symbol("withDateFormat"),function(r){class e extends r{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(U)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>jo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return As([h({type:Boolean})],e.prototype,"useLongDateFormat",void 0),As([h({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),As([Ce({store:U.name,selector:t=>{var i,n;return(n=(i=t.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),As([Ce({store:U.name})],e.prototype,"uiLocale",void 0),e})});var Rs,zy=p(()=>{"use strict";st();yo();Rs=class extends lt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=U.getState().session;return!!e?.sessionAuthenticated}}});var Ls,Hy=p(()=>{"use strict";yo();st();Ls=class extends lt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*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=U.getState().session;return!!e?.sessionAuthenticated}}});var DS,BS,jy,cp,dp,Wy,Vy,Tt,pp,up,Is=p(()=>{"use strict";ho();L();rp();Jd();st();zy();Hy();DS="ft-user-assets",BS={setAssetCount:(r,e)=>{let{userAssetType:t,count:i}=e.payload.assetCount;r.assetCounts.allAsset[t]=i},clearAssetCount:r=>{Object.values(zt).forEach(e=>{r.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(r,e)=>{let t=e.payload.mapId;r.assetCounts.bookmarkByMap[t]=e.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,e)=>{let{assetType:t,mapId:i,asset:n}=e.payload;dp(r,t,[...cp(r,t),n]),Wy(r,t,1,i),Vy(r,n)},editAsset:(r,e)=>{let{assetType:t,asset:i}=e.payload;dp(r,t,cp(r,t).map(n=>n.id===i.id?i:n)),Vy(r,i)},removeAsset:(r,e)=>{let{assetType:t,mapId:i,assetId:n}=e.payload;dp(r,t,cp(r,t).filter(a=>a.id!==n)),Wy(r,t,-1,i)}},jy={[zt.SEARCHES]:"savedSearches",[zt.BOOKMARKS]:"bookmarks",[zt.BOOKS]:void 0,[zt.COLLECTIONS]:void 0},cp=(r,e)=>{var t;let i=jy[e];return i?(t=r[i])!==null&&t!==void 0?t:[]:[]},dp=(r,e,t)=>{let i=jy[e];i&&(r[i]=t)},Wy=(r,e,t,i)=>{let n=r.assetCounts.allAsset[e];if(n!==void 0&&(r.assetCounts.allAsset[e]=Math.max(0,n+t),e===zt.BOOKMARKS&&i)){let a=r.assetCounts.bookmarkByMap[i];r.assetCounts.bookmarkByMap[i]=Math.max(0,a+t)}},Vy=(r,e)=>{let t=r.assetLabels.map(n=>n.title),i=e.labels.filter(n=>!t.includes(n)).map(n=>({title:n}));r.assetLabels.push(...i)},Tt=Hr.get({name:DS,reducers:BS,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(zt).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),pp=class{constructor(e=new Rs,t=new Ls){this.assetCountsService=e,this.assetLabelsService=t,this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xs,this.savedSearchesService=new Os,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=U.getState();Ze((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Tt.actions.clearAssetCount(),Tt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Tt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Tt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Tt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Tt.actions.assetLabels(e)}async loadAssetCount(e){let t=await this.assetCountsService.getUserAssetCount(e);t&&Tt.actions.setAssetCount({assetCount:t})}async loadBookmarkByMapId(e){let t=await this.assetCountsService.getUserBookmarkCountByMap(e);t&&Tt.actions.setBookmarkCountByMap({count:t.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let t=Object.keys(Tt.getState().assetCounts.bookmarkByMap).length!==0;e===zt.BOOKMARKS&&t&&Tt.actions.clearBookmarkCountByMap(),Tt.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 t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Tt.actions.bookmarks(t)}}},up=new pp;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=up)});var Gy=p(()=>{"use strict";ho();Is()});var Ky=p(()=>{"use strict"});var Cr=p(()=>{"use strict";L();lp();Uy();st();Is();Gy();sp();Qd();Ky();lp();M("ft-app-context")(Le)});var fp,ji,ks=p(()=>{"use strict";fp=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[i,n]=e.split(".");return{context:i,key:n,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},ji=new fp});var MS,Dn,qy,Zy,Ts,Fn,xt,_s,$s,Bn=p(()=>{"use strict";L();Cr();Y();ks();MS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Dn=Symbol("i18nAttributes"),qy=Symbol("i18nListAttributes"),Zy=Symbol("i18nProperties"),Ts=Symbol("i18nContexts"),Fn=Symbol("i18nUnsubs"),xt=Fe(Symbol("withI18n"),function(r){var e,t;class i extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[t]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Cs:Vi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:g,argsProvider:m}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let b=g??(m?m(this):[]);return this.getI18nService(f).resolveMessage(s,l,...b)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(ji.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(g,m,b)=>b?.context&&b.key&&a(g,m,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...g})}:b;(s=this[Dn])===null||s===void 0||s.forEach((g,m)=>d[m]=f(g,m,d[m])),(l=this[qy])===null||l===void 0||l.forEach((g,m)=>{var b;return d[m]=(b=d[m])===null||b===void 0?void 0:b.map(O=>f(g,m,O))})}updateI18nProperties(a){var s;(s=this[Zy])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Ts].set(d,{isCustomContext:l}),this[Fn].has(d)||this[Fn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[Ts].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ts].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Fn].forEach(a=>a()),this[Fn].clear()}}return e=Ts,t=Fn,MS([h({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),_s=class extends xt(V){},$s=class extends xt(or){}});var hp,US,Yy=p(()=>{"use strict";ks();hp=class{fromAttribute(e){if(!e)return[];try{let t=JSON.parse(e);return Array.isArray(t)?t.map(i=>typeof i=="string"?ji.fromAttribute(i):i):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},US=new hp});var Qy,Xy=p(()=>{"use strict";Bn();L();ks();Yy();Qy=(r,e)=>(t,i)=>{var n;t.constructor.createProperty(i,{type:Object,hasChanged:At,converter:ji,...e}),t[Dn]=(n=t[Dn])!==null&&n!==void 0?n:new Map,t[Dn].set(i,r??{})}});var Jy,mp=p(()=>{"use strict";$();Jy=R`
626
+ `});var Mn,ar,gp=p(()=>{"use strict";$();Y();L();mp();Bn();Cr();Mn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ar=class extends $s{constructor(){super(),this.editorMode=!1,this.addStore(U)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":P:S`
627
627
  <span class="ft-i18n">
628
628
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
629
629
  </span>
630
- `}update(e){var t;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};ar.elementDefinitions={};ar.styles=Zy;Fn([Ce()],ar.prototype,"editorMode",void 0);Fn([h()],ar.prototype,"context",void 0);Fn([h()],ar.prototype,"key",void 0);Fn([ye([])],ar.prototype,"args",void 0);Fn([h()],ar.prototype,"defaultMessage",void 0)});var Or,Yy=p(()=>{"use strict";Cr();Or=class r{static build(e){return new r(e)}static buildCustom(e){return new r(e,!0)}static fromGwt(e){return new r(e)}get service(){return this.custom?vs:Wi}constructor(e,t=!1){this.name=e,this.custom=t,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(i,n)=>()=>n}),this.attributes=new Proxy({},{get:(i,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var Qy=p(()=>{"use strict";Nn()});var Xy=p(()=>{"use strict"});var Ht=p(()=>{"use strict";L();fp();Yy();Nn();Qy();up();Xy();fp();M("ft-i18n")(ar)});var sr,ze,hp=p(()=>{"use strict";$();Y();L();Be();ms();Ga();qy();Ht();sr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ze=class extends Is{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 de,this.revealDebouncer=new de,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut(t)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||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,t;return S`
630
+ `}update(e){var t;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};ar.elementDefinitions={};ar.styles=Jy;Mn([Ce()],ar.prototype,"editorMode",void 0);Mn([h()],ar.prototype,"context",void 0);Mn([h()],ar.prototype,"key",void 0);Mn([ye([])],ar.prototype,"args",void 0);Mn([h()],ar.prototype,"defaultMessage",void 0)});var Or,eb=p(()=>{"use strict";Cr();Or=class r{static build(e){return new r(e)}static buildCustom(e){return new r(e,!0)}static fromGwt(e){return new r(e)}get service(){return this.custom?Cs:Vi}constructor(e,t=!1){this.name=e,this.custom=t,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(i,n)=>()=>n}),this.attributes=new Proxy({},{get:(i,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}}});var tb=p(()=>{"use strict";Bn()});var rb=p(()=>{"use strict"});var Wt=p(()=>{"use strict";L();gp();eb();Bn();tb();mp();rb();gp();M("ft-i18n")(ar)});var sr,ze,yp=p(()=>{"use strict";$();Y();L();Be();bs();Za();Xy();Wt();sr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ze=class extends _s{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 de,this.revealDebouncer=new de,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut(t)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||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,t;return S`
631
631
  <div part="container"
632
632
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
633
633
  <slot part="slot"></slot>
@@ -642,19 +642,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
642
642
  </div>
643
643
  </div>
644
644
  </div>
645
- `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",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("mouseenter",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){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&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,t){let i=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(t),this.text=n,this.manual=i}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(t=>t.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Sc(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${E.transitionDuration}, left ${E.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Fl(e,this.ignoreMatchingElements,this.eventsTarget)}};ze.elementDefinitions={"ft-typography":ie};ze.styles=yy;sr([Ky()],ze.prototype,"text",void 0);sr([h({type:Boolean})],ze.prototype,"manual",void 0);sr([h({type:Boolean})],ze.prototype,"inline",void 0);sr([Bt()],ze.prototype,"delay",void 0);sr([h()],ze.prototype,"position",void 0);sr([ye([])],ze.prototype,"ignoreMatchingElements",void 0);sr([Ll()],ze.prototype,"slotNodes",void 0);sr([W(".ft-tooltip--container")],ze.prototype,"container",void 0);sr([W(".ft-tooltip")],ze.prototype,"tooltip",void 0);sr([W(".ft-tooltip--content")],ze.prototype,"tooltipContent",void 0);sr([D()],ze.prototype,"visible",void 0)});var Jy=p(()=>{"use strict"});var Ts=p(()=>{"use strict";L();hp();hp();ms();Jy();M("ft-tooltip")(ze)});function _s(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=DS.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=mp.get(l))!==null&&i!==void 0?i:mp.get(e))!==null&&n!==void 0?n:mp.get(s))!==null&&a!==void 0?a:B.UNKNOWN}var He,B,mp,DS,S1,gp=p(()=>{"use strict";(function(r){r.ADD_TO_PBK="&#xe800;",r.ALERT="&#xe801;",r.ADD_ALERT="&#xe802;",r.BACK_TO_SEARCH="&#xe803;",r.ADD_BOOKMARK="&#xe804;",r.BOOKMARK="&#xe805;",r.BOOKS="&#xe806;",r.MENU="&#xe807;",r.DOWNLOAD="&#xe808;",r.EDIT="&#xe809;",r.FEEDBACK="&#xe80a;",r.HOME="&#xe80b;",r.MODIFY_PBK="&#xe80c;",r.SCHEDULED="&#xe80d;",r.SEARCH="&#xe80e;",r.EXPORT="&#xe80f;",r.TOC="&#xe810;",r.WRITE_UGC="&#xe811;",r.TRASH="&#xe812;",r.USER="&#xe813;",r.EXTLINK="&#xe814;",r.CALENDAR="&#xe815;",r.OFFLINE="&#xe816;",r.BOOK="&#xe817;",r.DOWNLOAD_PLAIN="&#xe818;",r.CHECK="&#xe819;",r.STAR_PLAIN="&#xe900;",r.TOPICS="&#xe901;",r.DISC="&#xe902;",r.CIRCLE="&#xe903;",r.SHARED="&#xe904;",r.SORT_UNSORTED="&#xe905;",r.SORT_UP="&#xe906;",r.SORT_DOWN="&#xe907;",r.WORKING="&#xe908;",r.CLOSE="&#xe909;",r.ZOOM_OUT="&#xe90a;",r.ZOOM_IN="&#xe90b;",r.ZOOM_REALSIZE="&#xe90c;",r.ZOOM_FULLSCREEN="&#xe90d;",r.ADMIN_RESTRICTED="&#xe90e;",r.ADMIN="&#xe90f;",r.ADMIN_KHUB="&#xe910;",r.ADMIN_THEME="&#xe911;",r.ADMIN_USERS="&#xe912;",r.WARNING="&#xe913;",r.CONTEXT="&#xe914;",r.SEARCH_HOME="&#xe915;",r.STEPS="&#xe916;",r.ICON_EXPAND="&#xe917;",r.ICON_COLLAPSE="&#xe918;",r.INFO="&#xe919;",r.MINUS_PLAIN="&#xe91a;",r.PLUS_PLAIN="&#xe91b;",r.FACET_HAS_DESCENDANT="&#xe91c;",r.TRIANGLE_BOTTOM="&#xe91d;",r.TRIANGLE_LEFT="&#xe91e;",r.TRIANGLE_RIGHT="&#xe91f;",r.TRIANGLE_TOP="&#xe920;",r.THIN_ARROW="&#xe921;",r.SIGN_IN="&#xe922;",r.LOGOUT="&#xe923;",r.TRANSLATE="&#xe924;",r.CLOSE_PLAIN="&#xe925;",r.CHECK_PLAIN="&#xe926;",r.ARTICLE="&#xe927;",r.COLUMNS="&#xe928;",r.ANALYTICS="&#xe929;",r.COLLECTIONS="&#xe92a;",r.ARROW_DOWN="&#xe92b;",r.ARROW_LEFT="&#xe92c;",r.ARROW_RIGHT="&#xe92d;",r.ARROW_UP="&#xe92e;",r.SEARCH_IN_PUBLICATION="&#xe92f;",r.COPY_TO_CLIPBOARD="&#xe930;",r.SHARED_PBK="&#xe931;",r.ATTACHMENTS="&#xe932;",r.STRIPE_ARROW_LEFT="&#xe933;",r.STRIPE_ARROW_RIGHT="&#xe934;",r.FILTERS="&#xe935;",r.DOT="&#xe936;",r.MINUS="&#xe937;",r.PLUS="&#xe938;",r.MAILS_AND_NOTIFICATIONS="&#xe939;",r.SAVE="&#xe93a;",r.LOCKER="&#xe93b;",r.ADMIN_INTEGRATION="&#xe93c;",r.SYNC="&#xe93d;",r.TAG="&#xe93e;",r.BOOK_PLAIN="&#xe93f;",r.UPLOAD="&#xe940;",r.ONLINE="&#xe941;",r.TAG_PLAIN="&#xe942;",r.ACCOUNT_SETTINGS="&#xe943;",r.PRINT="&#xe944;",r.DEFAULT_ROLES="&#xe945;",r.SHORTCUT_MENU="&#xe946;",r.RELATIVES_PLAIN="&#xe947;",r.RELATIVES="&#xe948;",r.PAUSE="&#xe949;",r.PLAY="&#xe94a;",r.ADMIN_PORTAL="&#xe94b;",r.STAR="&#xe94c;",r.THUMBS_DOWN="&#xe94d;",r.THUMBS_DOWN_PLAIN="&#xe94e;",r.THUMBS_UP="&#xe94f;",r.THUMBS_UP_PLAIN="&#xe950;",r.FEEDBACK_PLAIN="&#xe951;",r.RATE_PLAIN="&#xe952;",r.RATE="&#xe953;",r.OFFLINE_SETTINGS="&#xe954;",r.MY_COLLECTIONS="&#xe955;",r.THIN_ARROW_LEFT="&#xe956;",r.THIN_ARROW_RIGHT="&#xe957;",r.RESET="&#xe958;",r.MY_LIBRARY="&#xe959;",r.UNSTRUCTURED_DOC="&#xe95a;",r.CONTEXTUAL="&#xe95b;",r.THIN_ARROW_UP="&#xe95c;",r.ARROW_RIGHT_TO_LINE="&#xe95d;",r.DESKTOP="&#xe95e;",r.TABLET_LANDSCAPE="&#xe95f;",r.TABLET_PORTRAIT="&#xe960;",r.MOBILE_LANDSCAPE="&#xe961;",r.MOBILE_PORTRAIT="&#xe962;",r.DIAGRAM_SUNBURST="&#xe963;",r.DIAGRAM_SANKEY="&#xe964;",r.COMMENT_QUESTION="&#xe965;",r.COMMENT_QUESTION_PLAIN="&#xe966;",r.MESSAGE_BOT="&#xe967;",r.CHART_SIMPLE="&#xe968;",r.BARS_PROGRESS="&#xe969;",r.BOOK_OPEN_GEAR="&#xe96a;",r.BOOK_OPEN_GEAR_SLASH="&#xe96b;",r.LINE_CHART="&#xe96c;",r.STACKED_CHART="&#xe96d;",r.CHART_BAR_STACKED="&#xe96e;",r.CHART_BAR_GROUPED="&#xe96f;",r.EYE_SLASH="&#xe970;",r.X_MARK="&#xe971;",r.EXPAND_WIDE="&#xe972;",r.PIP="&#xe973;",r.PIP_WIDE="&#xe974;",r.LIFE_RING="&#xe975;",r.GLOBE="&#xe976;",r.PIGGY_BANK="&#xe977;",r.EXTLINK_LIGHT="&#xe978;",r.CLONE="&#xe979;",r.CLONE_LINK_SIMPLE="&#xe97a;",r.CHART_BAR_NORMALIZED="&#xe97b;",r.CONSUMER="&#xe97c;",r.OCTAGON_XMARK="&#xe97d;",r.HOURGLASS_HALF="&#xe97e;",r.CLOCK="&#xe97f;",r.CLOCK_THREE="&#xe97f;",r.CALENDAR_DAY="&#xe980;",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",r.WAND_MAGIC_SPARKLES="&#xe982;",r.PAPER_PLANE="&#xe983;",r.CIRCLE_STOP="&#xe984;",r.ARROW_ROTATE_RIGHT="&#xe985;",r.ARROWS_ROTATE="&#xe986;",r.ALIGN_RIGHT="&#xe987;",r.FORMAT_CLEAR="&#xe988;",r.ALIGN_CENTER="&#xe989;",r.ALIGN_LEFT="&#xe98a;",r.PALETTE="&#xe98b;",r.BOLD="&#xe98c;",r.ITALIC="&#xe98d;",r.UNDERLINE="&#xe98e;",r.STRIKETHROUGH="&#xe98f;",r.LINK_SIMPLE_SLASH="&#xe990;",r.LINK_SIMPLE="&#xe991;",r.ROUTE="&#xe992;",r.CIRCLE_USER_SLASH="&#xe993;",r.CIRCLE_USER_CHECK="&#xe994;",r.LIST_MAGNIFYING_GLASS="&#xe995;",r.MEDAL="&#xe996;",r.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",r.ARROW_TURN_DOWN_RIGHT="&#xe998;",r.FLASK="&#xe999;",r.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",r.HOURGLASS_END="&#xe99b;",r.CIRCLE_QUESTION="&#xe99c;",r.GRIP_LINES_SOLID="&#xe99d;",r.TRANSLATE_SPARKLE_SOLID="&#xe99e;",r.CODE="&#xe99f;",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",r.PAPER_PLANE_SLASH="&#xe9a1;",r.COMPRESS="&#xe9a2;",r.EXPAND="&#xe9a3;",r.ARROW_ROTATE_LEFT="&#xe9a4;",r.EYE="&#xf06e;",r.SHARE="&#xe80f1;",r.MOBILE_SMALL="&#xe9a5;",r.SPARKLES="&#xe9a6;",r.HAND_SOLID="&#xe9a7;",r.CLOCK_SOLID="&#xe9a8;",r.CONTEXT_MENU_CURSOR="&#xe9a9;",r.LANGUAGE_SLASH="&#xe9aa;",r.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",r.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",r.BOOKMARK_SLASH="&#xe9ad;",r.CIRCLE_PAUSE="&#xe9ae;",r.CIRCLE_PLAY="&#xe9af;",r.CIRCLE_STOP_PLAIN="&#xe9b0;",r.CLOUD_ARROW_DOWN="&#xe9b1;",r.SHARE_NODES="&#xe9b2;",r.BELL="&#xe9b3;",r.BELL_SLASH="&#xe9b4;",r.FILE="&#xe9b5;",r.HAND="&#xe9b6;",r.SQUARE_INFO_SOLID="&#xe9b7;",r.FILE_CODE="&#xe9b8;",r.BOX_CODE="&#xe9b9;"})(He||(He={}));(function(r){r.UNKNOWN="&#xe90a;",r.ABW="&#xe900;",r.AUDIO="&#xe901;",r.AVI="&#xe902;",r.CHM="&#xe904;",r.CODE="&#xe905;",r.CSV="&#xe903;",r.DITA="&#xe906;",r.EPUB="&#xe907;",r.EXCEL="&#xe908;",r.FLAC="&#xe909;",r.GIF="&#xe90b;",r.GZIP="&#xe90c;",r.HTML="&#xe90d;",r.IMAGE="&#xe90e;",r.JPEG="&#xe90f;",r.JSON="&#xe910;",r.M4A="&#xe911;",r.MOV="&#xe912;",r.MP3="&#xe913;",r.MP4="&#xe914;",r.OGG="&#xe915;",r.PDF="&#xe916;",r.PNG="&#xe917;",r.POWERPOINT="&#xe918;",r.RAR="&#xe91a;",r.STP="&#xe91b;",r.TEXT="&#xe91c;",r.VIDEO="&#xe91e;",r.WAV="&#xe91f;",r.WMA="&#xe920;",r.WORD="&#xe921;",r.XML="&#xe922;",r.YAML="&#xe919;",r.ZIP="&#xe923;"})(B||(B={}));mp=new Map([...["abw"].map(r=>[r,B.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(r=>[r,B.AUDIO]),...["avi"].map(r=>[r,B.AVI]),...["chm","xhs"].map(r=>[r,B.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(r=>[r,B.CODE]),...["csv"].map(r=>[r,B.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,B.DITA]),...["epub"].map(r=>[r,B.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,B.EXCEL]),...["flac"].map(r=>[r,B.FLAC]),...["gif"].map(r=>[r,B.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,B.GZIP]),...["html","htm","xhtml"].map(r=>[r,B.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(r=>[r,B.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,B.JPEG]),...["json"].map(r=>[r,B.JSON]),...["m4a","m4p"].map(r=>[r,B.M4A]),...["mov","qt"].map(r=>[r,B.MOV]),...["mp3"].map(r=>[r,B.MP3]),...["mp4","m4v"].map(r=>[r,B.MP4]),...["ogg","oga"].map(r=>[r,B.OGG]),...["pdf","ps"].map(r=>[r,B.PDF]),...["png"].map(r=>[r,B.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,B.POWERPOINT]),...["rar"].map(r=>[r,B.RAR]),...["stp"].map(r=>[r,B.STP]),...["txt","rtf","md","mdown"].map(r=>[r,B.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(r=>[r,B.VIDEO]),...["wav"].map(r=>[r,B.WAV]),...["wma"].map(r=>[r,B.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,B.WORD]),...["xml","xsl","rdf"].map(r=>[r,B.XML]),...["yaml","yml","x-yaml"].map(r=>[r,B.YAML]),...["zip"].map(r=>[r,B.ZIP])]),DS=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"]]);S1={[B.ABW]:"#91ABC6",[B.AUDIO]:"#1795E3",[B.AVI]:"#E63324",[B.CHM]:"#71C3EB",[B.CODE]:"#71C3EB",[B.CSV]:"#1F7345",[B.DITA]:"#71C3EB",[B.EPUB]:"#85B926",[B.EXCEL]:"#1F7345",[B.FLAC]:"#1795E3",[B.GIF]:"#59B031",[B.GZIP]:"#F8AB36",[B.HTML]:"#71C3EB",[B.IMAGE]:"#59B031",[B.JPEG]:"#59B031",[B.JSON]:"#71C3EB",[B.M4A]:"#1795E3",[B.MOV]:"#E63324",[B.MP3]:"#1795E3",[B.MP4]:"#E63324",[B.OGG]:"#1795E3",[B.PDF]:"#E44948",[B.PNG]:"#59B031",[B.POWERPOINT]:"#B54A2B",[B.RAR]:"#F8AB36",[B.STP]:"#3764B1",[B.TEXT]:"#3162AB",[B.UNKNOWN]:"#999999",[B.VIDEO]:"#E63324",[B.WAV]:"#1795E3",[B.WMA]:"#1795E3",[B.WORD]:"#3162AB",[B.XML]:"#71C3EB",[B.YAML]:"#71C3EB",[B.ZIP]:"#F8AB36"}});var Qe,yp=p(()=>{"use strict";(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Qe||(Qe={}))});var Dn,Ee,bp=p(()=>{"use strict";$();Y();L();pn();gp();qo();yp();Dn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ee=class extends V{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=P}render(){let e=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,t=e!==Qe.material||!!this.value;return S`
645
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",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("mouseenter",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){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(t=>e.has(t))&&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,t){let i=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(t),this.text=n,this.manual=i}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(t=>t.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ec(this.slottedElement,this.tooltip,this.position).then(({x:e,y:t})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${t}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${E.transitionDuration}, left ${E.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Ml(e,this.ignoreMatchingElements,this.eventsTarget)}};ze.elementDefinitions={"ft-typography":ie};ze.styles=Sy;sr([Qy()],ze.prototype,"text",void 0);sr([h({type:Boolean})],ze.prototype,"manual",void 0);sr([h({type:Boolean})],ze.prototype,"inline",void 0);sr([Mt()],ze.prototype,"delay",void 0);sr([h()],ze.prototype,"position",void 0);sr([ye([])],ze.prototype,"ignoreMatchingElements",void 0);sr([Tl()],ze.prototype,"slotNodes",void 0);sr([W(".ft-tooltip--container")],ze.prototype,"container",void 0);sr([W(".ft-tooltip")],ze.prototype,"tooltip",void 0);sr([W(".ft-tooltip--content")],ze.prototype,"tooltipContent",void 0);sr([D()],ze.prototype,"visible",void 0)});var ob=p(()=>{"use strict"});var Ps=p(()=>{"use strict";L();yp();yp();bs();ob();M("ft-tooltip")(ze)});function Ns(r,e){var t,i,n,a;r=(r??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((t=zS.get(r))!==null&&t!==void 0?t:r)+"/").split("/");return(a=(n=(i=bp.get(l))!==null&&i!==void 0?i:bp.get(e))!==null&&n!==void 0?n:bp.get(s))!==null&&a!==void 0?a:B.UNKNOWN}var He,B,bp,zS,A1,vp=p(()=>{"use strict";(function(r){r.ADD_TO_PBK="&#xe800;",r.ALERT="&#xe801;",r.ADD_ALERT="&#xe802;",r.BACK_TO_SEARCH="&#xe803;",r.ADD_BOOKMARK="&#xe804;",r.BOOKMARK="&#xe805;",r.BOOKS="&#xe806;",r.MENU="&#xe807;",r.DOWNLOAD="&#xe808;",r.EDIT="&#xe809;",r.FEEDBACK="&#xe80a;",r.HOME="&#xe80b;",r.MODIFY_PBK="&#xe80c;",r.SCHEDULED="&#xe80d;",r.SEARCH="&#xe80e;",r.EXPORT="&#xe80f;",r.TOC="&#xe810;",r.WRITE_UGC="&#xe811;",r.TRASH="&#xe812;",r.USER="&#xe813;",r.EXTLINK="&#xe814;",r.CALENDAR="&#xe815;",r.OFFLINE="&#xe816;",r.BOOK="&#xe817;",r.DOWNLOAD_PLAIN="&#xe818;",r.CHECK="&#xe819;",r.STAR_PLAIN="&#xe900;",r.TOPICS="&#xe901;",r.DISC="&#xe902;",r.CIRCLE="&#xe903;",r.SHARED="&#xe904;",r.SORT_UNSORTED="&#xe905;",r.SORT_UP="&#xe906;",r.SORT_DOWN="&#xe907;",r.WORKING="&#xe908;",r.CLOSE="&#xe909;",r.ZOOM_OUT="&#xe90a;",r.ZOOM_IN="&#xe90b;",r.ZOOM_REALSIZE="&#xe90c;",r.ZOOM_FULLSCREEN="&#xe90d;",r.ADMIN_RESTRICTED="&#xe90e;",r.ADMIN="&#xe90f;",r.ADMIN_KHUB="&#xe910;",r.ADMIN_THEME="&#xe911;",r.ADMIN_USERS="&#xe912;",r.WARNING="&#xe913;",r.CONTEXT="&#xe914;",r.SEARCH_HOME="&#xe915;",r.STEPS="&#xe916;",r.ICON_EXPAND="&#xe917;",r.ICON_COLLAPSE="&#xe918;",r.INFO="&#xe919;",r.MINUS_PLAIN="&#xe91a;",r.PLUS_PLAIN="&#xe91b;",r.FACET_HAS_DESCENDANT="&#xe91c;",r.TRIANGLE_BOTTOM="&#xe91d;",r.TRIANGLE_LEFT="&#xe91e;",r.TRIANGLE_RIGHT="&#xe91f;",r.TRIANGLE_TOP="&#xe920;",r.THIN_ARROW="&#xe921;",r.SIGN_IN="&#xe922;",r.LOGOUT="&#xe923;",r.TRANSLATE="&#xe924;",r.CLOSE_PLAIN="&#xe925;",r.CHECK_PLAIN="&#xe926;",r.ARTICLE="&#xe927;",r.COLUMNS="&#xe928;",r.ANALYTICS="&#xe929;",r.COLLECTIONS="&#xe92a;",r.ARROW_DOWN="&#xe92b;",r.ARROW_LEFT="&#xe92c;",r.ARROW_RIGHT="&#xe92d;",r.ARROW_UP="&#xe92e;",r.SEARCH_IN_PUBLICATION="&#xe92f;",r.COPY_TO_CLIPBOARD="&#xe930;",r.SHARED_PBK="&#xe931;",r.ATTACHMENTS="&#xe932;",r.STRIPE_ARROW_LEFT="&#xe933;",r.STRIPE_ARROW_RIGHT="&#xe934;",r.FILTERS="&#xe935;",r.DOT="&#xe936;",r.MINUS="&#xe937;",r.PLUS="&#xe938;",r.MAILS_AND_NOTIFICATIONS="&#xe939;",r.SAVE="&#xe93a;",r.LOCKER="&#xe93b;",r.ADMIN_INTEGRATION="&#xe93c;",r.SYNC="&#xe93d;",r.TAG="&#xe93e;",r.BOOK_PLAIN="&#xe93f;",r.UPLOAD="&#xe940;",r.ONLINE="&#xe941;",r.TAG_PLAIN="&#xe942;",r.ACCOUNT_SETTINGS="&#xe943;",r.PRINT="&#xe944;",r.DEFAULT_ROLES="&#xe945;",r.SHORTCUT_MENU="&#xe946;",r.RELATIVES_PLAIN="&#xe947;",r.RELATIVES="&#xe948;",r.PAUSE="&#xe949;",r.PLAY="&#xe94a;",r.ADMIN_PORTAL="&#xe94b;",r.STAR="&#xe94c;",r.THUMBS_DOWN="&#xe94d;",r.THUMBS_DOWN_PLAIN="&#xe94e;",r.THUMBS_UP="&#xe94f;",r.THUMBS_UP_PLAIN="&#xe950;",r.FEEDBACK_PLAIN="&#xe951;",r.RATE_PLAIN="&#xe952;",r.RATE="&#xe953;",r.OFFLINE_SETTINGS="&#xe954;",r.MY_COLLECTIONS="&#xe955;",r.THIN_ARROW_LEFT="&#xe956;",r.THIN_ARROW_RIGHT="&#xe957;",r.RESET="&#xe958;",r.MY_LIBRARY="&#xe959;",r.UNSTRUCTURED_DOC="&#xe95a;",r.CONTEXTUAL="&#xe95b;",r.THIN_ARROW_UP="&#xe95c;",r.ARROW_RIGHT_TO_LINE="&#xe95d;",r.DESKTOP="&#xe95e;",r.TABLET_LANDSCAPE="&#xe95f;",r.TABLET_PORTRAIT="&#xe960;",r.MOBILE_LANDSCAPE="&#xe961;",r.MOBILE_PORTRAIT="&#xe962;",r.DIAGRAM_SUNBURST="&#xe963;",r.DIAGRAM_SANKEY="&#xe964;",r.COMMENT_QUESTION="&#xe965;",r.COMMENT_QUESTION_PLAIN="&#xe966;",r.MESSAGE_BOT="&#xe967;",r.CHART_SIMPLE="&#xe968;",r.BARS_PROGRESS="&#xe969;",r.BOOK_OPEN_GEAR="&#xe96a;",r.BOOK_OPEN_GEAR_SLASH="&#xe96b;",r.LINE_CHART="&#xe96c;",r.STACKED_CHART="&#xe96d;",r.CHART_BAR_STACKED="&#xe96e;",r.CHART_BAR_GROUPED="&#xe96f;",r.EYE_SLASH="&#xe970;",r.X_MARK="&#xe971;",r.EXPAND_WIDE="&#xe972;",r.PIP="&#xe973;",r.PIP_WIDE="&#xe974;",r.LIFE_RING="&#xe975;",r.GLOBE="&#xe976;",r.PIGGY_BANK="&#xe977;",r.EXTLINK_LIGHT="&#xe978;",r.CLONE="&#xe979;",r.CLONE_LINK_SIMPLE="&#xe97a;",r.CHART_BAR_NORMALIZED="&#xe97b;",r.CONSUMER="&#xe97c;",r.OCTAGON_XMARK="&#xe97d;",r.HOURGLASS_HALF="&#xe97e;",r.CLOCK="&#xe97f;",r.CLOCK_THREE="&#xe97f;",r.CALENDAR_DAY="&#xe980;",r.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",r.WAND_MAGIC_SPARKLES="&#xe982;",r.PAPER_PLANE="&#xe983;",r.CIRCLE_STOP="&#xe984;",r.ARROW_ROTATE_RIGHT="&#xe985;",r.ARROWS_ROTATE="&#xe986;",r.ALIGN_RIGHT="&#xe987;",r.FORMAT_CLEAR="&#xe988;",r.ALIGN_CENTER="&#xe989;",r.ALIGN_LEFT="&#xe98a;",r.PALETTE="&#xe98b;",r.BOLD="&#xe98c;",r.ITALIC="&#xe98d;",r.UNDERLINE="&#xe98e;",r.STRIKETHROUGH="&#xe98f;",r.LINK_SIMPLE_SLASH="&#xe990;",r.LINK_SIMPLE="&#xe991;",r.ROUTE="&#xe992;",r.CIRCLE_USER_SLASH="&#xe993;",r.CIRCLE_USER_CHECK="&#xe994;",r.LIST_MAGNIFYING_GLASS="&#xe995;",r.MEDAL="&#xe996;",r.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",r.ARROW_TURN_DOWN_RIGHT="&#xe998;",r.FLASK="&#xe999;",r.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",r.HOURGLASS_END="&#xe99b;",r.CIRCLE_QUESTION="&#xe99c;",r.GRIP_LINES_SOLID="&#xe99d;",r.TRANSLATE_SPARKLE_SOLID="&#xe99e;",r.CODE="&#xe99f;",r.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",r.PAPER_PLANE_SLASH="&#xe9a1;",r.COMPRESS="&#xe9a2;",r.EXPAND="&#xe9a3;",r.ARROW_ROTATE_LEFT="&#xe9a4;",r.EYE="&#xf06e;",r.SHARE="&#xe80f1;",r.MOBILE_SMALL="&#xe9a5;",r.SPARKLES="&#xe9a6;",r.HAND_SOLID="&#xe9a7;",r.CLOCK_SOLID="&#xe9a8;",r.CONTEXT_MENU_CURSOR="&#xe9a9;",r.LANGUAGE_SLASH="&#xe9aa;",r.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",r.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",r.BOOKMARK_SLASH="&#xe9ad;",r.CIRCLE_PAUSE="&#xe9ae;",r.CIRCLE_PLAY="&#xe9af;",r.CIRCLE_STOP_PLAIN="&#xe9b0;",r.CLOUD_ARROW_DOWN="&#xe9b1;",r.SHARE_NODES="&#xe9b2;",r.BELL="&#xe9b3;",r.BELL_SLASH="&#xe9b4;",r.FILE="&#xe9b5;",r.HAND="&#xe9b6;",r.SQUARE_INFO_SOLID="&#xe9b7;",r.FILE_CODE="&#xe9b8;",r.BOX_CODE="&#xe9b9;"})(He||(He={}));(function(r){r.UNKNOWN="&#xe90a;",r.ABW="&#xe900;",r.AUDIO="&#xe901;",r.AVI="&#xe902;",r.CHM="&#xe904;",r.CODE="&#xe905;",r.CSV="&#xe903;",r.DITA="&#xe906;",r.EPUB="&#xe907;",r.EXCEL="&#xe908;",r.FLAC="&#xe909;",r.GIF="&#xe90b;",r.GZIP="&#xe90c;",r.HTML="&#xe90d;",r.IMAGE="&#xe90e;",r.JPEG="&#xe90f;",r.JSON="&#xe910;",r.M4A="&#xe911;",r.MOV="&#xe912;",r.MP3="&#xe913;",r.MP4="&#xe914;",r.OGG="&#xe915;",r.PDF="&#xe916;",r.PNG="&#xe917;",r.POWERPOINT="&#xe918;",r.RAR="&#xe91a;",r.STP="&#xe91b;",r.TEXT="&#xe91c;",r.VIDEO="&#xe91e;",r.WAV="&#xe91f;",r.WMA="&#xe920;",r.WORD="&#xe921;",r.XML="&#xe922;",r.YAML="&#xe919;",r.ZIP="&#xe923;"})(B||(B={}));bp=new Map([...["abw"].map(r=>[r,B.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(r=>[r,B.AUDIO]),...["avi"].map(r=>[r,B.AVI]),...["chm","xhs"].map(r=>[r,B.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(r=>[r,B.CODE]),...["csv"].map(r=>[r,B.CSV]),...["dita","ditamap","ditaval"].map(r=>[r,B.DITA]),...["epub"].map(r=>[r,B.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(r=>[r,B.EXCEL]),...["flac"].map(r=>[r,B.FLAC]),...["gif"].map(r=>[r,B.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(r=>[r,B.GZIP]),...["html","htm","xhtml"].map(r=>[r,B.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(r=>[r,B.IMAGE]),...["jpeg","jpg","jpe"].map(r=>[r,B.JPEG]),...["json"].map(r=>[r,B.JSON]),...["m4a","m4p"].map(r=>[r,B.M4A]),...["mov","qt"].map(r=>[r,B.MOV]),...["mp3"].map(r=>[r,B.MP3]),...["mp4","m4v"].map(r=>[r,B.MP4]),...["ogg","oga"].map(r=>[r,B.OGG]),...["pdf","ps"].map(r=>[r,B.PDF]),...["png"].map(r=>[r,B.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(r=>[r,B.POWERPOINT]),...["rar"].map(r=>[r,B.RAR]),...["stp"].map(r=>[r,B.STP]),...["txt","rtf","md","mdown"].map(r=>[r,B.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(r=>[r,B.VIDEO]),...["wav"].map(r=>[r,B.WAV]),...["wma"].map(r=>[r,B.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(r=>[r,B.WORD]),...["xml","xsl","rdf"].map(r=>[r,B.XML]),...["yaml","yml","x-yaml"].map(r=>[r,B.YAML]),...["zip"].map(r=>[r,B.ZIP])]),zS=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"]]);A1={[B.ABW]:"#91ABC6",[B.AUDIO]:"#1795E3",[B.AVI]:"#E63324",[B.CHM]:"#71C3EB",[B.CODE]:"#71C3EB",[B.CSV]:"#1F7345",[B.DITA]:"#71C3EB",[B.EPUB]:"#85B926",[B.EXCEL]:"#1F7345",[B.FLAC]:"#1795E3",[B.GIF]:"#59B031",[B.GZIP]:"#F8AB36",[B.HTML]:"#71C3EB",[B.IMAGE]:"#59B031",[B.JPEG]:"#59B031",[B.JSON]:"#71C3EB",[B.M4A]:"#1795E3",[B.MOV]:"#E63324",[B.MP3]:"#1795E3",[B.MP4]:"#E63324",[B.OGG]:"#1795E3",[B.PDF]:"#E44948",[B.PNG]:"#59B031",[B.POWERPOINT]:"#B54A2B",[B.RAR]:"#F8AB36",[B.STP]:"#3764B1",[B.TEXT]:"#3162AB",[B.UNKNOWN]:"#999999",[B.VIDEO]:"#E63324",[B.WAV]:"#1795E3",[B.WMA]:"#1795E3",[B.WORD]:"#3162AB",[B.XML]:"#71C3EB",[B.YAML]:"#71C3EB",[B.ZIP]:"#F8AB36"}});var Qe,xp=p(()=>{"use strict";(function(r){r.fluid_topics="fluid-topics",r.file_format="file-format",r.material="material"})(Qe||(Qe={}))});var Un,Ee,Sp=p(()=>{"use strict";$();Y();L();fn();vp();Zo();xp();Un=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ee=class extends V{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=P}render(){let e=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,t=e!==Qe.material||!!this.value;return S`
646
646
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
647
- ${_o(this.resolvedIcon)}
647
+ ${$o(this.resolvedIcon)}
648
648
  <slot ?hidden=${t}></slot>
649
649
  </i>
650
- `}getTextContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.getTextContent();switch(this.variant){case Qe.file_format:this.resolvedIcon=(e=B[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Qe.material:this.resolvedIcon=this.value||P;break;default:this.resolvedIcon=(t=He[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ee.elementDefinitions={};Ee.styles=ay;Dn([h()],Ee.prototype,"variant",void 0);Dn([h()],Ee.prototype,"value",void 0);Dn([h({reflect:!0,attribute:"aria-hidden"})],Ee.prototype,"ariaHidden",void 0);Dn([D()],Ee.prototype,"resolvedIcon",void 0);Dn([W("slot")],Ee.prototype,"slottedContent",void 0)});var Wt=p(()=>{"use strict";L();bp();qo();yp();bp();gp();M("ft-icon")(Ee)});var Jo,vp=p(()=>{"use strict";$();L();_n();Jo=class extends V{render(){return S`
650
+ `}getTextContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}update(e){super.update(e),["value","variant"].some(t=>e.has(t))&&this.resolveIcon()}resolveIcon(){var e,t;let i=this.value||this.getTextContent();switch(this.variant){case Qe.file_format:this.resolvedIcon=(e=B[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Qe.material:this.resolvedIcon=this.value||P;break;default:this.resolvedIcon=(t=He[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ee.elementDefinitions={};Ee.styles=dy;Un([h()],Ee.prototype,"variant",void 0);Un([h()],Ee.prototype,"value",void 0);Un([h({reflect:!0,attribute:"aria-hidden"})],Ee.prototype,"ariaHidden",void 0);Un([D()],Ee.prototype,"resolvedIcon",void 0);Un([W("slot")],Ee.prototype,"slottedContent",void 0)});var Vt=p(()=>{"use strict";L();Sp();Zo();xp();Sp();vp();M("ft-icon")(Ee)});var ei,Cp=p(()=>{"use strict";$();L();Nn();ei=class extends V{render(){return S`
651
651
  <div class="ft-loader">
652
652
  <div></div>
653
653
  <div></div>
654
654
  <div></div>
655
655
  <div></div>
656
656
  </div>
657
- `}};Jo.styles=ny});var eb=p(()=>{"use strict"});var tb=p(()=>{"use strict";L();vp();_n();eb();vp();M("ft-loader")(Jo)});var yo,rb=p(()=>{Qt();yo=r=>r??P});var $s=p(()=>{rb()});var qe,Oe,xp=p(()=>{"use strict";L();ft();Ts();Wt();tb();$();ut();Y();$s();qe=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Oe=class extends Cd(V){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var t;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((t=this.form)===null||t===void 0||t.requestSubmit())})}render(){var e,t,i;let n=S`
657
+ `}};ei.styles=cy});var ib=p(()=>{"use strict"});var nb=p(()=>{"use strict";L();Cp();Nn();ib();Cp();M("ft-loader")(ei)});var bo,ab=p(()=>{Xt();bo=r=>r??P});var Fs=p(()=>{ab()});var qe,Oe,Op=p(()=>{"use strict";L();ft();Ps();Vt();nb();$();ut();Y();Fs();qe=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Oe=class extends wd(V){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var t;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((t=this.form)===null||t===void 0||t.requestSubmit())})}render(){var e,t,i;let n=S`
658
658
  <ft-ripple part="ripple"
659
659
  ?disabled=${this.isDisabled()}
660
660
  ?activated=${this.activated}
@@ -662,7 +662,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
662
662
  <ft-or-ftds-typography part="label"
663
663
  variant="${this.typographyVariant}"
664
664
  element="span"
665
- class="ft-button--label ${Ko?"ft-safari-ellipsis-fix":""}"
665
+ class="ft-button--label ${qo?"ft-safari-ellipsis-fix":""}"
666
666
  ?hidden=${!this.hasTextContent()}>
667
667
  <slot @slotchange=${this.onSlotchange}></slot>
668
668
  </ft-or-ftds-typography>
@@ -680,8 +680,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
680
680
  <button part="button"
681
681
  class="${xe(this.buttonClasses)}"
682
682
  aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
683
- aria-haspopup="${yo(this.ariaHasPopup)}"
684
- aria-pressed="${yo(this.ariaPressed)}"
683
+ aria-haspopup="${bo(this.ariaHasPopup)}"
684
+ aria-pressed="${bo(this.ariaPressed)}"
685
685
  ?disabled=${this.isDisabled()}>
686
686
  ${n}
687
687
  </button>
@@ -696,7 +696,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
696
696
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
697
697
  `:S`
698
698
  <slot part="icon" name="icon"></slot>
699
- `}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,t){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,t)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return ui(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Oe.elementDefinitions={"ft-ripple":re,"ft-tooltip":ze,"ft-icon":Ee,"ft-loader":Jo};qe([h()],Oe.prototype,"href",void 0);qe([h()],Oe.prototype,"target",void 0);qe([h()],Oe.prototype,"type",void 0);qe([h({type:Boolean})],Oe.prototype,"disabled",void 0);qe([h()],Oe.prototype,"label",void 0);qe([h()],Oe.prototype,"icon",void 0);qe([h()],Oe.prototype,"iconVariant",void 0);qe([h({type:Boolean})],Oe.prototype,"trailingIcon",void 0);qe([h({type:Boolean})],Oe.prototype,"loading",void 0);qe([h({attribute:"aria-label"})],Oe.prototype,"ariaLabel",void 0);qe([h()],Oe.prototype,"ariaHasPopup",void 0);qe([h({attribute:"aria-pressed"})],Oe.prototype,"ariaPressed",void 0);qe([h()],Oe.prototype,"tooltipPosition",void 0);qe([h({type:Boolean})],Oe.prototype,"hideTooltip",void 0);qe([h({type:Boolean})],Oe.prototype,"forceTooltip",void 0);qe([h({type:Boolean})],Oe.prototype,"activated",void 0);qe([W(".ft-button")],Oe.prototype,"button",void 0);qe([W(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0);qe([W("[part=tooltip]")],Oe.prototype,"tooltip",void 0)});var Ps,Pe,Sp=p(()=>{"use strict";Y();L();Zo();xp();Be();Ps=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Pe=class extends Oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return $e.button}};Pe.elementDefinitions={...Oe.elementDefinitions,"ft-or-ftds-typography":ie};Pe.styles=[Mr,cy];Ps([h({type:Boolean})],Pe.prototype,"primary",void 0);Ps([h({type:Boolean})],Pe.prototype,"outlined",void 0);Ps([h({type:Boolean})],Pe.prototype,"dense",void 0);Ps([h({type:Boolean})],Pe.prototype,"round",void 0)});var Cp,ob,Op=p(()=>{"use strict";$();L();Hr();_n();qo();H();Cp={...x,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},ob=[R`
699
+ `}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,t){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,t)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return fi(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Oe.elementDefinitions={"ft-ripple":re,"ft-tooltip":ze,"ft-icon":Ee,"ft-loader":ei};qe([h()],Oe.prototype,"href",void 0);qe([h()],Oe.prototype,"target",void 0);qe([h()],Oe.prototype,"type",void 0);qe([h({type:Boolean})],Oe.prototype,"disabled",void 0);qe([h()],Oe.prototype,"label",void 0);qe([h()],Oe.prototype,"icon",void 0);qe([h()],Oe.prototype,"iconVariant",void 0);qe([h({type:Boolean})],Oe.prototype,"trailingIcon",void 0);qe([h({type:Boolean})],Oe.prototype,"loading",void 0);qe([h({attribute:"aria-label"})],Oe.prototype,"ariaLabel",void 0);qe([h()],Oe.prototype,"ariaHasPopup",void 0);qe([h({attribute:"aria-pressed"})],Oe.prototype,"ariaPressed",void 0);qe([h()],Oe.prototype,"tooltipPosition",void 0);qe([h({type:Boolean})],Oe.prototype,"hideTooltip",void 0);qe([h({type:Boolean})],Oe.prototype,"forceTooltip",void 0);qe([h({type:Boolean})],Oe.prototype,"activated",void 0);qe([W(".ft-button")],Oe.prototype,"button",void 0);qe([W(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0);qe([W("[part=tooltip]")],Oe.prototype,"tooltip",void 0)});var Ds,Pe,Ep=p(()=>{"use strict";Y();L();Yo();Op();Be();Ds=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Pe=class extends Oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return $e.button}};Pe.elementDefinitions={...Oe.elementDefinitions,"ft-or-ftds-typography":ie};Pe.styles=[Ur,fy];Ds([h({type:Boolean})],Pe.prototype,"primary",void 0);Ds([h({type:Boolean})],Pe.prototype,"outlined",void 0);Ds([h({type:Boolean})],Pe.prototype,"dense",void 0);Ds([h({type:Boolean})],Pe.prototype,"round",void 0)});var wp,sb,Ap=p(()=>{"use strict";$();L();Wr();Nn();Zo();H();wp={...x,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},sb=[R`
700
700
  :host {
701
701
  display: inline-block;
702
702
  max-width: 100%;
@@ -779,7 +779,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
779
779
  }
780
780
 
781
781
  .ft-button.ft-button--icon-only ft-icon {
782
- transform: scale(${Cp.iconOnlyScale});
782
+ transform: scale(${wp.iconOnlyScale});
783
783
  }
784
784
 
785
785
  /** Brand Primary styles **/
@@ -1166,7 +1166,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1166
1166
  .ftds--size-small.ft-button--icon-only {
1167
1167
  width: ${x.smallIconOnlyWidth};
1168
1168
  }
1169
- `,Br]});var Ns,Vt,Ep=p(()=>{"use strict";xp();Y();L();Op();H();Wt();Be();Ns=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vt=class extends mr(Oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=At.brand,this.iconVariant=Qe.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case yt.large:return It.body2medium;case yt.medium:return It.caption1medium;case yt.small:return It.caption2medium}}};Vt.elementDefinitions={...Oe.elementDefinitions,"ft-or-ftds-typography":nr};Vt.styles=[Mr,ob];Ns([h({type:Boolean})],Vt.prototype,"primary",void 0);Ns([h({type:Boolean})],Vt.prototype,"secondary",void 0);Ns([h({type:Boolean})],Vt.prototype,"tertiary",void 0);Ns([h({type:Boolean})],Vt.prototype,"round",void 0)});var ib=p(()=>{"use strict"});var nb=p(()=>{"use strict"});var jt=p(()=>{"use strict";L();Sp();Ep();Sp();Zo();ib();Ep();Op();nb();M("ft-button")(Pe);M("ftds-button")(Vt)});var we,wp,Bn=p(()=>{"use strict";$();L();jt();Ts();we={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",E.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",E.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",E.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",E.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",E.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",E.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",E.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",E.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",E.colorPrimary)},wp=R`
1169
+ `,Mr]});var Bs,jt,Rp=p(()=>{"use strict";Op();Y();L();Ap();H();Vt();Be();Bs=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},jt=class extends mr(Oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Rt.brand,this.iconVariant=Qe.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case yt.large:return kt.body2medium;case yt.medium:return kt.caption1medium;case yt.small:return kt.caption2medium}}};jt.elementDefinitions={...Oe.elementDefinitions,"ft-or-ftds-typography":nr};jt.styles=[Ur,sb];Bs([h({type:Boolean})],jt.prototype,"primary",void 0);Bs([h({type:Boolean})],jt.prototype,"secondary",void 0);Bs([h({type:Boolean})],jt.prototype,"tertiary",void 0);Bs([h({type:Boolean})],jt.prototype,"round",void 0)});var lb=p(()=>{"use strict"});var cb=p(()=>{"use strict"});var Gt=p(()=>{"use strict";L();Ep();Rp();Ep();Yo();lb();Rp();Ap();cb();M("ft-button")(Pe);M("ftds-button")(jt)});var we,Lp,zn=p(()=>{"use strict";$();L();Gt();Ps();we={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",E.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",E.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",E.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",E.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",E.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",E.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",E.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",E.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",E.colorPrimary)},Lp=R`
1170
1170
  * {
1171
1171
  box-sizing: border-box;
1172
1172
  ${y(te.color,we.buttonColor)};
@@ -1242,15 +1242,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1242
1242
  height: 20px;
1243
1243
  border-right: 1px solid ${we.colorOutline};
1244
1244
  }
1245
- `});var Fs,Ap,Ds=p(()=>{"use strict";$();L();Fs={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Ap=R`
1245
+ `});var Ms,Ip,Us=p(()=>{"use strict";$();L();Ms={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Ip=R`
1246
1246
  .kwicmatch {
1247
1247
  font-weight: 700;
1248
- background-color: ${Fs.highlightBackgroundColor};
1248
+ background-color: ${Ms.highlightBackgroundColor};
1249
1249
  }
1250
- `});var Bs,Rp,Ms=p(()=>{"use strict";$();L();Bs={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Rp=R`
1250
+ `});var zs,kp,Hs=p(()=>{"use strict";$();L();zs={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},kp=R`
1251
1251
  .kwicmatch {
1252
1252
  font-weight: 700;
1253
- background-color: ${Bs.highlightBackgroundColor};
1253
+ background-color: ${zs.highlightBackgroundColor};
1254
1254
  }
1255
1255
 
1256
1256
  a {
@@ -1261,11 +1261,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1261
1261
  a:focus {
1262
1262
  outline: revert;
1263
1263
  }
1264
- `});function db(r){var e;return((e=Dt(r))===null||e===void 0?void 0:e.openMode)===ls.EXTERNAL}function zs(r){return db(r)?Dt(r).originUrl:jl(r)}function pb(r,e){return yo(e&&db(r)?"_blank":void 0)}var kp=p(()=>{"use strict";fo();$s();L()});var Gi,Ki,_p=p(()=>{"use strict";Gi=class extends CustomEvent{constructor(e,t){super("ft-search-result-click",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}},Ki=class extends CustomEvent{constructor(e,t){super("ft-search-result-open-context-menu",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}}});var US,$p,Pp=p(()=>{"use strict";$();US={},$p=R`
1265
- `});var ub=p(()=>{"use strict"});var zS,fb,hb=p(()=>{"use strict";L();zS={setRequest:(r,e)=>{r.request=e.payload},setRequestQuery:(r,e)=>{r.request.query=e.payload},setRequestContentLocale:(r,e)=>{r.request.contentLocale=e.payload},setPageSize:(r,e)=>{var t;let i=+((t=e.payload)!==null&&t!==void 0?t:20);r.request.paging.perPage=isNaN(i)?20:$o(1,i,1e3)},setPageNumber:(r,e)=>{r.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(r,e)=>{r.request.sort=e.payload},setRequestSortId:(r,e)=>{r.request.sortId=e.payload},setRequestFilters:(r,e)=>{r.request.metadataFilters=e.payload},setRequestFacets:(r,e)=>{r.request.facets=e.payload},setRequestVirtualField:(r,e)=>{r.request.virtualField=e.payload},setRequestScope:(r,e)=>{r.request.scope=e.payload},setOtherQueryParams:(r,e)=>{r.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(r,e)=>{var t;r.request.clusterSortCriterions=(t=e.payload)!==null&&t!==void 0?t:[]},setKeywordMatch:(r,e)=>{r.request.keywordMatch=e.payload}},fb=r=>zr.get({name:"ft-search-"+r,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:zS})});var Hs,mb=p(()=>{"use strict";Cr();Hs=class extends lt{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(t),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(t),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(t=>t.valueFilter==null?t:{...t,valueFilter:{...t.valueFilter,values:[...t.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((t,i)=>t.key.localeCompare(i.key))}}});var gb,yb,Mn,qi,Np=p(()=>{"use strict";L();hb();fo();mb();gb=r=>r.request.virtualField===Wo.TITLE_ONLY&&r.request.scope===ki.DOCUMENTS,yb=r=>r.request.keywordMatch==uo.MANDATORY,Mn=class r extends Event{constructor(){super(r.eventName)}};Mn.eventName="search-context-clear-all-filters";qi=class r{static build(e,t){return new r(fb(e.trim()||"context"),t)}constructor(e,t){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new de(10),this.searchDebouncer=new de(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new de(1e3),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>{var n;return{input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:(n=i.request.sort)!==null&&n!==void 0?n:[],sortId:i.request.sortId,contentLocale:i.request.contentLocale,scope:i.request.scope,keywordMatch:i.request.keywordMatch}},this.service=t??new Hs,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=Ri(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=Ri(e,this.buildSuggestRequest,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.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var t;let i=(t=this.store.getState().locales)!==null&&t!==void 0?t:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}get sortOptions(){var e,t;return(t=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&t!==void 0?t:[]}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setSortId(e){var t;if(this.store.actions.setPageNumber(1),e==null||this.sortOptions.length==0)return this.store.actions.setRequestSortId(e),e;let i=(t=this.sortOptions.find(n=>n.id==e))!==null&&t!==void 0?t:this.sortOptions[0];return this.store.actions.setRequestSortId(i.id),i.id}setFilters(e){let t=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(t),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Wo.TITLE_ONLY),this.store.actions.setRequestScope(ki.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Wo.EVERYWHERE),this.store.actions.setRequestScope(ki.DEFAULT))}setKeywordMatch(e){this.store.actions.setKeywordMatch(e)}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return gb(this.store.getState())}get keywordMatch(){return yb(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Mn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,t){let i=this.facetIds.filter(n=>n!=e);t&&i.push(t),this.facetIds=i}get facetIds(){var e;let t=this.store.getState().request;return[...new Set([...t.facets.map(i=>i.id),...((e=t.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,t){this.setValueFilter(e,t)}setValueFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:t,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:t}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.dateFilter),...t.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,t,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:t,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.rangeFilter),...t.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var t,i,n,a;try{if((t=this.cancelableSearch)===null||t===void 0||t.cancel(),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{this.cancelableSearch=pi(this.service.launchSearch(e));let s=await this.cancelableSearch;if(this.store.actions.announcements(s.announcements),s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof pr||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var t;try{if((t=this.cancelableSuggest)===null||t===void 0||t.cancel(),e.input.length!=0&&e.input.length<3)return;this.cancelableSuggest=pi(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof pr)&&this.errorHandler&&this.errorHandler(i)}}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 HS,Dp,bb,Fp,WS,VS,Gt,ei=p(()=>{"use strict";L();Y();ub();Np();HS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Dp=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},bb=Symbol("registerInterval"),Fp=Symbol("registerAttempts"),WS=40,VS=Fe(Symbol("toFtSearchComponent"),function(r){class e extends r{setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Fp]=0,this[bb]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Fp]>WS?window.clearInterval(this[bb]):(this[Fp]++,this.dispatchEvent(new Dp))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return HS([D()],e.prototype,"stateManager",void 0),e}),Gt=class extends VS(or){}});function Un(r){return r.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function zn(r){var e,t;return r.dateFilter?{key:r.key,type:"DATE",dateValue:r.dateFilter.type}:r.rangeFilter?{key:r.key,type:"RANGE",from:r.rangeFilter.from,to:r.rangeFilter.to}:{key:r.key,values:(e=r.valueFilter)===null||e===void 0?void 0:e.values,negative:(t=r.valueFilter)===null||t===void 0?void 0:t.negative}}var Bp=p(()=>{"use strict"});var Ws,vb=p(()=>{"use strict";L();fo();Cr();Bp();Ws=class{constructor(e,t){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=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=t??new Ss,this.resultsWatcher=Ri(e,i=>i.results,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.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:t}=U.getState();this.setAppName(e??"unknown"),this.setAppVersion(t??"unknown")}convertToAnalyticsMap(e){let t;switch(e.editorialType){case"BOOK":t="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":t="SHARED_PERSONAL_BOOK";break;case"ARTICLE":t="RESOURCE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:t,metadata:e.metadata}}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}=U.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Ho.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Un(e.metadataFilters),facets:e.metadataFilters.map(n=>zn(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,t){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Ho.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==yr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Ho.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Un(i.metadataFilters),facets:i.metadataFilters.map(s=>zn(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==yr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Ho.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Un(i.metadataFilters),facets:i.metadataFilters.map(s=>zn(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case yr.MAP:return{id:e.map.mapId,title:e.map.title,type:po.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case yr.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:po.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case yr.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:po.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case yr.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:po.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case yr.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:po.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var t;return(t=Dt(e))===null||t===void 0?void 0:t.originUrl}}});var Xe,Vs,js,Gs,Ie,Mp=p(()=>{"use strict";$();Y();L();Pp();ei();Cr();As();vb();Xe=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Vs=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},js=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Gs=class extends CustomEvent{constructor(e,t,i){super("ft-search-results-change",{detail:{request:e,paging:t,spellcheck:i}})}},Ie=class extends or{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=qi.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Ws(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(U)}render(){return S`
1264
+ `});function hb(r){var e;return((e=Bt(r))===null||e===void 0?void 0:e.openMode)===ps.EXTERNAL}function Vs(r){return hb(r)?Bt(r).originUrl:ql(r)}function mb(r,e){return bo(e&&hb(r)?"_blank":void 0)}var $p=p(()=>{"use strict";ho();Fs();L()});var Ki,qi,Np=p(()=>{"use strict";Ki=class extends CustomEvent{constructor(e,t){super("ft-search-result-click",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}},qi=class extends CustomEvent{constructor(e,t){super("ft-search-result-open-context-menu",{detail:{result:e,rank:t},bubbles:!0,composed:!0})}}});var VS,Fp,Dp=p(()=>{"use strict";$();VS={},Fp=R`
1265
+ `});var Er,Zi=p(()=>{"use strict";(function(r){r.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(Er||(Er={}))});var jS,gb,yb=p(()=>{"use strict";L();jS={setRequest:(r,e)=>{r.request=e.payload},setRequestQuery:(r,e)=>{r.request.query=e.payload},setRequestContentLocale:(r,e)=>{r.request.contentLocale=e.payload},setPageSize:(r,e)=>{var t;let i=+((t=e.payload)!==null&&t!==void 0?t:20);r.request.paging.perPage=isNaN(i)?20:Po(1,i,1e3)},setPageNumber:(r,e)=>{r.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(r,e)=>{r.request.sort=e.payload},setRequestSortId:(r,e)=>{r.request.sortId=e.payload},setRequestFilters:(r,e)=>{r.request.metadataFilters=e.payload},setRequestFacets:(r,e)=>{r.request.facets=e.payload},setRequestVirtualField:(r,e)=>{r.request.virtualField=e.payload},setRequestScope:(r,e)=>{r.request.scope=e.payload},setOtherQueryParams:(r,e)=>{r.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(r,e)=>{var t;r.request.clusterSortCriterions=(t=e.payload)!==null&&t!==void 0?t:[]},setKeywordMatch:(r,e)=>{r.request.keywordMatch=e.payload}},gb=r=>Hr.get({name:"ft-search-"+r,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20},keywordMatch:void 0},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:jS})});var js,bb=p(()=>{"use strict";Cr();js=class extends lt{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(t),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let t={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(t),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(t=>t.valueFilter==null?t:{...t,valueFilter:{...t.valueFilter,values:[...t.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((t,i)=>t.key.localeCompare(i.key))}}});var vb,xb,Hn,Yi,Bp=p(()=>{"use strict";Zi();L();yb();ho();bb();vb=r=>r.request.virtualField===Vo.TITLE_ONLY&&r.request.scope===Ti.DOCUMENTS,xb=r=>r.request.keywordMatch==fo.MANDATORY,Hn=class r extends Event{constructor(){super(r.eventName)}};Hn.eventName="search-context-clear-all-filters";Yi=class r extends _n{static build(e,t){return new r(gb(e.trim()||"context"),t)}constructor(e,t){super(),this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new de(10),this.searchDebouncer=new de(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new de(1e3),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>{var n;return{input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:(n=i.request.sort)!==null&&n!==void 0?n:[],sortId:i.request.sortId,contentLocale:i.request.contentLocale,scope:i.request.scope,keywordMatch:i.request.keywordMatch}},this.service=t??new js,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=Li(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=Li(e,this.buildSuggestRequest,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.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var t;let i=(t=this.store.getState().locales)!==null&&t!==void 0?t:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}get sortOptions(){var e,t;return(t=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&t!==void 0?t:[]}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setSortId(e){var t;if(this.store.actions.setPageNumber(1),e==null||this.sortOptions.length==0)return this.store.actions.setRequestSortId(e),e;let i=(t=this.sortOptions.find(n=>n.id==e))!==null&&t!==void 0?t:this.sortOptions[0];return this.store.actions.setRequestSortId(i.id),i.id}setFilters(e){let t=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(t),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Vo.TITLE_ONLY),this.store.actions.setRequestScope(Ti.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Vo.EVERYWHERE),this.store.actions.setRequestScope(Ti.DEFAULT))}setKeywordMatch(e){this.store.actions.setKeywordMatch(e)}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return vb(this.store.getState())}get keywordMatch(){return xb(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Hn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,t){let i=this.facetIds.filter(n=>n!=e);t&&i.push(t),this.facetIds=i}get facetIds(){var e;let t=this.store.getState().request;return[...new Set([...t.facets.map(i=>i.id),...((e=t.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,t){this.setValueFilter(e,t)}setValueFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:t,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,t){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:t}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.dateFilter),...t.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,t,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:t,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let t=this.store.getState().request.metadataFilters,i=[...t.filter(n=>!n.rangeFilter),...t.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var t,i,n,a;if((t=this.cancelableSearch)===null||t===void 0||t.cancel(),!!this.isRequestNeeded(Er.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{this.cancelableSearch=ui(this.service.launchSearch(e));let s=await this.cancelableSearch;if(this.store.actions.announcements(s.announcements),s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof pr||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var t;try{if((t=this.cancelableSuggest)===null||t===void 0||t.cancel(),e.input.length!=0&&e.input.length<3)return;this.cancelableSuggest=ui(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof pr)&&this.errorHandler&&this.errorHandler(i)}}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 Sb,Up,Cb,Mp,GS,KS,Kt,ti=p(()=>{"use strict";L();Y();Zi();Bp();Sb=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Up=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Cb=Symbol("registerInterval"),Mp=Symbol("registerAttempts"),GS=40,KS=Fe(Symbol("toFtSearchComponent"),function(r){class e extends r{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(i){var n,a,s;super.willUpdate(i),i.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=i.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Mp]=0,this.tryToRegisterToContext(),this[Cb]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Mp]>GS?window.clearInterval(this[Cb]):(this[Mp]++,this.dispatchEvent(new Up))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Sb([D()],e.prototype,"stateManager",void 0),Sb([D({hasChanged:At})],e.prototype,"neededSearchRequests",void 0),e}),Kt=class extends KS(or){}});function Wn(r){return r.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Vn(r){var e,t;return r.dateFilter?{key:r.key,type:"DATE",dateValue:r.dateFilter.type}:r.rangeFilter?{key:r.key,type:"RANGE",from:r.rangeFilter.from,to:r.rangeFilter.to}:{key:r.key,values:(e=r.valueFilter)===null||e===void 0?void 0:e.values,negative:(t=r.valueFilter)===null||t===void 0?void 0:t.negative}}var zp=p(()=>{"use strict"});var Gs,Ob=p(()=>{"use strict";L();ho();Cr();zp();Gs=class{constructor(e,t){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=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=t??new Es,this.resultsWatcher=Li(e,i=>i.results,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.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:t}=U.getState();this.setAppName(e??"unknown"),this.setAppVersion(t??"unknown")}convertToAnalyticsMap(e){let t;switch(e.editorialType){case"BOOK":t="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":t="SHARED_PERSONAL_BOOK";break;case"ARTICLE":t="RESOURCE";break;default:throw new TypeError("Unknown editorial type for map : "+e.editorialType)}return{id:e.id,title:e.title,type:t,metadata:e.metadata}}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}=U.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,t){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Wo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Wn(e.metadataFilters),facets:e.metadataFilters.map(n=>Vn(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,t){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Wo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:t.length},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==yr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Wo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Wn(i.metadataFilters),facets:i.metadataFilters.map(s=>Vn(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,t){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==yr.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Wo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Wn(i.metadataFilters),facets:i.metadataFilters.map(s=>Vn(s))},searchResult:{rank:t,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case yr.MAP:return{id:e.map.mapId,title:e.map.title,type:uo.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case yr.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:uo.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case yr.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:uo.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};case yr.HTML_PACKAGE:return{id:e.htmlPackage.packageId,title:e.htmlPackage.title,type:uo.HTML_PACKAGE,metadata:e.htmlPackage.metadata};case yr.HTML_PACKAGE_PAGE:return{id:e.htmlPackagePage.packageId,title:e.htmlPackagePage.title,type:uo.HTML_PACKAGE,metadata:e.htmlPackagePage.metadata};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var t;return(t=Bt(e))===null||t===void 0?void 0:t.originUrl}}});var Xe,Ks,qs,Zs,Ie,Hp=p(()=>{"use strict";$();Y();L();Dp();ti();Cr();Is();Ob();Xe=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ks=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},qs=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Zs=class extends CustomEvent{constructor(e,t,i){super("ft-search-results-change",{detail:{request:e,paging:t,spellcheck:i}})}},Ie=class extends or{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Yi.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Gs(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(U)}render(){return S`
1266
1266
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click=${this.onResultClicked}
1267
1267
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
1268
- `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("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("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSortId(this.sortId),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new js(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Gs(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Vs(e))}reloadSavedSearches(){cp.clearMySearches()}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)}};Ie.elementDefinitions={};Ie.styles=$p;Xe([Ce({store:U.name})],Ie.prototype,"session",void 0);Xe([h()],Ie.prototype,"query",void 0);Xe([h()],Ie.prototype,"contentLocale",void 0);Xe([Bt()],Ie.prototype,"pageSize",void 0);Xe([h({type:Boolean})],Ie.prototype,"searchInDocumentTitlesOnly",void 0);Xe([h()],Ie.prototype,"keywordMatch",void 0);Xe([h()],Ie.prototype,"scope",void 0);Xe([h()],Ie.prototype,"virtualField",void 0);Xe([h({type:Boolean})],Ie.prototype,"ignoreEmptyQuery",void 0);Xe([Ce({store:U.name})],Ie.prototype,"openExternalDocumentInNewTab",void 0);Xe([ye([])],Ie.prototype,"filters",void 0);Xe([h()],Ie.prototype,"sortId",void 0);Xe([ye([])],Ie.prototype,"sort",void 0);Xe([ye({})],Ie.prototype,"otherQueryParams",void 0);Xe([Ce({store:"search"})],Ie.prototype,"request",void 0);Xe([Ce({store:"search"})],Ie.prototype,"paging",void 0);Xe([Ce({store:"search",selector:r=>r.spellcheck})],Ie.prototype,"autocorrect",void 0);Xe([h({attribute:!1})],Ie.prototype,"searchServiceProvider",void 0)});var xb=p(()=>{"use strict"});var Sb={};oe(Sb,{ClearAllFiltersEvent:()=>Mn,FtSearchContext:()=>Ie,FtSearchContextCssVariables:()=>US,FtSearchStateManager:()=>qi,LoadErrorEvent:()=>Vs,SearchRequestChangeEvent:()=>js,SearchResultsChangeEvent:()=>Gs,convertMetadataFilterToAnalyticsFacet:()=>zn,getAnalyticsLastUpdate:()=>Un,keywordMatchSelector:()=>yb,searchInDocumentTitlesOnlySelector:()=>gb,styles:()=>$p});var Cb=p(()=>{"use strict";L();Mp();Pp();xb();Mp();Np();Bp();M("ft-search-context")(Ie)});var bo,Up=p(()=>{"use strict";Ht();bo=Or.build("designedSearchInput")});var Kt,zp=p(()=>{"use strict";(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(Kt||(Kt={}))});var Ob,Hp=p(()=>{"use strict";$();Ob=R`
1268
+ `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("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("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new qs(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Zs(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ks(e))}reloadSavedSearches(){up.clearMySearches()}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)}};Ie.elementDefinitions={};Ie.styles=Fp;Xe([Ce({store:U.name})],Ie.prototype,"session",void 0);Xe([h()],Ie.prototype,"query",void 0);Xe([h()],Ie.prototype,"contentLocale",void 0);Xe([Mt()],Ie.prototype,"pageSize",void 0);Xe([h({type:Boolean})],Ie.prototype,"searchInDocumentTitlesOnly",void 0);Xe([h()],Ie.prototype,"keywordMatch",void 0);Xe([h()],Ie.prototype,"scope",void 0);Xe([h()],Ie.prototype,"virtualField",void 0);Xe([h({type:Boolean})],Ie.prototype,"ignoreEmptyQuery",void 0);Xe([Ce({store:U.name})],Ie.prototype,"openExternalDocumentInNewTab",void 0);Xe([ye([])],Ie.prototype,"filters",void 0);Xe([h()],Ie.prototype,"sortId",void 0);Xe([ye([])],Ie.prototype,"sort",void 0);Xe([ye({})],Ie.prototype,"otherQueryParams",void 0);Xe([Ce({store:"search"})],Ie.prototype,"request",void 0);Xe([Ce({store:"search"})],Ie.prototype,"paging",void 0);Xe([Ce({store:"search",selector:r=>r.spellcheck})],Ie.prototype,"autocorrect",void 0);Xe([h({attribute:!1})],Ie.prototype,"searchServiceProvider",void 0)});var Eb=p(()=>{"use strict"});var wb={};oe(wb,{ClearAllFiltersEvent:()=>Hn,FtSearchContext:()=>Ie,FtSearchContextCssVariables:()=>VS,FtSearchStateManager:()=>Yi,LoadErrorEvent:()=>Ks,SearchRequestChangeEvent:()=>qs,SearchResultsChangeEvent:()=>Zs,convertMetadataFilterToAnalyticsFacet:()=>Vn,getAnalyticsLastUpdate:()=>Wn,keywordMatchSelector:()=>xb,searchInDocumentTitlesOnlySelector:()=>vb,styles:()=>Fp});var Ab=p(()=>{"use strict";L();Hp();Dp();Eb();Hp();Bp();zp();M("ft-search-context")(Ie)});var vo,Wp=p(()=>{"use strict";Wt();vo=Or.build("designedSearchInput")});var qt,Vp=p(()=>{"use strict";(function(r){r.S="S",r.M="M",r.L="L",r.XL="XL",r.XXL="XXL"})(qt||(qt={}))});var Rb,jp=p(()=>{"use strict";$();Rb=R`
1269
1269
  .ft-size-watcher--pixel {
1270
1270
  width: 0;
1271
1271
  height: 0;
@@ -1284,19 +1284,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1284
1284
  .ft-size-watcher--local .ft-size-watcher--watcher {
1285
1285
  width: 100%;
1286
1286
  }
1287
- `});var Hn,Wp,Tt,Vp=p(()=>{"use strict";$();Y();L();zp();Hp();Hn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Wp=class extends CustomEvent{constructor(e,t){super("change",{detail:{size:e,category:t}})}},Tt=class extends V{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Kt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new de}render(){return S`
1287
+ `});var jn,Gp,_t,Kp=p(()=>{"use strict";$();Y();L();Vp();jp();jn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Gp=class extends CustomEvent{constructor(e,t){super("change",{detail:{size:e,category:t}})}},_t=class extends V{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=qt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new de}render(){return S`
1288
1288
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1289
1289
  <div class="ft-size-watcher--watcher"></div>
1290
1290
  </div>
1291
- `}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=Kt.S:this.size<976?this.category=Kt.M:this.size<1024?this.category=Kt.L:this.size<1440?this.category=Kt.XL:this.category=Kt.XXL,this.dispatchEvent(new Wp(this.size,this.category)))},this.debounceTimeout)}};Tt.elementDefinitions={};Tt.styles=Ob;Hn([h({type:Number})],Tt.prototype,"debounceTimeout",void 0);Hn([h({type:Boolean})],Tt.prototype,"local",void 0);Hn([h({type:Number,reflect:!0})],Tt.prototype,"size",void 0);Hn([h({type:String,reflect:!0})],Tt.prototype,"category",void 0);Hn([W(".ft-size-watcher--watcher")],Tt.prototype,"watcher",void 0)});var Eb=p(()=>{"use strict";L();Vp();Vp();Hp();zp();M("ft-size-watcher")(Tt)});function Ks(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function wb(r){return Ks(r).split("|").pop()}function Ab(r){return Ks(r).split("|").join(" > ")}function Rb(r,e){return{label:r.label,selected:!e&&r.selected,subOptions:r.childNodes.map(t=>Rb(t,r.selected)),value:r.value}}function Lb(r){return wt(r.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]}).filter(e=>e.selected).map(e=>e.label)}function jp(r){return{id:r.key,label:r.label,multivalued:r.multiSelectionable,options:r.rootNodes.map(e=>Rb(e,!1))}}function Ib(r){return wt(r.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Gp=p(()=>{"use strict";L()});var _t,kb,Kp=p(()=>{"use strict";L();$();Be();ft();_t={textColor:o.extend("--ft-checkbox-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",j.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",E.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",E.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",E.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",E.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",E.colorError)},kb=R`
1291
+ `}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=qt.S:this.size<976?this.category=qt.M:this.size<1024?this.category=qt.L:this.size<1440?this.category=qt.XL:this.category=qt.XXL,this.dispatchEvent(new Gp(this.size,this.category)))},this.debounceTimeout)}};_t.elementDefinitions={};_t.styles=Rb;jn([h({type:Number})],_t.prototype,"debounceTimeout",void 0);jn([h({type:Boolean})],_t.prototype,"local",void 0);jn([h({type:Number,reflect:!0})],_t.prototype,"size",void 0);jn([h({type:String,reflect:!0})],_t.prototype,"category",void 0);jn([W(".ft-size-watcher--watcher")],_t.prototype,"watcher",void 0)});var Lb=p(()=>{"use strict";L();Kp();Kp();jp();Vp();M("ft-size-watcher")(_t)});function Ys(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Ib(r){return Ys(r).split("|").pop()}function kb(r){return Ys(r).split("|").join(" > ")}function Tb(r,e){return{label:r.label,selected:!e&&r.selected,subOptions:r.childNodes.map(t=>Tb(t,r.selected)),value:r.value}}function _b(r){return wt(r.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]}).filter(e=>e.selected).map(e=>e.label)}function qp(r){return{id:r.key,label:r.label,multivalued:r.multiSelectionable,options:r.rootNodes.map(e=>Tb(e,!1))}}function $b(r){return wt(r.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Zp=p(()=>{"use strict";L()});var $t,Pb,Yp=p(()=>{"use strict";L();$();Be();ft();$t={textColor:o.extend("--ft-checkbox-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",j.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",E.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",E.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",E.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",E.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",E.colorError)},Pb=R`
1292
1292
  * {
1293
1293
  box-sizing: border-box;
1294
1294
  }
1295
1295
 
1296
1296
  .ft-checkbox {
1297
1297
  box-sizing: border-box;
1298
- color: ${_t.textColor};
1299
- font-size: ${_t.fontSize};
1298
+ color: ${$t.textColor};
1299
+ font-size: ${$t.fontSize};
1300
1300
 
1301
1301
  display: inline-flex;
1302
1302
  align-items: center;
@@ -1304,7 +1304,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1304
1304
  }
1305
1305
 
1306
1306
  .ft-checkbox--disabled {
1307
- color: ${_t.disabledColor};
1307
+ color: ${$t.disabledColor};
1308
1308
  }
1309
1309
 
1310
1310
  input {
@@ -1328,26 +1328,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1328
1328
 
1329
1329
  .ft-checkbox--box {
1330
1330
  display: flex;
1331
- border: 2px solid ${_t.borderColor};
1331
+ border: 2px solid ${$t.borderColor};
1332
1332
  border-radius: 2px;
1333
1333
 
1334
1334
  width: 18px;
1335
1335
  height: 18px;
1336
1336
 
1337
- color: ${_t.checkColor};
1337
+ color: ${$t.checkColor};
1338
1338
  }
1339
1339
 
1340
1340
 
1341
1341
  .ft-checkbox--checked .ft-checkbox--box,
1342
1342
  .ft-checkbox--indeterminate .ft-checkbox--box {
1343
- border-color: ${_t.activeColor};
1344
- background-color: ${_t.activeColor};
1343
+ border-color: ${$t.activeColor};
1344
+ background-color: ${$t.activeColor};
1345
1345
  }
1346
1346
 
1347
1347
  .ft-checkbox--disabled .ft-checkbox--box {
1348
- border-color: ${_t.disabledColor};
1348
+ border-color: ${$t.disabledColor};
1349
1349
  background-color: transparent;
1350
- color: ${_t.disabledColor};
1350
+ color: ${$t.disabledColor};
1351
1351
  }
1352
1352
 
1353
1353
  .ft-checkbox--checkmark {
@@ -1368,20 +1368,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1368
1368
  }
1369
1369
 
1370
1370
  .ft-checkbox.ft-checkbox--error {
1371
- color: ${_t.errorColor};
1372
- ${y(T.color,_t.errorColor)};
1371
+ color: ${$t.errorColor};
1372
+ ${y(T.color,$t.errorColor)};
1373
1373
 
1374
1374
  .ft-checkbox--box {
1375
- border-color: ${_t.errorColor};
1375
+ border-color: ${$t.errorColor};
1376
1376
  }
1377
1377
 
1378
1378
  &.ft-checkbox--checked, &.ft-checkbox--indeterminate {
1379
1379
  .ft-checkbox--box {
1380
- background-color: ${_t.errorColor};
1380
+ background-color: ${$t.errorColor};
1381
1381
  }
1382
1382
  }
1383
1383
  }
1384
- `});var vo,dt,qp=p(()=>{"use strict";$();Y();L();ut();ft();Be();Kp();vo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dt=class extends V{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return S`
1384
+ `});var xo,dt,Qp=p(()=>{"use strict";$();Y();L();ut();ft();Be();Yp();xo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},dt=class extends V{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return S`
1385
1385
  <label class="${xe(e)}" for="checkbox-input" part="checkbox-label">
1386
1386
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1387
1387
  <ft-ripple part="checkbox-ripple"
@@ -1408,7 +1408,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1408
1408
  <slot></slot>
1409
1409
  </ft-typography>
1410
1410
  </label>
1411
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};dt.elementDefinitions={"ft-ripple":re,"ft-typography":ie};dt.styles=kb;vo([h()],dt.prototype,"name",void 0);vo([h({type:Boolean,reflect:!0})],dt.prototype,"checked",void 0);vo([h({type:Boolean})],dt.prototype,"indeterminate",void 0);vo([h({type:Boolean})],dt.prototype,"disabled",void 0);vo([h({type:Boolean})],dt.prototype,"error",void 0);vo([W(".ft-checkbox")],dt.prototype,"container",void 0);vo([W("ft-ripple")],dt.prototype,"ripple",void 0);vo([W("input")],dt.prototype,"input",void 0)});var Tb=p(()=>{"use strict"});var _b=p(()=>{"use strict";L();qp();qp();Kp();Tb();M("ft-checkbox")(dt)});var xo,qs,tt,Zs=p(()=>{"use strict";$();Y();L();ut();ft();xo=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qs=class extends CustomEvent{constructor(e,t){super("change",{detail:{value:e,checked:t},bubbles:!0,composed:!0})}},tt=class extends V{constructor(){super(...arguments),this.value="",this.name="",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}}get typographyVariant(){return""}render(){return S`
1411
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};dt.elementDefinitions={"ft-ripple":re,"ft-typography":ie};dt.styles=Pb;xo([h()],dt.prototype,"name",void 0);xo([h({type:Boolean,reflect:!0})],dt.prototype,"checked",void 0);xo([h({type:Boolean})],dt.prototype,"indeterminate",void 0);xo([h({type:Boolean})],dt.prototype,"disabled",void 0);xo([h({type:Boolean})],dt.prototype,"error",void 0);xo([W(".ft-checkbox")],dt.prototype,"container",void 0);xo([W("ft-ripple")],dt.prototype,"ripple",void 0);xo([W("input")],dt.prototype,"input",void 0)});var Nb=p(()=>{"use strict"});var Fb=p(()=>{"use strict";L();Qp();Qp();Yp();Nb();M("ft-checkbox")(dt)});var So,Qs,tt,Xs=p(()=>{"use strict";$();Y();L();ut();ft();So=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Qs=class extends CustomEvent{constructor(e,t){super("change",{detail:{value:e,checked:t},bubbles:!0,composed:!0})}},tt=class extends V{constructor(){super(...arguments),this.value="",this.name="",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}}get typographyVariant(){return""}render(){return S`
1412
1412
  <div class="${xe(this.radioClasses)}"
1413
1413
  @click=${this.onClick}>
1414
1414
  <div class="ft-radio--box-container">
@@ -1434,15 +1434,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1434
1434
  </ft-or-ftds-typography>
1435
1435
  </label>
1436
1436
  </div>
1437
- `}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 qs(this.value,this.checked))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new qs(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 t;return(t=this.ripple)===null||t===void 0?void 0:t.forceFocusUpdate()},0)}onClick(e){var t;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(t=this.input)===null||t===void 0||t.click())}};tt.elementDefinitions={"ft-ripple":re};xo([h()],tt.prototype,"value",void 0);xo([h()],tt.prototype,"name",void 0);xo([h({type:Boolean,reflect:!0})],tt.prototype,"checked",void 0);xo([h({attribute:"aria-checked",reflect:!0})],tt.prototype,"ariaChecked",void 0);xo([h({type:Boolean})],tt.prototype,"disabled",void 0);xo([W(".ft-radio")],tt.prototype,"container",void 0);xo([W("ft-ripple")],tt.prototype,"ripple",void 0);xo([W("input")],tt.prototype,"input",void 0)});var So,$b,Zp=p(()=>{"use strict";$();L();Be();So={textColor:o.extend("--ft-radio-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",j.fontSize),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",E.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system")},$b=R`
1437
+ `}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 Qs(this.value,this.checked))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),(t=this.ripple)===null||t===void 0||t.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Qs(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 t;return(t=this.ripple)===null||t===void 0?void 0:t.forceFocusUpdate()},0)}onClick(e){var t;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(t=this.input)===null||t===void 0||t.click())}};tt.elementDefinitions={"ft-ripple":re};So([h()],tt.prototype,"value",void 0);So([h()],tt.prototype,"name",void 0);So([h({type:Boolean,reflect:!0})],tt.prototype,"checked",void 0);So([h({attribute:"aria-checked",reflect:!0})],tt.prototype,"ariaChecked",void 0);So([h({type:Boolean})],tt.prototype,"disabled",void 0);So([W(".ft-radio")],tt.prototype,"container",void 0);So([W("ft-ripple")],tt.prototype,"ripple",void 0);So([W("input")],tt.prototype,"input",void 0)});var Co,Db,Xp=p(()=>{"use strict";$();L();Be();Co={textColor:o.extend("--ft-radio-text-color","",E.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",j.fontSize),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",E.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system")},Db=R`
1438
1438
  * {
1439
1439
  box-sizing: border-box;
1440
1440
  }
1441
1441
 
1442
1442
  .ft-radio {
1443
1443
  box-sizing: border-box;
1444
- color: ${So.textColor};
1445
- font-size: ${So.fontSize};
1444
+ color: ${Co.textColor};
1445
+ font-size: ${Co.fontSize};
1446
1446
 
1447
1447
  display: inline-flex;
1448
1448
  align-items: center;
@@ -1450,7 +1450,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1450
1450
  }
1451
1451
 
1452
1452
  .ft-radio--disabled {
1453
- color: ${So.colorOnSurfaceDisabled};
1453
+ color: ${Co.colorOnSurfaceDisabled};
1454
1454
  }
1455
1455
 
1456
1456
  input {
@@ -1473,7 +1473,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1473
1473
  }
1474
1474
 
1475
1475
  .ft-radio--box {
1476
- border: 2px solid ${So.borderColor};
1476
+ border: 2px solid ${Co.borderColor};
1477
1477
  border-radius: 50%;
1478
1478
 
1479
1479
  display: flex;
@@ -1486,7 +1486,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1486
1486
 
1487
1487
  .ft-radio--box:after {
1488
1488
  content: " ";
1489
- background-color: ${So.colorPrimary};
1489
+ background-color: ${Co.colorPrimary};
1490
1490
 
1491
1491
  border-radius: 50%;
1492
1492
 
@@ -1498,7 +1498,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1498
1498
  }
1499
1499
 
1500
1500
  .ft-radio--checked .ft-radio--box {
1501
- border-color: ${So.colorPrimary};
1501
+ border-color: ${Co.colorPrimary};
1502
1502
  }
1503
1503
 
1504
1504
 
@@ -1507,12 +1507,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1507
1507
  }
1508
1508
 
1509
1509
  .ft-radio--disabled .ft-radio--box {
1510
- border-color: ${So.colorOnSurfaceDisabled};
1510
+ border-color: ${Co.colorOnSurfaceDisabled};
1511
1511
  background-color: transparent;
1512
1512
  }
1513
1513
 
1514
1514
  .ft-radio--disabled .ft-radio--box:after {
1515
- background-color: ${So.colorOnSurfaceDisabled};
1515
+ background-color: ${Co.colorOnSurfaceDisabled};
1516
1516
  }
1517
1517
 
1518
1518
  .ft-radio:has(:focus-visible) {
@@ -1523,7 +1523,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1523
1523
  .ft-radio ft-or-ftds-typography {
1524
1524
  padding-right: 2px;
1525
1525
  }
1526
- `});var Er,Yp=p(()=>{"use strict";Zs();Zp();hs();Be();Zs();Er=class extends tt{get typographyVariant(){return $e.body2}};Er.elementDefinitions={...tt.elementDefinitions,"ft-or-ftds-typography":ie};Er.styles=$b});var Pb,Qp=p(()=>{"use strict";$();L();ft();Pb=R`
1526
+ `});var wr,Jp=p(()=>{"use strict";Xs();Xp();ys();Be();Xs();wr=class extends tt{get typographyVariant(){return $e.body2}};wr.elementDefinitions={...tt.elementDefinitions,"ft-or-ftds-typography":ie};wr.styles=Db});var Bb,eu=p(()=>{"use strict";$();L();ft();Bb=R`
1527
1527
  * {
1528
1528
  box-sizing: border-box;
1529
1529
  --input-size: calc(${ue.circleSize} + 2 * (${ue.focusOutlineOffset} + ${ue.focusOutlineWidth}));
@@ -1631,12 +1631,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1631
1631
  .ft-radio ft-or-ftds-typography {
1632
1632
  padding-right: 2px;
1633
1633
  }
1634
- `});var Zi,Xp=p(()=>{"use strict";Zs();L();Qp();H();Be();Zi=class extends mr(tt){constructor(){super(...arguments),this.family=At.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return It.body2medium}};Zi.elementDefinitions={...tt.elementDefinitions,"ft-or-ftds-typography":ie};Zi.styles=[Mr,Pb]});var Wn,qt,Ys=p(()=>{"use strict";L();Y();$();Wn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qt=class extends V{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,t;return(t=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&t!==void 0?t:[]}render(){return S`
1634
+ `});var Qi,tu=p(()=>{"use strict";Xs();L();eu();H();Be();Qi=class extends mr(tt){constructor(){super(...arguments),this.family=Rt.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return kt.body2medium}};Qi.elementDefinitions={...tt.elementDefinitions,"ft-or-ftds-typography":ie};Qi.styles=[Ur,Bb]});var Gn,Zt,Js=p(()=>{"use strict";L();Y();$();Gn=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Zt=class extends V{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,t;return(t=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&t!==void 0?t:[]}render(){return S`
1635
1635
  <slot @slotchange=${this.onSlotChange}
1636
1636
  @change=${this.onChange}
1637
1637
  @keydown=${this.onKeyDown}
1638
1638
  ></slot>
1639
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{t=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.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()}};qt.elementDefinitions={};Wn([h()],qt.prototype,"name",void 0);Wn([h({reflect:!0,attribute:"role"})],qt.prototype,"role",void 0);Wn([h({reflect:!0,attribute:"aria-labelledby"})],qt.prototype,"ariaLabelledBy",void 0);Wn([Rl()],qt.prototype,"assignedElements",void 0);Wn([D()],qt.prototype,"currentSelectedIndex",void 0)});var Nb,Jp=p(()=>{"use strict";$();Nb=R`
1639
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(t=>t.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(t=>t.checked=e.detail.value===t.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let t=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{t=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{t=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}t&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(t=>t.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()}};Zt.elementDefinitions={};Gn([h()],Zt.prototype,"name",void 0);Gn([h({reflect:!0,attribute:"role"})],Zt.prototype,"role",void 0);Gn([h({reflect:!0,attribute:"aria-labelledby"})],Zt.prototype,"ariaLabelledBy",void 0);Gn([kl()],Zt.prototype,"assignedElements",void 0);Gn([D()],Zt.prototype,"currentSelectedIndex",void 0)});var Mb,ru=p(()=>{"use strict";$();Mb=R`
1640
1640
  :host {
1641
1641
  display: block;
1642
1642
  }
@@ -1644,7 +1644,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1644
1644
  :host(:focus-visible) {
1645
1645
  outline: none;
1646
1646
  }
1647
- `});var ti,eu=p(()=>{"use strict";Ys();Jp();Ys();ti=class extends qt{};ti.styles=Nb});var Fb,tu=p(()=>{"use strict";$();L();Fb=R`
1647
+ `});var ri,ou=p(()=>{"use strict";Js();ru();Js();ri=class extends Zt{};ri.styles=Mb});var Ub,iu=p(()=>{"use strict";$();L();Ub=R`
1648
1648
  :host {
1649
1649
  display: flex;
1650
1650
  flex-direction: column;
@@ -1654,7 +1654,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1654
1654
  :host(:focus-visible) {
1655
1655
  outline: none;
1656
1656
  }
1657
- `});var Vn,ru=p(()=>{"use strict";Ys();L();tu();H();Vn=class extends mr(qt){constructor(){super(...arguments),this.family=At.brand}};Vn.styles=[Mr,Fb]});var ou=p(()=>{"use strict";L();Yp();Xp();eu();ru();Yp();Zp();Xp();Qp();eu();Jp();ru();tu();M("ft-radio")(Er);M("ftds-radio")(Zi);M("ft-radio-group")(ti);M("ftds-radio-group")(Vn)});var jn,Db,iu=p(()=>{"use strict";$();L();Zo();zt();jn={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",E.colorOnSurface),borderRadiusM:o.external(E.borderRadiusM,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),fontFamily:o.external(Ge.fontFamily,"Body2 typography"),fontSize:o.external(Ge.fontSize,"Body2 typography"),fontWeight:o.external(Ge.fontWeight,"Body2 typography"),letterSpacing:o.external(Ge.letterSpacing,"Body2 typography"),lineHeight:o.external(Ge.lineHeight,"Body2 typography"),textTransform:o.external(Ge.textTransform,"Body2 typography")},Db=R`
1657
+ `});var Kn,nu=p(()=>{"use strict";Js();L();iu();H();Kn=class extends mr(Zt){constructor(){super(...arguments),this.family=Rt.brand}};Kn.styles=[Ur,Ub]});var au=p(()=>{"use strict";L();Jp();tu();ou();nu();Jp();Xp();tu();eu();ou();ru();nu();iu();M("ft-radio")(wr);M("ftds-radio")(Qi);M("ft-radio-group")(ri);M("ftds-radio-group")(Kn)});var qn,zb,su=p(()=>{"use strict";$();L();Yo();Ht();qn={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",E.colorOnSurface),borderRadiusM:o.external(E.borderRadiusM,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorOnPrimary:o.external(E.colorOnPrimary,"Design system"),fontFamily:o.external(Ge.fontFamily,"Body2 typography"),fontSize:o.external(Ge.fontSize,"Body2 typography"),fontWeight:o.external(Ge.fontWeight,"Body2 typography"),letterSpacing:o.external(Ge.letterSpacing,"Body2 typography"),lineHeight:o.external(Ge.lineHeight,"Body2 typography"),textTransform:o.external(Ge.textTransform,"Body2 typography")},zb=R`
1658
1658
  .ft-filter-level--container {
1659
1659
  display: flex;
1660
1660
  flex-direction: column;
@@ -1668,14 +1668,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1668
1668
  flex-shrink: 0;
1669
1669
  text-decoration: none;
1670
1670
  position: relative;
1671
- border-radius: ${jn.borderRadiusM};
1671
+ border-radius: ${qn.borderRadiusM};
1672
1672
  overflow: hidden;
1673
1673
  display: flex;
1674
1674
  align-items: center;
1675
1675
  padding: 4px 4px;
1676
1676
  gap: 4px;
1677
1677
  cursor: pointer;
1678
- color: ${jn.colorOnSurface};
1678
+ color: ${qn.colorOnSurface};
1679
1679
  }
1680
1680
 
1681
1681
  .ft-filter-level--go-back:focus {
@@ -1704,11 +1704,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1704
1704
  }
1705
1705
 
1706
1706
  ft-button {
1707
- ${y(te.color,jn.colorOnSurface)};
1707
+ ${y(te.color,qn.colorOnSurface)};
1708
1708
  }
1709
1709
 
1710
1710
  ft-button.ft-filter-level--display-more {
1711
- ${y(te.color,jn.buttonMoreColor)};
1711
+ ${y(te.color,qn.buttonMoreColor)};
1712
1712
  }
1713
1713
 
1714
1714
  ft-radio, ft-checkbox {
@@ -1722,9 +1722,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1722
1722
 
1723
1723
  .ft-filter-level--no-values {
1724
1724
  margin: 10px 0;
1725
- color: ${jn.colorOnSurfaceMedium};
1725
+ color: ${qn.colorOnSurfaceMedium};
1726
1726
  }
1727
- `});var rt,Me,Bb=p(()=>{"use strict";$();Y();er();L();jt();Be();ft();Wt();_b();ou();iu();Ht();rt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Me=class extends xt(ds(V)){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 de(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,t;return(t=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&t!==void 0?t: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(t=>!t.selected)),this.filter&&(e=e.filter(t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return S`
1727
+ `});var rt,Me,Hb=p(()=>{"use strict";$();Y();tr();L();Gt();Be();ft();Vt();Fb();au();su();Wt();rt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Me=class extends xt(fs(V)){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 de(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,t;return(t=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&t!==void 0?t: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(t=>!t.selected)),this.filter&&(e=e.filter(t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return S`
1728
1728
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1729
1729
  ${this.parent==null?null:S`
1730
1730
  <div tabindex="0"
@@ -1791,7 +1791,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1791
1791
  @change=${t=>this.optionsChanged(t,e)}>
1792
1792
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1793
1793
  </ft-radio>
1794
- `}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}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 t=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(t)})}};Me.elementDefinitions={"ft-button":Pe,"ft-ripple":re,"ft-typography":ie,"ft-checkbox":dt,"ft-icon":Ee,"ft-radio":Er};Me.styles=Db;rt([h({type:String})],Me.prototype,"filterId",void 0);rt([h({type:Object})],Me.prototype,"parent",void 0);rt([h({type:Array,hasChanged:tr})],Me.prototype,"options",void 0);rt([h({type:Boolean})],Me.prototype,"multivalued",void 0);rt([h({type:Boolean})],Me.prototype,"disabled",void 0);rt([h({type:Boolean})],Me.prototype,"hideSelectedOptions",void 0);rt([h({type:Boolean})],Me.prototype,"displayCount",void 0);rt([h({type:Boolean})],Me.prototype,"preventNavigation",void 0);rt([h({type:String})],Me.prototype,"filter",void 0);rt([h({type:String})],Me.prototype,"moreValuesButtonLabel",void 0);rt([h({type:String})],Me.prototype,"noValuesLabel",void 0);rt([h()],Me.prototype,"filteredOptionsNumberAriaNotification",void 0);rt([Bt()],Me.prototype,"displayedValuesLimit",void 0);rt([W(".ft-filter-level--container")],Me.prototype,"container",void 0);rt([D()],Me.prototype,"radios",void 0);rt([D()],Me.prototype,"displayedPages",void 0);rt([D()],Me.prototype,"filteredOptions",void 0)});var ht,Mb,Qs=p(()=>{"use strict";$();L();Zo();ht={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",E.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(E.colorSurface,"Design system")},Mb=R`
1794
+ `}onRadioKeyDown(e,t){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,t))}optionsChanged(e,t){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:t}))}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 t=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(t)})}};Me.elementDefinitions={"ft-button":Pe,"ft-ripple":re,"ft-typography":ie,"ft-checkbox":dt,"ft-icon":Ee,"ft-radio":wr};Me.styles=zb;rt([h({type:String})],Me.prototype,"filterId",void 0);rt([h({type:Object})],Me.prototype,"parent",void 0);rt([h({type:Array,hasChanged:At})],Me.prototype,"options",void 0);rt([h({type:Boolean})],Me.prototype,"multivalued",void 0);rt([h({type:Boolean})],Me.prototype,"disabled",void 0);rt([h({type:Boolean})],Me.prototype,"hideSelectedOptions",void 0);rt([h({type:Boolean})],Me.prototype,"displayCount",void 0);rt([h({type:Boolean})],Me.prototype,"preventNavigation",void 0);rt([h({type:String})],Me.prototype,"filter",void 0);rt([h({type:String})],Me.prototype,"moreValuesButtonLabel",void 0);rt([h({type:String})],Me.prototype,"noValuesLabel",void 0);rt([h()],Me.prototype,"filteredOptionsNumberAriaNotification",void 0);rt([Mt()],Me.prototype,"displayedValuesLimit",void 0);rt([W(".ft-filter-level--container")],Me.prototype,"container",void 0);rt([D()],Me.prototype,"radios",void 0);rt([D()],Me.prototype,"displayedPages",void 0);rt([D()],Me.prototype,"filteredOptions",void 0)});var ht,Wb,el=p(()=>{"use strict";$();L();Yo();ht={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",E.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(E.colorSurface,"Design system")},Wb=R`
1795
1795
  .ft-snap-scroll {
1796
1796
  box-sizing: border-box;
1797
1797
  position: relative;
@@ -1916,7 +1916,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1916
1916
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1917
1917
  background-color: ${ht.colorSurface};
1918
1918
  }
1919
- `});var wr,nu,We,au=p(()=>{"use strict";$();Y();L();jt();ut();Qs();wr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},nu=class extends CustomEvent{constructor(e,t){super("current-element-change",{detail:{index:e,element:t}})}},We=class extends V{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 de(200),this.updateScrollDebouncer=new de(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let t=this.elements[e];if(t){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(t[this.offsetAttribute]<n||t[this.offsetAttribute]+t[this.sizeAttribute]>i)&&this.scrollToElement(t)}}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=xe({"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":Ko}),t=this.controls&&this.withScroll;return S`
1919
+ `});var Ar,lu,We,cu=p(()=>{"use strict";$();Y();L();Gt();ut();el();Ar=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lu=class extends CustomEvent{constructor(e,t){super("current-element-change",{detail:{index:e,element:t}})}},We=class extends V{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 de(200),this.updateScrollDebouncer=new de(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let t=this.elements[e];if(t){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(t[this.offsetAttribute]<n||t[this.offsetAttribute]+t[this.sizeAttribute]>i)&&this.scrollToElement(t)}}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=xe({"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":qo}),t=this.controls&&this.withScroll;return S`
1920
1920
  <div part="container" class="${e}">
1921
1921
  <ft-button
1922
1922
  class="ft-snap-scroll--previous"
@@ -1940,7 +1940,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1940
1940
  @click=${this.next}
1941
1941
  ></ft-button>
1942
1942
  </div>
1943
- `}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 nu(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var t;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,(t=this.listenedContainer)===null||t===void 0||t.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let t=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<t&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var t,i;e&&(this.horizontal?(t=this.contentSlot)===null||t===void 0||t.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,t;this.elements=(t=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&t!==void 0?t:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let t=0;t<this.elements.length;t++)(e<0||this.getDistanceFromStart(this.elements[t])<this.getDistanceFromStart(this.elements[e]))&&(e=t);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 t=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-t)}};We.elementDefinitions={"ft-button":Pe};We.styles=Mb;wr([h({type:Boolean})],We.prototype,"horizontal",void 0);wr([h({type:Boolean})],We.prototype,"hideScrollbar",void 0);wr([h({type:Boolean})],We.prototype,"controls",void 0);wr([h({type:Boolean})],We.prototype,"limitSize",void 0);wr([D()],We.prototype,"elements",void 0);wr([D()],We.prototype,"currentElement",void 0);wr([D()],We.prototype,"withScroll",void 0);wr([D()],We.prototype,"startReached",void 0);wr([D()],We.prototype,"endReached",void 0);wr([W(".ft-snap-scroll--content")],We.prototype,"contentSlot",void 0)});var Ub=p(()=>{"use strict"});var Xs=p(()=>{"use strict";L();au();au();Qs();Ub();M("ft-snap-scroll")(We)});var Ct,zb,Js=p(()=>{"use strict";$();L();zt();Zo();Ct={colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorSurface:o.external(E.colorSurface,"Design system"),transitionDuration:o.external(E.transitionDuration,"Design system"),transitionTimingFunction:o.external(E.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",E.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",j.fontSize,"16px")},zb=[vr,Bo,R`
1943
+ `}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 lu(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var t;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,(t=this.listenedContainer)===null||t===void 0||t.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let t=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<t&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var t,i;e&&(this.horizontal?(t=this.contentSlot)===null||t===void 0||t.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,t;this.elements=(t=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&t!==void 0?t:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let t=0;t<this.elements.length;t++)(e<0||this.getDistanceFromStart(this.elements[t])<this.getDistanceFromStart(this.elements[e]))&&(e=t);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 t=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-t)}};We.elementDefinitions={"ft-button":Pe};We.styles=Wb;Ar([h({type:Boolean})],We.prototype,"horizontal",void 0);Ar([h({type:Boolean})],We.prototype,"hideScrollbar",void 0);Ar([h({type:Boolean})],We.prototype,"controls",void 0);Ar([h({type:Boolean})],We.prototype,"limitSize",void 0);Ar([D()],We.prototype,"elements",void 0);Ar([D()],We.prototype,"currentElement",void 0);Ar([D()],We.prototype,"withScroll",void 0);Ar([D()],We.prototype,"startReached",void 0);Ar([D()],We.prototype,"endReached",void 0);Ar([W(".ft-snap-scroll--content")],We.prototype,"contentSlot",void 0)});var Vb=p(()=>{"use strict"});var tl=p(()=>{"use strict";L();cu();cu();el();Vb();M("ft-snap-scroll")(We)});var Ct,jb,rl=p(()=>{"use strict";$();L();Ht();Yo();Ct={colorOutline:o.external(E.colorOutline,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),colorSurface:o.external(E.colorSurface,"Design system"),transitionDuration:o.external(E.transitionDuration,"Design system"),transitionTimingFunction:o.external(E.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",E.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",j.fontSize,"16px")},jb=[vr,Mo,R`
1944
1944
  :host {
1945
1945
  display: flex;
1946
1946
  max-height: 100%;
@@ -2057,7 +2057,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2057
2057
  slot:not([name]) {
2058
2058
  display: none;
2059
2059
  }
2060
- `]});var ke,su,fe,lu=p(()=>{"use strict";$();Y();L();Be();Bb();jt();Xs();Js();ke=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},su=class extends CustomEvent{constructor(e){super("change",{detail:e})}},fe=class extends V{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 de(300),this.changeDebouncer=new de(10),this.lastDispatchedValues=[]}get flatOptions(){return wt(this.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]})}get childrenFilteredFlatOptions(){return wt(this.options,e=>{var t;return e.selected?[]:(t=e.subOptions)!==null&&t!==void 0?t:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),t=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return S`
2060
+ `]});var ke,du,fe,pu=p(()=>{"use strict";$();Y();L();Be();Hb();Gt();tl();rl();ke=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},du=class extends CustomEvent{constructor(e){super("change",{detail:e})}},fe=class extends V{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 de(300),this.changeDebouncer=new de(10),this.lastDispatchedValues=[]}get flatOptions(){return wt(this.options,e=>{var t;return(t=e.subOptions)!==null&&t!==void 0?t:[]})}get childrenFilteredFlatOptions(){return wt(this.options,e=>{var t;return e.selected?[]:(t=e.subOptions)!==null&&t!==void 0?t:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),t=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return S`
2061
2061
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
2062
2062
  part="container">
2063
2063
  ${!this.label&&!e?null:S`
@@ -2140,21 +2140,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2140
2140
  noValuesLabel="${this.noValuesLabel}"
2141
2141
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
2142
2142
  ></ft-filter-level>
2143
- `}goBack(e){this.slideOut=e.detail.value,un(()=>this.slideOut===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,un(()=>this.slideIn===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){un(()=>this.slideOut===void 0).then(()=>{var e;let t=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");t?.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 t;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(t=i.subOptions)===null||t===void 0||t.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(t=>t.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;Ze(this.lastDispatchedValues,e)||(this.dispatchEvent(new su(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(t=>t),this.optionsChanged()}onFilterChange(){var e,t;this.filter=(t=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};fe.elementDefinitions={"ft-button":Pe,"ft-filter-level":Me,"ft-snap-scroll":We,"ft-typography":ie};fe.styles=zb;ke([h({type:String})],fe.prototype,"id",void 0);ke([h({type:String})],fe.prototype,"label",void 0);ke([h({type:String})],fe.prototype,"filterPlaceHolder",void 0);ke([h({type:String})],fe.prototype,"clearButtonLabel",void 0);ke([h({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);ke([h({type:String})],fe.prototype,"noValuesLabel",void 0);ke([ye([])],fe.prototype,"options",void 0);ke([h({type:Boolean})],fe.prototype,"multivalued",void 0);ke([h({type:Boolean})],fe.prototype,"disabled",void 0);ke([h({type:Boolean})],fe.prototype,"raiseSelectedOptions",void 0);ke([h({type:Boolean})],fe.prototype,"displayCount",void 0);ke([Bt()],fe.prototype,"displayedValuesLimit",void 0);ke([ye(void 0)],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);ke([h({type:Boolean})],fe.prototype,"hideClearButton",void 0);ke([W(".ft-filter--slot")],fe.prototype,"slotElement",void 0);ke([W(".ft-filter--container")],fe.prototype,"container",void 0);ke([W(".ft-filter--values")],fe.prototype,"valuesContainer",void 0);ke([W(".ft-filter--levels")],fe.prototype,"levelsContainer",void 0);ke([D()],fe.prototype,"lastLevelHasHiddenvalues",void 0);ke([W(".ft-filter--filter input")],fe.prototype,"filterInput",void 0);ke([Al(".ft-filter--levels ft-filter-level")],fe.prototype,"levels",void 0);ke([D()],fe.prototype,"withScroll",void 0);ke([D()],fe.prototype,"filter",void 0);ke([D()],fe.prototype,"slideIn",void 0);ke([D()],fe.prototype,"slideOut",void 0)});var Yi,$t,cu=p(()=>{"use strict";L();Y();$();Yi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},$t=class extends V{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return S`
2143
+ `}goBack(e){this.slideOut=e.detail.value,hn(()=>this.slideOut===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,hn(()=>this.slideIn===void 0).then(()=>{var t;let i=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){hn(()=>this.slideOut===void 0).then(()=>{var e;let t=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");t?.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 t;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(t=i.subOptions)===null||t===void 0||t.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(t=>t.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;Ze(this.lastDispatchedValues,e)||(this.dispatchEvent(new du(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(t=>t),this.optionsChanged()}onFilterChange(){var e,t;this.filter=(t=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};fe.elementDefinitions={"ft-button":Pe,"ft-filter-level":Me,"ft-snap-scroll":We,"ft-typography":ie};fe.styles=jb;ke([h({type:String})],fe.prototype,"id",void 0);ke([h({type:String})],fe.prototype,"label",void 0);ke([h({type:String})],fe.prototype,"filterPlaceHolder",void 0);ke([h({type:String})],fe.prototype,"clearButtonLabel",void 0);ke([h({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);ke([h({type:String})],fe.prototype,"noValuesLabel",void 0);ke([ye([])],fe.prototype,"options",void 0);ke([h({type:Boolean})],fe.prototype,"multivalued",void 0);ke([h({type:Boolean})],fe.prototype,"disabled",void 0);ke([h({type:Boolean})],fe.prototype,"raiseSelectedOptions",void 0);ke([h({type:Boolean})],fe.prototype,"displayCount",void 0);ke([Mt()],fe.prototype,"displayedValuesLimit",void 0);ke([ye(void 0)],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);ke([h({type:Boolean})],fe.prototype,"hideClearButton",void 0);ke([W(".ft-filter--slot")],fe.prototype,"slotElement",void 0);ke([W(".ft-filter--container")],fe.prototype,"container",void 0);ke([W(".ft-filter--values")],fe.prototype,"valuesContainer",void 0);ke([W(".ft-filter--levels")],fe.prototype,"levelsContainer",void 0);ke([D()],fe.prototype,"lastLevelHasHiddenvalues",void 0);ke([W(".ft-filter--filter input")],fe.prototype,"filterInput",void 0);ke([Il(".ft-filter--levels ft-filter-level")],fe.prototype,"levels",void 0);ke([D()],fe.prototype,"withScroll",void 0);ke([D()],fe.prototype,"filter",void 0);ke([D()],fe.prototype,"slideIn",void 0);ke([D()],fe.prototype,"slideOut",void 0)});var Xi,Pt,uu=p(()=>{"use strict";L();Y();$();Xi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Pt=class extends V{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return S`
2144
2144
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
2145
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};$t.elementDefinitions={};Yi([h({type:String})],$t.prototype,"label",void 0);Yi([h({type:Object,converter:r=>r})],$t.prototype,"value",void 0);Yi([h({type:Boolean,reflect:!0})],$t.prototype,"selected",void 0);Yi([h({type:Object})],$t.prototype,"subOptions",void 0);Yi([ye({})],$t.prototype,"renderOption",void 0);Yi([W(".ft-filter-option--slot")],$t.prototype,"slotElement",void 0)});var Hb=p(()=>{"use strict"});var Wb=p(()=>{"use strict"});var Vb=p(()=>{"use strict";L();lu();cu();iu();lu();Js();Hb();cu();Wb();M("ft-filter")(fe);M("ft-filter-option")($t)});var jb,du=p(()=>{"use strict";$();jb=R`
2145
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(t=>t)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Pt.elementDefinitions={};Xi([h({type:String})],Pt.prototype,"label",void 0);Xi([h({type:Object,converter:r=>r})],Pt.prototype,"value",void 0);Xi([h({type:Boolean,reflect:!0})],Pt.prototype,"selected",void 0);Xi([h({type:Object})],Pt.prototype,"subOptions",void 0);Xi([ye({})],Pt.prototype,"renderOption",void 0);Xi([W(".ft-filter-option--slot")],Pt.prototype,"slotElement",void 0)});var Gb=p(()=>{"use strict"});var Kb=p(()=>{"use strict"});var qb=p(()=>{"use strict";L();pu();uu();su();pu();rl();Gb();uu();Kb();M("ft-filter")(fe);M("ft-filter-option")(Pt)});var Zb,fu=p(()=>{"use strict";$();Zb=R`
2146
2146
  .ft-accordion {
2147
2147
  box-sizing: border-box;
2148
2148
  }
2149
- `});var Gb,Ar,pu=p(()=>{"use strict";$();Y();L();du();Gb=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ar=class extends V{constructor(){super(...arguments),this.multi=!1}render(){return S`
2149
+ `});var Yb,Rr,hu=p(()=>{"use strict";$();Y();L();fu();Yb=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Rr=class extends V{constructor(){super(...arguments),this.multi=!1}render(){return S`
2150
2150
  <div class="ft-accordion">
2151
2151
  <slot @activated=${this.onChange}></slot>
2152
2152
  </div>
2153
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};Ar.elementDefinitions={};Ar.styles=jb;Gb([h({type:Boolean})],Ar.prototype,"multi",void 0);Gb([W("slot")],Ar.prototype,"content",void 0)});var ri,Kb,uu=p(()=>{"use strict";$();L();ri={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(E.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Kb=R`
2153
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(t=>t.active=t===e.target)}};Rr.elementDefinitions={};Rr.styles=Zb;Yb([h({type:Boolean})],Rr.prototype,"multi",void 0);Yb([W("slot")],Rr.prototype,"content",void 0)});var oi,Qb,mu=p(()=>{"use strict";$();L();oi={horizontalSpacing:o.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:o.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:o.external(E.colorOutline,"Design system"),backgroundColor:o.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Qb=R`
2154
2154
  .ft-accordion-item {
2155
2155
  display: flex;
2156
2156
  flex-direction: column;
2157
- background-color: ${ri.backgroundColor};
2157
+ background-color: ${oi.backgroundColor};
2158
2158
  }
2159
2159
 
2160
2160
  .ft-accordion-item--toggle {
@@ -2164,8 +2164,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2164
2164
  display: flex;
2165
2165
  align-items: center;
2166
2166
  cursor: pointer;
2167
- padding: ${ri.verticalSpacing} ${ri.horizontalSpacing};
2168
- gap: calc(${ri.horizontalSpacing} / 2);
2167
+ padding: ${oi.verticalSpacing} ${oi.horizontalSpacing};
2168
+ gap: calc(${oi.horizontalSpacing} / 2);
2169
2169
  outline: none;
2170
2170
  }
2171
2171
 
@@ -2190,13 +2190,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2190
2190
  .ft-accordion-item--active .ft-accordion-item--content {
2191
2191
  height: initial;
2192
2192
  overflow: visible;
2193
- padding: ${ri.verticalSpacing} ${ri.horizontalSpacing};
2193
+ padding: ${oi.verticalSpacing} ${oi.horizontalSpacing};
2194
2194
  }
2195
2195
 
2196
2196
  .ft-accordion-item--separator {
2197
- border-bottom: 1px solid ${ri.colorOutline};
2197
+ border-bottom: 1px solid ${oi.colorOutline};
2198
2198
  }
2199
- `});var el,Zt,fu=p(()=>{"use strict";$();Y();L();ft();Be();Wt();uu();el=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Zt=class extends V{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return S`
2199
+ `});var ol,Yt,gu=p(()=>{"use strict";$();Y();L();ft();Be();Vt();mu();ol=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Yt=class extends V{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return S`
2200
2200
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
2201
2201
  <div class="ft-accordion-item--toggle"
2202
2202
  part="toggle"
@@ -2226,7 +2226,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2226
2226
  </div>
2227
2227
  <div class="ft-accordion-item--separator" part="separator"></div>
2228
2228
  </div>
2229
- `}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)}};Zt.elementDefinitions={"ft-ripple":re,"ft-typography":ie,"ft-icon":Ee};Zt.styles=Kb;el([h()],Zt.prototype,"icon",void 0);el([h()],Zt.prototype,"iconVariant",void 0);el([h()],Zt.prototype,"label",void 0);el([h({type:Boolean,reflect:!0})],Zt.prototype,"active",void 0)});var qb=p(()=>{"use strict"});var Zb=p(()=>{"use strict"});var Yb=p(()=>{"use strict";L();pu();fu();pu();du();qb();fu();uu();Zb();M("ft-accordion")(Ar);M("ft-accordion-item")(Zt)});var Qb,ot,Xb,hu,Jb,ev,mu=p(()=>{"use strict";$();L();Hr();zt();qo();jt();Qb=o.extend("--ft-chip-color","",E.colorOnSurface),ot={backgroundColor:o.extend("--ft-chip-background-color","",E.colorSurface),color:Qb,fontSize:o.extend("--ft-chip-font-size","",Ge.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ge.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",Qb),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",E.colorOutline),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},Xb=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",E.colorOnPrimary)),hu={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",E.colorPrimary)),color:Xb,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Xb)},Jb={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ev=[Br,R`
2229
+ `}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)}};Yt.elementDefinitions={"ft-ripple":re,"ft-typography":ie,"ft-icon":Ee};Yt.styles=Qb;ol([h()],Yt.prototype,"icon",void 0);ol([h()],Yt.prototype,"iconVariant",void 0);ol([h()],Yt.prototype,"label",void 0);ol([h({type:Boolean,reflect:!0})],Yt.prototype,"active",void 0)});var Xb=p(()=>{"use strict"});var Jb=p(()=>{"use strict"});var ev=p(()=>{"use strict";L();hu();gu();hu();fu();Xb();gu();mu();Jb();M("ft-accordion")(Rr);M("ft-accordion-item")(Yt)});var tv,ot,rv,yu,ov,iv,bu=p(()=>{"use strict";$();L();Wr();Ht();Zo();Gt();tv=o.extend("--ft-chip-color","",E.colorOnSurface),ot={backgroundColor:o.extend("--ft-chip-background-color","",E.colorSurface),color:tv,fontSize:o.extend("--ft-chip-font-size","",Ge.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ge.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",tv),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",E.colorOutline),opacityDisabled:o.external(E.colorOpacityDisabled,"Design system")},rv=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",E.colorOnPrimary)),yu={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",E.colorPrimary)),color:rv,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",rv)},ov={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},iv=[Mr,R`
2230
2230
  :host {
2231
2231
  display: inline-block;
2232
2232
  max-width: 100%;
@@ -2266,8 +2266,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2266
2266
 
2267
2267
  .ft-chip--dense {
2268
2268
  --chip-internal-icon-padding: 3px;
2269
- --chip-internal-vertical-padding: ${Jb.verticalPadding};
2270
- --chip-internal-horizontal-padding: ${Jb.horizontalPadding};
2269
+ --chip-internal-vertical-padding: ${ov.verticalPadding};
2270
+ --chip-internal-horizontal-padding: ${ov.horizontalPadding};
2271
2271
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
2272
2272
  }
2273
2273
 
@@ -2285,9 +2285,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2285
2285
  .ft-chip--highlighted {
2286
2286
  border: none;
2287
2287
  padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
2288
- background-color: ${hu.backgroundColor};
2289
- ${y(T.color,hu.rippleColor)};
2290
- color: ${hu.color};
2288
+ background-color: ${yu.backgroundColor};
2289
+ ${y(T.color,yu.rippleColor)};
2290
+ color: ${yu.color};
2291
2291
  }
2292
2292
 
2293
2293
  .ft-chip--clickable {
@@ -2366,7 +2366,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2366
2366
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2367
2367
  order: -1;
2368
2368
  }
2369
- `]});var Ot,tl,Ue,gu=p(()=>{"use strict";$();Y();ut();L();ft();Be();Wt();mu();jt();Ot=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},tl=class extends CustomEvent{constructor(){super("icon-click")}},Ue=class extends V{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"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":Ko};return S`
2369
+ `]});var Ot,il,Ue,vu=p(()=>{"use strict";$();Y();ut();L();ft();Be();Vt();bu();Gt();Ot=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},il=class extends CustomEvent{constructor(){super("icon-click")}},Ue=class extends V{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"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":qo};return S`
2370
2370
  <div class="${xe(e)}"
2371
2371
  aria-label="${this.getLabel()}"
2372
2372
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -2393,7 +2393,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2393
2393
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2394
2394
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
2395
2395
  </div>
2396
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new tl))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new tl))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return ui(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ue.elementDefinitions={"ft-ripple":re,"ft-typography":ie,"ft-icon":Ee,"ft-button":Pe};Ue.styles=ev;Ot([h({type:Boolean})],Ue.prototype,"highlighted",void 0);Ot([h({type:Boolean})],Ue.prototype,"removable",void 0);Ot([h({type:Boolean})],Ue.prototype,"disabled",void 0);Ot([h({type:Boolean})],Ue.prototype,"clickable",void 0);Ot([h({type:Boolean})],Ue.prototype,"iconClickable",void 0);Ot([h({type:Boolean})],Ue.prototype,"dense",void 0);Ot([h({type:Boolean})],Ue.prototype,"multiLine",void 0);Ot([h()],Ue.prototype,"label",void 0);Ot([h()],Ue.prototype,"iconLabel",void 0);Ot([h({type:Boolean})],Ue.prototype,"hideIconTooltip",void 0);Ot([h()],Ue.prototype,"icon",void 0);Ot([h()],Ue.prototype,"iconVariant",void 0);Ot([h({type:Boolean})],Ue.prototype,"trailingIcon",void 0);Ot([W("ft-typography slot")],Ue.prototype,"slottedContent",void 0)});var tv,yu=p(()=>{"use strict";$();H();L();Wt();jt();tv=[R`
2396
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new il))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new il))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return fi(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Ue.elementDefinitions={"ft-ripple":re,"ft-typography":ie,"ft-icon":Ee,"ft-button":Pe};Ue.styles=iv;Ot([h({type:Boolean})],Ue.prototype,"highlighted",void 0);Ot([h({type:Boolean})],Ue.prototype,"removable",void 0);Ot([h({type:Boolean})],Ue.prototype,"disabled",void 0);Ot([h({type:Boolean})],Ue.prototype,"clickable",void 0);Ot([h({type:Boolean})],Ue.prototype,"iconClickable",void 0);Ot([h({type:Boolean})],Ue.prototype,"dense",void 0);Ot([h({type:Boolean})],Ue.prototype,"multiLine",void 0);Ot([h()],Ue.prototype,"label",void 0);Ot([h()],Ue.prototype,"iconLabel",void 0);Ot([h({type:Boolean})],Ue.prototype,"hideIconTooltip",void 0);Ot([h()],Ue.prototype,"icon",void 0);Ot([h()],Ue.prototype,"iconVariant",void 0);Ot([h({type:Boolean})],Ue.prototype,"trailingIcon",void 0);Ot([W("ft-typography slot")],Ue.prototype,"slottedContent",void 0)});var nv,xu=p(()=>{"use strict";$();H();L();Vt();Gt();nv=[R`
2397
2397
  :host {
2398
2398
  display: inline-block;
2399
2399
  max-width: 100%;
@@ -2456,7 +2456,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2456
2456
  top: -3px;
2457
2457
  height: ${Q.smallIconSize};
2458
2458
  transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
2459
- ${Cp.smallIconOnlyWidth.set("15px")};
2459
+ ${wp.smallIconOnlyWidth.set("15px")};
2460
2460
  }
2461
2461
 
2462
2462
  .ftds--size-small .ftds-chip--remove-button::part(icon) {
@@ -2560,7 +2560,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2560
2560
  .ftds--family-error .ftds-chip--icon-container {
2561
2561
  color: ${Q.errorIconColor};
2562
2562
  }
2563
- `]});var Qi,bu,Yt,vu=p(()=>{"use strict";$();Y();ut();L();Be();Wt();yu();H();jt();Qi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},bu=class extends CustomEvent{constructor(){super("remove")}},Yt=class extends Cn{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return S`
2563
+ `]});var Ji,Su,Qt,Cu=p(()=>{"use strict";$();Y();ut();L();Be();Vt();xu();H();Gt();Ji=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Su=class extends CustomEvent{constructor(){super("remove")}},Qt=class extends En{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return S`
2564
2564
  <div class="${xe(e)}"
2565
2565
  aria-label="${this.getLabel()}"
2566
2566
  part="chip">
@@ -2580,13 +2580,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2580
2580
  @click=${this.dispatchRemoveEvent}
2581
2581
  icon="${He.X_MARK}"
2582
2582
  label="${this.removeButtonLabel}"
2583
- family="${At.neutral}"
2583
+ family="${Rt.neutral}"
2584
2584
  size="${this.resolveButtonSize()}"
2585
2585
  part="icon-button"
2586
2586
  ></ftds-button>
2587
2587
  `:this.withAction?S`
2588
2588
  <slot name="action"></slot>
2589
- `:P}resolveButtonSize(){switch(this.size){case yt.large:return yt.medium;default:return yt.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new bu)}typographyVariant(){switch(this.size){case yt.large:return It.body2medium;default:return It.caption1medium}}};Yt.elementDefinitions={"ftds-typography":nr,"ft-icon":Ee,"ftds-button":Vt};Yt.styles=tv;Qi([h({type:Boolean})],Yt.prototype,"withAction",void 0);Qi([h({type:Boolean})],Yt.prototype,"removable",void 0);Qi([h()],Yt.prototype,"removeButtonLabel",void 0);Qi([h()],Yt.prototype,"label",void 0);Qi([h()],Yt.prototype,"icon",void 0);Qi([W("ftds-typography slot")],Yt.prototype,"slottedContent",void 0)});var rv=p(()=>{"use strict"});var ov=p(()=>{"use strict"});var xu=p(()=>{"use strict";L();gu();vu();gu();mu();rv();vu();yu();ov();M("ft-chip")(Ue);M("ftds-chip")(Yt)});var J,iv,Xi=p(()=>{"use strict";$();L();zt();J={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",E.colorOutline),textColor:o.extend("--ft-input-label-text-color","",E.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",E.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",E.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",E.borderRadiusS),colorError:o.external(E.colorError,"Design system")},iv=R`
2589
+ `:P}resolveButtonSize(){switch(this.size){case yt.large:return yt.medium;default:return yt.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,t;return(t=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&t!==void 0?t:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Su)}typographyVariant(){switch(this.size){case yt.large:return kt.body2medium;default:return kt.caption1medium}}};Qt.elementDefinitions={"ftds-typography":nr,"ft-icon":Ee,"ftds-button":jt};Qt.styles=nv;Ji([h({type:Boolean})],Qt.prototype,"withAction",void 0);Ji([h({type:Boolean})],Qt.prototype,"removable",void 0);Ji([h()],Qt.prototype,"removeButtonLabel",void 0);Ji([h()],Qt.prototype,"label",void 0);Ji([h()],Qt.prototype,"icon",void 0);Ji([W("ftds-typography slot")],Qt.prototype,"slottedContent",void 0)});var av=p(()=>{"use strict"});var sv=p(()=>{"use strict"});var Ou=p(()=>{"use strict";L();vu();Cu();vu();bu();av();Cu();xu();sv();M("ft-chip")(Ue);M("ftds-chip")(Qt)});var J,lv,en=p(()=>{"use strict";$();L();Ht();J={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",E.colorOutline),textColor:o.extend("--ft-input-label-text-color","",E.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",E.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",E.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",E.borderRadiusS),colorError:o.external(E.colorError,"Design system")},lv=R`
2590
2590
  .ft-input-label {
2591
2591
  position: absolute;
2592
2592
  inset: 0;
@@ -2708,24 +2708,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2708
2708
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2709
2709
  border-top: none;
2710
2710
  }
2711
- `});var nv,Gr,Su=p(()=>{"use strict";$();Y();ps();ut();L();nv=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Gr=class extends V{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return S`
2711
+ `});var cv,Kr,Eu=p(()=>{"use strict";$();Y();hs();ut();L();cv=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Kr=class extends V{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return S`
2712
2712
  <div class="${xe(this.inputLabelClasses)}">
2713
- ${$i(this.text,()=>S`
2713
+ ${Pi(this.text,()=>S`
2714
2714
  <div class="ft-input-label--text ft-typography--caption">
2715
2715
  <label class="ft-input-label--floating-text">${this.text}</label>
2716
2716
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
2717
2717
  </div>
2718
2718
  `)}
2719
2719
  </div>
2720
- `}};Gr.elementDefinitions={};nv([h({type:String})],Gr.prototype,"text",void 0);nv([h({type:Boolean})],Gr.prototype,"raised",void 0)});var Cu,lr,Ou=p(()=>{"use strict";Y();zt();Xi();Su();Cu=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lr=class extends Gr{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}}};lr.elementDefinitions={};lr.styles=[vr,iv];Cu([h({type:Boolean})],lr.prototype,"outlined",void 0);Cu([h({type:Boolean})],lr.prototype,"error",void 0);Cu([h({type:Boolean})],lr.prototype,"disabled",void 0)});var pt,av,Eu=p(()=>{"use strict";$();H();zt();Xi();L();pt={fontSize:o.extend("--ft-input-label-font-size","",Jr.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",Pr.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",Pr.lineHeight),color:o.extend("--ft-input-label-color","",u.contentGlobalSubtle),largeFieldHeight:o.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:o.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:o.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:o.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:o.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:o.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:o.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:o.create("--ft-input-label-additional-padding-right","","SIZE","0px")},av=[R`
2720
+ `}};Kr.elementDefinitions={};cv([h({type:String})],Kr.prototype,"text",void 0);cv([h({type:Boolean})],Kr.prototype,"raised",void 0)});var wu,lr,Au=p(()=>{"use strict";Y();Ht();en();Eu();wu=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},lr=class extends Kr{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}}};lr.elementDefinitions={};lr.styles=[vr,lv];wu([h({type:Boolean})],lr.prototype,"outlined",void 0);wu([h({type:Boolean})],lr.prototype,"error",void 0);wu([h({type:Boolean})],lr.prototype,"disabled",void 0)});var pt,dv,Ru=p(()=>{"use strict";$();H();Ht();en();L();pt={fontSize:o.extend("--ft-input-label-font-size","",eo.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",Nr.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",Nr.lineHeight),color:o.extend("--ft-input-label-color","",u.contentGlobalSubtle),largeFieldHeight:o.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:o.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:o.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:o.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:o.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:o.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:o.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:o.create("--ft-input-label-additional-padding-right","","SIZE","0px")},dv=[R`
2721
2721
 
2722
2722
  :root {
2723
2723
  --field-height: ${pt.largeFieldHeight};
2724
2724
  --field-vertical-gap: ${pt.largeFieldVerticalGap};
2725
2725
  --field-horizontal-padding: ${pt.largeFieldHorizontalPadding};
2726
2726
 
2727
- --typo-caption-height: calc(${Pr.lineHeight} * ${Pr.fontSize});
2728
- --typo-body-height: calc(${Jr.lineHeight} * ${Jr.fontSize});
2727
+ --typo-caption-height: calc(${Nr.lineHeight} * ${Nr.fontSize});
2728
+ --typo-body-height: calc(${eo.lineHeight} * ${eo.fontSize});
2729
2729
  --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
2730
2730
  --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
2731
2731
  }
@@ -2799,7 +2799,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2799
2799
  top: var(--input-content-vertical-padding);
2800
2800
  }
2801
2801
 
2802
- `]});var Gn,wu=p(()=>{"use strict";Su();L();Eu();Be();Gn=class extends mr(Gr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Gn.styles=[vr,av]});var sv=p(()=>{"use strict"});var lv=p(()=>{"use strict"});var cv=p(()=>{"use strict";L();Ou();wu();Ou();Xi();sv();wu();Eu();lv();M("ft-input-label")(lr);M("ftds-input-label")(Gn)});var ne,dv,rl=p(()=>{"use strict";$();L();Xi();zt();Hr();qo();ne={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",E.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",E.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",E.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",E.colorSurface),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),borderRadiusS:o.external(E.borderRadiusS,"Design system"),elevation02:o.external(E.elevation02,"Design system"),colorError:o.external(E.colorError,"Design system")},dv=R`
2802
+ `]});var Zn,Lu=p(()=>{"use strict";Eu();L();Ru();Be();Zn=class extends mr(Kr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Zn.styles=[vr,dv]});var pv=p(()=>{"use strict"});var uv=p(()=>{"use strict"});var fv=p(()=>{"use strict";L();Au();Lu();Au();en();pv();Lu();Ru();uv();M("ft-input-label")(lr);M("ftds-input-label")(Zn)});var ne,hv,nl=p(()=>{"use strict";$();L();en();Ht();Wr();Zo();ne={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",E.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",E.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",E.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",E.colorSurface),colorOnSurfaceDisabled:o.external(E.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),borderRadiusS:o.external(E.borderRadiusS,"Design system"),elevation02:o.external(E.elevation02,"Design system"),colorError:o.external(E.colorError,"Design system")},hv=R`
2803
2803
  *:focus {
2804
2804
  outline: none;
2805
2805
  }
@@ -2875,8 +2875,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2875
2875
  overflow: hidden;
2876
2876
  white-space: nowrap;
2877
2877
  text-overflow: ellipsis;
2878
- ${y(Wr.fontSize,ne.selectedOptionSize)};
2879
- ${y(Wr.lineHeight,ne.selectedOptionSize)};
2878
+ ${y(Vr.fontSize,ne.selectedOptionSize)};
2879
+ ${y(Vr.lineHeight,ne.selectedOptionSize)};
2880
2880
  }
2881
2881
 
2882
2882
  .ft-select--in-error .ft-select--selected-option {
@@ -2949,7 +2949,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2949
2949
  .ft-select--in-error .ft-select--helper-text {
2950
2950
  color: ${ne.colorError};
2951
2951
  }
2952
- `});var Ne,Rr,ve,Au=p(()=>{"use strict";$();Y();ut();er();ps();$s();L();Be();cv();ft();Wt();rl();Ne=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Rr=class extends V{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return S``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Rr.elementDefinitions={};Ne([h({type:String})],Rr.prototype,"label",void 0);Ne([h({type:Object,converter:r=>r})],Rr.prototype,"value",void 0);Ne([h({type:Boolean,reflect:!0})],Rr.prototype,"selected",void 0);ve=class r extends V{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.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,t,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(t=this.selectedOption)===null||t===void 0?void 0:t.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return S`
2952
+ `});var Ne,Lr,ve,Iu=p(()=>{"use strict";$();Y();ut();tr();hs();Fs();L();Be();fv();ft();Vt();nl();Ne=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Lr=class extends V{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return S``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Lr.elementDefinitions={};Ne([h({type:String})],Lr.prototype,"label",void 0);Ne([h({type:Object,converter:r=>r})],Lr.prototype,"value",void 0);Ne([h({type:Boolean,reflect:!0})],Lr.prototype,"selected",void 0);ve=class r extends V{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.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,t,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(t=this.selectedOption)===null||t===void 0?void 0:t.label)!==null&&i!==void 0?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return S`
2953
2953
  <div class="${xe(f)}" part="container">
2954
2954
  <div class="ft-select--main-panel" part="main-panel">
2955
2955
  <ft-input-label text="${this.label}"
@@ -2965,11 +2965,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
2965
2965
  tabindex="${l?"-1":"0"}"
2966
2966
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
2967
2967
  @keydown=${this.onMainPanelKeyDown}
2968
- aria-label="${yo(this.ariaLabel)}"
2969
- aria-labelledby="${$i(!this.ariaLabel,()=>"label")}"
2968
+ aria-label="${bo(this.ariaLabel)}"
2969
+ aria-labelledby="${Pi(!this.ariaLabel,()=>"label")}"
2970
2970
  aria-haspopup="listbox"
2971
2971
  aria-expanded="${s}"
2972
- aria-activedescendant="${yo(this.getOptionId(this.selectedOption))}"
2972
+ aria-activedescendant="${bo(this.getOptionId(this.selectedOption))}"
2973
2973
  role="combobox">
2974
2974
  <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
2975
2975
  <ft-typography variant="${$e.body1}" class="ft-select--selected-option">
@@ -3005,7 +3005,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3005
3005
  <ft-ripple ?primary=${a} ?activated=${a}></ft-ripple>
3006
3006
  <span>${e.label}</span>
3007
3007
  </div>
3008
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];Cc(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",ne.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();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 t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let t=e.charCodeAt(0);return t>47&&t<58||t>64&&t<91||t>96&&t<123}handleAlphanumericPress(e){var t,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>r.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var d;return((d=l.label)===null||d===void 0?void 0:d.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(t=this.optionsMenu)===null||t===void 0?void 0:t.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let t=this.options.findIndex(i=>Ze(i.value,e.value));if(t!==-1)return`option-${t}`}selectOption(e){var t,i;if(!Ze((t=this.selectedOption)===null||t===void 0?void 0:t.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ve.elementDefinitions={"ft-input-label":lr,"ft-typography":ie,"ft-ripple":re,"ft-icon":Ee};ve.searchTimeoutMilliseconds=2e3;ve.styles=[mo,vr,dv];Ne([h({type:String})],ve.prototype,"label",void 0);Ne([h({type:String})],ve.prototype,"ariaLabel",void 0);Ne([h({type:String})],ve.prototype,"helper",void 0);Ne([h({type:Boolean})],ve.prototype,"outlined",void 0);Ne([h({type:Boolean})],ve.prototype,"disabled",void 0);Ne([h({type:Boolean})],ve.prototype,"error",void 0);Ne([h({type:Boolean})],ve.prototype,"fixedMenuPosition",void 0);Ne([h({type:Array})],ve.prototype,"options",void 0);Ne([D()],ve.prototype,"selectedOption",void 0);Ne([D()],ve.prototype,"optionsDisplayed",void 0);Ne([D()],ve.prototype,"focusOptions",void 0);Ne([D()],ve.prototype,"currentSearch",void 0);Ne([D()],ve.prototype,"lastSearchInputDate",void 0);Ne([W(".ft-select")],ve.prototype,"container",void 0);Ne([W(".ft-select--options")],ve.prototype,"optionsMenu",void 0);Ne([W(".ft-select--input-panel")],ve.prototype,"mainPanel",void 0);Ne([W(".ft-select--option:first-child")],ve.prototype,"firstOption",void 0);Ne([W(".ft-select--option:focus")],ve.prototype,"focusedOption",void 0);Ne([W(".ft-select--option.ft-select--option-selected")],ve.prototype,"selectedOptionElement",void 0);Ne([W(".ft-select--option:last-child")],ve.prototype,"lastOption",void 0);Ne([W("slot:not([name])")],ve.prototype,"optionsSlot",void 0)});var pv=p(()=>{"use strict"});var uv=p(()=>{"use strict";L();Au();Au();rl();pv();M("ft-select")(ve);M("ft-select-option")(Rr)});var it,fv,ol=p(()=>{"use strict";$();L();it={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external(E.borderRadiusM,"Design system")},fv=R`
3008
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(t=>t.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var t,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(t=this.selectedOptionElement)!==null&&t!==void 0?t:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];wc(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",ne.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var t;e.stopPropagation();let i=(t=this.optionsSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();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 t,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(t=this.mainPanel)===null||t===void 0||t.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let t=e.charCodeAt(0);return t>47&&t<58||t>64&&t<91||t>96&&t<123}handleAlphanumericPress(e){var t,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>r.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var d;return((d=l.label)===null||d===void 0?void 0:d.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(t=this.optionsMenu)===null||t===void 0?void 0:t.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,t){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let t=this.options.findIndex(i=>Ze(i.value,e.value));if(t!==-1)return`option-${t}`}selectOption(e){var t,i;if(!Ze((t=this.selectedOption)===null||t===void 0?void 0:t.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ve.elementDefinitions={"ft-input-label":lr,"ft-typography":ie,"ft-ripple":re,"ft-icon":Ee};ve.searchTimeoutMilliseconds=2e3;ve.styles=[go,vr,hv];Ne([h({type:String})],ve.prototype,"label",void 0);Ne([h({type:String})],ve.prototype,"ariaLabel",void 0);Ne([h({type:String})],ve.prototype,"helper",void 0);Ne([h({type:Boolean})],ve.prototype,"outlined",void 0);Ne([h({type:Boolean})],ve.prototype,"disabled",void 0);Ne([h({type:Boolean})],ve.prototype,"error",void 0);Ne([h({type:Boolean})],ve.prototype,"fixedMenuPosition",void 0);Ne([h({type:Array})],ve.prototype,"options",void 0);Ne([D()],ve.prototype,"selectedOption",void 0);Ne([D()],ve.prototype,"optionsDisplayed",void 0);Ne([D()],ve.prototype,"focusOptions",void 0);Ne([D()],ve.prototype,"currentSearch",void 0);Ne([D()],ve.prototype,"lastSearchInputDate",void 0);Ne([W(".ft-select")],ve.prototype,"container",void 0);Ne([W(".ft-select--options")],ve.prototype,"optionsMenu",void 0);Ne([W(".ft-select--input-panel")],ve.prototype,"mainPanel",void 0);Ne([W(".ft-select--option:first-child")],ve.prototype,"firstOption",void 0);Ne([W(".ft-select--option:focus")],ve.prototype,"focusedOption",void 0);Ne([W(".ft-select--option.ft-select--option-selected")],ve.prototype,"selectedOptionElement",void 0);Ne([W(".ft-select--option:last-child")],ve.prototype,"lastOption",void 0);Ne([W("slot:not([name])")],ve.prototype,"optionsSlot",void 0)});var mv=p(()=>{"use strict"});var gv=p(()=>{"use strict";L();Iu();Iu();nl();mv();M("ft-select")(ve);M("ft-select-option")(Lr)});var it,yv,al=p(()=>{"use strict";$();L();it={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external(E.borderRadiusM,"Design system")},yv=R`
3009
3009
  :host {
3010
3010
  width: ${it.width};
3011
3011
  height: ${it.height};
@@ -3032,7 +3032,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3032
3032
  background-position: calc(100vw + ${it.glareWidth}) 0, calc(${it.glareWidth} * -1) 0;
3033
3033
  }
3034
3034
  }
3035
- `});var Z,hv,mv,il=p(()=>{"use strict";L();$();Zo();Xi();rl();ol();ms();Qs();Js();zt();Z={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",E.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external(E.colorSurface,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),elevation02:o.external(E.elevation02,"Design system"),buttonColor:o.external(te.color,"Button"),buttonRippleColor:o.external(te.rippleColor,"Button"),activeItemBorderColor:o.extend("--ft-search-bar-active-border-color","",E.colorPrimary)},hv=R`
3035
+ `});var Z,bv,vv,sl=p(()=>{"use strict";L();$();Yo();en();nl();al();bs();el();rl();Ht();Z={height:o.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-bar-border-radius","",E.borderRadiusS),mobileOpenPosition:o.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:o.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:o.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:o.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:o.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:o.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:o.external(E.colorSurface,"Design system"),colorOnSurface:o.external(E.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(E.colorOnSurfaceMedium,"Design system"),colorOutline:o.external(E.colorOutline,"Design system"),colorPrimary:o.external(E.colorPrimary,"Design system"),elevation02:o.external(E.elevation02,"Design system"),buttonColor:o.external(te.color,"Button"),buttonRippleColor:o.external(te.rippleColor,"Button"),activeItemBorderColor:o.extend("--ft-search-bar-active-border-color","",E.colorPrimary)},bv=R`
3036
3036
  * {
3037
3037
  box-sizing: border-box;
3038
3038
  }
@@ -3227,7 +3227,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3227
3227
  ${y(j.fontWeight,"bold")};
3228
3228
  }
3229
3229
 
3230
- `,mv=R`
3230
+ `,vv=R`
3231
3231
  .ft-search-bar--presets {
3232
3232
  min-width: 200px;
3233
3233
  }
@@ -3388,8 +3388,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3388
3388
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3389
3389
  margin: 0;
3390
3390
  }
3391
- `});var Co,Ru=p(()=>{"use strict";$();L();ol();Co=class extends V{render(){return S`
3392
- `}};Co.elementDefinitions={};Co.styles=fv});var gv=p(()=>{"use strict"});var yv=p(()=>{"use strict";L();Ru();Ru();ol();gv();M("ft-skeleton")(Co)});var Lr,nl=p(()=>{"use strict";$();er();Wt();L();il();ft();Lr=class{constructor(e,t=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new de(t)}render(){let e=this.recentSearchesMatchingQuery;return S`
3391
+ `});var Oo,ku=p(()=>{"use strict";$();L();al();Oo=class extends V{render(){return S`
3392
+ `}};Oo.elementDefinitions={};Oo.styles=yv});var xv=p(()=>{"use strict"});var Sv=p(()=>{"use strict";L();ku();ku();al();xv();M("ft-skeleton")(Oo)});var Ir,ll=p(()=>{"use strict";$();tr();Vt();L();sl();ft();Ir=class{constructor(e,t=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new de(t)}render(){let e=this.recentSearchesMatchingQuery;return S`
3393
3393
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3394
3394
  id="${this.listboxId}"
3395
3395
  role="listbox"
@@ -3442,9 +3442,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3442
3442
  </div>
3443
3443
  `)}
3444
3444
  </div>
3445
- `}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,t)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?Qe.file_format:Qe.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?He.BOOK:He.ARTICLE;break;case"DOCUMENT":i=_s(e.mimeType,e.filenameExtension);break;case"TOPIC":i=He.TOPICS;break;case"HTML_PACKAGE":i=He.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=He.FILE_CODE;break}return S`
3445
+ `}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,t)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,t){this.searchBar.setQuery(t),this.searchBar.onLaunchSearch()}removeRecentSearch(e,t){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==t.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let t=e.type==="DOCUMENT"?Qe.file_format:Qe.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?He.BOOK:He.ARTICLE;break;case"DOCUMENT":i=Ns(e.mimeType,e.filenameExtension);break;case"TOPIC":i=He.TOPICS;break;case"HTML_PACKAGE":i=He.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=He.FILE_CODE;break}return S`
3446
3446
  <ft-icon .variant=${t} .value=${i} part="suggestion-icon"></ft-icon>
3447
- `}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 t;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(t=e.querySelector("[part=suggestions]"))===null||t===void 0?void 0:t.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()))}};Lr.styles=[En,R`
3447
+ `}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 t;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(t=e.querySelector("[part=suggestions]"))===null||t===void 0?void 0:t.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()))}};Ir.styles=[An,R`
3448
3448
  .ft-search-bar--mobile .ft-search-bar--suggestions {
3449
3449
  flex-grow: 1;
3450
3450
  flex-shrink: 1;
@@ -3534,7 +3534,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3534
3534
  ft-ripple {
3535
3535
  ${y(T.opacityContentOnSurfaceHover,T.opacityContentOnSurfaceSelected)}
3536
3536
  }
3537
- `]});var Ir,al=p(()=>{"use strict";$();er();Gp();L();Xs();xu();Ir=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return S``;let e=this.searchBar.isMobile(),t=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=S`
3537
+ `]});var kr,cl=p(()=>{"use strict";$();tr();Zp();L();tl();Ou();kr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return S``;let e=this.searchBar.isMobile(),t=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=S`
3538
3538
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?S`
3539
3539
  <ft-chip part="selected-filters selected-filter-ft-locale"
3540
3540
  ?dense=${this.searchBar.dense&&!e}
@@ -3545,7 +3545,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3545
3545
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3546
3546
  </ft-chip>
3547
3547
  `:null}
3548
- ${Re(this.searchBar.facets,n=>n.key,n=>{let a=Ib(n);return Re(a,s=>{let l=n.label+": "+Ab(s),d=n.key.replace(":","-"),f=S`
3548
+ ${Re(this.searchBar.facets,n=>n.key,n=>{let a=$b(n);return Re(a,s=>{let l=n.label+": "+kb(s),d=n.key.replace(":","-"),f=S`
3549
3549
  <ft-chip
3550
3550
  part="selected-filters selected-filter-${d}"
3551
3551
  ?dense=${this.searchBar.dense&&!e}
@@ -3558,7 +3558,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3558
3558
  @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(g=>g!==s))}
3559
3559
  data-key="${n.key}"
3560
3560
  data-value="${s}">
3561
- ${wb(s)}
3561
+ ${Ib(s)}
3562
3562
  </ft-chip>
3563
3563
  `;return t?f:S`
3564
3564
  <ft-tooltip inline text="${l}">
@@ -3584,7 +3584,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3584
3584
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
3585
3585
  ${i}
3586
3586
  </div>
3587
- `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var t;return(t=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&t!==void 0?t:e}};Ir.styles=R`
3587
+ `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var t;return(t=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&t!==void 0?t:e}};kr.styles=R`
3588
3588
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
3589
3589
  flex-shrink: 0;
3590
3590
  display: flex;
@@ -3614,7 +3614,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3614
3614
  .ft-search-bar--selected-filters ft-chip {
3615
3615
  flex-grow: 0;
3616
3616
  }
3617
- `});var Kn,bv=p(()=>{"use strict";$();al();nl();ut();Kn=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new Ir(e),this.suggestManager=i??new Lr(e)}render(){var e;let t={"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 S`
3617
+ `});var Yn,Cv=p(()=>{"use strict";$();cl();ll();ut();Yn=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new kr(e),this.suggestManager=i??new Ir(e)}render(){var e;let t={"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 S`
3618
3618
  <div class="${xe(t)}" part="container" tabindex="-1">
3619
3619
  <div class="ft-search-bar" role="search">
3620
3620
  <div class="ft-search-bar--input-container" part="input-container">
@@ -3671,9 +3671,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3671
3671
  @click=${()=>{var t;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(t=this.searchBar.input)===null||t===void 0?void 0:t.focus()}}
3672
3672
  ></ft-button>
3673
3673
  </div>
3674
- `}onSearchBarKeyDown(e){var t;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)(t=this.suggestManager.selectedSuggestRemoveRecentButton)===null||t===void 0||t.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}};Kn.styles=R`
3674
+ `}onSearchBarKeyDown(e){var t;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)(t=this.suggestManager.selectedSuggestRemoveRecentButton)===null||t===void 0||t.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}};Yn.styles=R`
3675
3675
 
3676
- `});var qn,vv=p(()=>{"use strict";$();er();al();nl();ut();qn=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new Ir(e),this.suggestManager=i??new Lr(e)}render(){var e;let t={"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 S`
3676
+ `});var Qn,Ov=p(()=>{"use strict";$();tr();cl();ll();ut();Qn=class{constructor(e,t,i){this.searchBar=e,this.selectedFacetsManager=t??new kr(e),this.suggestManager=i??new Ir(e)}render(){var e;let t={"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 S`
3677
3677
  <div class="${xe(t)}" part="container" tabindex="-1">
3678
3678
  <div class="ft-search-bar" part="search-bar" role="search">
3679
3679
  ${this.renderSearchBarLeftAction()}
@@ -3750,9 +3750,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3750
3750
  @click=${()=>this.searchBar.onLaunchSearch()}
3751
3751
  ></ft-button>
3752
3752
  </div>
3753
- `}onSearchBarKeyDown(e){var t;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)(t=this.suggestManager.selectedSuggestRemoveRecentButton)===null||t===void 0||t.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};qn.styles=R`
3753
+ `}onSearchBarKeyDown(e){var t;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)(t=this.suggestManager.selectedSuggestRemoveRecentButton)===null||t===void 0||t.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let t=e.composedPath()[0];this.searchBar.query=t.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Qn.styles=R`
3754
3754
 
3755
- `});var ae,xv,Lu,jS,X,Iu=p(()=>{"use strict";$();Y();er();L();Eb();Be();Gp();Vb();Wt();Yb();jt();xu();uv();Xs();Ts();ft();il();yv();nl();al();bv();vv();ou();Cr();ae=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};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");xv={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"},Lu=class extends CustomEvent{constructor(e){super("change",{detail:e})}},jS=()=>{},X=class extends V{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 oo(xv,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new ho(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Kt.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 Lr(this),this.selectedFacetsManager=new Ir(this),this.desktopSearchBarManager=new qn(this),this.mobileSearchBarManager=new Kn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new de(10),this.updateLocalesDebouncer=new de(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(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new de(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.metadataFilters.some(n=>this.compareFilters(i,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(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...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===Kt.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()}async focusInput(e=!1){this.reactToFocus=e,await Qr(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return S`
3755
+ `});var ae,Ev,Tu,qS,X,_u=p(()=>{"use strict";$();Y();tr();L();Lb();Be();Zp();qb();Vt();ev();Gt();Ou();gv();tl();Ps();ft();sl();Sv();ll();cl();Cv();Ov();au();Cr();ae=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a};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");Ev={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"},Tu=class extends CustomEvent{constructor(e){super("change",{detail:e})}},qS=()=>{},X=class extends V{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 io(Ev,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new mo(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=qt.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 Ir(this),this.selectedFacetsManager=new kr(this),this.desktopSearchBarManager=new Qn(this),this.mobileSearchBarManager=new Yn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new de(10),this.updateLocalesDebouncer=new de(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(t=>t.contentLocales).catch(()=>[]).then(t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new de(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(t=>t===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,t)=>e.valueFilter&&t.valueFilter?this.compareValueFilters(e.valueFilter,t.valueFilter):e.dateFilter&&t.dateFilter?this.compareDateFilters(e.dateFilter,t.dateFilter):e.rangeFilter&&t.rangeFilter?this.compareRangeFilters(e.rangeFilter,t.rangeFilter):!1,this.compareValueFilters=(e,t)=>e.negative==t.negative&&e.values.length===t.values.length&&e.values.every(i=>t.values.includes(i)),this.compareDateFilters=(e,t)=>e.type===t.type,this.compareRangeFilters=(e,t)=>e.from===t.from&&e.to===t.to,this.compareFilters=(e,t)=>e.key===t.key&&this.compareUnknownFilters(e,t),this.compareRequests=(e,t)=>(e.contentLocale==null||t.contentLocale==null||e.contentLocale===t.contentLocale)&&e.metadataFilters.length===t.metadataFilters.length&&e.metadataFilters.every(i=>t.metadataFilters.some(n=>this.compareFilters(i,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(t=>{var i,n;return((n=(i=t.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(t.key)}).map(t=>({id:t.key}));return[...this.displayedFilters.map(t=>({id:t})),...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===qt.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()}async focusInput(e=!1){this.reactToFocus=e,await Xr(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return S`
3756
3756
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3757
3757
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3758
3758
  ${this.renderLiveText()}
@@ -3780,7 +3780,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3780
3780
  </div>
3781
3781
  </ft-accordion-item>
3782
3782
  `:null}
3783
- ${Re(this.facets,t=>t.key,t=>{let i=jp(t),n=t.key.replace(":","-"),a=Lb(i);return t.rootNodes.length>0?S`
3783
+ ${Re(this.facets,t=>t.key,t=>{let i=qp(t),n=t.key.replace(":","-"),a=_b(i);return t.rootNodes.length>0?S`
3784
3784
  <ft-accordion-item data-facet-key="${t.key}">
3785
3785
  <div class="ft-search-bar--filter-label" slot="toggle">
3786
3786
  <ft-typography variant="button">${t.label}</ft-typography>
@@ -3873,7 +3873,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3873
3873
  ${this.getContentLocaleRadioGroup()}
3874
3874
  </div>
3875
3875
  `:P}
3876
- ${Re(this.facets,e=>e.key,e=>{let t=jp(e),i=t.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return S`
3876
+ ${Re(this.facets,e=>e.key,e=>{let t=qp(e),i=t.options.some(a=>{var s,l;return((l=(s=a.subOptions)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0)>0}),n=e.key.replace(":","-");return S`
3877
3877
  <ft-filter
3878
3878
  class="${i?"ft-search-bar--hierarchical-filter":""}"
3879
3879
  part="filters filter filter-${n}"
@@ -3892,14 +3892,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3892
3892
  ></ft-filter>
3893
3893
  `})}
3894
3894
  </ft-snap-scroll>
3895
- `:P}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new oo(xv,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"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Ks(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).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=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.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 Lu(this.request)))}updateFacets(){this.api&&(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=[])}contentAvailableCallback(e){var t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.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;let t=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),t.set(n.key,n)})).catch(jS)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,i)=>i<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),this.focusOnDisplay&&!Tn&&this.focusInput(),U.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),U.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&wt(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(t=>wt(t.rootNodes,i=>i.childNodes).forEach(i=>i.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?P:S`
3895
+ `:P}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var t,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new io(Ev,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"):(t=this.availableContentLocales[0])===null||t===void 0?void 0:t.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(d=>{d.valueFilter&&(d.valueFilter.values=d.valueFilter.values.map(f=>Ys(f)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).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=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.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 Tu(this.request)))}updateFacets(){this.api&&(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=[])}contentAvailableCallback(e){var t,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((t=this.floatingContainer)===null||t===void 0||t.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.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;let t=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),t.set(n.key,n)})).catch(qS)),this.facets=[];for(let i of this.facetsRequest)t.has(i.id)?this.facets.push(t.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var t;e.key==="Escape"&&(this.displayFacets=!1,(t=this.filtersOpener)===null||t===void 0||t.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(t=>t.toLowerCase()!==this.query.toLowerCase()).filter((t,i)=>i<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),this.focusOnDisplay&&!Pn&&this.focusInput(),U.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),U.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,t){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&wt(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=t.includes(a.value))}),t.length&&i.push({key:e,valueFilter:{negative:!1,values:t}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(t=>wt(t.rootNodes,i=>i.childNodes).forEach(i=>i.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?P:S`
3896
3896
  <div class="ft-search-bar--floating-panel"
3897
3897
  id="ft-search-bar-floating-panel"
3898
3898
  @keyup=${this.onFloatingContainerKeyUp}
3899
3899
  part="floating-panel"
3900
3900
  tabindex="-1">
3901
3901
  ${this.renderDesktopMenu()}
3902
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};X.elementDefinitions={"ft-accordion":Ar,"ft-accordion-item":Zt,"ft-button":Pe,"ft-chip":Ue,"ft-filter":fe,"ft-filter-option":$t,"ft-icon":Ee,"ft-ripple":re,"ft-select":ve,"ft-select-option":Rr,"ft-size-watcher":Tt,"ft-skeleton":Co,"ft-snap-scroll":We,"ft-tooltip":ze,"ft-typography":ie,"ft-radio-group":ti,"ft-radio":Er};X.styles=[mo,Bo,hv,mv,Ir.styles,Lr.styles,_i];ae([h({type:Boolean})],X.prototype,"dense",void 0);ae([h()],X.prototype,"mode",void 0);ae([h({type:Boolean})],X.prototype,"forceMobileMenuOpen",void 0);ae([h({type:Boolean})],X.prototype,"forceMenuOpen",void 0);ae([h()],X.prototype,"baseUrl",void 0);ae([h()],X.prototype,"apiIntegrationIdentifier",void 0);ae([h()],X.prototype,"contentLocale",void 0);ae([D()],X.prototype,"availableContentLocales",void 0);ae([D()],X.prototype,"availableContentLocalesInitialized",void 0);ae([h()],X.prototype,"uiLocale",void 0);ae([ye({})],X.prototype,"labels",void 0);ae([ye([])],X.prototype,"displayedFilters",void 0);ae([ye([])],X.prototype,"presets",void 0);ae([h({type:String,reflect:!0})],X.prototype,"selectedPreset",void 0);ae([ye([])],X.prototype,"priors",void 0);ae([h()],X.prototype,"searchRequestSerializer",void 0);ae([h({type:Boolean})],X.prototype,"focusOnDisplay",void 0);ae([D()],X.prototype,"metadataFilters",void 0);ae([D()],X.prototype,"sizeCategory",void 0);ae([D()],X.prototype,"displayFacets",void 0);ae([D()],X.prototype,"mobileMenuOpen",void 0);ae([D()],X.prototype,"facets",void 0);ae([D()],X.prototype,"facetsInitialized",void 0);ae([W(".ft-search-bar--container")],X.prototype,"container",void 0);ae([W(".ft-search-bar--filters-opener")],X.prototype,"filtersOpener",void 0);ae([W(".ft-search-bar--floating-panel")],X.prototype,"floatingContainer",void 0);ae([W("ft-snap-scroll.ft-search-bar--filters-container")],X.prototype,"scrollingFiltersContainer",void 0);ae([W(".ft-search-bar--input")],X.prototype,"input",void 0);ae([W(".ft-search-bar--launch-search")],X.prototype,"launchSearchButton",void 0);ae([D()],X.prototype,"query",void 0);ae([D()],X.prototype,"suggestions",void 0);ae([D()],X.prototype,"recentSearches",void 0);ae([D()],X.prototype,"scrollToFacet",void 0);ae([D()],X.prototype,"api",void 0);ae([D()],X.prototype,"displaySuggestListbox",void 0);ae([D()],X.prototype,"selectedSuggestOptionId",void 0);ae([D()],X.prototype,"selectedSuggestRemoveRecent",void 0);ae([D()],X.prototype,"facetsLoaded",void 0)});var Sv=p(()=>{"use strict"});var Cv=p(()=>{"use strict";L();Iu();Iu();il();Sv();M("ft-search-bar")(X)});var Ov,Ev=p(()=>{"use strict";$();Bn();L();ft();Cv();Ov=R`
3902
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};X.elementDefinitions={"ft-accordion":Rr,"ft-accordion-item":Yt,"ft-button":Pe,"ft-chip":Ue,"ft-filter":fe,"ft-filter-option":Pt,"ft-icon":Ee,"ft-ripple":re,"ft-select":ve,"ft-select-option":Lr,"ft-size-watcher":_t,"ft-skeleton":Oo,"ft-snap-scroll":We,"ft-tooltip":ze,"ft-typography":ie,"ft-radio-group":ri,"ft-radio":wr};X.styles=[go,Mo,bv,vv,kr.styles,Ir.styles,$i];ae([h({type:Boolean})],X.prototype,"dense",void 0);ae([h()],X.prototype,"mode",void 0);ae([h({type:Boolean})],X.prototype,"forceMobileMenuOpen",void 0);ae([h({type:Boolean})],X.prototype,"forceMenuOpen",void 0);ae([h()],X.prototype,"baseUrl",void 0);ae([h()],X.prototype,"apiIntegrationIdentifier",void 0);ae([h()],X.prototype,"contentLocale",void 0);ae([D()],X.prototype,"availableContentLocales",void 0);ae([D()],X.prototype,"availableContentLocalesInitialized",void 0);ae([h()],X.prototype,"uiLocale",void 0);ae([ye({})],X.prototype,"labels",void 0);ae([ye([])],X.prototype,"displayedFilters",void 0);ae([ye([])],X.prototype,"presets",void 0);ae([h({type:String,reflect:!0})],X.prototype,"selectedPreset",void 0);ae([ye([])],X.prototype,"priors",void 0);ae([h()],X.prototype,"searchRequestSerializer",void 0);ae([h({type:Boolean})],X.prototype,"focusOnDisplay",void 0);ae([D()],X.prototype,"metadataFilters",void 0);ae([D()],X.prototype,"sizeCategory",void 0);ae([D()],X.prototype,"displayFacets",void 0);ae([D()],X.prototype,"mobileMenuOpen",void 0);ae([D()],X.prototype,"facets",void 0);ae([D()],X.prototype,"facetsInitialized",void 0);ae([W(".ft-search-bar--container")],X.prototype,"container",void 0);ae([W(".ft-search-bar--filters-opener")],X.prototype,"filtersOpener",void 0);ae([W(".ft-search-bar--floating-panel")],X.prototype,"floatingContainer",void 0);ae([W("ft-snap-scroll.ft-search-bar--filters-container")],X.prototype,"scrollingFiltersContainer",void 0);ae([W(".ft-search-bar--input")],X.prototype,"input",void 0);ae([W(".ft-search-bar--launch-search")],X.prototype,"launchSearchButton",void 0);ae([D()],X.prototype,"query",void 0);ae([D()],X.prototype,"suggestions",void 0);ae([D()],X.prototype,"recentSearches",void 0);ae([D()],X.prototype,"scrollToFacet",void 0);ae([D()],X.prototype,"api",void 0);ae([D()],X.prototype,"displaySuggestListbox",void 0);ae([D()],X.prototype,"selectedSuggestOptionId",void 0);ae([D()],X.prototype,"selectedSuggestRemoveRecent",void 0);ae([D()],X.prototype,"facetsLoaded",void 0)});var wv=p(()=>{"use strict"});var Av=p(()=>{"use strict";L();_u();_u();sl();wv();M("ft-search-bar")(X)});var Rv,Lv=p(()=>{"use strict";$();zn();L();ft();Av();Rv=R`
3903
3903
  * {
3904
3904
  box-sizing: border-box;
3905
3905
  }
@@ -3948,11 +3948,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3948
3948
  ft-ripple {
3949
3949
  ${y(T.opacityContentOnSurfaceHover,T.opacityContentOnSurfaceSelected)}
3950
3950
  }
3951
- `});var Oo,wv=p(()=>{"use strict";L();$();Ev();er();Wt();ft();Be();Cr();Up();Oo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=jr.get();return S`
3951
+ `});var Eo,Iv=p(()=>{"use strict";L();$();Lv();tr();Vt();ft();Be();Cr();Wp();Eo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Gr.get();return S`
3952
3952
  <div class="ft-search-input-suggestion ft-word-wrap"
3953
3953
  id="${this.listboxId}"
3954
3954
  role="listbox"
3955
- aria-label="${bo.messages.suggestionsLabel()}"
3955
+ aria-label="${vo.messages.suggestionsLabel()}"
3956
3956
  part="container">
3957
3957
  ${Re(this.ftSearchInput.suggestResults||[],t=>t.value,(t,i)=>this.renderSuggestion(i,t,e))}
3958
3958
  </div>
@@ -3982,9 +3982,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
3982
3982
  @click=${()=>this.onSuggestSelected(t.value)}>
3983
3983
  ${a}
3984
3984
  </div>
3985
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let t=e.type==="DOCUMENT"?Qe.file_format:Qe.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?He.BOOK:He.ARTICLE;break;case"DOCUMENT":i=_s(e.mimeType,e.filenameExtension);break;case"TOPIC":i=He.TOPICS;break;case"HTML_PACKAGE":i=He.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=He.FILE_CODE;break}return S`
3985
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let t=e.type==="DOCUMENT"?Qe.file_format:Qe.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?He.BOOK:He.ARTICLE;break;case"DOCUMENT":i=Ns(e.mimeType,e.filenameExtension);break;case"TOPIC":i=He.TOPICS;break;case"HTML_PACKAGE":i=He.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=He.FILE_CODE;break}return S`
3986
3986
  <ft-icon .variant=${t} .value=${i} part="suggestion-icon"></ft-icon>
3987
- `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};Oo.elementDefinitions={"ft-ripple":re,"ft-typography":ie,"ft-icon":Ee};Oo.styles=[En,Ov]});var Pt,Ve,ku=p(()=>{"use strict";$();L();Bn();ei();Ht();Up();Y();ut();wv();jt();Be();Cr();Pt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ve=class extends xt(Gt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.placeholder=bo.messages.placeholder(),this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Oo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(bo)}render(){var e,t,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(t=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=jr.get().serializeToCurrentPageIfPossible(a,s);return S`
3987
+ `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};Eo.elementDefinitions={"ft-ripple":re,"ft-typography":ie,"ft-icon":Ee};Eo.styles=[An,Rv]});var Nt,Ve,$u=p(()=>{"use strict";$();L();zn();ti();Wt();Wp();Y();ut();Iv();Gt();Be();Cr();Nt=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ve=class extends xt(Kt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.placeholder=vo.messages.placeholder(),this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Eo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(vo)}render(){var e,t,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(t=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=Gr.get().serializeToCurrentPageIfPossible(a,s);return S`
3988
3988
  <div class="${xe(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3989
3989
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3990
3990
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -4016,7 +4016,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4016
4016
  part="clear-query"
4017
4017
  icon="close"
4018
4018
  round dense
4019
- label="${bo.messages.clearButton()}"
4019
+ label="${vo.messages.clearButton()}"
4020
4020
  @click=${()=>this.onClearInput()}
4021
4021
  ></ft-button>
4022
4022
  <div class="ft-search-input--separator"></div>
@@ -4025,65 +4025,65 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4025
4025
  part="launch-search-in-input"
4026
4026
  icon="search"
4027
4027
  round dense
4028
- label="${bo.messages.searchButton()}"
4028
+ label="${vo.messages.searchButton()}"
4029
4029
  href="${this.useCustomSearchPath?l:""}"
4030
4030
  @click=${()=>this.launchSearch(this.liveQuery)}
4031
4031
  ></ft-button>
4032
4032
  </div>
4033
4033
  </div>
4034
- `}renderLiveText(){return this.shouldDisplaySuggestions?bo.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let t=this.suggestions.selectedSuggestOption||this.launchSearchButton;t?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){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 t;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(t=this.stateManager)===null||t===void 0||t.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await Qr(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!Tn&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ve.elementDefinitions={"ft-button":Pe,...Oo.elementDefinitions};Ve.styles=[mo,Bo,wp,...Oo.styles,_i];Pt([Ce()],Ve.prototype,"request",void 0);Pt([Ce()],Ve.prototype,"liveQuery",void 0);Pt([Ce()],Ve.prototype,"suggestResults",void 0);Pt([D()],Ve.prototype,"forceCloseSuggestion",void 0);Pt([D()],Ve.prototype,"displaySuggestListbox",void 0);Pt([D()],Ve.prototype,"selectedSuggestOptionId",void 0);Pt([h()],Ve.prototype,"launchSearchPath",void 0);Pt([h()],Ve.prototype,"placeholder",void 0);Pt([h({type:Boolean})],Ve.prototype,"useCustomSearchPath",void 0);Pt([h({type:Boolean})],Ve.prototype,"triggerSearchOnClear",void 0);Pt([h({type:Boolean})],Ve.prototype,"focusOnDisplay",void 0);Pt([W(".ft-search-input--input")],Ve.prototype,"input",void 0);Pt([W('[part="launch-search-in-input"]')],Ve.prototype,"launchSearchButton",void 0)});var Av=p(()=>{"use strict"});var Rv={};oe(Rv,{FtSearchInput:()=>Ve,FtSearchInputCssVariables:()=>we,styles:()=>wp});var Lv=p(()=>{"use strict";L();ku();Bn();Av();ku();M("ft-search-input")(Ve)});var GS,Tu,_u=p(()=>{"use strict";$();GS={},Tu=R`
4035
- `});var $u,Iv=p(()=>{"use strict";Ht();$u=Or.fromGwt("designedActionBlockAriaLabels")});var kv,Kr,Pu=p(()=>{"use strict";$();L();_u();jt();ei();Ht();Iv();kv=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Kr=class extends xt(Gt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext($u)}render(){return this.isLastPage?P:S`
4036
- <ft-button @click="${this.loadMore}">
4037
- ${$u.messages.searchPageLoadMore()}
4034
+ `}renderLiveText(){return this.shouldDisplaySuggestions?vo.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let t=this.suggestions.selectedSuggestOption||this.launchSearchButton;t?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){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 t;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(t=this.stateManager)===null||t===void 0||t.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await Xr(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!Pn&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ve.elementDefinitions={"ft-button":Pe,...Eo.elementDefinitions};Ve.styles=[go,Mo,Lp,...Eo.styles,$i];Nt([Ce()],Ve.prototype,"request",void 0);Nt([Ce()],Ve.prototype,"liveQuery",void 0);Nt([Ce()],Ve.prototype,"suggestResults",void 0);Nt([D()],Ve.prototype,"forceCloseSuggestion",void 0);Nt([D()],Ve.prototype,"displaySuggestListbox",void 0);Nt([D()],Ve.prototype,"selectedSuggestOptionId",void 0);Nt([h()],Ve.prototype,"launchSearchPath",void 0);Nt([h()],Ve.prototype,"placeholder",void 0);Nt([h({type:Boolean})],Ve.prototype,"useCustomSearchPath",void 0);Nt([h({type:Boolean})],Ve.prototype,"triggerSearchOnClear",void 0);Nt([h({type:Boolean})],Ve.prototype,"focusOnDisplay",void 0);Nt([W(".ft-search-input--input")],Ve.prototype,"input",void 0);Nt([W('[part="launch-search-in-input"]')],Ve.prototype,"launchSearchButton",void 0)});var kv=p(()=>{"use strict"});var Tv={};oe(Tv,{FtSearchInput:()=>Ve,FtSearchInputCssVariables:()=>we,styles:()=>Lp});var _v=p(()=>{"use strict";L();$u();zn();kv();$u();M("ft-search-input")(Ve)});var ZS,Pu,Nu=p(()=>{"use strict";$();ZS={},Pu=R`
4035
+ `});var Fu,$v=p(()=>{"use strict";Wt();Fu=Or.fromGwt("designedActionBlockAriaLabels")});var Pv,qr,Du=p(()=>{"use strict";$();L();Nu();Gt();ti();Wt();$v();Zi();Pv=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qr=class extends xt(Kt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.neededSearchRequests=[Er.CLUSTERED_SEARCH],this.addI18nContext(Fu)}render(){return this.isLastPage?P:S`
4036
+ <ft-button @click=${this.loadMore}>
4037
+ ${Fu.messages.searchPageLoadMore()}
4038
4038
  </ft-button>
4039
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Kr.elementDefinitions={"ft-button":Pe};Kr.styles=Tu;kv([Ce({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.currentPage)!==null&&t!==void 0?t:1}})],Kr.prototype,"currentPage",void 0);kv([Ce({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&t!==void 0?t:!0}})],Kr.prototype,"isLastPage",void 0)});var Tv=p(()=>{"use strict"});var _v={};oe(_v,{FtSearchLoadMoreButton:()=>Kr,FtSearchLoadMoreButtonCssVariables:()=>GS,styles:()=>Tu});var $v=p(()=>{"use strict";L();Pu();_u();Tv();Pu();M("ft-search-load-more-button")(Kr)});var sl,Fu,Nu,KS,Ji,Du=p(()=>{"use strict";L();ei();Y();sl=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Fu=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Nu=Symbol("registerInterval"),KS=Fe(Symbol("toFtSearchResultComponent"),function(r){var e;class t extends r{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[Nu]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Nu]):this.dispatchEvent(new Fu)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Nu,sl([h({attribute:!1})],t.prototype,"cluster",void 0),sl([h({attribute:!1})],t.prototype,"result",void 0),sl([Bt()],t.prototype,"rank",void 0),sl([h({attribute:!1,type:Boolean})],t.prototype,"openResultInNewTab",void 0),t}),Ji=class extends KS(Gt){}});var oi,Bu=p(()=>{"use strict";$();L();Du();Ds();pn();Be();oi=class extends Ji{render(){var e;let t=(e=Dt(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return t?S`
4040
- <ft-typography variant="${$e.body1}" part="text">${_o(t)}</ft-typography>
4039
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};qr.elementDefinitions={"ft-button":Pe};qr.styles=Pu;Pv([Ce({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.currentPage)!==null&&t!==void 0?t:1}})],qr.prototype,"currentPage",void 0);Pv([Ce({store:"search",selector:r=>{var e,t;return(t=(e=r.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&t!==void 0?t:!0}})],qr.prototype,"isLastPage",void 0)});var Nv=p(()=>{"use strict"});var Fv={};oe(Fv,{FtSearchLoadMoreButton:()=>qr,FtSearchLoadMoreButtonCssVariables:()=>ZS,styles:()=>Pu});var Dv=p(()=>{"use strict";L();Du();Nu();Nv();Du();M("ft-search-load-more-button")(qr)});var dl,Mu,Bu,YS,tn,Uu=p(()=>{"use strict";L();ti();Y();dl=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Mu=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Bu=Symbol("registerInterval"),YS=Fe(Symbol("toFtSearchResultComponent"),function(r){var e;class t extends r{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[Bu]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Bu]):this.dispatchEvent(new Mu)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Bu,dl([h({attribute:!1})],t.prototype,"cluster",void 0),dl([h({attribute:!1})],t.prototype,"result",void 0),dl([Mt()],t.prototype,"rank",void 0),dl([h({attribute:!1,type:Boolean})],t.prototype,"openResultInNewTab",void 0),t}),tn=class extends YS(Kt){}});var ii,zu=p(()=>{"use strict";$();L();Uu();Us();fn();Be();ii=class extends tn{render(){var e;let t=(e=Bt(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return t?S`
4040
+ <ft-typography variant="${$e.body1}" part="text">${$o(t)}</ft-typography>
4041
4041
  `:S`
4042
4042
  <style>
4043
4043
  :host {
4044
4044
  display: none !important;
4045
4045
  }
4046
4046
  </style>
4047
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(t=>t.setAttribute("part","kwicmatch"))}};oi.elementDefinitions={"ft-typography":ie};oi.styles=Ap});var Pv=p(()=>{"use strict"});var Nv={};oe(Nv,{FtSearchResultAbstract:()=>oi,FtSearchResultAbstractCssVariables:()=>Fs,styles:()=>Ap});var Mu=p(()=>{"use strict";L();Bu();Ds();Pv();Bu();M("ft-search-result-abstract")(oi)});var qS,Eo,Uu=p(()=>{"use strict";$();Y();L();Du();Ms();Be();pn();kp();_p();qS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Eo=class extends Ji{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():S`
4048
- <a href="${zs(this.result)}"
4047
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(t=>t.setAttribute("part","kwicmatch"))}};ii.elementDefinitions={"ft-typography":ie};ii.styles=Ip});var Bv=p(()=>{"use strict"});var Mv={};oe(Mv,{FtSearchResultAbstract:()=>ii,FtSearchResultAbstractCssVariables:()=>Ms,styles:()=>Ip});var Hu=p(()=>{"use strict";L();zu();Us();Bv();zu();M("ft-search-result-abstract")(ii)});var QS,wo,Wu=p(()=>{"use strict";$();Y();L();Uu();Hs();Be();fn();$p();Np();QS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},wo=class extends tn{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():S`
4048
+ <a href="${Vs(this.result)}"
4049
4049
  @click=${this.onResultClick}
4050
4050
  @auxclick=${t=>this.onAuxClick(t)}
4051
4051
  @contextmenu=${this.onContextMenu}
4052
- target="${pb(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
4052
+ target="${mb(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
4053
4053
  part="link">
4054
4054
  ${this.renderTitle()}
4055
4055
  </a>
4056
4056
  `:P}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){var e;return S`
4057
- <ft-typography variant="${$e.title}" part="text">${_o((e=Dt(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
4058
- `}onResultClick(){this.dispatchEvent(new Gi(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 t;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((t=this.stateManager)===null||t===void 0)&&t.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};Eo.elementDefinitions={"ft-typography":ie};Eo.styles=Rp;qS([h({type:Boolean})],Eo.prototype,"withoutLink",void 0)});var Fv=p(()=>{"use strict"});var Dv={};oe(Dv,{FtSearchResultTitle:()=>Eo,FtSearchResultTitleCssVariables:()=>Bs,styles:()=>Rp});var zu=p(()=>{"use strict";L();Uu();Ms();Fv();Uu();M("ft-search-result-title")(Eo)});var ZS,Hu,Wu=p(()=>{"use strict";$();ZS={},Hu=R`
4057
+ <ft-typography variant="${$e.title}" part="text">${$o((e=Bt(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
4058
+ `}onResultClick(){this.dispatchEvent(new Ki(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new qi(this.result,this.rank))}contentAvailableCallback(e){var t;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((t=this.stateManager)===null||t===void 0)&&t.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};wo.elementDefinitions={"ft-typography":ie};wo.styles=kp;QS([h({type:Boolean})],wo.prototype,"withoutLink",void 0)});var Uv=p(()=>{"use strict"});var zv={};oe(zv,{FtSearchResultTitle:()=>wo,FtSearchResultTitleCssVariables:()=>zs,styles:()=>kp});var Vu=p(()=>{"use strict";L();Wu();Hs();Uv();Wu();M("ft-search-result-title")(wo)});var XS,ju,Gu=p(()=>{"use strict";$();XS={},ju=R`
4059
4059
  [part="no-results-message"] {
4060
4060
  text-align: center;
4061
4061
  padding: 12px;
4062
4062
  }
4063
- `});var Bv,Vu=p(()=>{"use strict";$();Bv=R`
4063
+ `});var Hv,Ku=p(()=>{"use strict";$();Hv=R`
4064
4064
  a {
4065
4065
  color: inherit;
4066
4066
  text-decoration: inherit;
4067
4067
  }
4068
- `});var ll,Mv=p(()=>{"use strict";ll=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,t){this.cluster=e,this.rank=t,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(t=>this.bindComponent(t))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var cl,ju,kr,Gu=p(()=>{"use strict";$();Y();L();Vu();Mv();cl=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},ju=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},kr=class extends V{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new ll(e=>this.onResultSelected(e))}render(){return S`
4068
+ `});var pl,Wv=p(()=>{"use strict";pl=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,t){this.cluster=e,this.rank=t,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(t=>this.bindComponent(t))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var ul,qu,Tr,Zu=p(()=>{"use strict";$();Y();L();Ku();Wv();ul=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qu=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Tr=class extends V{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new pl(e=>this.onResultSelected(e))}render(){return S`
4069
4069
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
4070
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new ju(this.result))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}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()}};kr.elementDefinitions={};kr.styles=Bv;cl([h({attribute:!1})],kr.prototype,"cluster",void 0);cl([h({attribute:!1,type:Boolean})],kr.prototype,"openResultInNewTab",void 0);cl([D()],kr.prototype,"result",void 0);cl([h()],kr.prototype,"index",void 0)});var Uv=p(()=>{"use strict"});var zv=p(()=>{"use strict";L();Gu();Vu();Uv();Gu();M("ft-search-result-context")(kr)});var en,Hv,Ku=p(()=>{"use strict";Ht();en=Or.build("searchResultsNumber"),Hv={results:"{0} results","results[\\=1]":"1 result"}});var ii,Nt,qu=p(()=>{"use strict";$();er();Y();L();Wu();ei();zv();zu();Mu();Ht();Ku();ii=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Nt=class extends xt(Gt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>S`
4070
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new qu(this.result))}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}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()}};Tr.elementDefinitions={};Tr.styles=Hv;ul([h({attribute:!1})],Tr.prototype,"cluster",void 0);ul([h({attribute:!1,type:Boolean})],Tr.prototype,"openResultInNewTab",void 0);ul([D()],Tr.prototype,"result",void 0);ul([h()],Tr.prototype,"index",void 0)});var Vv=p(()=>{"use strict"});var jv=p(()=>{"use strict";L();Zu();Ku();Vv();Zu();M("ft-search-result-context")(Tr)});var rn,Gv,Yu=p(()=>{"use strict";Wt();rn=Or.build("searchResultsNumber"),Gv={results:"{0} results","results[\\=1]":"1 result"}});var ni,Ft,Qu=p(()=>{"use strict";$();tr();Y();L();Gu();ti();jv();Vu();Hu();Wt();Yu();Zi();ni=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ft=class extends xt(Kt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>S`
4071
4071
  <ft-search-result-title></ft-search-result-title>
4072
4072
  <ft-search-result-abstract></ft-search-result-abstract>
4073
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(en)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return S`
4074
- <ft-typography part="no-results-message" variant="body1">${en.messages.results(0)}</ft-typography>
4073
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[Er.CLUSTERED_SEARCH],this.addI18nContext(rn)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return S`
4074
+ <ft-typography part="no-results-message" variant="body1">${rn.messages.results(0)}</ft-typography>
4075
4075
  `;let e=this.buildClusters();return Re(e,t=>t.id,(t,i)=>{var n;return S`
4076
4076
  <ft-search-result-context .cluster=${t} index="${i}"
4077
4077
  @ft-search-result-cluster-change=${a=>this.onClusterChange(t.id,a.detail)}>
4078
4078
  ${this.renderResult((n=this.selectedResultByCluster[t.id])!==null&&n!==void 0?n:t.entries[0],i)}
4079
4079
  </ft-search-result-context>
4080
- `})}update(e){var t;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((t=this.stateManager)===null||t===void 0||t.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var t;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector("ft-search-result-context");i&&hd.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,t){this.selectedResultByCluster[e]=t}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,t;return(t=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:pa(i.entries[0]),entries:i.entries})))!==null&&t!==void 0?t:[]}buildAllResultsClusters(){var e,t,i;let n=(t=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:pa(s),entries:[s]}))))!==null&&t!==void 0?t:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}};Nt.styles=Hu;ii([h({type:String,attribute:"cluster-policy"})],Nt.prototype,"clusterPolicy",void 0);ii([h({type:Boolean})],Nt.prototype,"displayNoResultsMessage",void 0);ii([h({attribute:!1})],Nt.prototype,"renderResult",void 0);ii([ye([])],Nt.prototype,"clusterSortCriterion",void 0);ii([Ce({selector:r=>({...r.request,paging:void 0})})],Nt.prototype,"requestWithoutPaging",void 0);ii([Ce({selector:r=>r.request.paging})],Nt.prototype,"paging",void 0);ii([Ce()],Nt.prototype,"results",void 0)});var Wv=p(()=>{"use strict"});var Vv={};oe(Vv,{FtSearchResults:()=>Nt,FtSearchResultsCssVariables:()=>ZS,styles:()=>Hu});var jv=p(()=>{"use strict";L();qu();Wu();Wv();qu();M("ft-search-results")(Nt)});var YS,Zu,Yu=p(()=>{"use strict";$();YS={},Zu=R`
4080
+ `})}update(e){var t;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((t=this.stateManager)===null||t===void 0||t.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var t;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector("ft-search-result-context");i&&yd.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,t){this.selectedResultByCluster[e]=t}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,t;return(t=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:ha(i.entries[0]),entries:i.entries})))!==null&&t!==void 0?t:[]}buildAllResultsClusters(){var e,t,i;let n=(t=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:ha(s),entries:[s]}))))!==null&&t!==void 0?t:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}};Ft.styles=ju;ni([h({type:String,attribute:"cluster-policy"})],Ft.prototype,"clusterPolicy",void 0);ni([h({type:Boolean})],Ft.prototype,"displayNoResultsMessage",void 0);ni([h({attribute:!1})],Ft.prototype,"renderResult",void 0);ni([ye([])],Ft.prototype,"clusterSortCriterion",void 0);ni([Ce({selector:r=>({...r.request,paging:void 0})})],Ft.prototype,"requestWithoutPaging",void 0);ni([Ce({selector:r=>r.request.paging})],Ft.prototype,"paging",void 0);ni([Ce()],Ft.prototype,"results",void 0)});var Kv=p(()=>{"use strict"});var qv={};oe(qv,{FtSearchResults:()=>Ft,FtSearchResultsCssVariables:()=>XS,styles:()=>ju});var Zv=p(()=>{"use strict";L();Qu();Gu();Kv();Qu();M("ft-search-results")(Ft)});var JS,Xu,Ju=p(()=>{"use strict";$();JS={},Xu=R`
4081
4081
 
4082
- `});var Gv,qr,Qu=p(()=>{"use strict";$();L();Yu();ei();Ht();Ku();Be();Gv=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},qr=class extends ds(xt(Gt)){constructor(){super(),this.ariaNotificationDebouncer=new de(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.addI18nContext(en,Hv)}render(){return this.paging==null?P:S`
4082
+ `});var Yv,Zr,ef=p(()=>{"use strict";$();L();Ju();ti();Wt();Yu();Be();Zi();Yv=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Zr=class extends fs(xt(Kt)){constructor(){super(),this.ariaNotificationDebouncer=new de(100),this.searchNumberOfResults={context:"officialContext",key:"searchNumberOfResults",message:""},this.neededSearchRequests=[Er.CLUSTERED_SEARCH],this.addI18nContext(rn,Gv)}render(){return this.paging==null?P:S`
4083
4083
  <ft-typography variant="${$e.body1}">
4084
- ${en.messages.results(this.paging.totalClustersCount)}
4084
+ ${rn.messages.results(this.paging.totalClustersCount)}
4085
4085
  </ft-typography>
4086
- `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let t=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(t)}})}};qr.elementDefinitions={"ft-typography":ie};qr.styles=Zu;Gv([ye({context:"officialContext",key:"searchNumberOfResults"})],qr.prototype,"searchNumberOfResults",void 0);Gv([Ce()],qr.prototype,"paging",void 0)});var Kv=p(()=>{"use strict"});var qv={};oe(qv,{FtSearchResultsNumber:()=>qr,FtSearchResultsNumberCssVariables:()=>YS,styles:()=>Zu});var Zv=p(()=>{"use strict";L();Qu();Yu();Kv();Qu();M("ft-search-results-number")(qr)});L();$();L();$();L();$();L();Hr();var Se={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",E.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",E.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",E.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",E.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",E.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",E.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",E.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",E.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",E.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",E.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",E.elevation04)},jg=R`
4086
+ `}willUpdate(e){super.willUpdate(e),e.has("paging")&&this.ariaNotificationDebouncer.run(async()=>{if(this.paging!==void 0){let t=await this.awaitI18n({...this.searchNumberOfResults,args:[this.paging.totalClustersCount]});this.sendAriaNotification(t)}})}};Zr.elementDefinitions={"ft-typography":ie};Zr.styles=Xu;Yv([ye({context:"officialContext",key:"searchNumberOfResults"})],Zr.prototype,"searchNumberOfResults",void 0);Yv([Ce()],Zr.prototype,"paging",void 0)});var Qv=p(()=>{"use strict"});var Xv={};oe(Xv,{FtSearchResultsNumber:()=>Zr,FtSearchResultsNumberCssVariables:()=>JS,styles:()=>Xu});var Jv=p(()=>{"use strict";L();ef();Ju();Qv();ef();M("ft-search-results-number")(Zr)});L();$();L();$();L();$();L();Wr();var Se={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",E.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",E.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",E.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",E.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",E.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",E.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",E.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",E.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",E.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",E.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",E.elevation04)},Zg=R`
4087
4087
  :host {
4088
4088
  display: block;
4089
4089
  }
@@ -4172,7 +4172,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4172
4172
  #action {
4173
4173
  grid-area: actions;
4174
4174
  }
4175
- `;Bn();Ds();Hr();Ms();var ct={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",E.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",E.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",E.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",E.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",E.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",E.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",E.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",E.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",E.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",E.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",E.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",E.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",E.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",E.colorPrimary)},ab=R`
4175
+ `;zn();Us();Wr();Hs();var ct={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",E.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",E.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",E.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",E.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",E.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",E.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",E.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",E.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",E.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",E.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",E.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",E.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",E.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",E.colorPrimary)},db=R`
4176
4176
  .ft-search-in-doc--container {
4177
4177
  display: flex;
4178
4178
  flex-direction: column;
@@ -4198,7 +4198,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4198
4198
  ft-search-load-more-button {
4199
4199
  margin: auto;
4200
4200
  }
4201
- `,sb=R`
4201
+ `,pb=R`
4202
4202
  ft-card {
4203
4203
  margin-bottom: 8px;
4204
4204
  ${y(Se.elevation04,"none")};
@@ -4212,7 +4212,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4212
4212
 
4213
4213
  ft-search-result-title {
4214
4214
  color: ${ct.resultTitleTextColor};
4215
- ${y(Bs.highlightBackgroundColor,ct.resultHighlightBackgroundColor)};
4215
+ ${y(zs.highlightBackgroundColor,ct.resultHighlightBackgroundColor)};
4216
4216
  }
4217
4217
 
4218
4218
  .breadcrumb {
@@ -4221,7 +4221,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4221
4221
 
4222
4222
  ft-search-result-abstract {
4223
4223
  color: ${ct.resultContentTextColor};
4224
- ${y(Fs.highlightBackgroundColor,ct.resultHighlightBackgroundColor)};
4224
+ ${y(Ms.highlightBackgroundColor,ct.resultHighlightBackgroundColor)};
4225
4225
  }
4226
4226
 
4227
4227
  ft-card:hover {
@@ -4239,7 +4239,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4239
4239
  text-decoration: none;
4240
4240
  color: inherit;
4241
4241
  }
4242
- `;Ht();L();Y();var lb;(function(r){r.clusteringHelperCreated="clustering-helper-created",r.mapAttachmentsUpdate="map-attachments-update",r.visibleTopicChange="visible-topic-change"})(lb||(lb={}));var cb;(function(r){r.FEEDBACK="FEEDBACK",r.RATING="RATING",r.PRINT="PRINT",r.BOOKMARK="BOOKMARK",r.COLLECTIONS="COLLECTIONS",r.PERSONAL_BOOKS="PERSONAL_BOOKS"})(cb||(cb={}));var BS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},Ip=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Lp=Symbol("registerInterval"),MS=Fe(Symbol("toFtReaderComponent"),function(r){var e;class t extends r{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[Lp]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Lp]):this.dispatchEvent(new Ip)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Lp,BS([D()],t.prototype,"stateManager",void 0),t}),Us=class extends MS(or){};Y();kp();Ht();var Tp=Or.build("designedReaderSearchInDocument");L();$();Y();L();ft();Be();ut();var ji=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},St=class extends V{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 S`
4242
+ `;Wt();L();Y();var ub;(function(r){r.clusteringHelperCreated="clustering-helper-created",r.mapAttachmentsUpdate="map-attachments-update",r.visibleTopicChange="visible-topic-change"})(ub||(ub={}));var fb;(function(r){r.FEEDBACK="FEEDBACK",r.RATING="RATING",r.PRINT="PRINT",r.BOOKMARK="BOOKMARK",r.COLLECTIONS="COLLECTIONS",r.PERSONAL_BOOKS="PERSONAL_BOOKS"})(fb||(fb={}));var HS=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},_p=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Tp=Symbol("registerInterval"),WS=Fe(Symbol("toFtReaderComponent"),function(r){var e;class t extends r{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[Tp]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Tp]):this.dispatchEvent(new _p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Tp,HS([D()],t.prototype,"stateManager",void 0),t}),Ws=class extends WS(or){};Y();$p();Wt();var Pp=Or.build("designedReaderSearchInDocument");L();$();Y();L();ft();Be();ut();var Gi=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},St=class extends V{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 S`
4243
4243
  <div id="container" part="container" class=${xe(e)}>
4244
4244
  ${this.clickable?S`
4245
4245
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -4257,9 +4257,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4257
4257
  </ft-typography>
4258
4258
  </div>
4259
4259
  </div>
4260
- `}};St.elementDefinitions={"ft-ripple":re,"ft-typography":ie};St.styles=jg;ji([h()],St.prototype,"title",void 0);ji([h({type:Boolean})],St.prototype,"clickable",void 0);ji([h({type:Boolean})],St.prototype,"selected",void 0);ji([h({type:Boolean})],St.prototype,"noHeader",void 0);ji([h({type:Boolean})],St.prototype,"noContent",void 0);ji([h({type:Boolean})],St.prototype,"oneLineHeader",void 0);M("ft-card")(St);_p();var Zr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},mt=class r extends xt(Us){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=Bl(6,"search-in-document-"),this.addI18nContext(Tp)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,t){var i;return S`
4261
- <style> ${sb}</style>
4262
- <a href="${zs(e)}" @click=${()=>this.onLinkClick(e,t)}
4260
+ `}};St.elementDefinitions={"ft-ripple":re,"ft-typography":ie};St.styles=Zg;Gi([h()],St.prototype,"title",void 0);Gi([h({type:Boolean})],St.prototype,"clickable",void 0);Gi([h({type:Boolean})],St.prototype,"selected",void 0);Gi([h({type:Boolean})],St.prototype,"noHeader",void 0);Gi([h({type:Boolean})],St.prototype,"noContent",void 0);Gi([h({type:Boolean})],St.prototype,"oneLineHeader",void 0);M("ft-card")(St);Np();var Yr=function(r,e,t,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,i);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(a=(n<3?s(a):n>3?s(e,t,a):s(e,t))||a);return n>3&&a&&Object.defineProperty(e,t,a),a},mt=class r extends xt(Ws){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=zl(6,"search-in-document-"),this.addI18nContext(Pp)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,t){var i;return S`
4261
+ <style> ${pb}</style>
4262
+ <a href="${Vs(e)}" @click=${()=>this.onLinkClick(e,t)}
4263
4263
  @auxclick=${n=>this.onAuxClick(n,e,t)}
4264
4264
  @contextmenu=${()=>this.onContextMenu(e,t)}>
4265
4265
  <ft-card clickable noheader>
@@ -4275,7 +4275,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4275
4275
  </div>
4276
4276
  </ft-card>
4277
4277
  </a>
4278
- `}onAuxClick(e,t,i){e.button==1&&this.onLinkClick(t,i)}onContextMenu(e,t){this.dispatchEvent(new Ki(e,t))}render(){return this.map?S`
4278
+ `}onAuxClick(e,t,i){e.button==1&&this.onLinkClick(t,i)}onContextMenu(e,t){this.dispatchEvent(new qi(e,t))}render(){return this.map?S`
4279
4279
  <ft-search-context id="${this.uniqueId}"
4280
4280
  part="search-context"
4281
4281
  contentLocale="${this.map.lang}"
@@ -4284,7 +4284,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4284
4284
  scope="ALL_TOPICS"
4285
4285
  ignoreEmptyQuery>
4286
4286
  <div class="ft-search-in-doc--container">
4287
- <ft-search-input placeholder="${Tp.messages.placeholder()}"
4287
+ <ft-search-input placeholder="${Pp.messages.placeholder()}"
4288
4288
  ?triggerSearchOnClear=${this.emptyResultOnClear}
4289
4289
  @change=${e=>{var t;(t=this.stateManager)===null||t===void 0||t.setSearchInDocumentQuery(e.detail)}}></ft-search-input>
4290
4290
  ${this.hideResultsNumber?P:S`
@@ -4299,7 +4299,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
4299
4299
  </slot>
4300
4300
  </div>
4301
4301
  </ft-search-context>
4302
- `:P}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(t=>e.has(t))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){Qr(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,t){this.dispatchEvent(new Gi(e,t))}importDynamicDependencies(){super.importDynamicDependencies();let e=r.registry;Promise.resolve().then(()=>(Cb(),Sb)).then(({FtSearchContext:t})=>e.define("ft-search-context",t)),Promise.resolve().then(()=>(Lv(),Rv)).then(({FtSearchInput:t})=>e.define("ft-search-input",t)),Promise.resolve().then(()=>($v(),_v)).then(({FtSearchLoadMoreButton:t})=>e.define("ft-search-load-more-button",t)),Promise.resolve().then(()=>(Mu(),Nv)).then(({FtSearchResultAbstract:t})=>e.define("ft-search-result-abstract",t)),Promise.resolve().then(()=>(zu(),Dv)).then(({FtSearchResultTitle:t})=>e.define("ft-search-result-title",t)),Promise.resolve().then(()=>(jv(),Vv)).then(({FtSearchResults:t})=>e.define("ft-search-results",t)),Promise.resolve().then(()=>(Zv(),qv)).then(({FtSearchResultsNumber:t})=>e.define("ft-search-results-number",t))}};mt.elementDefinitions={"ft-card":St};mt.styles=ab;Zr([Ce()],mt.prototype,"map",void 0);Zr([Ce()],mt.prototype,"searchInDocumentQuery",void 0);Zr([W("ft-search-results")],mt.prototype,"searchResults",void 0);Zr([h({type:Boolean})],mt.prototype,"hideResultTitle",void 0);Zr([h({type:Boolean})],mt.prototype,"hideResultBreadcrumb",void 0);Zr([h({type:Boolean})],mt.prototype,"hideResultAbstract",void 0);Zr([h({type:Boolean})],mt.prototype,"hideResultsNumber",void 0);Zr([h({type:Boolean})],mt.prototype,"emptyResultOnClear",void 0);Zr([W('[part="search-context"]')],mt.prototype,"searchContext",void 0);M("ft-reader-search-in-document")(mt);})();
4302
+ `:P}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(t=>e.has(t))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){Xr(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,t){this.dispatchEvent(new Ki(e,t))}importDynamicDependencies(){super.importDynamicDependencies();let e=r.registry;Promise.resolve().then(()=>(Ab(),wb)).then(({FtSearchContext:t})=>e.define("ft-search-context",t)),Promise.resolve().then(()=>(_v(),Tv)).then(({FtSearchInput:t})=>e.define("ft-search-input",t)),Promise.resolve().then(()=>(Dv(),Fv)).then(({FtSearchLoadMoreButton:t})=>e.define("ft-search-load-more-button",t)),Promise.resolve().then(()=>(Hu(),Mv)).then(({FtSearchResultAbstract:t})=>e.define("ft-search-result-abstract",t)),Promise.resolve().then(()=>(Vu(),zv)).then(({FtSearchResultTitle:t})=>e.define("ft-search-result-title",t)),Promise.resolve().then(()=>(Zv(),qv)).then(({FtSearchResults:t})=>e.define("ft-search-results",t)),Promise.resolve().then(()=>(Jv(),Xv)).then(({FtSearchResultsNumber:t})=>e.define("ft-search-results-number",t))}};mt.elementDefinitions={"ft-card":St};mt.styles=db;Yr([Ce()],mt.prototype,"map",void 0);Yr([Ce()],mt.prototype,"searchInDocumentQuery",void 0);Yr([W("ft-search-results")],mt.prototype,"searchResults",void 0);Yr([h({type:Boolean})],mt.prototype,"hideResultTitle",void 0);Yr([h({type:Boolean})],mt.prototype,"hideResultBreadcrumb",void 0);Yr([h({type:Boolean})],mt.prototype,"hideResultAbstract",void 0);Yr([h({type:Boolean})],mt.prototype,"hideResultsNumber",void 0);Yr([h({type:Boolean})],mt.prototype,"emptyResultOnClear",void 0);Yr([W('[part="search-context"]')],mt.prototype,"searchContext",void 0);M("ft-reader-search-in-document")(mt);})();
4303
4303
  /*! Bundled license information:
4304
4304
 
4305
4305
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: