@fluid-topics/ft-loader 2.2.26 → 2.2.27

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 rc=Object.defineProperty;var I=(t,e)=>{for(var o in e)rc(t,o,{get:e[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,d=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(g,y){if(g=g.toLowerCase(),this._getDefinition(g)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${g}" has already been used with this registry`);if(this._definitionsByClass.get(y)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=y.prototype.attributeChangedCallback,v=new Set(y.observedAttributes||[]);m(y,v,x);let A={elementClass:y,connectedCallback:y.prototype.connectedCallback,disconnectedCallback:y.prototype.disconnectedCallback,adoptedCallback:y.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:y.formAssociated,formAssociatedCallback:y.prototype.formAssociatedCallback,formDisabledCallback:y.prototype.formDisabledCallback,formResetCallback:y.prototype.formResetCallback,formStateRestoreCallback:y.prototype.formStateRestoreCallback,observedAttributes:v};this._definitionsByTag.set(g,A),this._definitionsByClass.set(y,A);let N=o.call(n,g);N||(N=f(g),e.call(n,g,N)),this===window.customElements&&(s.set(y,A),A.standInClass=N);let P=this._awaitingUpgrade.get(g);if(P){this._awaitingUpgrade.delete(g);for(let T of P)a.delete(T),S(T,A,!0)}let w=this._whenDefinedPromises.get(g);return w!==void 0&&(w.resolve(y),this._whenDefinedPromises.delete(g)),y}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(g){return this._definitionsByTag.get(g)?.elementClass}_getDefinition(g){return this._definitionsByTag.get(g)}whenDefined(g){let y=this._getDefinition(g);if(y!==void 0)return Promise.resolve(y.elementClass);let x=this._whenDefinedPromises.get(g);return x===void 0&&(x={},x.promise=new Promise(v=>x.resolve=v),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,y,x){let v=this._awaitingUpgrade.get(y);v||this._awaitingUpgrade.set(y,v=new Set),x?v.add(g):v.delete(g)}};let u;window.HTMLElement=function(){let y=u;if(y)return u=void 0,y;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return y=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(y,this.constructor.prototype),i.set(y,x),y},window.HTMLElement.prototype=t.prototype;let p=g=>g===document||g instanceof ShadowRoot,h=g=>{let y=g.getRootNode();if(!p(y)){let x=E[E.length-1];if(x instanceof CustomElementRegistry)return x;y=x.getRootNode(),p(y)||(y=d.get(y)?.getRootNode()||document)}return y.customElements},f=g=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let v=h(x)||window.customElements,A=v._getDefinition(g);return A?S(x,A):a.set(x,v),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(g,y,x)=>{if(y.size===0||x===void 0)return;let v=g.prototype.setAttribute;v&&(g.prototype.setAttribute=function(P,w){let T=P.toLowerCase();if(y.has(T)){let D=this.getAttribute(T);v.call(this,T,w),x.call(this,T,D,w)}else v.call(this,T,w)});let A=g.prototype.removeAttribute;A&&(g.prototype.removeAttribute=function(P){let w=P.toLowerCase();if(y.has(w)){let T=this.getAttribute(w);A.call(this,w),x.call(this,w,T,null)}else A.call(this,w)});let N=g.prototype.toggleAttribute;N&&(g.prototype.toggleAttribute=function(P,w){let T=P.toLowerCase();if(y.has(T)){let D=this.getAttribute(T);N.call(this,T,w);let te=this.getAttribute(T);x.call(this,T,D,te)}else N.call(this,T,w)})},b=g=>{let y=Object.getPrototypeOf(g);if(y!==window.HTMLElement)return y===t?Object.setPrototypeOf(g,window.HTMLElement):b(y)},S=(g,y,x=!1)=>{Object.setPrototypeOf(g,y.elementClass.prototype),i.set(g,y),u=g;try{new y.elementClass}catch{b(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(v=>{g.hasAttribute(v)&&y.attributeChangedCallback.call(g,v,null,g.getAttribute(v))}),x&&y.connectedCallback&&g.isConnected&&y.connectedCallback.call(g)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let y=O.apply(this,arguments);return g.customElements&&(y.customElements=g.customElements),y};let E=[document],C=(g,y,x=void 0)=>{let v=(x?Object.getPrototypeOf(x):g.prototype)[y];g.prototype[y]=function(){E.push(this);let A=v.apply(x||this,arguments);return A!==void 0&&d.set(A,this),E.pop(),A}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let _=(g,y)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,y);Object.defineProperty(g.prototype,y,{...x,set(v){E.push(this),x.set.call(this,v),E.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let g=new WeakMap,y=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...P){let w=y.call(this,...P);return g.set(w,this),w},x.forEach(P=>{let w=window.ElementInternals.prototype,T=w[P];w[P]=function(...D){let te=g.get(this);if(i.get(te).formAssociated===!0)return T?.call(this,...D);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class v extends Array{constructor(w){super(...w),this._elements=w}get value(){return this._elements.find(w=>w.checked===!0)?.value||""}}class A{constructor(w){let T=new Map;w.forEach((D,te)=>{let Lr=D.getAttribute("name"),Vn=T.get(Lr)||[];this[+te]=D,Vn.push(D),T.set(Lr,Vn)}),this.length=w.length,T.forEach((D,te)=>{D&&(D.length===1?this[te]=D[0]:this[te]=new v(D))})}namedItem(w){return this[w]}}let N=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let P=N.get.call(this,[]),w=[];for(let T of P){let D=i.get(T);(!D||D.formAssociated===!0)&&w.push(T)}return new A(w)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{var a;if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,s)}}}var Vr={};I(Vr,{CSSResult:()=>$e,LitElement:()=>le,ReactiveElement:()=>q,_$LE:()=>yc,_$LH:()=>Br,adoptStyles:()=>lt,css:()=>F,defaultConverter:()=>ze,getCompatibleStyle:()=>zt,html:()=>fe,isServer:()=>ju,mathml:()=>fc,noChange:()=>M,notEqual:()=>ut,nothing:()=>k,render:()=>$r,supportsAdoptingStyleSheets:()=>st,svg:()=>pc,unsafeCSS:()=>ct});var $t=globalThis,st=$t.ShadowRoot&&($t.ShadyCSS===void 0||$t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Nr=Symbol(),Hn=new WeakMap,$e=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Nr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(st&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Hn.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Hn.set(o,e))}return e}toString(){return this.cssText}},ct=t=>new $e(typeof t=="string"?t:t+"",void 0,Nr),F=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new $e(o,t,Nr)},lt=(t,e)=>{if(st)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=$t.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},zt=st?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return ct(o)})(t):t;var{is:oc,defineProperty:nc,getOwnPropertyDescriptor:ic,getOwnPropertyNames:ac,getOwnPropertySymbols:sc,getPrototypeOf:cc}=Object,Vt=globalThis,Gn=Vt.trustedTypes,lc=Gn?Gn.emptyScript:"",dc=Vt.reactiveElementPolyfillSupport,dt=(t,e)=>t,ze={toAttribute(t,e){switch(e){case Boolean:t=t?lc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},ut=(t,e)=>!oc(t,e),Wn={attribute:!0,type:String,converter:ze,reflect:!1,useDefault:!1,hasChanged:ut};Symbol.metadata??=Symbol("metadata"),Vt.litPropertyMetadata??=new WeakMap;var q=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,o=Wn){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&nc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=ic(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let d=i?.call(this);a?.call(this,s),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Wn}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=cc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let o=this.properties,n=[...ac(o),...sc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(zt(i))}else e!==void 0&&o.push(zt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lt(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,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ze).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ze;this._$Em=i;let d=s.fromAttribute(o,a.type);this[i]=d??this._$Ej?.get(i)??d,this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){let s=this.constructor;if(i===!1&&(a=this[e]),n??=s.getPropertyOptions(e),!((n.hasChanged??ut)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,d=this[i];s!==!0||this._$AL.has(i)||d===void 0||this.C(i,void 0,a,d)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.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(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[dt("elementProperties")]=new Map,q[dt("finalized")]=new Map,dc?.({ReactiveElement:q}),(Vt.reactiveElementVersions??=[]).push("2.1.2");var Pr=globalThis,jn=t=>t,Ht=Pr.trustedTypes,Kn=Ht?Ht.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fr="$lit$",ce=`lit$${Math.random().toFixed(9).slice(2)}$`,Dr="?"+ce,uc=`<${Dr}>`,Oe=document,ft=()=>Oe.createComment(""),ht=t=>t===null||typeof t!="object"&&typeof t!="function",Mr=Array.isArray,Jn=t=>Mr(t)||typeof t?.[Symbol.iterator]=="function",kr=`[
2
- \f\r]`,pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zn=/-->/g,qn=/>/g,Ee=RegExp(`>|${kr}(?:([^\\s"'>=/]+)(${kr}*=${kr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Yn=/'/g,Qn=/"/g,ei=/^(?:script|style|textarea|title)$/i,Ur=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),fe=Ur(1),pc=Ur(2),fc=Ur(3),M=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Xn=new WeakMap,ve=Oe.createTreeWalker(Oe,129);function ti(t,e){if(!Mr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Kn!==void 0?Kn.createHTML(e):e}var ri=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=pt;for(let d=0;d<o;d++){let u=t[d],p,h,f=-1,m=0;for(;m<u.length&&(s.lastIndex=m,h=s.exec(u),h!==null);)m=s.lastIndex,s===pt?h[1]==="!--"?s=Zn:h[1]!==void 0?s=qn:h[2]!==void 0?(ei.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ee):h[3]!==void 0&&(s=Ee):s===Ee?h[0]===">"?(s=i??pt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Ee:h[3]==='"'?Qn:Yn):s===Qn||s===Yn?s=Ee:s===Zn||s===qn?s=pt:(s=Ee,i=void 0);let b=s===Ee&&t[d+1].startsWith("/>")?" ":"";a+=s===pt?u+uc:f>=0?(n.push(p),u.slice(0,f)+Fr+u.slice(f)+ce+b):u+ce+(f===-2?d:b)}return[ti(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},mt=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,d=e.length-1,u=this.parts,[p,h]=ri(e,o);if(this.el=t.createElement(p,n),ve.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=ve.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Fr)){let m=h[s++],b=i.getAttribute(f).split(ce),S=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:S[2],strings:b,ctor:S[1]==="."?Wt:S[1]==="?"?jt:S[1]==="@"?Kt:we}),i.removeAttribute(f)}else f.startsWith(ce)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(ei.test(i.tagName)){let f=i.textContent.split(ce),m=f.length-1;if(m>0){i.textContent=Ht?Ht.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],ft()),ve.nextNode(),u.push({type:2,index:++a});i.append(f[m],ft())}}}else if(i.nodeType===8)if(i.data===Dr)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ce,f+1))!==-1;)u.push({type:7,index:a}),f+=ce.length-1}a++}}static createElement(e,o){let n=Oe.createElement("template");return n.innerHTML=e,n}};function Ce(t,e,o=t,n){if(e===M)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=ht(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ce(t,i._$AS(t,e.values),i,n)),e}var Gt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Oe).importNode(o,!0);ve.currentNode=i;let a=ve.nextNode(),s=0,d=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Ve(a,a.nextSibling,this,e):u.type===1?p=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(p=new Zt(a,this,e)),this._$AV.push(p),u=n[++d]}s!==u?.index&&(a=ve.nextNode(),s++)}return ve.currentNode=Oe,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Ve=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ce(this,e,o),ht(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==M&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Jn(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!==k&&ht(this._$AH)?this._$AA.nextSibling.data=e:this.T(Oe.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(ti(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Gt(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Xn.get(e.strings);return o===void 0&&Xn.set(e.strings,o=new mt(e)),o}k(e){Mr(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(ft()),this.O(ft()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e!==this._$AB;){let n=jn(e).nextSibling;jn(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},we=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=k}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ce(this,e,o,0),s=!ht(e)||e!==this._$AH&&e!==M,s&&(this._$AH=e);else{let d=e,u,p;for(e=a[0],u=0;u<a.length-1;u++)p=Ce(this,d[n+u],o,u),p===M&&(p=this._$AH[u]),s||=!ht(p)||p!==this._$AH[u],p===k?e=k:e!==k&&(e+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(e)}j(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Wt=class extends we{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===k?void 0:e}},jt=class extends we{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Kt=class extends we{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ce(this,e,o,0)??k)===M)return;let n=this._$AH,i=e===k&&n!==k||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==k&&(n===k||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Zt=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ce(this,e)}},Br={M:Fr,P:ce,A:Dr,C:1,L:ri,R:Gt,D:Jn,V:Ce,I:Ve,H:we,N:jt,U:Kt,B:Wt,F:Zt},hc=Pr.litHtmlPolyfillSupport;hc?.(mt,Ve),(Pr.litHtmlVersions??=[]).push("3.3.3");var $r=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ve(e.insertBefore(ft(),a),a,void 0,o??{})}return i._$AI(t),i};var zr=globalThis,le=class extends q{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=$r(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return M}};le._$litElement$=!0,le.finalized=!0,zr.litElementHydrateSupport?.({LitElement:le});var mc=zr.litElementPolyfillSupport;mc?.({LitElement:le});var yc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(zr.litElementVersions??=[]).push("4.2.2");var ju=!1;var Hr={};I(Hr,{customElement:()=>gc,eventOptions:()=>xc,property:()=>L,query:()=>Sc,queryAll:()=>vc,queryAssignedElements:()=>Cc,queryAssignedNodes:()=>wc,queryAsync:()=>Oc,standardProperty:()=>oi,state:()=>G});var gc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var bc={attribute:!0,type:String,converter:ze,reflect:!1,hasChanged:ut},oi=(t=bc,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(d){let u=e.get.call(this);e.set.call(this,d),this.requestUpdate(s,u,t,!0,d)},init(d){return d!==void 0&&this.C(s,void 0,t,d),d}}}if(n==="setter"){let{name:s}=o;return function(d){let u=this[s];e.call(this,d),this.requestUpdate(s,u,t,!0,d)}}throw Error("Unsupported decorator location: "+n)};function L(t){return(e,o)=>typeof o=="object"?oi(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function G(t){return L({...t,state:!0,attribute:!1})}function xc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Q=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Sc(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:d}=typeof n=="object"?o:i??(()=>{let u=Symbol();return{get(){return this[u]},set(p){this[u]=p}}})();return Q(o,n,{get(){let u=s.call(this);return u===void 0&&(u=a(this),(u!==null||this.hasUpdated)&&d.call(this,u)),u}})}return Q(o,n,{get(){return a(this)}})}}var Ec;function vc(t){return(e,o)=>Q(e,o,{get(){return(this.renderRoot??(Ec??=document.createDocumentFragment())).querySelectorAll(t)}})}function Oc(t){return(e,o)=>Q(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Cc(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,o,{get(){let s=this.renderRoot?.querySelector(a),d=s?.assignedElements(t)??[];return i===void 0?d:d.filter(u=>u.matches(i))}})}}function wc(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Gr={};I(Gr,{repeat:()=>Yt});var re={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},W=t=>(...e)=>({_$litDirective$:t,values:e}),Y=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Ac}=Br,ni=t=>t;var ai=t=>t.strings===void 0,ii=()=>document.createComment(""),He=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(ii(),i),s=n.insertBefore(ii(),i);o=new Ac(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,d=s!==t;if(d){let u;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(u=t._$AU)!==s._$AU&&o._$AP(u)}if(a!==i||d){let u=o._$AA;for(;u!==a;){let p=ni(u).nextSibling;ni(n).insertBefore(u,i),u=p}}}return o},he=(t,e,o=t)=>(t._$AI(e,o),t),Rc={},si=(t,e=Rc)=>t._$AH=e,ci=t=>t._$AH,qt=t=>{t._$AR(),t._$AA.remove()};var li=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},Yt=W(class extends Y{constructor(t){if(super(t),t.type!==re.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let d of t)i[s]=n?n(d,s):s,a[s]=o(d,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=ci(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let d=this.ut??=[],u=[],p,h,f=0,m=i.length-1,b=0,S=a.length-1;for(;f<=m&&b<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(d[f]===s[b])u[b]=he(i[f],a[b]),f++,b++;else if(d[m]===s[S])u[S]=he(i[m],a[S]),m--,S--;else if(d[f]===s[S])u[S]=he(i[f],a[S]),He(t,u[S+1],i[f]),f++,S--;else if(d[m]===s[b])u[b]=he(i[m],a[b]),He(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=li(s,b,S),h=li(d,f,m)),p.has(d[f]))if(p.has(d[m])){let O=h.get(s[b]),E=O!==void 0?i[O]:null;if(E===null){let C=He(t,i[f]);he(C,a[b]),u[b]=C}else u[b]=he(E,a[b]),He(t,i[f],E),i[O]=null;b++}else qt(i[m]),m--;else qt(i[f]),f++;for(;b<=S;){let O=He(t,u[S+1]);he(O,a[b]),u[b++]=O}for(;f<=m;){let O=i[f++];O!==null&&qt(O)}return this.ut=s,si(t,u),M}});var Wr={};I(Wr,{classMap:()=>_c});var _c=W(class extends Y{constructor(t){if(super(t),t.type!==re.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return M}});var jr={};I(jr,{styleMap:()=>Tc});var di="important",Ic=" !"+di,Tc=W(class extends Y{constructor(t){if(super(t),t.type!==re.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Ic);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?di:""):o[n]=i}}return M}});var Kr={};I(Kr,{UnsafeHTMLDirective:()=>Ge,unsafeHTML:()=>Lc});var Ge=class extends Y{constructor(e){if(super(e),this.it=k,e.type!==re.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this._t=void 0,this.it=e;if(e===M)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 o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ge.directiveName="unsafeHTML",Ge.resultType=1;var Lc=W(Ge);var Zr={};I(Zr,{splitBreadcrumbForMenu:()=>Nc});function Nc(t,e=0,o=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var io={};I(io,{CacheRegistry:()=>no,ClearCacheEvent:()=>xt});var Yr={};I(Yr,{CancelablePromise:()=>Qt,CanceledPromiseError:()=>yt,cancelable:()=>qr});var yt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Qt=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new yt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new yt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},qr=t=>new Qt((e,o)=>t.then(e).catch(o));var oo={};I(oo,{FtNotificationEvent:()=>bt,PostResizeEvent:()=>ro,PreResizeEvent:()=>to,WithEventBus:()=>_e,withEventBus:()=>Ei});var eo={};I(eo,{applyMixinOnce:()=>j,customElements:()=>Jr,dateReviver:()=>Mc,deepCopy:()=>We,deepEqual:()=>Re,delay:()=>hi,eventPathContainsMatchingElement:()=>Bc,everyDeep:()=>Dc,flatDeep:()=>yi,forEachDeep:()=>gi,getComposedPathTo:()=>Xr,groupBy:()=>Hc,hasChanged:()=>me,ignoreComposingEvents:()=>Vc,last:()=>$c,minmax:()=>Ae,parseDate:()=>xi,randomId:()=>zc,someDeep:()=>bi,unslotText:()=>Si,waitFor:()=>mi,waitUntil:()=>Fc});var Qr={};I(Qr,{customElement:()=>gt,dateProperty:()=>Pc,isNumber:()=>fi,jsonProperty:()=>Xt,jsonPropertyConverter:()=>ui,numberProperty:()=>pi,optionalNumberProperty:()=>kc});var gt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},ui=t=>({fromAttribute:e=>{if(e==null)return We(t);try{return JSON.parse(e)}catch{return We(t)}},toAttribute:e=>JSON.stringify(e)});function Xt(t,e){return L({type:Object,converter:ui(t),hasChanged:me,...e??{}})}function kc(t){return pi(t)}function pi(t){return L({type:Object,converter:{fromAttribute:e=>{var o,n;if(e==null)return;let i=(o=t?.min)!==null&&o!==void 0?o:-1/0,a=(n=t?.max)!==null&&n!==void 0?n:1/0;return fi(e)?Ae(i,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function fi(t){return!isNaN(parseFloat(t))}function Pc(t){return L({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var hi=t=>new Promise(e=>setTimeout(e,t));async function Fc(t,e=10,o=2e4){await mi(async()=>await t()||void 0,e,o)}async function mi(t,e=10,o=2e4){let n=await t(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await hi(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function yi(t,e){return t.flatMap(o=>[o,...yi(e(o),e)])}function gi(t,e,o){let n=(i,a)=>{var s;for(let d=0;d<i.length;d++){let u=i[d];if(!(((s=o(u,d,i,a))!==null&&s!==void 0?s:!0)&&n(e(u),[...a,u])))return!1}return!0};n(t,[])}function bi(t,e,o){let n=!1;return gi(t,e,(i,a,s,d)=>(n=!!o(i,a,s,d),!n)),n}function Dc(t,e,o){return!bi(t,e,(n,i,a,s)=>!o(n,i,a,s))}function Mc(...t){return(e,o)=>t.includes(e)?xi(o):o}function xi(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function Uc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Re(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Re(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(d=>s[d]!=null),a=i(t);if(o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Re(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Re(t,e){try{return Uc(t,e)}catch{return!1}}function me(t,e){return!Re(t,e)}function Bc(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Ae(t,e,o){return Math.min(Math.max(t,e),o)}function $c(t){return t[t.length-1]}function Si(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Si(e)).join(""):t?.textContent||""}function Xr(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function We(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function zc(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function j(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}function Vc(){return function(t,e,o){let n=o.value;o.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function Jr(t){for(let[e,o]of Object.entries(t))gt(e)(o)}function Hc(t,e){var o,n;let i=typeof e=="function"?e:s=>s[e],a={};for(let s of t)((o=a[n=i(s)])!==null&&o!==void 0?o:a[n]=[]).push(s);return a}var bt=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},to=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ro=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ei=j(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),_e=class extends Ei(Object){};var xt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},no=class extends _e{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new xt(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new xt([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=qr(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var mo={};I(mo,{ClusteringHelper:()=>ho,formatHierarchicalValues:()=>fo});var po={};I(po,{accessBreadcrumb:()=>Qc,accessResult:()=>uo,accessResultId:()=>qc,accessResultUrl:()=>Yc,enrichReaderUrl:()=>lo});var co={};I(co,{SearchPlaceConverter:()=>Ie,SearchPlaceQueryParams:()=>R,isSearchPlaceQueryParams:()=>la,serializeRequest:()=>Kc});var Gc=t=>typeof t=="object"&&t!=null;var Wc=t=>typeof t=="number",Jt=t=>typeof t=="string",so=t=>Gc(t)&&Jt(t.endpoint)&&Jt(t.method)&&Jt(t.statusText)&&Jt(t.body)&&Wc(t.status),vi;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(vi||(vi={}));var Oi;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Oi||(Oi={}));var Ci;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ci||(Ci={}));var wi;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(wi||(wi={}));var Ai;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ai||(Ai={}));var Ri;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ri||(Ri={}));var _i;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(_i||(_i={}));var Ii;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ii||(Ii={}));var Ti;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Ti||(Ti={}));var Li;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Li||(Li={}));var Ni;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ni||(Ni={}));var ki;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(ki||(ki={}));var Pi;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Pi||(Pi={}));var Fi;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Fi||(Fi={}));var Di;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Di||(Di={}));var Mi;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Mi||(Mi={}));var Ui;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Ui||(Ui={}));var je;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(je||(je={}));var Bi;(function(t){t.ASC="ASC",t.DESC="DESC"})(Bi||(Bi={}));var $i;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})($i||($i={}));var ao;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ao||(ao={}));var qi=t=>Object.keys(ao).includes(t);var zi;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(zi||(zi={}));var Vi;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Vi||(Vi={}));var Hi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Hi||(Hi={}));var Ke;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ke||(Ke={}));var Yi=t=>Object.keys(Ke).includes(t);var Gi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Gi||(Gi={}));var Wi;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Wi||(Wi={}));var ji;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ji||(ji={}));var U;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(U||(U={}));var Ki;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ki||(Ki={}));var Zi;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Zi||(Zi={}));var Qi;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Qi||(Qi={}));var Xi;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Xi||(Xi={}));var Ji;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Ji||(Ji={}));var ea;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(ea||(ea={}));var ta;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ta||(ta={}));var ra;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ra||(ra={}));var oa;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(oa||(oa={}));var na;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(na||(na={}));var ia;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(ia||(ia={}));var aa;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(aa||(aa={}));var sa;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(sa||(sa={}));var cf={[U.PERSONAL_BOOK_SHARE_USER]:[U.PERSONAL_BOOK_USER],[U.HTML_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.PDF_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.KHUB_ADMIN]:[U.CONTENT_PUBLISHER],[U.ADMIN]:[U.KHUB_ADMIN,U.USERS_ADMIN,U.PORTAL_ADMIN,U.BEHAVIOR_DATA_USER],[U.GENERATIVE_AI_EXPORT_USER]:[U.GENERATIVE_AI_USER]};function jc(t){return`"${t}"`}function ca(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Kc(t,e){return new Ie(t).serialize(e)}var R;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(R||(R={}));var Zc=new Set(Object.values(R));function la(t){return Zc.has(t)}var Ie=class t{constructor(e,o=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,d,u,p,h,f;let m=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&m.append(R.LOCALE,e.contentLocale):m.append(R.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(R.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(R.VALUE_FILTERS,b);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(R.NEGATIVE_VALUE_FILTERS,S);let O=(u=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.dateFilter))!==null&&u!==void 0?u:[];if(O.length>0){let g=O.map(y=>{var x;return`${y.key}~${(x=y.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(R.DATE_FILTERS,g)}let E=(p=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(g=>g.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let g=E.map(y=>{var x,v;return`${y.key}~${(x=y.rangeFilter)===null||x===void 0?void 0:x.from}_${(v=y.rangeFilter)===null||v===void 0?void 0:v.to}`}).join("*");m.append(R.RANGE_FILTERS,g)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(R.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(R.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(R.SORT,e.sortId),!((s=e.paging)===null||s===void 0)&&s.perPage&&((h=(d=e.paging)===null||d===void 0?void 0:d.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(R.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(R.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let C=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let g in C)m.append(g,C[g]);let _=new Array;return m.forEach((g,y)=>{_.push(this.encodeQueryString(y)+"="+this.encodeQueryString(g))}),encodeURI(_.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let u=new URLSearchParams(e),p=u.get(R.LOCALE)==="all"?void 0:u.get(R.LOCALE),h=((n=u.get(R.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=u.get(R.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=u.get(R.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=u.get(R.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),S=u.get(R.KEYWORD_MATCH),O=S?S.toUpperCase()===je.MANDATORY?je.MANDATORY:je.OPTIONAL:void 0,E={};for(let C of u.keys())la(C)||(E[C]=u.get(C));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=u.get(R.QUERY))!==null&&s!==void 0?s:"",scope:(d=this.scopeMapping[m])!==null&&d!==void 0?d:"DEFAULT",virtualField:qi(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(u),facets:[],paging:{page:1,perPage:Ae(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:O,otherQueryParams:E}}parseCompatFilters(e){var o,n,i,a,s,d,u;let p=[];return e.has(R.FILTERS)&&(p=t.parseValueFilters((o=e.get(R.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(R.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(R.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((a=e.get(R.VALUE_FILTERS))!==null&&a!==void 0?a:""),...t.parseValueFilters((s=e.get(R.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((d=e.get(R.DATE_FILTERS))!==null&&d!==void 0?d:""),...this.parseRangeFilters((u=e.get(R.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}static parseValueFilters(e,o=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(ca).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Ke[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}static superEscapeFilters(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,o);return e}parseLegacyPeriodFilter(e){if(Yi(e))return[{key:"ft:lastEdition",dateFilter:{type:Ke[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var o,n;let i=((n=(o=e.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(a=>t.escapeFilters(a)).map(a=>jc(ca(a))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let o=new URL(e);return[R.LOCALE,R.FILTERS,R.VALUE_FILTERS,R.NEGATIVE_VALUE_FILTERS,R.DATE_FILTERS,R.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(e,o){let n=new URL(e);return n.searchParams.delete(R.LOCALE),o!==void 0&&n.searchParams.append(R.LOCALE,o),n.toString()}};Ie.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function uo(t){var e,o,n,i;return(i=(n=(o=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&o!==void 0?o:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function qc(t){var e,o,n,i,a,s,d,u,p;return(p=(u=(d=(s=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&s!==void 0?s:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&d!==void 0?d:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&u!==void 0?u:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function Yc(t,e){var o,n,i,a,s,d,u,p,h;return(h=(p=(u=(d=lo((o=t?.map)===null||o===void 0?void 0:o.readerUrl,e))!==null&&d!==void 0?d:lo((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&u!==void 0?u:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(a=t?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&h!==void 0?h:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function Qc(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function lo(t,e){if(e&&t){let o=URL.parse(t),n=Ie.serializeValueFilters(e);if(n&&o?.searchParams.append(R.VALUE_FILTERS,n),o)return o.toString()}return t}function fo(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var ho=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,o,n){return e?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==o))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(e){var o,n;let i=(n=(o=uo(e.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(a=>a.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(d=>{a.push(fo(d)),s.push(fo(d,o))}),{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(d=>n?n(d):d).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,d;let u=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(d=u?.label)!==null&&d!==void 0?d:(s=this.getMetadataDescriptor(e))===null||s===void 0?void 0:s.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=u?.value).filter((f,m,b)=>b.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",d=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let u=e.localeCompare(o,i,{numeric:!0});return d?u*-1:u}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(u=>{var p;return((p=t.extractResultMetadata({result:u,key:e}))===null||p===void 0?void 0:p.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(u=>this.clusteringMetadata.has(u.key)).filter(u=>u.key!==e)],s,d=-1;for(let u of n){let p=this.countMatchingMetadata(u,a);if(p>d&&(d=p,s=u,p===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var yo={};I(yo,{Debouncer:()=>St});var St=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),a=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(d){i(d);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 Eo={};I(Eo,{designSystemVariables:()=>So});var xo={};I(xo,{DesignSystemFamily:()=>Et,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>r,badge:()=>hl,banner:()=>fl,button:()=>el,card:()=>rl,chart:()=>Tl,checkbox:()=>al,chip:()=>dl,chipChoice:()=>ll,chipGroup:()=>ul,collapsible:()=>_l,combobox:()=>Al,dateRangePicker:()=>Fl,drawer:()=>El,eventCard:()=>ol,floatingMenu:()=>wl,foundation:()=>c,link:()=>pl,modal:()=>xl,notice:()=>Nl,notification:()=>kl,pageDesigner:()=>Ll,pageFooter:()=>gl,pageHeader:()=>yl,pageLayout:()=>bl,popover:()=>Rl,radio:()=>sl,reorderableList:()=>Sl,resolveFamilyClass:()=>go,resolveSizeClass:()=>bo,semantic:()=>l,setVariable:()=>Ze,switch_:()=>Il,table:()=>cl,tabs:()=>vl,textArea:()=>Cl,textInput:()=>Ol,titleBreadcrumb:()=>ml,toc:()=>il,toggle:()=>tl,tooltip:()=>Pl,treeList:()=>nl,typographies:()=>Xc,typographyBody1Medium:()=>ma,typographyBody1Regular:()=>ha,typographyBody1Semibold:()=>ya,typographyBody2Medium:()=>ba,typographyBody2MediumUnderline:()=>xa,typographyBody2Regular:()=>ga,typographyBody2Semibold:()=>Sa,typographyCaption1Medium:()=>Ea,typographyCaption1Semibold:()=>va,typographyCaption2Bold:()=>wa,typographyCaption2Medium:()=>Oa,typographyCaption2Semibold:()=>Ca,typographyDisplay:()=>da,typographyTitle1:()=>ua,typographyTitle2:()=>pa,typographyTitle3:()=>fa,typographyVariants:()=>Jc});var ye=t=>typeof t=="string"?ct(t):t,r=class{static create(e,o,n,i){let a=d=>ye(d??i),s=F`var(${ye(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=d=>Ze(s,d??a(i)),s.get=d=>F`var(${ye(e)}, ${a(d)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=d=>n.get(d??i),s=F`var(${ye(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=d=>Ze(s,d??a(i)),s.get=d=>F`var(${ye(e)}, ${a(d)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=F`var(${ye(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>F`var(${ye(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Ze(t,e){return ye(`${t.name}: ${e}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},da={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},ua={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},pa={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},fa={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},ha={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},ma={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ya={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ga={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ba={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},xa={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Sa={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ea={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},va={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Oa={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ca={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},wa={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Xc={display:da,"title-1":ua,"title-2":pa,"title-3":fa,"body-1-regular":ha,"body-1-medium":ma,"body-1-semibold":ya,"body-2-regular":ga,"body-2-medium":ba,"body-2-medium-underline":xa,"body-2-semibold":Sa,"caption-1-medium":Ea,"caption-1-semibold":va,"caption-2-medium":Oa,"caption-2-semibold":Ca,"caption-2-bold":wa},Jc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var l={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var el={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var tl={iconSize:r.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var rl={borderRadius:r.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",l.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",l.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",l.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",l.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",l.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",l.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",l.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",l.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",l.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",l.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",l.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",l.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",l.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",l.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var ol={borderRadius:r.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",l.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",l.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",l.backgroundGlobalSurface)};var nl={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var il={titleColor:r.extend("--ftds-toc-title-color","",l.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",c.spacing2),top:r.create("--ftds-toc-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",l.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:r.extend("--ftds-toc-item-root-default-label-color","",l.contentGlobalSecondary),itemRootDefaultBorderColor:r.extend("--ftds-toc-item-root-default-border-color","",l.borderGlobalSubtle),itemRootHoverLabelColor:r.extend("--ftds-toc-item-root-hover-label-color","",l.contentGlobalSecondary),itemRootHoverBorderColor:r.extend("--ftds-toc-item-root-hover-border-color","",l.borderGlobalSubtle),itemRootHoverStateLayerColor:r.extend("--ftds-toc-item-root-hover-state-layer-color","",l.contentGlobalSecondary),itemRootHoverStateLayerOpacity:r.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:r.extend("--ftds-toc-item-root-focus-label-color","",l.contentGlobalSecondary),itemRootFocusStateLayerColor:r.extend("--ftds-toc-item-root-focus-state-layer-color","",l.contentGlobalSecondary),itemRootFocusStateLayerOpacity:r.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:r.extend("--ftds-toc-item-root-selected-label-color","",l.contentActionPrimary),itemRootSelectedBorderColor:r.extend("--ftds-toc-item-root-selected-border-color","",l.borderActionPrimary),itemRootSelectedBorderWidth:r.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:r.extend("--ftds-toc-item-root-selected-state-layer-color","",l.contentActionPrimary),itemRootSelectedStateLayerOpacity:r.extend("--ftds-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:r.extend("--ftds-toc-item-root-children-active-label-color","",l.contentActionPrimary),itemRootChildrenActiveBorderColor:r.extend("--ftds-toc-item-root-children-active-border-color","",l.borderGlobalSubtle),itemChildDefaultLabelColor:r.extend("--ftds-toc-item-child-default-label-color","",l.contentGlobalSubtle),itemChildDefaultBorderColor:r.extend("--ftds-toc-item-child-default-border-color","",l.borderGlobalSubtle),itemChildHoverLabelColor:r.extend("--ftds-toc-item-child-hover-label-color","",l.contentGlobalSubtle),itemChildHoverBorderColor:r.extend("--ftds-toc-item-child-hover-border-color","",l.borderGlobalSubtle),itemChildHoverStateLayerColor:r.extend("--ftds-toc-item-child-hover-state-layer-color","",l.contentGlobalSecondary),itemChildHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:r.extend("--ftds-toc-item-child-focus-label-color","",l.contentGlobalSubtle),itemChildFocusStateLayerColor:r.extend("--ftds-toc-item-child-focus-state-layer-color","",l.contentGlobalSecondary),itemChildFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:r.extend("--ftds-toc-item-child-selected-label-color","",l.contentActionPrimary),itemChildSelectedBorderColor:r.extend("--ftds-toc-item-child-selected-border-color","",l.borderActionPrimary),itemChildSelectedBorderWidth:r.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:r.extend("--ftds-toc-item-child-selected-state-layer-color","",l.contentActionPrimary),itemChildSelectedStateLayerOpacity:r.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var al={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:r.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var sl={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var cl={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var ll={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var dl={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var ul={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",l.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",l.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",l.contentActionPrimary)};var pl={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",c.spacing1)};var fl={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var hl={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var ml={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var yl={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var gl={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var bl={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var xl={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Sl={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var El={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var vl={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Ol={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Cl={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",l.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var wl={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",l.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",l.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",l.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",l.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",l.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",l.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",l.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",l.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",l.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",l.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",l.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",l.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",l.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",l.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",l.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",l.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",l.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",l.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",l.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",l.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",l.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",l.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",l.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",l.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Al={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",l.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",l.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",l.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",l.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",l.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",l.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",l.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",l.borderInputPrimary)};var Rl={backgroundColor:r.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var _l={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Il={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Tl={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Ll={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Nl={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var kl={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Pl={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Fl={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Et;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Et||(Et={}));var vt;(function(t){t.large="large",t.medium="medium",t.small="small"})(vt||(vt={}));function go(t){return`ftds--family-${t}`}function bo(t){return`ftds--size-${t}`}var So={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var vo={};I(vo,{DynamicImporter:()=>er,dynamicImporter:()=>Dl});var er=class{async import(e){if(e)return import(e)}},Dl=new er;var Po={};I(Po,{computeOffsetAutoPosition:()=>sd,computeOffsetPosition:()=>ad});var Ra=["top","right","bottom","left"],Aa=["start","end"],Co=Ra.reduce((t,e)=>t.concat(e,e+"-"+Aa[0],e+"-"+Aa[1]),[]),Te=Math.min,oe=Math.max,Ot=Math.round;var ne=t=>({x:t,y:t}),Ml={left:"right",right:"left",bottom:"top",top:"bottom"};function _a(t,e,o){return oe(t,Te(e,o))}function qe(t,e){return typeof t=="function"?t(e):t}function Le(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function wo(t){return t==="x"?"y":"x"}function Ao(t){return t==="y"?"height":"width"}function Ye(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Ro(t){return wo(Ye(t))}function Ia(t,e,o){o===void 0&&(o=!1);let n=ie(t),i=Ro(t),a=Ao(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Oo(s)),[s,Oo(s)]}function Ta(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Oo(t){let e=Le(t);return Ml[e]+t.slice(e.length)}function Ul(t){var e,o,n,i;return{top:(e=t.top)!=null?e:0,right:(o=t.right)!=null?o:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function La(t){return typeof t!="number"?Ul(t):{top:t,right:t,bottom:t,left:t}}function Ne(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Na(t,e,o){let{reference:n,floating:i}=t,a=Ye(e),s=Ro(e),d=Ao(s),u=Le(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[d]/2-i[d]/2,b;switch(u){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let S=ie(e);return S&&(b[s]+=m*(S==="end"?1:-1)*(o&&p?-1:1)),b}async function ka(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:d,strategy:u}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=qe(e,t),S=La(b),E=d[m?f==="floating"?"reference":"floating":f],C=Ne(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:p,rootBoundary:h,strategy:u})),_=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d.floating)),y=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},x=Ne(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:_,offsetParent:g,strategy:u}):_);return{top:(C.top-x.top+S.top)/y.y,bottom:(x.bottom-C.bottom+S.bottom)/y.y,left:(C.left-x.left+S.left)/y.x,right:(x.right-C.right+S.right)/y.x}}var Bl=50,Pa=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,d=s.detectOverflow?s:{...s,detectOverflow:ka},u=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Na(p,n,u),m=n,b=0,S={};for(let O=0;O<a.length;O++){let E=a[O];if(!E)continue;let{name:C,fn:_}=E,{x:g,y,data:x,reset:v}=await _({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:d,elements:{reference:t,floating:e}});h=g??h,f=y??f,S[C]={...S[C],...x},v&&b<Bl&&(b++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(p=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:h,y:f}=Na(p,m,u)),O=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function $l(t,e,o){return(t?[...o.filter(i=>ie(i)===t),...o.filter(i=>ie(i)!==t)]:o.filter(i=>Le(i)===i)).filter(i=>t?ie(i)===t||(e?Ta(i)!==i:!1):!0)}var Fa=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:d,platform:u,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Co,autoAlignment:b=!0,...S}=qe(t,e),O=f!==void 0||m===Co?$l(f||null,b,m):m,E=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[E];if(C==null)return{};if(d!==C)return{reset:{placement:O[0]}};let _=await u.detectOverflow(e,S),g=Ia(C,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),y=[_[Le(C)],_[g[0]],_[g[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:y}],v=O[E+1];if(v)return{data:{index:E+1,overflows:x},reset:{placement:v}};let A=x.map(w=>{let T=ie(w.placement);return[w.placement,T&&h?w.overflows.slice(0,2).reduce((D,te)=>D+te,0):w.overflows[0],w.overflows]}).sort((w,T)=>w[1]-T[1]),P=((i=A.filter(w=>w[2].slice(0,ie(w[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||A[0][0];return P!==d?{data:{index:E+1,overflows:x},reset:{placement:P}}:{}}}};var zl=new Set(["left","top"]);async function Vl(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Le(o),d=ie(o),u=Ye(o)==="y",p=zl.has(s)?-1:1,h=a&&u?-1:1,f=qe(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return d&&typeof S=="number"&&(b=d==="end"?S*-1:S),u?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Da=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:d}=e,u=await Vl(e,t);return s===((o=d.offset)==null?void 0:o.placement)&&(n=d.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},Ma=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i,platform:a}=e,{mainAxis:s=!0,crossAxis:d=!1,limiter:u={fn:_=>{let{x:g,y}=_;return{x:g,y}}},...p}=qe(t,e),h={x:o,y:n},f=await a.detectOverflow(e,p),m=Ye(i),b=wo(m),S=h[b],O=h[m],E=(_,g)=>_a(g+f[_==="y"?"top":"left"],g,g-f[_==="y"?"bottom":"right"]);s&&(S=E(b,S)),d&&(O=E(m,O));let C=u.fn({...e,[b]:S,[m]:O});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[b]:s,[m]:d}}}}}};var Ua=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:o,rects:n,platform:i,elements:a}=e,{apply:s=()=>{},...d}=qe(t,e),u=await i.detectOverflow(e,d),p=Le(o),h=ie(o),f=Ye(o)==="y",{width:m,height:b}=n.floating,S,O;p==="top"||p==="bottom"?(S=p,O=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(O=p,S=h==="end"?"top":"bottom");let E=b-u.top-u.bottom,C=m-u.left-u.right,_=Te(b-u[S],E),g=Te(m-u[O],C),y=e.middlewareData.shift,x=!y,v=_,A=g;y!=null&&y.enabled.x&&(A=C),y!=null&&y.enabled.y&&(v=E),x&&!h&&(f?A=m-2*oe(u.left,u.right):v=b-2*oe(u.top,u.bottom)),await s({...e,availableWidth:A,availableHeight:v});let N=await i.getDimensions(a.floating);return m!==N.width||b!==N.height?{reset:{rects:!0}}:{}}}};function rr(){return typeof window<"u"}function Pe(t){return $a(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function de(t){var e;return(e=($a(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $a(t){return rr()?t instanceof Node||t instanceof H(t).Node:!1}function X(t){return rr()?t instanceof Element||t instanceof H(t).Element:!1}function ue(t){return rr()?t instanceof HTMLElement||t instanceof H(t).HTMLElement:!1}function Ba(t){return!rr()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof H(t).ShadowRoot}function Ct(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function za(t){return/^(table|td|th)$/.test(Pe(t))}function wt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Hl=/transform|translate|scale|rotate|perspective|filter/,Gl=/paint|layout|strict|content/,ke=t=>!!t&&t!=="none",_o;function Qe(t){let e=X(t)?J(t):t;return ke(e.transform)||ke(e.translate)||ke(e.scale)||ke(e.rotate)||ke(e.perspective)||!or()&&(ke(e.backdropFilter)||ke(e.filter))||Hl.test(e.willChange||"")||Gl.test(e.contain||"")}function Va(t){let e=ge(t);for(;ue(e)&&!Xe(e);){if(Qe(e))return e;if(wt(e))return null;e=ge(e)}return null}function or(){return _o==null&&(_o=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),_o}function Xe(t){return/^(html|body|#document)$/.test(Pe(t))}function J(t){return H(t).getComputedStyle(t)}function At(t){return X(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ge(t){if(Pe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ba(t)&&t.host||de(t);return Ba(e)?e.host:e}function Ha(t){let e=ge(t);return Xe(e)?(t.ownerDocument||t).body:ue(e)&&Ct(e)?e:Ha(e)}function tr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Ha(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=H(i);if(a){let d=nr(s);return e.concat(s,s.visualViewport||[],Ct(i)?i:[],d&&o?tr(d):[])}else return e.concat(i,tr(i,[],o))}function nr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ja(t){let e=J(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ue(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,d=Ot(o)!==a||Ot(n)!==s;return d&&(o=a,n=s),{width:o,height:n,$:d}}function Ka(t){return X(t)?t:t.contextElement}function Je(t){let e=Ka(t);if(!ue(e))return ne(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=ja(e),s=(a?Ot(o.width):o.width)/n,d=(a?Ot(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}var Wl=ne(0);function Za(t){let e=H(t);return!or()||!e.visualViewport?Wl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jl(t,e,o){return e===void 0&&(e=!1),!!o&&e&&o===H(t)}function Rt(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Ka(t),s=ne(1);e&&(n?X(n)&&(s=Je(n)):s=Je(t));let d=jl(a,o,n)?Za(a):ne(0),u=(i.left+d.x)/s.x,p=(i.top+d.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let m=H(a),b=X(n)?H(n):n,S=m,O=nr(S);for(;O&&b!==S;){let E=Je(O),C=O.getBoundingClientRect(),_=J(O),g=C.left+(O.clientLeft+parseFloat(_.paddingLeft))*E.x,y=C.top+(O.clientTop+parseFloat(_.paddingTop))*E.y;u*=E.x,p*=E.y,h*=E.x,f*=E.y,u+=g,p+=y,S=H(O),O=nr(S)}}return Ne({width:h,height:f,x:u,y:p})}function ir(t,e){let o=At(t).scrollLeft;return e?e.left+o:Rt(de(t)).left+o}function qa(t,e){let o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-ir(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function Kl(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t,a=i==="fixed",s=de(n),d=e?wt(e.floating):!1;if(n===s||d&&a)return o;let u={scrollLeft:0,scrollTop:0},p=ne(1),h=ne(0),f=ue(n);if((f||!a)&&((Pe(n)!=="body"||Ct(s))&&(u=At(n)),f)){let b=Rt(n);p=Je(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?qa(s,u):ne(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+m.x,y:o.y*p.y-u.scrollTop*p.y+h.y+m.y}}function Zl(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function ql(t){let e=At(t),o=t.ownerDocument.body,n=oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-e.scrollLeft+ir(t),s=-e.scrollTop;return J(o).direction==="rtl"&&(a+=oe(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var Yl=25;function Ql(t,e,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=H(t),a=de(t),s=i.visualViewport,d=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let m=!or()||e==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(d=s.width,u=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(ir(a)<=0){let m=a.ownerDocument,b=m.body,S=getComputedStyle(b),O=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(a.clientWidth-b.clientWidth-O),C=getComputedStyle(a).scrollbarGutter==="stable both-edges"?E/2:E;C<=Yl&&(d-=C)}return{width:d,height:u,x:p,y:h}}function Xl(t,e){let o=Rt(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Je(t),s=t.clientWidth*a.x,d=t.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:s,height:d,x:u,y:p}}function Ga(t,e,o){let n;if(e==="viewport"||e==="layoutViewport")n=Ql(t,o,e);else if(e==="document")n=ql(de(t));else if(X(e))n=Xl(e,o);else{let i=Za(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ne(n)}function Jl(t,e){let o=e.get(t);if(o)return o;let n=tr(t,[],!1).filter(d=>X(d)&&Pe(d)!=="body"),i=null,a=J(t).position==="fixed",s=a?ge(t):t;for(;X(s)&&!Xe(s);){let d=J(s),u=Qe(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&d.position==="static")?n=n.filter(f=>f!==s):i=d,s=ge(s)}return e.set(t,n),n}function ed(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?wt(e)?[]:Jl(e,this._c):[].concat(o),n],d=Ga(e,s[0],i),u=d.top,p=d.right,h=d.bottom,f=d.left;for(let m=1;m<s.length;m++){let b=Ga(e,s[m],i);u=oe(b.top,u),p=Te(b.right,p),h=Te(b.bottom,h),f=oe(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function td(t){let{width:e,height:o}=ja(t);return{width:e,height:o}}function rd(t,e,o){let n=ue(e),i=de(e),a=o==="fixed",s=Rt(t,!0,a,e),d={scrollLeft:0,scrollTop:0},u=ne(0);if((n||!a)&&((Pe(e)!=="body"||Ct(i))&&(d=At(e)),n)){let m=Rt(e,!0,a,e);u.x=m.x+e.clientLeft,u.y=m.y+e.clientTop}!n&&i&&(u.x=ir(i));let p=i&&!n&&!a?qa(i,d):ne(0),h=s.left+d.scrollLeft-u.x-p.x,f=s.top+d.scrollTop-u.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function Io(t){return J(t).position==="static"}function Wa(t,e){if(!ue(t)||J(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return de(t)===o&&(o=o.ownerDocument.body),o}function Ya(t,e){let o=H(t);if(wt(t))return o;if(!ue(t)){let i=ge(t);for(;i&&!Xe(i);){if(X(i)&&!Io(i))return i;i=ge(i)}return o}let n=Wa(t,e);for(;n&&za(n)&&Io(n);)n=Wa(n,e);return n&&Xe(n)&&Io(n)&&!Qe(n)?o:n||Va(t)||o}var od=async function(t){let e=this.getOffsetParent||Ya,o=this.getDimensions,n=await o(t.floating);return{reference:rd(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function nd(t){return J(t).direction==="rtl"}var et={convertOffsetParentRelativeRectToViewportRelativeRect:Kl,getDocumentElement:de,getClippingRect:ed,getOffsetParent:Ya,getElementRects:od,getClientRects:Zl,getDimensions:td,getScale:Je,isElement:X,isRTL:nd};var Qa=Da,To=Fa,Xa=Ma;var Ja=Ua;var Lo=(t,e,o)=>{let n=new Map,i=o??{},a={...et,...i.platform,_c:n};return Pa(t,e,{...i,platform:a})};function ko(t){return id(t)}function No(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function id(t){for(let e=t;e;e=No(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=No(t);e;e=No(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||Qe(o)||e.tagName==="BODY"))return e}return null}async function ad(t,e,o){let n;return typeof o=="object"?n=o:n={placement:o},Lo(t,e,{strategy:n.strategy,platform:{...et,getOffsetParent:i=>et.getOffsetParent(i,ko)},middleware:[Xa({crossAxis:!0}),To({allowedPlacements:[n.placement]})]})}async function sd(t,e,o,n,i,a,s){let d,u;return typeof o=="object"?(d=o.placement,n=o.allowedPlacements,i=o.strategy,a=o.maxHeightCssVariable,u=o.maxWidthCssVariable,s=o.offsetValue):d=o,Lo(t,e,{placement:d,strategy:i,platform:{...et,getOffsetParent:p=>et.getOffsetParent(p,ko)},middleware:[Qa(s??4),To({allowedPlacements:n}),Ja({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof u=="string"&&(u=`var(${u})`),u?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${u})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Fo={};I(Fo,{isSlotEmptyOrWithoutContent:()=>cd});var cd=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var zo={};I(zo,{FtdsBase:()=>$o,toFtdsBase:()=>as});var Bo={};I(Bo,{ExportpartsUpdatedEvent:()=>Fe,FtLitElement:()=>V});var Do={};I(Do,{ScopedRegistryLitElement:()=>_t});var _t=class extends le{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return lt(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(e,o){gt(e)(o),this.canDefineScopedElement(e)&&this.registry.define(e,o)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,o){this.scopedRegistryConstructor.defineScopedElement(e,o)}};var Uo={};I(Uo,{shadowQuerySelector:()=>Mo,shadowQuerySelectorAll:()=>ld});function Mo(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function ld(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,d;return[...(d=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&d!==void 0?d:[]]});return n}var tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var d=t.length-1;d>=0;d--)(s=t[d])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},os,es=Symbol("constructorPrototype"),ts=Symbol("constructorName"),ns=Symbol("exportpartsDebouncer"),rs=Symbol("dynamicDependenciesLoaded"),Fe=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Fe.eventName="exportparts-updated";var V=class extends _t{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[os]=new St(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ns].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ts]=this.constructor.name,this[es]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ts]&&Object.setPrototypeOf(this,this[es])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[rs]||(o[rs]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Fe.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Fe.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 Fe)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Mo(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var o,n,i,a,s,d;let u=m=>m!=null&&m.trim().length>0,p=e.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(a=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],S=(d=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&d!==void 0?d:[],O=[...b,...S].filter(u).map(E=>E.trim());for(let E of O)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};os=ns;tt([L()],V.prototype,"exportpartsPrefix",void 0);tt([Xt([])],V.prototype,"exportpartsPrefixes",void 0);tt([L({reflect:!0})],V.prototype,"exportparts",void 0);tt([L()],V.prototype,"customStylesheet",void 0);tt([L()],V.prototype,"elementToFocus",void 0);tt([G()],V.prototype,"useAdoptedStyleSheets",void 0);var is=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var d=t.length-1;d>=0;d--)(s=t[d])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},as=j(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=vt.medium,this.family=Et.neutral}getDesignSystemBaseClasses(){return{[go(this.family)]:!0,[bo(this.size)]:!0}}}return is([L()],e.prototype,"size",void 0),is([L()],e.prototype,"family",void 0),e}),$o=class extends as(V){};var ss={};var Ho={};I(Ho,{highlightHtml:()=>pd,highlightHtmlColorCssVariable:()=>cs,highlightHtmlStyles:()=>ud});var De=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,d=0;a=Array.prototype.slice.call(a);let u=()=>{--s<=0&&i(d)};s||u(),a.forEach(p=>{t.matches(p,this.exclude)?u():this.onIframeReady(p,h=>{o(p)&&(d++,n(h)),u()},u)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(s&d)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((d,u)=>{d.val===n&&(a=u,s=d.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),d=[],u=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>u.push(b),i)}),u.push(p);u.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(d=>{let u=()=>{this.iterateThroughNodes(e,d,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(d,u):u()})}};var It=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 De(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);d!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(u)})`,`gm${n}`),i+`(${this.processSynomyms(d)}|${this.processSynomyms(u)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(d=>{s+=`|${this.escapeStr(d)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.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 o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:d}=this.callNoMatchOnInvalidRanges(i,n);d&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,d=o-s,u=parseInt(e.start,10)-d;return u=u>s?s:u,i=u+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),u<0||i-u<0||u>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(u,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return De.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),d=document.createElement(i);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=a.textContent,a.parentNode.replaceChild(d,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,d)=>{let u=e.nodes[d+1];if(typeof u>"u"||u.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+m,e.nodes.forEach((b,S)=>{S>=d&&(e.nodes[S].start>0&&S!==d&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(d=>{d.nodes.forEach(u=>{u=u.node;let p;for(;(p=e.exec(u.textContent))!==null&&p[s]!=="";){if(!n(p[s],u))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;u=this.wrapRangeInTextNode(u,h,h+p[s].length),i(u.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(d=>{let u;for(;(u=e.exec(d.value))!==null&&u[s]!=="";){let p=u.index;if(s!==0)for(let f=1;f<s;f++)p+=u[f].length;let h=p+u[s].length;this.wrapRangeInMappedTextNode(d,p,h,f=>n(u[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((d,u)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(d,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,d,a.value.substring(p,h),u),m=>{n(m,d)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,d)=>this.opt.filter(d,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",u=p=>{let h=new RegExp(this.createRegExp(p),`gm${d}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):u(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):u(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,d,u)=>this.opt.filter(a,s,d,u),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=De.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Vo(t){let e=new It(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var dd=Vo,cs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ud=F`
1
+ "use strict";(()=>{var rc=Object.defineProperty;var I=(t,e)=>{for(var o in e)rc(t,o,{get:e[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(g,m){if(g=g.toLowerCase(),this._getDefinition(g)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${g}" has already been used with this registry`);if(this._definitionsByClass.get(m)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=m.prototype.attributeChangedCallback,v=new Set(m.observedAttributes||[]);y(m,v,x);let R={elementClass:m,connectedCallback:m.prototype.connectedCallback,disconnectedCallback:m.prototype.disconnectedCallback,adoptedCallback:m.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:m.formAssociated,formAssociatedCallback:m.prototype.formAssociatedCallback,formDisabledCallback:m.prototype.formDisabledCallback,formResetCallback:m.prototype.formResetCallback,formStateRestoreCallback:m.prototype.formStateRestoreCallback,observedAttributes:v};this._definitionsByTag.set(g,R),this._definitionsByClass.set(m,R);let N=o.call(n,g);N||(N=f(g),e.call(n,g,N)),this===window.customElements&&(s.set(m,R),R.standInClass=N);let P=this._awaitingUpgrade.get(g);if(P){this._awaitingUpgrade.delete(g);for(let T of P)a.delete(T),E(T,R,!0)}let A=this._whenDefinedPromises.get(g);return A!==void 0&&(A.resolve(m),this._whenDefinedPromises.delete(g)),m}upgrade(){S.push(this),n.upgrade.apply(n,arguments),S.pop()}get(g){return this._definitionsByTag.get(g)?.elementClass}_getDefinition(g){return this._definitionsByTag.get(g)}whenDefined(g){let m=this._getDefinition(g);if(m!==void 0)return Promise.resolve(m.elementClass);let x=this._whenDefinedPromises.get(g);return x===void 0&&(x={},x.promise=new Promise(v=>x.resolve=v),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,m,x){let v=this._awaitingUpgrade.get(m);v||this._awaitingUpgrade.set(m,v=new Set),x?v.add(g):v.delete(g)}};let u;window.HTMLElement=function(){let m=u;if(m)return u=void 0,m;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return m=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(m,this.constructor.prototype),i.set(m,x),m},window.HTMLElement.prototype=t.prototype;let p=g=>g===document||g instanceof ShadowRoot,h=g=>{let m=g.getRootNode();if(!p(m)){let x=S[S.length-1];if(x instanceof CustomElementRegistry)return x;m=x.getRootNode(),p(m)||(m=l.get(m)?.getRootNode()||document)}return m.customElements},f=g=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let v=h(x)||window.customElements,R=v._getDefinition(g);return R?E(x,R):a.set(x,v),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},y=(g,m,x)=>{if(m.size===0||x===void 0)return;let v=g.prototype.setAttribute;v&&(g.prototype.setAttribute=function(P,A){let T=P.toLowerCase();if(m.has(T)){let D=this.getAttribute(T);v.call(this,T,A),x.call(this,T,D,A)}else v.call(this,T,A)});let R=g.prototype.removeAttribute;R&&(g.prototype.removeAttribute=function(P){let A=P.toLowerCase();if(m.has(A)){let T=this.getAttribute(A);R.call(this,A),x.call(this,A,T,null)}else R.call(this,A)});let N=g.prototype.toggleAttribute;N&&(g.prototype.toggleAttribute=function(P,A){let T=P.toLowerCase();if(m.has(T)){let D=this.getAttribute(T);N.call(this,T,A);let te=this.getAttribute(T);x.call(this,T,D,te)}else N.call(this,T,A)})},b=g=>{let m=Object.getPrototypeOf(g);if(m!==window.HTMLElement)return m===t?Object.setPrototypeOf(g,window.HTMLElement):b(m)},E=(g,m,x=!1)=>{Object.setPrototypeOf(g,m.elementClass.prototype),i.set(g,m),u=g;try{new m.elementClass}catch{b(m.elementClass),new m.elementClass}m.attributeChangedCallback&&m.observedAttributes.forEach(v=>{g.hasAttribute(v)&&m.attributeChangedCallback.call(g,v,null,g.getAttribute(v))}),x&&m.connectedCallback&&g.isConnected&&m.connectedCallback.call(g)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let m=O.apply(this,arguments);return g.customElements&&(m.customElements=g.customElements),m};let S=[document],C=(g,m,x=void 0)=>{let v=(x?Object.getPrototypeOf(x):g.prototype)[m];g.prototype[m]=function(){S.push(this);let R=v.apply(x||this,arguments);return R!==void 0&&l.set(R,this),S.pop(),R}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let w=(g,m)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,m);Object.defineProperty(g.prototype,m,{...x,set(v){S.push(this),x.set.call(this,v),S.pop()}})};if(w(Element,"innerHTML"),w(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let g=new WeakMap,m=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...P){let A=m.call(this,...P);return g.set(A,this),A},x.forEach(P=>{let A=window.ElementInternals.prototype,T=A[P];A[P]=function(...D){let te=g.get(this);if(i.get(te).formAssociated===!0)return T?.call(this,...D);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class v extends Array{constructor(A){super(...A),this._elements=A}get value(){return this._elements.find(A=>A.checked===!0)?.value||""}}class R{constructor(A){let T=new Map;A.forEach((D,te)=>{let Lr=D.getAttribute("name"),Vn=T.get(Lr)||[];this[+te]=D,Vn.push(D),T.set(Lr,Vn)}),this.length=A.length,T.forEach((D,te)=>{D&&(D.length===1?this[te]=D[0]:this[te]=new v(D))})}namedItem(A){return this[A]}}let N=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let P=N.get.call(this,[]),A=[];for(let T of P){let D=i.get(T);(!D||D.formAssociated===!0)&&A.push(T)}return new R(A)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{var a;if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,s)}}}var Vr={};I(Vr,{CSSResult:()=>$e,LitElement:()=>le,ReactiveElement:()=>q,_$LE:()=>mc,_$LH:()=>Br,adoptStyles:()=>lt,css:()=>F,defaultConverter:()=>ze,getCompatibleStyle:()=>zt,html:()=>fe,isServer:()=>ju,mathml:()=>fc,noChange:()=>M,notEqual:()=>ut,nothing:()=>k,render:()=>$r,supportsAdoptingStyleSheets:()=>st,svg:()=>pc,unsafeCSS:()=>ct});var $t=globalThis,st=$t.ShadowRoot&&($t.ShadyCSS===void 0||$t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Nr=Symbol(),Hn=new WeakMap,$e=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Nr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(st&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Hn.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Hn.set(o,e))}return e}toString(){return this.cssText}},ct=t=>new $e(typeof t=="string"?t:t+"",void 0,Nr),F=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new $e(o,t,Nr)},lt=(t,e)=>{if(st)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=$t.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},zt=st?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return ct(o)})(t):t;var{is:oc,defineProperty:nc,getOwnPropertyDescriptor:ic,getOwnPropertyNames:ac,getOwnPropertySymbols:sc,getPrototypeOf:cc}=Object,Vt=globalThis,Gn=Vt.trustedTypes,lc=Gn?Gn.emptyScript:"",dc=Vt.reactiveElementPolyfillSupport,dt=(t,e)=>t,ze={toAttribute(t,e){switch(e){case Boolean:t=t?lc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},ut=(t,e)=>!oc(t,e),Wn={attribute:!0,type:String,converter:ze,reflect:!1,useDefault:!1,hasChanged:ut};Symbol.metadata??=Symbol("metadata"),Vt.litPropertyMetadata??=new WeakMap;var q=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,o=Wn){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&nc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=ic(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Wn}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=cc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let o=this.properties,n=[...ac(o),...sc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(zt(i))}else e!==void 0&&o.push(zt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lt(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,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ze).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ze;this._$Em=i;let l=s.fromAttribute(o,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){let s=this.constructor;if(i===!1&&(a=this[e]),n??=s.getPropertyOptions(e),!((n.hasChanged??ut)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.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(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[dt("elementProperties")]=new Map,q[dt("finalized")]=new Map,dc?.({ReactiveElement:q}),(Vt.reactiveElementVersions??=[]).push("2.1.2");var Pr=globalThis,jn=t=>t,Ht=Pr.trustedTypes,Kn=Ht?Ht.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fr="$lit$",ce=`lit$${Math.random().toFixed(9).slice(2)}$`,Dr="?"+ce,uc=`<${Dr}>`,Oe=document,ft=()=>Oe.createComment(""),ht=t=>t===null||typeof t!="object"&&typeof t!="function",Mr=Array.isArray,Jn=t=>Mr(t)||typeof t?.[Symbol.iterator]=="function",kr=`[
2
+ \f\r]`,pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zn=/-->/g,qn=/>/g,Se=RegExp(`>|${kr}(?:([^\\s"'>=/]+)(${kr}*=${kr}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Yn=/'/g,Qn=/"/g,ei=/^(?:script|style|textarea|title)$/i,Ur=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),fe=Ur(1),pc=Ur(2),fc=Ur(3),M=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Xn=new WeakMap,ve=Oe.createTreeWalker(Oe,129);function ti(t,e){if(!Mr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Kn!==void 0?Kn.createHTML(e):e}var ri=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=pt;for(let l=0;l<o;l++){let u=t[l],p,h,f=-1,y=0;for(;y<u.length&&(s.lastIndex=y,h=s.exec(u),h!==null);)y=s.lastIndex,s===pt?h[1]==="!--"?s=Zn:h[1]!==void 0?s=qn:h[2]!==void 0?(ei.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Se):h[3]!==void 0&&(s=Se):s===Se?h[0]===">"?(s=i??pt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Se:h[3]==='"'?Qn:Yn):s===Qn||s===Yn?s=Se:s===Zn||s===qn?s=pt:(s=Se,i=void 0);let b=s===Se&&t[l+1].startsWith("/>")?" ":"";a+=s===pt?u+uc:f>=0?(n.push(p),u.slice(0,f)+Fr+u.slice(f)+ce+b):u+ce+(f===-2?l:b)}return[ti(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},yt=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,u=this.parts,[p,h]=ri(e,o);if(this.el=t.createElement(p,n),ve.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=ve.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Fr)){let y=h[s++],b=i.getAttribute(f).split(ce),E=/([.?@])?(.*)/.exec(y);u.push({type:1,index:a,name:E[2],strings:b,ctor:E[1]==="."?Wt:E[1]==="?"?jt:E[1]==="@"?Kt:Ae}),i.removeAttribute(f)}else f.startsWith(ce)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(ei.test(i.tagName)){let f=i.textContent.split(ce),y=f.length-1;if(y>0){i.textContent=Ht?Ht.emptyScript:"";for(let b=0;b<y;b++)i.append(f[b],ft()),ve.nextNode(),u.push({type:2,index:++a});i.append(f[y],ft())}}}else if(i.nodeType===8)if(i.data===Dr)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ce,f+1))!==-1;)u.push({type:7,index:a}),f+=ce.length-1}a++}}static createElement(e,o){let n=Oe.createElement("template");return n.innerHTML=e,n}};function Ce(t,e,o=t,n){if(e===M)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=ht(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ce(t,i._$AS(t,e.values),i,n)),e}var Gt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Oe).importNode(o,!0);ve.currentNode=i;let a=ve.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Ve(a,a.nextSibling,this,e):u.type===1?p=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(p=new Zt(a,this,e)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=ve.nextNode(),s++)}return ve.currentNode=Oe,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Ve=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ce(this,e,o),ht(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==M&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Jn(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!==k&&ht(this._$AH)?this._$AA.nextSibling.data=e:this.T(Oe.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=yt.createElement(ti(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Gt(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Xn.get(e.strings);return o===void 0&&Xn.set(e.strings,o=new yt(e)),o}k(e){Mr(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(ft()),this.O(ft()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e!==this._$AB;){let n=jn(e).nextSibling;jn(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=k}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ce(this,e,o,0),s=!ht(e)||e!==this._$AH&&e!==M,s&&(this._$AH=e);else{let l=e,u,p;for(e=a[0],u=0;u<a.length-1;u++)p=Ce(this,l[n+u],o,u),p===M&&(p=this._$AH[u]),s||=!ht(p)||p!==this._$AH[u],p===k?e=k:e!==k&&(e+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(e)}j(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Wt=class extends Ae{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===k?void 0:e}},jt=class extends Ae{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Kt=class extends Ae{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ce(this,e,o,0)??k)===M)return;let n=this._$AH,i=e===k&&n!==k||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==k&&(n===k||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Zt=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ce(this,e)}},Br={M:Fr,P:ce,A:Dr,C:1,L:ri,R:Gt,D:Jn,V:Ce,I:Ve,H:Ae,N:jt,U:Kt,B:Wt,F:Zt},hc=Pr.litHtmlPolyfillSupport;hc?.(yt,Ve),(Pr.litHtmlVersions??=[]).push("3.3.3");var $r=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ve(e.insertBefore(ft(),a),a,void 0,o??{})}return i._$AI(t),i};var zr=globalThis,le=class extends q{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=$r(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return M}};le._$litElement$=!0,le.finalized=!0,zr.litElementHydrateSupport?.({LitElement:le});var yc=zr.litElementPolyfillSupport;yc?.({LitElement:le});var mc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(zr.litElementVersions??=[]).push("4.2.2");var ju=!1;var Hr={};I(Hr,{customElement:()=>gc,eventOptions:()=>xc,property:()=>L,query:()=>Ec,queryAll:()=>vc,queryAssignedElements:()=>Cc,queryAssignedNodes:()=>Ac,queryAsync:()=>Oc,standardProperty:()=>oi,state:()=>G});var gc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var bc={attribute:!0,type:String,converter:ze,reflect:!1,hasChanged:ut},oi=(t=bc,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(l){let u=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,u,t,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let u=this[s];e.call(this,l),this.requestUpdate(s,u,t,!0,l)}}throw Error("Unsupported decorator location: "+n)};function L(t){return(e,o)=>typeof o=="object"?oi(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function G(t){return L({...t,state:!0,attribute:!1})}function xc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Q=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Ec(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let u=Symbol();return{get(){return this[u]},set(p){this[u]=p}}})();return Q(o,n,{get(){let u=s.call(this);return u===void 0&&(u=a(this),(u!==null||this.hasUpdated)&&l.call(this,u)),u}})}return Q(o,n,{get(){return a(this)}})}}var Sc;function vc(t){return(e,o)=>Q(e,o,{get(){return(this.renderRoot??(Sc??=document.createDocumentFragment())).querySelectorAll(t)}})}function Oc(t){return(e,o)=>Q(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Cc(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(u=>u.matches(i))}})}}function Ac(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Gr={};I(Gr,{repeat:()=>Yt});var re={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},W=t=>(...e)=>({_$litDirective$:t,values:e}),Y=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:wc}=Br,ni=t=>t;var ai=t=>t.strings===void 0,ii=()=>document.createComment(""),He=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(ii(),i),s=n.insertBefore(ii(),i);o=new wc(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==t;if(l){let u;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(u=t._$AU)!==s._$AU&&o._$AP(u)}if(a!==i||l){let u=o._$AA;for(;u!==a;){let p=ni(u).nextSibling;ni(n).insertBefore(u,i),u=p}}}return o},he=(t,e,o=t)=>(t._$AI(e,o),t),Rc={},si=(t,e=Rc)=>t._$AH=e,ci=t=>t._$AH,qt=t=>{t._$AR(),t._$AA.remove()};var li=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},Yt=W(class extends Y{constructor(t){if(super(t),t.type!==re.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=ci(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],u=[],p,h,f=0,y=i.length-1,b=0,E=a.length-1;for(;f<=y&&b<=E;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(l[f]===s[b])u[b]=he(i[f],a[b]),f++,b++;else if(l[y]===s[E])u[E]=he(i[y],a[E]),y--,E--;else if(l[f]===s[E])u[E]=he(i[f],a[E]),He(t,u[E+1],i[f]),f++,E--;else if(l[y]===s[b])u[b]=he(i[y],a[b]),He(t,i[f],i[y]),y--,b++;else if(p===void 0&&(p=li(s,b,E),h=li(l,f,y)),p.has(l[f]))if(p.has(l[y])){let O=h.get(s[b]),S=O!==void 0?i[O]:null;if(S===null){let C=He(t,i[f]);he(C,a[b]),u[b]=C}else u[b]=he(S,a[b]),He(t,i[f],S),i[O]=null;b++}else qt(i[y]),y--;else qt(i[f]),f++;for(;b<=E;){let O=He(t,u[E+1]);he(O,a[b]),u[b++]=O}for(;f<=y;){let O=i[f++];O!==null&&qt(O)}return this.ut=s,si(t,u),M}});var Wr={};I(Wr,{classMap:()=>_c});var _c=W(class extends Y{constructor(t){if(super(t),t.type!==re.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return M}});var jr={};I(jr,{styleMap:()=>Tc});var di="important",Ic=" !"+di,Tc=W(class extends Y{constructor(t){if(super(t),t.type!==re.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Ic);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?di:""):o[n]=i}}return M}});var Kr={};I(Kr,{UnsafeHTMLDirective:()=>Ge,unsafeHTML:()=>Lc});var Ge=class extends Y{constructor(e){if(super(e),this.it=k,e.type!==re.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this._t=void 0,this.it=e;if(e===M)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 o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ge.directiveName="unsafeHTML",Ge.resultType=1;var Lc=W(Ge);var Zr={};I(Zr,{splitBreadcrumbForMenu:()=>Nc});function Nc(t,e=0,o=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var io={};I(io,{CacheRegistry:()=>no,ClearCacheEvent:()=>xt});var Yr={};I(Yr,{CancelablePromise:()=>Qt,CanceledPromiseError:()=>mt,cancelable:()=>qr});var mt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Qt=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new mt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new mt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},qr=t=>new Qt((e,o)=>t.then(e).catch(o));var oo={};I(oo,{FtNotificationEvent:()=>bt,PostResizeEvent:()=>ro,PreResizeEvent:()=>to,WithEventBus:()=>_e,withEventBus:()=>Si});var eo={};I(eo,{applyMixinOnce:()=>j,customElements:()=>Jr,dateReviver:()=>Mc,deepCopy:()=>We,deepEqual:()=>Re,delay:()=>hi,eventPathContainsMatchingElement:()=>Bc,everyDeep:()=>Dc,flatDeep:()=>mi,forEachDeep:()=>gi,getComposedPathTo:()=>Xr,groupBy:()=>Hc,hasChanged:()=>ye,ignoreComposingEvents:()=>Vc,last:()=>$c,minmax:()=>we,parseDate:()=>xi,randomId:()=>zc,someDeep:()=>bi,unslotText:()=>Ei,waitFor:()=>yi,waitUntil:()=>Fc});var Qr={};I(Qr,{customElement:()=>gt,dateProperty:()=>Pc,isNumber:()=>fi,jsonProperty:()=>Xt,jsonPropertyConverter:()=>ui,numberProperty:()=>pi,optionalNumberProperty:()=>kc});var gt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},ui=t=>({fromAttribute:e=>{if(e==null)return We(t);try{return JSON.parse(e)}catch{return We(t)}},toAttribute:e=>JSON.stringify(e)});function Xt(t,e){return L({type:Object,converter:ui(t),hasChanged:ye,...e??{}})}function kc(t){return pi(t)}function pi(t){return L({type:Object,converter:{fromAttribute:e=>{var o,n;if(e==null)return;let i=(o=t?.min)!==null&&o!==void 0?o:-1/0,a=(n=t?.max)!==null&&n!==void 0?n:1/0;return fi(e)?we(i,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function fi(t){return!isNaN(parseFloat(t))}function Pc(t){return L({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var hi=t=>new Promise(e=>setTimeout(e,t));async function Fc(t,e=10,o=2e4){await yi(async()=>await t()||void 0,e,o)}async function yi(t,e=10,o=2e4){let n=await t(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await hi(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function mi(t,e){return t.flatMap(o=>[o,...mi(e(o),e)])}function gi(t,e,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let u=i[l];if(!(((s=o(u,l,i,a))!==null&&s!==void 0?s:!0)&&n(e(u),[...a,u])))return!1}return!0};n(t,[])}function bi(t,e,o){let n=!1;return gi(t,e,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function Dc(t,e,o){return!bi(t,e,(n,i,a,s)=>!o(n,i,a,s))}function Mc(...t){return(e,o)=>t.includes(e)?xi(o):o}function xi(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function Uc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Re(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Re(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(t);if(o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Re(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Re(t,e){try{return Uc(t,e)}catch{return!1}}function ye(t,e){return!Re(t,e)}function Bc(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function we(t,e,o){return Math.min(Math.max(t,e),o)}function $c(t){return t[t.length-1]}function Ei(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Ei(e)).join(""):t?.textContent||""}function Xr(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function We(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function zc(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function j(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}function Vc(){return function(t,e,o){let n=o.value;o.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function Jr(t){for(let[e,o]of Object.entries(t))gt(e)(o)}function Hc(t,e){var o,n;let i=typeof e=="function"?e:s=>s[e],a={};for(let s of t)((o=a[n=i(s)])!==null&&o!==void 0?o:a[n]=[]).push(s);return a}var bt=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},to=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ro=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Si=j(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),_e=class extends Si(Object){};var xt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},no=class extends _e{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new xt(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new xt([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=qr(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var yo={};I(yo,{ClusteringHelper:()=>ho,formatHierarchicalValues:()=>fo});var po={};I(po,{accessBreadcrumb:()=>Qc,accessResult:()=>uo,accessResultId:()=>qc,accessResultUrl:()=>Yc,enrichReaderUrl:()=>lo});var co={};I(co,{SearchPlaceConverter:()=>Ie,SearchPlaceQueryParams:()=>_,isSearchPlaceQueryParams:()=>la,serializeRequest:()=>Kc});var Gc=t=>typeof t=="object"&&t!=null;var Wc=t=>typeof t=="number",Jt=t=>typeof t=="string",so=t=>Gc(t)&&Jt(t.endpoint)&&Jt(t.method)&&Jt(t.statusText)&&Jt(t.body)&&Wc(t.status),vi;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(vi||(vi={}));var Oi;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Oi||(Oi={}));var Ci;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ci||(Ci={}));var Ai;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ai||(Ai={}));var wi;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(wi||(wi={}));var Ri;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ri||(Ri={}));var _i;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(_i||(_i={}));var Ii;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ii||(Ii={}));var Ti;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Ti||(Ti={}));var Li;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Li||(Li={}));var Ni;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ni||(Ni={}));var ki;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(ki||(ki={}));var Pi;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Pi||(Pi={}));var Fi;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Fi||(Fi={}));var Di;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Di||(Di={}));var Mi;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Mi||(Mi={}));var Ui;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Ui||(Ui={}));var je;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(je||(je={}));var Bi;(function(t){t.ASC="ASC",t.DESC="DESC"})(Bi||(Bi={}));var $i;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})($i||($i={}));var ao;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ao||(ao={}));var qi=t=>Object.keys(ao).includes(t);var zi;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(zi||(zi={}));var Vi;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Vi||(Vi={}));var Hi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Hi||(Hi={}));var Ke;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ke||(Ke={}));var Yi=t=>Object.keys(Ke).includes(t);var Gi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Gi||(Gi={}));var Wi;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Wi||(Wi={}));var ji;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ji||(ji={}));var U;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(U||(U={}));var Ki;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ki||(Ki={}));var Zi;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Zi||(Zi={}));var Qi;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Qi||(Qi={}));var Xi;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Xi||(Xi={}));var Ji;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Ji||(Ji={}));var ea;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(ea||(ea={}));var ta;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ta||(ta={}));var ra;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ra||(ra={}));var oa;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(oa||(oa={}));var na;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(na||(na={}));var ia;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(ia||(ia={}));var aa;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(aa||(aa={}));var sa;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(sa||(sa={}));var cf={[U.PERSONAL_BOOK_SHARE_USER]:[U.PERSONAL_BOOK_USER],[U.HTML_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.PDF_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.KHUB_ADMIN]:[U.CONTENT_PUBLISHER],[U.ADMIN]:[U.KHUB_ADMIN,U.USERS_ADMIN,U.PORTAL_ADMIN,U.BEHAVIOR_DATA_USER],[U.GENERATIVE_AI_EXPORT_USER]:[U.GENERATIVE_AI_USER]};function jc(t){return`"${t}"`}function ca(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Kc(t,e){return new Ie(t).serialize(e)}var _;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(_||(_={}));var Zc=new Set(Object.values(_));function la(t){return Zc.has(t)}var Ie=class t{constructor(e,o=20,n=!1,i="en-US",a=[]){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,l,u,p,h,f;let y=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&y.append(_.LOCALE,e.contentLocale):y.append(_.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append(_.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&y.append(_.VALUE_FILTERS,b);let E=t.serializeNegativeValueFilters(e.metadataFilters);E&&y.append(_.NEGATIVE_VALUE_FILTERS,E);let O=(u=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.dateFilter))!==null&&u!==void 0?u:[];if(O.length>0){let g=O.map(m=>{var x;return`${m.key}~${(x=m.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");y.append(_.DATE_FILTERS,g)}let S=(p=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(g=>g.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let g=S.map(m=>{var x,v;return`${m.key}~${(x=m.rangeFilter)===null||x===void 0?void 0:x.from}_${(v=m.rangeFilter)===null||v===void 0?void 0:v.to}`}).join("*");y.append(_.RANGE_FILTERS,g)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(_.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&y.append(_.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&y.append(_.SORT,e.sortId),!((s=e.paging)===null||s===void 0)&&s.perPage&&((h=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&y.append(_.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&y.append(_.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let C=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let g in C)y.append(g,C[g]);let w=new Array;return y.forEach((g,m)=>{w.push(this.encodeQueryString(m)+"="+this.encodeQueryString(g))}),encodeURI(w.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,l,u;try{e=decodeURI(e).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let p=new URLSearchParams(e),h=(n=p.get(_.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(_.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),y=(o=p.get(_.SORT))===null||o===void 0?void 0:o.toLowerCase(),b=(a=p.get(_.SCOPE))!==null&&a!==void 0?a:"default",E=+((s=p.get(_.PER_PAGE))!==null&&s!==void 0?s:this.defaultPerPage),O=p.get(_.KEYWORD_MATCH),S=O?O.toUpperCase()===je.MANDATORY?je.MANDATORY:je.OPTIONAL:void 0,C={};for(let w of p.keys())la(w)||(C[w]=p.get(w));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(w=>w.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(l=p.get(_.QUERY))!==null&&l!==void 0?l:"",scope:(u=this.scopeMapping[b])!==null&&u!==void 0?u:"DEFAULT",virtualField:qi(f)?f:"EVERYWHERE",sortId:y,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:we(1,isNaN(E)?this.defaultPerPage:E,1e3)},keywordMatch:S,otherQueryParams:C}}parseCompatFilters(e){var o,n,i,a,s,l,u;let p=[];return e.has(_.FILTERS)&&(p=t.parseValueFilters((o=e.get(_.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(_.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(_.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((a=e.get(_.VALUE_FILTERS))!==null&&a!==void 0?a:""),...t.parseValueFilters((s=e.get(_.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=e.get(_.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((u=e.get(_.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}static parseValueFilters(e,o=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(ca).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Ke[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}static superEscapeFilters(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[o,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,o);return e}parseLegacyPeriodFilter(e){if(Yi(e))return[{key:"ft:lastEdition",dateFilter:{type:Ke[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var o,n;let i=((n=(o=e.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(a=>t.escapeFilters(a)).map(a=>jc(ca(a))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var o;let n=(o=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let o=new URL(e);return[_.LOCALE,_.FILTERS,_.VALUE_FILTERS,_.NEGATIVE_VALUE_FILTERS,_.DATE_FILTERS,_.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(e,o){let n=new URL(e);return n.searchParams.delete(_.LOCALE),o!==void 0&&n.searchParams.append(_.LOCALE,o),n.toString()}};Ie.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function uo(t){var e,o,n,i;return(i=(n=(o=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&o!==void 0?o:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function qc(t){var e,o,n,i,a,s,l,u,p;return(p=(u=(l=(s=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&s!==void 0?s:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&u!==void 0?u:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function Yc(t,e){var o,n,i,a,s,l,u,p,h;return(h=(p=(u=(l=lo((o=t?.map)===null||o===void 0?void 0:o.readerUrl,e))!==null&&l!==void 0?l:lo((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&u!==void 0?u:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(a=t?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&h!==void 0?h:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function Qc(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function lo(t,e){if(e&&t){let o=URL.parse(t),n=Ie.serializeValueFilters(e);if(n&&o?.searchParams.append(_.VALUE_FILTERS,n),o)return o.toString()}return t}function fo(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var ho=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,o,n){return e?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==o))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(e){var o,n;let i=(n=(o=uo(e.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(a=>a.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(fo(l)),s.push(fo(l,o))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,l;let u=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(l=u?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(e))===null||s===void 0?void 0:s.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=u?.value).filter((f,y,b)=>b.findIndex(E=>E.value===f.value)===y).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let u=e.localeCompare(o,i,{numeric:!0});return l?u*-1:u}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(u=>{var p;return((p=t.extractResultMetadata({result:u,key:e}))===null||p===void 0?void 0:p.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(u=>this.clusteringMetadata.has(u.key)).filter(u=>u.key!==e)],s,l=-1;for(let u of n){let p=this.countMatchingMetadata(u,a);if(p>l&&(l=p,s=u,p===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var mo={};I(mo,{Debouncer:()=>Et});var Et=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),a=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var So={};I(So,{designSystemVariables:()=>Eo});var xo={};I(xo,{DesignSystemFamily:()=>St,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>r,badge:()=>hl,banner:()=>fl,button:()=>el,card:()=>rl,chart:()=>Tl,checkbox:()=>al,chip:()=>dl,chipChoice:()=>ll,chipGroup:()=>ul,collapsible:()=>_l,combobox:()=>wl,dateRangePicker:()=>Fl,drawer:()=>Sl,eventCard:()=>ol,floatingMenu:()=>Al,foundation:()=>c,link:()=>pl,modal:()=>xl,notice:()=>Nl,notification:()=>kl,pageDesigner:()=>Ll,pageFooter:()=>gl,pageHeader:()=>ml,pageLayout:()=>bl,popover:()=>Rl,radio:()=>sl,reorderableList:()=>El,resolveFamilyClass:()=>go,resolveSizeClass:()=>bo,semantic:()=>d,setVariable:()=>Ze,switch_:()=>Il,table:()=>cl,tabs:()=>vl,textArea:()=>Cl,textInput:()=>Ol,titleBreadcrumb:()=>yl,toc:()=>il,toggle:()=>tl,tooltip:()=>Pl,treeList:()=>nl,typographies:()=>Xc,typographyBody1Medium:()=>ya,typographyBody1Regular:()=>ha,typographyBody1Semibold:()=>ma,typographyBody2Medium:()=>ba,typographyBody2MediumUnderline:()=>xa,typographyBody2Regular:()=>ga,typographyBody2Semibold:()=>Ea,typographyCaption1Medium:()=>Sa,typographyCaption1Semibold:()=>va,typographyCaption2Bold:()=>Aa,typographyCaption2Medium:()=>Oa,typographyCaption2Semibold:()=>Ca,typographyDisplay:()=>da,typographyTitle1:()=>ua,typographyTitle2:()=>pa,typographyTitle3:()=>fa,typographyVariants:()=>Jc});var me=t=>typeof t=="string"?ct(t):t,r=class{static create(e,o,n,i){let a=l=>me(l??i),s=F`var(${me(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>Ze(s,l??a(i)),s.get=l=>F`var(${me(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=l=>n.get(l??i),s=F`var(${me(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>Ze(s,l??a(i)),s.get=l=>F`var(${me(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=F`var(${me(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>F`var(${me(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Ze(t,e){return me(`${t.name}: ${e}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},da={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},ua={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},pa={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},fa={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},ha={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},ya={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ma={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ga={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ba={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},xa={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ea={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Sa={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},va={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Oa={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ca={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Aa={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Xc={display:da,"title-1":ua,"title-2":pa,"title-3":fa,"body-1-regular":ha,"body-1-medium":ya,"body-1-semibold":ma,"body-2-regular":ga,"body-2-medium":ba,"body-2-medium-underline":xa,"body-2-semibold":Ea,"caption-1-medium":Sa,"caption-1-semibold":va,"caption-2-medium":Oa,"caption-2-semibold":Ca,"caption-2-bold":Aa},Jc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var el={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var tl={iconSize:r.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var rl={borderRadius:r.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",d.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",d.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",d.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",d.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",d.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",d.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",d.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",d.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",d.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",d.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",d.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",d.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",d.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",d.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var ol={borderRadius:r.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",d.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",d.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",d.backgroundGlobalSurface)};var nl={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var il={titleColor:r.extend("--ftds-toc-title-color","",d.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",c.spacing2),offsetTop:r.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",d.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:r.extend("--ftds-toc-item-inactive-label-color","",d.contentGlobalSubtle),itemInactiveBorderColor:r.extend("--ftds-toc-item-inactive-border-color","",d.borderGlobalSubtle),itemInactiveStateLayerColor:r.extend("--ftds-toc-item-inactive-state-layer-color","",d.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",c.opacity8),itemInactiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.opacity8),itemActiveLabelColor:r.extend("--ftds-toc-item-active-label-color","",d.contentActionPrimary),itemActiveBorderColor:r.extend("--ftds-toc-item-active-border-color","",d.borderActionPrimary),itemActiveBorderWidth:r.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:r.extend("--ftds-toc-item-active-state-layer-color","",d.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:r.extend("--ftds-toc-item-active-default-state-layer-opacity","",c.opacity8),itemActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.opacity16),itemChildActiveLabelColor:r.extend("--ftds-toc-item-child-active-label-color","",d.contentActionPrimary),itemChildActiveBorderColor:r.extend("--ftds-toc-item-child-active-border-color","",d.borderGlobalSubtle),itemChildActiveStateLayerColor:r.extend("--ftds-toc-item-child-active-state-layer-color","",d.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",c.opacity8),itemChildActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)};var al={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var sl={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var cl={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var ll={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var dl={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var ul={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",d.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",d.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",d.contentActionPrimary)};var pl={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",c.spacing1)};var fl={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var hl={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var yl={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var ml={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var gl={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var bl={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var xl={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var El={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Sl={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var vl={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Ol={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-text-input-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Cl={fieldPaddingLeft:r.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:r.extend("--ftds-text-area-field-padding-right","",c.spacing6),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:r.extend("--ftds-text-area-resize-bottom","",c.spacing05),resizeRight:r.extend("--ftds-text-area-resize-right","",c.spacing05)};var Al={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",d.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",d.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",d.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",d.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",d.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",d.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",d.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",d.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",d.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",d.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",d.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",d.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",d.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",d.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",d.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",d.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",d.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",d.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",d.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",d.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",d.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",d.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",d.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",d.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var wl={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",d.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",d.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",d.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",d.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",d.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",d.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",d.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",d.borderInputPrimary)};var Rl={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var _l={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Il={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Tl={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Ll={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Nl={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var kl={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Pl={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Fl={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var St;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(St||(St={}));var vt;(function(t){t.large="large",t.medium="medium",t.small="small"})(vt||(vt={}));function go(t){return`ftds--family-${t}`}function bo(t){return`ftds--size-${t}`}var Eo={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var vo={};I(vo,{DynamicImporter:()=>er,dynamicImporter:()=>Dl});var er=class{async import(e){if(e)return import(e)}},Dl=new er;var Po={};I(Po,{computeOffsetAutoPosition:()=>sd,computeOffsetPosition:()=>ad});var Ra=["top","right","bottom","left"],wa=["start","end"],Co=Ra.reduce((t,e)=>t.concat(e,e+"-"+wa[0],e+"-"+wa[1]),[]),Te=Math.min,oe=Math.max,Ot=Math.round;var ne=t=>({x:t,y:t}),Ml={left:"right",right:"left",bottom:"top",top:"bottom"};function _a(t,e,o){return oe(t,Te(e,o))}function qe(t,e){return typeof t=="function"?t(e):t}function Le(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function Ao(t){return t==="x"?"y":"x"}function wo(t){return t==="y"?"height":"width"}function Ye(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Ro(t){return Ao(Ye(t))}function Ia(t,e,o){o===void 0&&(o=!1);let n=ie(t),i=Ro(t),a=wo(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Oo(s)),[s,Oo(s)]}function Ta(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Oo(t){let e=Le(t);return Ml[e]+t.slice(e.length)}function Ul(t){var e,o,n,i;return{top:(e=t.top)!=null?e:0,right:(o=t.right)!=null?o:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function La(t){return typeof t!="number"?Ul(t):{top:t,right:t,bottom:t,left:t}}function Ne(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Na(t,e,o){let{reference:n,floating:i}=t,a=Ye(e),s=Ro(e),l=wo(s),u=Le(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(u){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let E=ie(e);return E&&(b[s]+=y*(E==="end"?1:-1)*(o&&p?-1:1)),b}async function ka(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:b=0}=qe(e,t),E=La(b),S=l[y?f==="floating"?"reference":"floating":f],C=Ne(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(S)))==null||o?S:S.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),w=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),m=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},x=Ne(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:g,strategy:u}):w);return{top:(C.top-x.top+E.top)/m.y,bottom:(x.bottom-C.bottom+E.bottom)/m.y,left:(C.left-x.left+E.left)/m.x,right:(x.right-C.right+E.right)/m.x}}var Bl=50,Pa=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:ka},u=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Na(p,n,u),y=n,b=0,E={};for(let O=0;O<a.length;O++){let S=a[O];if(!S)continue;let{name:C,fn:w}=S,{x:g,y:m,data:x,reset:v}=await w({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:E,rects:p,platform:l,elements:{reference:t,floating:e}});h=g??h,f=m??f,E[C]={...E[C],...x},v&&b<Bl&&(b++,typeof v=="object"&&(v.placement&&(y=v.placement),v.rects&&(p=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:h,y:f}=Na(p,y,u)),O=-1)}return{x:h,y:f,placement:y,strategy:i,middlewareData:E}};function $l(t,e,o){return(t?[...o.filter(i=>ie(i)===t),...o.filter(i=>ie(i)!==t)]:o.filter(i=>Le(i)===i)).filter(i=>t?ie(i)===t||(e?Ta(i)!==i:!1):!0)}var Fa=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:u,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=Co,autoAlignment:b=!0,...E}=qe(t,e),O=f!==void 0||y===Co?$l(f||null,b,y):y,S=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[S];if(C==null)return{};if(l!==C)return{reset:{placement:O[0]}};let w=await u.detectOverflow(e,E),g=Ia(C,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),m=[w[Le(C)],w[g[0]],w[g[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:m}],v=O[S+1];if(v)return{data:{index:S+1,overflows:x},reset:{placement:v}};let R=x.map(A=>{let T=ie(A.placement);return[A.placement,T&&h?A.overflows.slice(0,2).reduce((D,te)=>D+te,0):A.overflows[0],A.overflows]}).sort((A,T)=>A[1]-T[1]),P=((i=R.filter(A=>A[2].slice(0,ie(A[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||R[0][0];return P!==l?{data:{index:S+1,overflows:x},reset:{placement:P}}:{}}}};var zl=new Set(["left","top"]);async function Vl(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Le(o),l=ie(o),u=Ye(o)==="y",p=zl.has(s)?-1:1,h=a&&u?-1:1,f=qe(e,t),{mainAxis:y,crossAxis:b,alignmentAxis:E}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof E=="number"&&(b=l==="end"?E*-1:E),u?{x:b*h,y:y*p}:{x:y*p,y:b*h}}var Da=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=e,u=await Vl(e,t);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},Ma=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...p}=qe(t,e),h={x:o,y:n},f=await a.detectOverflow(e,p),y=Ye(i),b=Ao(y),E=h[b],O=h[y],S=(w,g)=>_a(g+f[w==="y"?"top":"left"],g,g-f[w==="y"?"bottom":"right"]);s&&(E=S(b,E)),l&&(O=S(y,O));let C=u.fn({...e,[b]:E,[y]:O});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[b]:s,[y]:l}}}}}};var Ua=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:o,rects:n,platform:i,elements:a}=e,{apply:s=()=>{},...l}=qe(t,e),u=await i.detectOverflow(e,l),p=Le(o),h=ie(o),f=Ye(o)==="y",{width:y,height:b}=n.floating,E,O;p==="top"||p==="bottom"?(E=p,O=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(O=p,E=h==="end"?"top":"bottom");let S=b-u.top-u.bottom,C=y-u.left-u.right,w=Te(b-u[E],S),g=Te(y-u[O],C),m=e.middlewareData.shift,x=!m,v=w,R=g;m!=null&&m.enabled.x&&(R=C),m!=null&&m.enabled.y&&(v=S),x&&!h&&(f?R=y-2*oe(u.left,u.right):v=b-2*oe(u.top,u.bottom)),await s({...e,availableWidth:R,availableHeight:v});let N=await i.getDimensions(a.floating);return y!==N.width||b!==N.height?{reset:{rects:!0}}:{}}}};function rr(){return typeof window<"u"}function Pe(t){return $a(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function de(t){var e;return(e=($a(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $a(t){return rr()?t instanceof Node||t instanceof H(t).Node:!1}function X(t){return rr()?t instanceof Element||t instanceof H(t).Element:!1}function ue(t){return rr()?t instanceof HTMLElement||t instanceof H(t).HTMLElement:!1}function Ba(t){return!rr()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof H(t).ShadowRoot}function Ct(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function za(t){return/^(table|td|th)$/.test(Pe(t))}function At(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Hl=/transform|translate|scale|rotate|perspective|filter/,Gl=/paint|layout|strict|content/,ke=t=>!!t&&t!=="none",_o;function Qe(t){let e=X(t)?J(t):t;return ke(e.transform)||ke(e.translate)||ke(e.scale)||ke(e.rotate)||ke(e.perspective)||!or()&&(ke(e.backdropFilter)||ke(e.filter))||Hl.test(e.willChange||"")||Gl.test(e.contain||"")}function Va(t){let e=ge(t);for(;ue(e)&&!Xe(e);){if(Qe(e))return e;if(At(e))return null;e=ge(e)}return null}function or(){return _o==null&&(_o=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),_o}function Xe(t){return/^(html|body|#document)$/.test(Pe(t))}function J(t){return H(t).getComputedStyle(t)}function wt(t){return X(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ge(t){if(Pe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ba(t)&&t.host||de(t);return Ba(e)?e.host:e}function Ha(t){let e=ge(t);return Xe(e)?(t.ownerDocument||t).body:ue(e)&&Ct(e)?e:Ha(e)}function tr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Ha(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=H(i);if(a){let l=nr(s);return e.concat(s,s.visualViewport||[],Ct(i)?i:[],l&&o?tr(l):[])}else return e.concat(i,tr(i,[],o))}function nr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ja(t){let e=J(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ue(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=Ot(o)!==a||Ot(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Ka(t){return X(t)?t:t.contextElement}function Je(t){let e=Ka(t);if(!ue(e))return ne(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=ja(e),s=(a?Ot(o.width):o.width)/n,l=(a?Ot(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Wl=ne(0);function Za(t){let e=H(t);return!or()||!e.visualViewport?Wl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jl(t,e,o){return e===void 0&&(e=!1),!!o&&e&&o===H(t)}function Rt(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Ka(t),s=ne(1);e&&(n?X(n)&&(s=Je(n)):s=Je(t));let l=jl(a,o,n)?Za(a):ne(0),u=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let y=H(a),b=X(n)?H(n):n,E=y,O=nr(E);for(;O&&b!==E;){let S=Je(O),C=O.getBoundingClientRect(),w=J(O),g=C.left+(O.clientLeft+parseFloat(w.paddingLeft))*S.x,m=C.top+(O.clientTop+parseFloat(w.paddingTop))*S.y;u*=S.x,p*=S.y,h*=S.x,f*=S.y,u+=g,p+=m,E=H(O),O=nr(E)}}return Ne({width:h,height:f,x:u,y:p})}function ir(t,e){let o=wt(t).scrollLeft;return e?e.left+o:Rt(de(t)).left+o}function qa(t,e){let o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-ir(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function Kl(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t,a=i==="fixed",s=de(n),l=e?At(e.floating):!1;if(n===s||l&&a)return o;let u={scrollLeft:0,scrollTop:0},p=ne(1),h=ne(0),f=ue(n);if((f||!a)&&((Pe(n)!=="body"||Ct(s))&&(u=wt(n)),f)){let b=Rt(n);p=Je(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let y=s&&!f&&!a?qa(s,u):ne(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+y.x,y:o.y*p.y-u.scrollTop*p.y+h.y+y.y}}function Zl(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function ql(t){let e=wt(t),o=t.ownerDocument.body,n=oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-e.scrollLeft+ir(t),s=-e.scrollTop;return J(o).direction==="rtl"&&(a+=oe(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var Yl=25;function Ql(t,e,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=H(t),a=de(t),s=i.visualViewport,l=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let y=!or()||e==="fixed";n?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(ir(a)<=0){let y=a.ownerDocument,b=y.body,E=getComputedStyle(b),O=y.compatMode==="CSS1Compat"&&parseFloat(E.marginLeft)+parseFloat(E.marginRight)||0,S=Math.abs(a.clientWidth-b.clientWidth-O),C=getComputedStyle(a).scrollbarGutter==="stable both-edges"?S/2:S;C<=Yl&&(l-=C)}return{width:l,height:u,x:p,y:h}}function Xl(t,e){let o=Rt(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Je(t),s=t.clientWidth*a.x,l=t.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:s,height:l,x:u,y:p}}function Ga(t,e,o){let n;if(e==="viewport"||e==="layoutViewport")n=Ql(t,o,e);else if(e==="document")n=ql(de(t));else if(X(e))n=Xl(e,o);else{let i=Za(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ne(n)}function Jl(t,e){let o=e.get(t);if(o)return o;let n=tr(t,[],!1).filter(l=>X(l)&&Pe(l)!=="body"),i=null,a=J(t).position==="fixed",s=a?ge(t):t;for(;X(s)&&!Xe(s);){let l=J(s),u=Qe(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=ge(s)}return e.set(t,n),n}function ed(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?At(e)?[]:Jl(e,this._c):[].concat(o),n],l=Ga(e,s[0],i),u=l.top,p=l.right,h=l.bottom,f=l.left;for(let y=1;y<s.length;y++){let b=Ga(e,s[y],i);u=oe(b.top,u),p=Te(b.right,p),h=Te(b.bottom,h),f=oe(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function td(t){let{width:e,height:o}=ja(t);return{width:e,height:o}}function rd(t,e,o){let n=ue(e),i=de(e),a=o==="fixed",s=Rt(t,!0,a,e),l={scrollLeft:0,scrollTop:0},u=ne(0);if((n||!a)&&((Pe(e)!=="body"||Ct(i))&&(l=wt(e)),n)){let y=Rt(e,!0,a,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}!n&&i&&(u.x=ir(i));let p=i&&!n&&!a?qa(i,l):ne(0),h=s.left+l.scrollLeft-u.x-p.x,f=s.top+l.scrollTop-u.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function Io(t){return J(t).position==="static"}function Wa(t,e){if(!ue(t)||J(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return de(t)===o&&(o=o.ownerDocument.body),o}function Ya(t,e){let o=H(t);if(At(t))return o;if(!ue(t)){let i=ge(t);for(;i&&!Xe(i);){if(X(i)&&!Io(i))return i;i=ge(i)}return o}let n=Wa(t,e);for(;n&&za(n)&&Io(n);)n=Wa(n,e);return n&&Xe(n)&&Io(n)&&!Qe(n)?o:n||Va(t)||o}var od=async function(t){let e=this.getOffsetParent||Ya,o=this.getDimensions,n=await o(t.floating);return{reference:rd(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function nd(t){return J(t).direction==="rtl"}var et={convertOffsetParentRelativeRectToViewportRelativeRect:Kl,getDocumentElement:de,getClippingRect:ed,getOffsetParent:Ya,getElementRects:od,getClientRects:Zl,getDimensions:td,getScale:Je,isElement:X,isRTL:nd};var Qa=Da,To=Fa,Xa=Ma;var Ja=Ua;var Lo=(t,e,o)=>{let n=new Map,i=o??{},a={...et,...i.platform,_c:n};return Pa(t,e,{...i,platform:a})};function ko(t){return id(t)}function No(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function id(t){for(let e=t;e;e=No(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=No(t);e;e=No(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||Qe(o)||e.tagName==="BODY"))return e}return null}async function ad(t,e,o){let n;return typeof o=="object"?n=o:n={placement:o},Lo(t,e,{strategy:n.strategy,platform:{...et,getOffsetParent:i=>et.getOffsetParent(i,ko)},middleware:[Xa({crossAxis:!0}),To({allowedPlacements:[n.placement]})]})}async function sd(t,e,o,n,i,a,s){let l,u;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,a=o.maxHeightCssVariable,u=o.maxWidthCssVariable,s=o.offsetValue):l=o,Lo(t,e,{placement:l,strategy:i,platform:{...et,getOffsetParent:p=>et.getOffsetParent(p,ko)},middleware:[Qa(s??4),To({allowedPlacements:n}),Ja({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof u=="string"&&(u=`var(${u})`),u?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${u})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Fo={};I(Fo,{isSlotEmptyOrWithoutContent:()=>cd});var cd=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var zo={};I(zo,{FtdsBase:()=>$o,toFtdsBase:()=>as});var Bo={};I(Bo,{ExportpartsUpdatedEvent:()=>Fe,FtLitElement:()=>V});var Do={};I(Do,{ScopedRegistryLitElement:()=>_t});var _t=class extends le{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return lt(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(e,o){gt(e)(o),this.canDefineScopedElement(e)&&this.registry.define(e,o)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,o){this.scopedRegistryConstructor.defineScopedElement(e,o)}};var Uo={};I(Uo,{shadowQuerySelector:()=>Mo,shadowQuerySelectorAll:()=>ld});function Mo(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function ld(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},os,es=Symbol("constructorPrototype"),ts=Symbol("constructorName"),ns=Symbol("exportpartsDebouncer"),rs=Symbol("dynamicDependenciesLoaded"),Fe=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Fe.eventName="exportparts-updated";var V=class extends _t{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[os]=new Et(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ns].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ts]=this.constructor.name,this[es]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ts]&&Object.setPrototypeOf(this,this[es])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[rs]||(o[rs]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Fe.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Fe.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 Fe)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Mo(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var o,n,i,a,s,l;let u=y=>y!=null&&y.trim().length>0,p=e.filter(u).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(a=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],E=(l=(i=y.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],O=[...b,...E].filter(u).map(S=>S.trim());for(let S of O)h.add(S)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.exportparts=[...this.part,...f].join(", ")}};os=ns;tt([L()],V.prototype,"exportpartsPrefix",void 0);tt([Xt([])],V.prototype,"exportpartsPrefixes",void 0);tt([L({reflect:!0})],V.prototype,"exportparts",void 0);tt([L()],V.prototype,"customStylesheet",void 0);tt([L()],V.prototype,"elementToFocus",void 0);tt([G()],V.prototype,"useAdoptedStyleSheets",void 0);var is=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},as=j(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=vt.medium,this.family=St.neutral}getDesignSystemBaseClasses(){return{[go(this.family)]:!0,[bo(this.size)]:!0}}}return is([L()],e.prototype,"size",void 0),is([L()],e.prototype,"family",void 0),e}),$o=class extends as(V){};var ss={};var Ho={};I(Ho,{highlightHtml:()=>pd,highlightHtmlColorCssVariable:()=>cs,highlightHtmlStyles:()=>ud});var De=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let u=()=>{--s<=0&&i(l)};s||u(),a.forEach(p=>{t.matches(p,this.exclude)?u():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),u()},u)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((l,u)=>{l.val===n&&(a=u,s=l.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),l=[],u=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,y=>this.checkIframeFilter(p,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>u.push(b),i)}),u.push(p);u.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let u=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,u):u()})}};var It=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 De(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(u)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(u)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.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 o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,l=o-s,u=parseInt(e.start,10)-l;return u=u>s?s:u,i=u+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),u<0||i-u<0||u>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(u,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return De.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,l)=>{let u=e.nodes[l+1];if(typeof u>"u"||u.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+y,e.nodes.forEach((b,E)=>{E>=l&&(e.nodes[E].start>0&&E!==l&&(e.nodes[E].start-=h),e.nodes[E].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(u=>{u=u.node;let p;for(;(p=e.exec(u.textContent))!==null&&p[s]!=="";){if(!n(p[s],u))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;u=this.wrapRangeInTextNode(u,h,h+p[s].length),i(u.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let u;for(;(u=e.exec(l.value))!==null&&u[s]!=="";){let p=u.index;if(s!==0)for(let f=1;f<s;f++)p+=u[f].length;let h=p+u[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(u[s],f),(f,y)=>{e.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,u)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,y=>o(y,l,a.value.substring(p,h),u),y=>{n(y,l)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",u=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,b)=>this.opt.filter(b,p,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):u(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):u(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,u)=>this.opt.filter(a,s,l,u),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=De.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Vo(t){let e=new It(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var dd=Vo,cs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ud=F`
5
5
  .highlight-html-match {
6
6
  background: ${cs};
7
7
  }
8
- `;function pd(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new dd(t);if(s.unmark(),e&&e.trim()){let d={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(d.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...d,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...d,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Go={};I(Go,{noTextInputDefaultClearButton:()=>yd,noTextSelect:()=>fd,safariEllipsisFix:()=>md,wordWrap:()=>hd});var fd=F`
8
+ `;function pd(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new dd(t);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Go={};I(Go,{noTextInputDefaultClearButton:()=>md,noTextSelect:()=>fd,safariEllipsisFix:()=>yd,wordWrap:()=>hd});var fd=F`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,md=F`
29
+ `,yd=F`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,14 +37,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,yd=F`
40
+ `,md=F`
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 ls={};var jo={};I(jo,{ParametrizedLabelResolver:()=>Wo});var Wo=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var yn={};I(yn,{FtCommandQueue:()=>Tt,FtLitElementRedux:()=>Ko,FtReduxStore:()=>hn,FtStateManager:()=>mn,ReduxWatcher:()=>Rr,clearAllStores:()=>hu,isFtReduxStore:()=>rt,redux:()=>bd,reduxEventListener:()=>xd,reduxReactive:()=>gd,watch:()=>mu,withRedux:()=>ds});var gd=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},bd=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:me,attribute:!1,...e};L(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(d=>d[n]),store:e.store})}},xd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Tt=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function rt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Lt=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),Me=Symbol("internalStores"),ds=j(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(d=>s.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[Me].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Me].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Me].get(s)}addStore(s,d){var u;d=(u=d??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[Me].set(d,s),this.subscribeToStore(d,s),this.updateFromStores()}removeStore(s){let d=typeof s=="string"?s:s.name;this.unsubscribeFromStore(d),this[Me].delete(d)}setupStores(){this.unsubscribeFromStores(),this[Me].forEach((s,d)=>this.subscribeToStore(d,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(s.store);p&&(s.store?this[be].has(s.store):this[be].size>0)&&(this[d]=s.selector(p.getState(),this))}})}subscribeToStore(s,d){var u;this[be].set(s,d.subscribe(()=>this.updateFromStores())),this[Lt].set(s,[]),rt(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||d.name===p.store)){let f=m=>this[h](m);d.addEventListener(p.eventName,f),this[Lt].get(s).push(()=>d.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[be].forEach((s,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(s){var d;this[be].has(s)&&this[be].get(s)(),this[be].delete(s),(d=this[Lt].get(s))===null||d===void 0||d.forEach(u=>u()),this[Lt].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=be,o=Me,n=Lt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ko=class extends ds(V){};function $(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var Sd=typeof Symbol=="function"&&Symbol.observable||"@@observable",us=Sd,Zo=()=>Math.random().toString(36).substring(7).split("").join("."),Ed={INIT:`@@redux/INIT${Zo()}`,REPLACE:`@@redux/REPLACE${Zo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Zo()}`},ar=Ed;function sr(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function qo(t,e,o){if(typeof t!="function")throw new Error($(2));if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error($(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error($(1));return o(qo)(t,e)}let n=t,i=e,a=new Map,s=a,d=0,u=!1;function p(){s===a&&(s=new Map,a.forEach((E,C)=>{s.set(C,E)}))}function h(){if(u)throw new Error($(3));return i}function f(E){if(typeof E!="function")throw new Error($(4));if(u)throw new Error($(5));let C=!0;p();let _=d++;return s.set(_,E),function(){if(C){if(u)throw new Error($(6));C=!1,p(),s.delete(_),a=null}}}function m(E){if(!sr(E))throw new Error($(7));if(typeof E.type>"u")throw new Error($(8));if(typeof E.type!="string")throw new Error($(17));if(u)throw new Error($(9));try{u=!0,i=n(i,E)}finally{u=!1}return(a=s).forEach(_=>{_()}),E}function b(E){if(typeof E!="function")throw new Error($(10));n=E,m({type:ar.REPLACE})}function S(){let E=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error($(11));function _(){let y=C;y.next&&y.next(h())}return _(),{unsubscribe:E(_)}},[us](){return this}}}return m({type:ar.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[us]:S}}function vd(t){Object.keys(t).forEach(e=>{let o=t[e];if(typeof o(void 0,{type:ar.INIT})>"u")throw new Error($(12));if(typeof o(void 0,{type:ar.PROBE_UNKNOWN_ACTION()})>"u")throw new Error($(13))})}function Yo(t){let e=Object.keys(t),o={};for(let s=0;s<e.length;s++){let d=e[s];typeof t[d]=="function"&&(o[d]=t[d])}let n=Object.keys(o),i,a;try{vd(o)}catch(s){a=s}return function(d={},u){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],S=d[m],O=b(S,u);if(typeof O>"u"){let E=u&&u.type;throw new Error($(14))}h[m]=O,p=p||O!==S}return p=p||n.length!==Object.keys(d).length,p?h:d}}function Nt(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,o)=>(...n)=>e(o(...n)))}function ps(...t){return e=>(o,n)=>{let i=e(o,n),a=()=>{throw new Error($(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},d=t.map(u=>u(s));return a=Nt(...d)(i.dispatch),{...i,dispatch:a}}}function fs(t){return sr(t)&&"type"in t&&typeof t.type=="string"}var vs=Symbol.for("immer-nothing"),hs=Symbol.for("immer-draftable"),z=Symbol.for("immer-state");function ee(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var K=Object,nt=K.getPrototypeOf,ur="constructor",gr="prototype",en="configurable",pr="enumerable",lr="writable",kt="value",ae=t=>!!t&&!!t[z];function Z(t){return t?Os(t)||xr(t)||!!t[hs]||!!t[ur]?.[hs]||Sr(t)||Er(t):!1}var Od=K[gr][ur].toString(),ms=new WeakMap;function Os(t){if(!t||!ln(t))return!1;let e=nt(t);if(e===null||e===K[gr])return!0;let o=K.hasOwnProperty.call(e,ur)&&e[ur];if(o===Object)return!0;if(!ot(o))return!1;let n=ms.get(o);return n===void 0&&(n=Function.toString.call(o),ms.set(o,n)),n===Od}function br(t,e,o=!0){Dt(t)===0?(o?Reflect.ownKeys(t):K.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Dt(t){let e=t[z];return e?e.type_:xr(t)?1:Sr(t)?2:Er(t)?3:0}var Qo=(t,e,o=Dt(t))=>o===2?t.has(e):K[gr].hasOwnProperty.call(t,e),tn=(t,e,o=Dt(t))=>o===2?t.get(e):t[e],fr=(t,e,o,n=Dt(t))=>{n===2?t.set(e,o):n===3?t.add(o):t[e]=o};function Cd(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var xr=Array.isArray,Sr=t=>t instanceof Map,Er=t=>t instanceof Set,ln=t=>typeof t=="object",ot=t=>typeof t=="function",Xo=t=>typeof t=="boolean";function wd(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var pe=t=>t.copy_||t.base_;var dn=t=>t.modified_?t.copy_:t.base_;function rn(t,e){if(Sr(t))return new Map(t);if(Er(t))return new Set(t);if(xr(t))return Array[gr].slice.call(t);let o=Os(t);if(e===!0||e==="class_only"&&!o){let n=K.getOwnPropertyDescriptors(t);delete n[z];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],d=n[s];d[lr]===!1&&(d[lr]=!0,d[en]=!0),(d.get||d.set)&&(n[s]={[en]:!0,[lr]:!0,[pr]:d[pr],[kt]:t[s]})}return K.create(nt(t),n)}else{let n=nt(t);if(n!==null&&o)return{...t};let i=K.create(n);return K.assign(i,t)}}function vr(t,e=!1){return Or(t)||ae(t)||!Z(t)||(Dt(t)>1&&K.defineProperties(t,{set:cr,add:cr,clear:cr,delete:cr}),K.freeze(t),e&&br(t,(o,n)=>{vr(n,!0)},!1)),t}function Ad(){ee(2)}var cr={[kt]:Ad};function Or(t){return t===null||!ln(t)?!0:K.isFrozen(t)}var hr="MapSet",on="Patches",ys="ArrayMethods",Cs={};function Ue(t){let e=Cs[t];return e||ee(0,t),e}var gs=t=>!!Cs[t];var Pt,ws=()=>Pt,Rd=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gs(hr)?Ue(hr):void 0,arrayMethodsPlugin_:gs(ys)?Ue(ys):void 0});function bs(t,e){e&&(t.patchPlugin_=Ue(on),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function nn(t){an(t),t.drafts_.forEach(_d),t.drafts_=null}function an(t){t===Pt&&(Pt=t.parent_)}var xs=t=>Pt=Rd(Pt,t);function _d(t){let e=t[z];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Ss(t,e){e.unfinalizedDrafts_=e.drafts_.length;let o=e.drafts_[0];if(t!==void 0&&t!==o){o[z].modified_&&(nn(e),ee(4)),Z(t)&&(t=Es(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(o[z].base_,t,e)}else t=Es(e,o);return Id(e,t,!0),nn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==vs?t:void 0}function Es(t,e){if(Or(e))return e;let o=e[z];if(!o)return mr(e,t.handledSet_,t);if(!Cr(o,t))return e;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(t);_s(o,t)}return o.copy_}function Id(t,e,o=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&vr(e,o)}function As(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var Cr=(t,e)=>t.scope_===e,Td=[];function Rs(t,e,o,n){let i=pe(t),a=t.type_;if(n!==void 0&&tn(i,n,a)===e){fr(i,n,o,a);return}if(!t.draftLocations_){let d=t.draftLocations_=new Map;br(i,(u,p)=>{if(ae(p)){let h=d.get(p)||[];h.push(u),d.set(p,h)}})}let s=t.draftLocations_.get(e)??Td;for(let d of s)fr(i,d,o,a)}function Ld(t,e,o){t.callbacks_.push(function(i){let a=e;if(!a||!Cr(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=dn(a);Rs(t,a.draft_??a,s,o),_s(a,i)})}function _s(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}As(t)}}function Nd(t,e,o){let{scope_:n}=t;if(ae(o)){let i=o[z];Cr(i,n)&&i.callbacks_.push(function(){dr(t);let s=dn(i);Rs(t,o,s,e)})}else Z(o)&&t.callbacks_.push(function(){let a=pe(t);t.type_===3?a.has(o)&&mr(o,n.handledSet_,n):tn(a,e,t.type_)===o&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&mr(tn(t.copy_,e,t.type_),n.handledSet_,n)})}function mr(t,e,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||ae(t)||e.has(t)||!Z(t)||Or(t)||(e.add(t),br(t,(n,i)=>{if(ae(i)){let a=i[z];if(Cr(a,o)){let s=dn(a);fr(t,n,s,t.type_),As(a)}}else Z(i)&&mr(i,e,o)})),t}function kd(t,e){let o=xr(t),n={type_:o?1:0,scope_:e?e.scope_:ws(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=yr;o&&(i=[n],a=Ft);let{revoke:s,proxy:d}=Proxy.revocable(i,a);return n.draft_=d,n.revoke_=s,[d,n]}var yr={get(t,e){if(e===z)return t;let o=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&o?.isArrayOperationMethod(e))return o.createMethodInterceptor(t,e);let i=pe(t);if(!Qo(i,e,t.type_))return Fd(t,i,e);let a=i[e];if(t.finalized_||!Z(a)||n&&t.operationMethod&&o?.isMutatingArrayMethod(t.operationMethod)&&wd(e))return a;if(a===Jo(t.base_,e)||Pd(t,e,a)){dr(t);let s=t.type_===1?+e:e,d=cn(t.scope_,a,t,s);return t.copy_[s]=d}return a},has(t,e){return e in pe(t)},ownKeys(t){return Reflect.ownKeys(pe(t))},set(t,e,o){let n=Is(pe(t),e);if(n?.set)return n.set.call(t.draft_,o),!0;if(!t.modified_){let i=Jo(pe(t),e),a=i?.[z];if(a&&a.base_===o)return t.copy_[e]=o,t.assigned_.delete(e),!0;if(Cd(o,i)&&(o!==void 0||Qo(t.base_,e,t.type_)))return!0;dr(t),sn(t)}return t.copy_[e]===o&&(o!==void 0||Qo(t.copy_,e,t.type_))||Number.isNaN(o)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=o,t.assigned_.set(e,!0),Nd(t,e,o)),!0},deleteProperty(t,e){return dr(t),Jo(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),sn(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let o=pe(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{[lr]:!0,[en]:t.type_!==1||e!=="length",[pr]:n[pr],[kt]:o[e]}},defineProperty(){ee(11)},getPrototypeOf(t){return nt(t.base_)},setPrototypeOf(){ee(12)}},Ft={};for(let t in yr){let e=yr[t];Ft[t]=function(){let o=arguments;return o[0]=o[0][0],e.apply(this,o)}}Ft.deleteProperty=function(t,e){return Ft.set.call(this,t,e,void 0)};Ft.set=function(t,e,o){return yr.set.call(this,t[0],e,o,t[0])};function Jo(t,e){let o=t[z];return(o?pe(o):t)[e]}function Pd(t,e,o){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!Z(o)||o[z]?!1:t.baseRefs_.has(o)}function Fd(t,e,o){let n=Is(e,o);return n?kt in n?n[kt]:n.get?.call(t.draft_):void 0}function Is(t,e){if(!(e in t))return;let o=nt(t);for(;o;){let n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=nt(o)}}function sn(t){t.modified_||(t.modified_=!0,t.parent_&&sn(t.parent_))}function dr(t){t.copy_||(t.assigned_=new Map,t.copy_=rn(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Dd=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,o,n)=>{if(ot(e)&&!ot(o)){let a=o;o=e;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}ot(o)||ee(6),n!==void 0&&!ot(n)&&ee(7);let i;if(Z(e)){let a=xs(this),s=cn(a,e,void 0),d=!0;try{i=o(s),d=!1}finally{d?nn(a):an(a)}return bs(a,n),Ss(i,a)}else if(!e||!ln(e)){if(i=o(e),i===void 0&&(i=e),i===vs&&(i=void 0),this.autoFreeze_&&vr(i,!0),n){let a=[],s=[];Ue(on).generateReplacementPatches_(e,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else ee(1,e)},this.produceWithPatches=(e,o)=>{if(ot(e))return(s,...d)=>this.produceWithPatches(s,u=>e(u,...d));let n,i;return[this.produce(e,o,(s,d)=>{n=s,i=d}),n,i]},Xo(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Xo(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Xo(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){Z(t)||ee(8),ae(t)&&(t=Ts(t));let e=xs(this),o=cn(e,t,void 0);return o[z].isManual_=!0,an(e),o}finishDraft(t,e){let o=t&&t[z];(!o||!o.isManual_)&&ee(9);let{scope_:n}=o;return bs(n,e),Ss(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let o;for(o=e.length-1;o>=0;o--){let i=e[o];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}o>-1&&(e=e.slice(o+1));let n=Ue(on).applyPatches_;return ae(t)?n(t,e):this.produce(t,i=>n(i,e))}};function cn(t,e,o,n){let[i,a]=Sr(e)?Ue(hr).proxyMap_(e,o):Er(e)?Ue(hr).proxySet_(e,o):kd(e,o);return(o?.scope_??ws()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?Ld(o,a,n):a.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=u;a.modified_&&p&&p.generatePatches_(a,[],u)}),i}function Ts(t){return ae(t)||ee(10,t),Ls(t)}function Ls(t){if(!Z(t)||Or(t))return t;let e=t[z],o,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,o=rn(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else o=rn(t,!0);return br(o,(i,a)=>{fr(o,i,Ls(a))},n),e&&(e.finalized_=!1),o}var Md=globalThis.Iterator,Yg=typeof Md?.from=="function";var Ud=new Dd,un=Ud.produce;function Ns(t){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,t):i(a)}var ks=Ns(),Ps=Ns;var Bd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nt:Nt.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var $d=t=>t&&typeof t.match=="function";function xe(t,e){function o(...n){if(e){let i=e(...n);if(!i)throw new Error(se(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return o.toString=()=>`${t}`,o.type=t,o.match=n=>fs(n)&&n.type===t,o}var Bs=class Mt extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,Mt.prototype)}static get[Symbol.species](){return Mt}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new Mt(...e[0].concat(this)):new Mt(...e.concat(this))}};function Fs(t){return Z(t)?un(t,()=>{}):t}function wr(t,e,o){return t.has(e)?t.get(e):t.set(e,o(e)).get(e)}function zd(t){return typeof t=="boolean"}var Vd=()=>function(e){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=e??{},s=new Bs;return o&&(zd(o)?s.push(ks):s.push(Ps(o.extraArgument))),s},Hd="RTK_autoBatch";var Ds=t=>e=>{setTimeout(e,t)},Gd=(t,e)=>o=>{let n=!1,i,a,s=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(a),o())};i=t(s),a=setTimeout(s,e)},Wd=(t={type:"raf"})=>e=>(...o)=>{let n=e(...o),i=!0,a=!1,s=!1,d=new Set,u=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Gd(window.requestAnimationFrame,100):Ds(10):t.type==="callback"?t.queueNotification:Ds(t.timeout),p=()=>{s=!1,a&&(a=!1,d.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return d.add(h),()=>{m(),d.delete(h)}},dispatch(h){try{return i=!h?.meta?.[Hd],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},jd=t=>function(o){let{autoBatch:n=!0}=o??{},i=new Bs(t);return n&&i.push(Wd(typeof n=="object"?n:void 0)),i};function $s(t){let e=Vd(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:d=void 0}=t||{},u;if(typeof o=="function")u=o;else if(sr(o))u=Yo(o);else throw new Error(se(1));let p;typeof n=="function"?p=n(e):p=e();let h=Nt;i&&(h=Bd({trace:!1,...typeof i=="object"&&i}));let f=ps(...p),m=jd(f),b=typeof d=="function"?d(m):m(),S=h(...b);return qo(u,s,S)}function zs(t){let e={},o=[],n,i={addCase(a,s){let d=typeof a=="string"?a:a.type;if(!d)throw new Error(se(28));if(d in e)throw new Error(se(29));return e[d]=s,i},addAsyncThunk(a,s){return s.pending&&(e[a.pending.type]=s.pending),s.rejected&&(e[a.rejected.type]=s.rejected),s.fulfilled&&(e[a.fulfilled.type]=s.fulfilled),s.settled&&o.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return t(i),[e,o,n]}function Kd(t){return typeof t=="function"}function Zd(t,e){let[o,n,i]=zs(e),a;if(Kd(t))a=()=>Fs(t());else{let d=Fs(t);a=()=>d}function s(d=a(),u){let p=[o[u.type],...n.filter(({matcher:h})=>h(u)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(ae(h)){let m=f(h,u);return m===void 0?h:m}else{if(Z(h))return un(h,m=>f(m,u));{let m=f(h,u);if(m===void 0){if(h===null)return h;throw new Error(se(9))}return m}}return h},d)}return s.getInitialState=a,s}var qd=(t,e)=>$d(t)?t.match(e):t(e);function Yd(...t){return e=>t.some(o=>qd(o,e))}var Qd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xd=(t=21)=>{let e="",o=t;for(;o--;)e+=Qd[Math.random()*64|0];return e},Jd=["name","message","stack","code"],pn=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Ms=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},eu=t=>{if(typeof t=="object"&&t!==null){let e={};for(let o of Jd)typeof t[o]=="string"&&(e[o]=t[o]);return e}return{message:String(t)}},Us="External signal was aborted",tu=(()=>{function t(e,o,n){let i=xe(e+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=xe(e+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=xe(e+"/rejected",(u,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||eu)(u||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function d(u,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(u):Xd(),S=new AbortController,O,E;function C(g){E=g,S.abort()}p&&(p.aborted?C(Us):p.addEventListener("abort",()=>C(Us),{once:!0}));let _=(async function(){let g;try{let y=n?.condition?.(u,{getState:f,extra:m});if(ou(y)&&(y=await y),y===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let x=new Promise((v,A)=>{O=()=>{A({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",O,{once:!0})});h(a(b,u,n?.getPendingMeta?.({requestId:b,arg:u},{getState:f,extra:m}))),g=await Promise.race([x,Promise.resolve(o(u,{dispatch:h,getState:f,extra:m,requestId:b,signal:S.signal,abort:C,rejectWithValue:((v,A)=>new pn(v,A)),fulfillWithValue:((v,A)=>new Ms(v,A))})).then(v=>{if(v instanceof pn)throw v;return v instanceof Ms?i(v.payload,b,u,v.meta):i(v,b,u)})])}catch(y){g=y instanceof pn?s(null,b,u,y.payload,y.meta):s(y,b,u)}finally{O&&S.signal.removeEventListener("abort",O)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||h(g),g})();return Object.assign(_,{abort:C,requestId:b,arg:u,unwrap(){return _.then(ru)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,settled:Yd(s,i),typePrefix:e})}return t.withTypes=()=>t,t})();function ru(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ou(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vs=Symbol.for("rtk-slice-createasyncthunk"),nb={[Vs]:tu};function nu(t,e){return`${t}/${e}`}function iu({creators:t}={}){let e=t?.asyncThunk?.[Vs];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(se(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(su()):n.reducers)||{},d=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(g,y){let x=typeof g=="string"?g:g.type;if(!x)throw new Error(se(12));if(x in u.sliceCaseReducersByType)throw new Error(se(13));return u.sliceCaseReducersByType[x]=y,p},addMatcher(g,y){return u.sliceMatchers.push({matcher:g,reducer:y}),p},exposeAction(g,y){return u.actionCreators[g]=y,p},exposeCaseReducer(g,y){return u.sliceCaseReducersByName[g]=y,p}};d.forEach(g=>{let y=s[g],x={reducerName:g,type:nu(i,g),createNotation:typeof n.reducers=="function"};lu(y)?uu(x,y,p,e):cu(x,y,p)});function h(){let[g={},y=[],x=void 0]=typeof n.extraReducers=="function"?zs(n.extraReducers):[n.extraReducers],v={...g,...u.sliceCaseReducersByType};return Zd(n.initialState,A=>{for(let N in v)A.addCase(N,v[N]);for(let N of u.sliceMatchers)A.addMatcher(N.matcher,N.reducer);for(let N of y)A.addMatcher(N.matcher,N.reducer);x&&A.addDefaultCase(x)})}let f=g=>g,m=new Map,b=new WeakMap,S;function O(g,y){return S||(S=h()),S(g,y)}function E(){return S||(S=h()),S.getInitialState()}function C(g,y=!1){function x(A){let N=A[g];return typeof N>"u"&&y&&(N=wr(b,x,E)),N}function v(A=f){return wr(wr(m,y,()=>new WeakMap),A,()=>{let N={};for(let[P,w]of Object.entries(n.selectors??{}))N[P]=au(w,A,()=>wr(b,A,E),y);return N})}return{reducerPath:g,getSelectors:v,get selectors(){return v(x)},selectSlice:x}}let _={name:i,reducer:O,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:E,...C(a),injectInto(g,{reducerPath:y,...x}={}){let v=y??a;return g.inject({reducerPath:v,reducer:O},x),{..._,...C(v,!0)}}};return _}}function au(t,e,o,n){function i(a,...s){let d=e(a);return typeof d>"u"&&n&&(d=o()),t(d,...s)}return i.unwrapped=t,i}var Hs=iu();function su(){function t(e,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...o}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...o){return e(...o)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:o}},asyncThunk:t}}function cu({type:t,reducerName:e,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!du(n))throw new Error(se(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(t,a).exposeCaseReducer(e,a).exposeAction(e,s?xe(t,s):xe(t))}function lu(t){return t._reducerDefinitionType==="asyncThunk"}function du(t){return t._reducerDefinitionType==="reducerWithPrepare"}function uu({type:t,reducerName:e},o,n,i){if(!i)throw new Error(se(18));let{payloadCreator:a,fulfilled:s,pending:d,rejected:u,settled:p,options:h}=o,f=i(t,a,h);n.exposeAction(e,f),s&&n.addCase(f.fulfilled,s),d&&n.addCase(f.pending,d),u&&n.addCase(f.rejected,u),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:s||Ar,pending:d||Ar,rejected:u||Ar,settled:p||Ar})}function Ar(){}var Gs="listener",Ws="completed",js="cancelled",ib=`task-${js}`,ab=`task-${Ws}`,sb=`${Gs}-${js}`,cb=`${Gs}-${Ws}`;var{assign:Ks}=Object;var fn="listenerMiddleware";var pu=Ks(xe(`${fn}/add`),{withTypes:()=>pu}),lb=xe(`${fn}/removeAll`),fu=Ks(xe(`${fn}/remove`),{withTypes:()=>fu});function se(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var hn=class t extends _e{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(rt(a))return a;if(i==null)return;let s=Hs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=$s({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=We(s.getInitialState());for(let f of p.keeping)h[f]=(u??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[i.name]=new t(s,d,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Tt,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,d)=>{let u=s,p=a[u];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=u,m=this.getState()[f];Re(m,h)||this.setState({[f]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function hu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))rt(e)&&e.clear()}var Rr=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);me(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function mu(t,e,o){return new Rr(t,e,o).watch()}var mn=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var o;return(o=this.requestConsumers.get(e))!==null&&o!==void 0?o:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var xn={};I(xn,{scrollHelper:()=>yu});var gn,_r=new Map,bn=class{lock(e,o){if(o){let n=_r.get(o);if(n==null||n===e)return _r.set(o,e),o}}release(e,o){o&&_r.get(o)===e&&_r.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of Xr(e)){let s=a,d=this.elementCanScroll(s);if(d&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else d&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,d=Ae(0,(s-n.scrollTop)/(s-a),1),u=this.computeTopOffsetRatio(o?.position,d)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:u})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(gn=window.FluidTopicsScrollHelper)!==null&&gn!==void 0?gn:new bn;var yu=window.FluidTopicsScrollHelper;var En={};I(En,{toFtFormComponent:()=>gu});var Sn=Symbol("elementInternals"),gu=j(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Sn].form}constructor(...n){super(n),this[Sn]=this.attachInternals()}setFormValue(n){this[Sn].setFormValue(n)}}return e});var On={};I(On,{DateFormatter:()=>vn});var vn=class{static format(e,o,n,i,a){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(e,o,n,i,!!a)}static getMomentDateFormat(e,o,n){return n?"LT":e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i,a){let s=typeof e=="string"?new Date(e):e,d=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return a?u:i?`${d} ${u}`:d}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var wn={};I(wn,{ALL_KEYS_VALUE:()=>Cn,SameWindowStorageEvent:()=>it});var Cn="__all__",it=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Cn}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new it(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new it(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new it(Cn))}});var Rn={};I(Rn,{FocusMainContentEvent:()=>An});var An=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Zs={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function bu(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function xu(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",bu);document.addEventListener("click",xu);var qs=F`
47
+ `;var ls={};var jo={};I(jo,{ParametrizedLabelResolver:()=>Wo});var Wo=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var mn={};I(mn,{FtCommandQueue:()=>Tt,FtLitElementRedux:()=>Ko,FtReduxStore:()=>hn,FtStateManager:()=>yn,ReduxWatcher:()=>Rr,clearAllStores:()=>hu,isFtReduxStore:()=>rt,redux:()=>bd,reduxEventListener:()=>xd,reduxReactive:()=>gd,watch:()=>yu,withRedux:()=>ds});var gd=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},bd=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:ye,attribute:!1,...e};L(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(l=>l[n]),store:e.store})}},xd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Tt=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function rt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Lt=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),Me=Symbol("internalStores"),ds=j(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Me].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Me].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Me].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Me].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Me].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Me].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[be].has(s.store):this[be].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u,p;this[be].set(s,l.subscribe(()=>this.updateFromStores())),this[Lt].set(s,[]),rt(l)&&(!((u=l.deprecatedKeys)===null||u===void 0)&&u.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===l&&l.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",l.name)}),l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||l.name===h.store)){let y=b=>this[f](b);l.addEventListener(h.eventName,y),this[Lt].get(s).push(()=>l.removeEventListener(h.eventName,y))}}))),this.onStoreAvailable(s)}unsubscribeFromStores(){this[be].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[be].has(s)&&this[be].get(s)(),this[be].delete(s),(l=this[Lt].get(s))===null||l===void 0||l.forEach(u=>u()),this[Lt].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=be,o=Me,n=Lt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ko=class extends ds(V){};function $(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var Ed=typeof Symbol=="function"&&Symbol.observable||"@@observable",us=Ed,Zo=()=>Math.random().toString(36).substring(7).split("").join("."),Sd={INIT:`@@redux/INIT${Zo()}`,REPLACE:`@@redux/REPLACE${Zo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Zo()}`},ar=Sd;function sr(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function qo(t,e,o){if(typeof t!="function")throw new Error($(2));if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error($(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error($(1));return o(qo)(t,e)}let n=t,i=e,a=new Map,s=a,l=0,u=!1;function p(){s===a&&(s=new Map,a.forEach((S,C)=>{s.set(C,S)}))}function h(){if(u)throw new Error($(3));return i}function f(S){if(typeof S!="function")throw new Error($(4));if(u)throw new Error($(5));let C=!0;p();let w=l++;return s.set(w,S),function(){if(C){if(u)throw new Error($(6));C=!1,p(),s.delete(w),a=null}}}function y(S){if(!sr(S))throw new Error($(7));if(typeof S.type>"u")throw new Error($(8));if(typeof S.type!="string")throw new Error($(17));if(u)throw new Error($(9));try{u=!0,i=n(i,S)}finally{u=!1}return(a=s).forEach(w=>{w()}),S}function b(S){if(typeof S!="function")throw new Error($(10));n=S,y({type:ar.REPLACE})}function E(){let S=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error($(11));function w(){let m=C;m.next&&m.next(h())}return w(),{unsubscribe:S(w)}},[us](){return this}}}return y({type:ar.INIT}),{dispatch:y,subscribe:f,getState:h,replaceReducer:b,[us]:E}}function vd(t){Object.keys(t).forEach(e=>{let o=t[e];if(typeof o(void 0,{type:ar.INIT})>"u")throw new Error($(12));if(typeof o(void 0,{type:ar.PROBE_UNKNOWN_ACTION()})>"u")throw new Error($(13))})}function Yo(t){let e=Object.keys(t),o={};for(let s=0;s<e.length;s++){let l=e[s];typeof t[l]=="function"&&(o[l]=t[l])}let n=Object.keys(o),i,a;try{vd(o)}catch(s){a=s}return function(l={},u){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let y=n[f],b=o[y],E=l[y],O=b(E,u);if(typeof O>"u"){let S=u&&u.type;throw new Error($(14))}h[y]=O,p=p||O!==E}return p=p||n.length!==Object.keys(l).length,p?h:l}}function Nt(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,o)=>(...n)=>e(o(...n)))}function ps(...t){return e=>(o,n)=>{let i=e(o,n),a=()=>{throw new Error($(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},l=t.map(u=>u(s));return a=Nt(...l)(i.dispatch),{...i,dispatch:a}}}function fs(t){return sr(t)&&"type"in t&&typeof t.type=="string"}var vs=Symbol.for("immer-nothing"),hs=Symbol.for("immer-draftable"),z=Symbol.for("immer-state");function ee(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var K=Object,nt=K.getPrototypeOf,ur="constructor",gr="prototype",en="configurable",pr="enumerable",lr="writable",kt="value",ae=t=>!!t&&!!t[z];function Z(t){return t?Os(t)||xr(t)||!!t[hs]||!!t[ur]?.[hs]||Er(t)||Sr(t):!1}var Od=K[gr][ur].toString(),ys=new WeakMap;function Os(t){if(!t||!ln(t))return!1;let e=nt(t);if(e===null||e===K[gr])return!0;let o=K.hasOwnProperty.call(e,ur)&&e[ur];if(o===Object)return!0;if(!ot(o))return!1;let n=ys.get(o);return n===void 0&&(n=Function.toString.call(o),ys.set(o,n)),n===Od}function br(t,e,o=!0){Dt(t)===0?(o?Reflect.ownKeys(t):K.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Dt(t){let e=t[z];return e?e.type_:xr(t)?1:Er(t)?2:Sr(t)?3:0}var Qo=(t,e,o=Dt(t))=>o===2?t.has(e):K[gr].hasOwnProperty.call(t,e),tn=(t,e,o=Dt(t))=>o===2?t.get(e):t[e],fr=(t,e,o,n=Dt(t))=>{n===2?t.set(e,o):n===3?t.add(o):t[e]=o};function Cd(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var xr=Array.isArray,Er=t=>t instanceof Map,Sr=t=>t instanceof Set,ln=t=>typeof t=="object",ot=t=>typeof t=="function",Xo=t=>typeof t=="boolean";function Ad(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var pe=t=>t.copy_||t.base_;var dn=t=>t.modified_?t.copy_:t.base_;function rn(t,e){if(Er(t))return new Map(t);if(Sr(t))return new Set(t);if(xr(t))return Array[gr].slice.call(t);let o=Os(t);if(e===!0||e==="class_only"&&!o){let n=K.getOwnPropertyDescriptors(t);delete n[z];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[lr]===!1&&(l[lr]=!0,l[en]=!0),(l.get||l.set)&&(n[s]={[en]:!0,[lr]:!0,[pr]:l[pr],[kt]:t[s]})}return K.create(nt(t),n)}else{let n=nt(t);if(n!==null&&o)return{...t};let i=K.create(n);return K.assign(i,t)}}function vr(t,e=!1){return Or(t)||ae(t)||!Z(t)||(Dt(t)>1&&K.defineProperties(t,{set:cr,add:cr,clear:cr,delete:cr}),K.freeze(t),e&&br(t,(o,n)=>{vr(n,!0)},!1)),t}function wd(){ee(2)}var cr={[kt]:wd};function Or(t){return t===null||!ln(t)?!0:K.isFrozen(t)}var hr="MapSet",on="Patches",ms="ArrayMethods",Cs={};function Ue(t){let e=Cs[t];return e||ee(0,t),e}var gs=t=>!!Cs[t];var Pt,As=()=>Pt,Rd=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gs(hr)?Ue(hr):void 0,arrayMethodsPlugin_:gs(ms)?Ue(ms):void 0});function bs(t,e){e&&(t.patchPlugin_=Ue(on),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function nn(t){an(t),t.drafts_.forEach(_d),t.drafts_=null}function an(t){t===Pt&&(Pt=t.parent_)}var xs=t=>Pt=Rd(Pt,t);function _d(t){let e=t[z];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Es(t,e){e.unfinalizedDrafts_=e.drafts_.length;let o=e.drafts_[0];if(t!==void 0&&t!==o){o[z].modified_&&(nn(e),ee(4)),Z(t)&&(t=Ss(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(o[z].base_,t,e)}else t=Ss(e,o);return Id(e,t,!0),nn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==vs?t:void 0}function Ss(t,e){if(Or(e))return e;let o=e[z];if(!o)return yr(e,t.handledSet_,t);if(!Cr(o,t))return e;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(t);_s(o,t)}return o.copy_}function Id(t,e,o=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&vr(e,o)}function ws(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var Cr=(t,e)=>t.scope_===e,Td=[];function Rs(t,e,o,n){let i=pe(t),a=t.type_;if(n!==void 0&&tn(i,n,a)===e){fr(i,n,o,a);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;br(i,(u,p)=>{if(ae(p)){let h=l.get(p)||[];h.push(u),l.set(p,h)}})}let s=t.draftLocations_.get(e)??Td;for(let l of s)fr(i,l,o,a)}function Ld(t,e,o){t.callbacks_.push(function(i){let a=e;if(!a||!Cr(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=dn(a);Rs(t,a.draft_??a,s,o),_s(a,i)})}function _s(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}ws(t)}}function Nd(t,e,o){let{scope_:n}=t;if(ae(o)){let i=o[z];Cr(i,n)&&i.callbacks_.push(function(){dr(t);let s=dn(i);Rs(t,o,s,e)})}else Z(o)&&t.callbacks_.push(function(){let a=pe(t);t.type_===3?a.has(o)&&yr(o,n.handledSet_,n):tn(a,e,t.type_)===o&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&yr(tn(t.copy_,e,t.type_),n.handledSet_,n)})}function yr(t,e,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||ae(t)||e.has(t)||!Z(t)||Or(t)||(e.add(t),br(t,(n,i)=>{if(ae(i)){let a=i[z];if(Cr(a,o)){let s=dn(a);fr(t,n,s,t.type_),ws(a)}}else Z(i)&&yr(i,e,o)})),t}function kd(t,e){let o=xr(t),n={type_:o?1:0,scope_:e?e.scope_:As(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=mr;o&&(i=[n],a=Ft);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var mr={get(t,e){if(e===z)return t;let o=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&o?.isArrayOperationMethod(e))return o.createMethodInterceptor(t,e);let i=pe(t);if(!Qo(i,e,t.type_))return Fd(t,i,e);let a=i[e];if(t.finalized_||!Z(a)||n&&t.operationMethod&&o?.isMutatingArrayMethod(t.operationMethod)&&Ad(e))return a;if(a===Jo(t.base_,e)||Pd(t,e,a)){dr(t);let s=t.type_===1?+e:e,l=cn(t.scope_,a,t,s);return t.copy_[s]=l}return a},has(t,e){return e in pe(t)},ownKeys(t){return Reflect.ownKeys(pe(t))},set(t,e,o){let n=Is(pe(t),e);if(n?.set)return n.set.call(t.draft_,o),!0;if(!t.modified_){let i=Jo(pe(t),e),a=i?.[z];if(a&&a.base_===o)return t.copy_[e]=o,t.assigned_.delete(e),!0;if(Cd(o,i)&&(o!==void 0||Qo(t.base_,e,t.type_)))return!0;dr(t),sn(t)}return t.copy_[e]===o&&(o!==void 0||Qo(t.copy_,e,t.type_))||Number.isNaN(o)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=o,t.assigned_.set(e,!0),Nd(t,e,o)),!0},deleteProperty(t,e){return dr(t),Jo(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),sn(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let o=pe(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{[lr]:!0,[en]:t.type_!==1||e!=="length",[pr]:n[pr],[kt]:o[e]}},defineProperty(){ee(11)},getPrototypeOf(t){return nt(t.base_)},setPrototypeOf(){ee(12)}},Ft={};for(let t in mr){let e=mr[t];Ft[t]=function(){let o=arguments;return o[0]=o[0][0],e.apply(this,o)}}Ft.deleteProperty=function(t,e){return Ft.set.call(this,t,e,void 0)};Ft.set=function(t,e,o){return mr.set.call(this,t[0],e,o,t[0])};function Jo(t,e){let o=t[z];return(o?pe(o):t)[e]}function Pd(t,e,o){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!Z(o)||o[z]?!1:t.baseRefs_.has(o)}function Fd(t,e,o){let n=Is(e,o);return n?kt in n?n[kt]:n.get?.call(t.draft_):void 0}function Is(t,e){if(!(e in t))return;let o=nt(t);for(;o;){let n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=nt(o)}}function sn(t){t.modified_||(t.modified_=!0,t.parent_&&sn(t.parent_))}function dr(t){t.copy_||(t.assigned_=new Map,t.copy_=rn(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Dd=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,o,n)=>{if(ot(e)&&!ot(o)){let a=o;o=e;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}ot(o)||ee(6),n!==void 0&&!ot(n)&&ee(7);let i;if(Z(e)){let a=xs(this),s=cn(a,e,void 0),l=!0;try{i=o(s),l=!1}finally{l?nn(a):an(a)}return bs(a,n),Es(i,a)}else if(!e||!ln(e)){if(i=o(e),i===void 0&&(i=e),i===vs&&(i=void 0),this.autoFreeze_&&vr(i,!0),n){let a=[],s=[];Ue(on).generateReplacementPatches_(e,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else ee(1,e)},this.produceWithPatches=(e,o)=>{if(ot(e))return(s,...l)=>this.produceWithPatches(s,u=>e(u,...l));let n,i;return[this.produce(e,o,(s,l)=>{n=s,i=l}),n,i]},Xo(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Xo(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Xo(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){Z(t)||ee(8),ae(t)&&(t=Ts(t));let e=xs(this),o=cn(e,t,void 0);return o[z].isManual_=!0,an(e),o}finishDraft(t,e){let o=t&&t[z];(!o||!o.isManual_)&&ee(9);let{scope_:n}=o;return bs(n,e),Es(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let o;for(o=e.length-1;o>=0;o--){let i=e[o];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}o>-1&&(e=e.slice(o+1));let n=Ue(on).applyPatches_;return ae(t)?n(t,e):this.produce(t,i=>n(i,e))}};function cn(t,e,o,n){let[i,a]=Er(e)?Ue(hr).proxyMap_(e,o):Sr(e)?Ue(hr).proxySet_(e,o):kd(e,o);return(o?.scope_??As()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?Ld(o,a,n):a.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=u;a.modified_&&p&&p.generatePatches_(a,[],u)}),i}function Ts(t){return ae(t)||ee(10,t),Ls(t)}function Ls(t){if(!Z(t)||Or(t))return t;let e=t[z],o,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,o=rn(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else o=rn(t,!0);return br(o,(i,a)=>{fr(o,i,Ls(a))},n),e&&(e.finalized_=!1),o}var Md=globalThis.Iterator,qg=typeof Md?.from=="function";var Ud=new Dd,un=Ud.produce;function Ns(t){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,t):i(a)}var ks=Ns(),Ps=Ns;var Bd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nt:Nt.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var $d=t=>t&&typeof t.match=="function";function xe(t,e){function o(...n){if(e){let i=e(...n);if(!i)throw new Error(se(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return o.toString=()=>`${t}`,o.type=t,o.match=n=>fs(n)&&n.type===t,o}var Bs=class Mt extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,Mt.prototype)}static get[Symbol.species](){return Mt}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new Mt(...e[0].concat(this)):new Mt(...e.concat(this))}};function Fs(t){return Z(t)?un(t,()=>{}):t}function Ar(t,e,o){return t.has(e)?t.get(e):t.set(e,o(e)).get(e)}function zd(t){return typeof t=="boolean"}var Vd=()=>function(e){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=e??{},s=new Bs;return o&&(zd(o)?s.push(ks):s.push(Ps(o.extraArgument))),s},Hd="RTK_autoBatch";var Ds=t=>e=>{setTimeout(e,t)},Gd=(t,e)=>o=>{let n=!1,i,a,s=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(a),o())};i=t(s),a=setTimeout(s,e)},Wd=(t={type:"raf"})=>e=>(...o)=>{let n=e(...o),i=!0,a=!1,s=!1,l=new Set,u=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Gd(window.requestAnimationFrame,100):Ds(10):t.type==="callback"?t.queueNotification:Ds(t.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),y=n.subscribe(f);return l.add(h),()=>{y(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[Hd],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},jd=t=>function(o){let{autoBatch:n=!0}=o??{},i=new Bs(t);return n&&i.push(Wd(typeof n=="object"?n:void 0)),i};function $s(t){let e=Vd(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=t||{},u;if(typeof o=="function")u=o;else if(sr(o))u=Yo(o);else throw new Error(se(1));let p;typeof n=="function"?p=n(e):p=e();let h=Nt;i&&(h=Bd({trace:!1,...typeof i=="object"&&i}));let f=ps(...p),y=jd(f),b=typeof l=="function"?l(y):y(),E=h(...b);return qo(u,s,E)}function zs(t){let e={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(se(28));if(l in e)throw new Error(se(29));return e[l]=s,i},addAsyncThunk(a,s){return s.pending&&(e[a.pending.type]=s.pending),s.rejected&&(e[a.rejected.type]=s.rejected),s.fulfilled&&(e[a.fulfilled.type]=s.fulfilled),s.settled&&o.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return t(i),[e,o,n]}function Kd(t){return typeof t=="function"}function Zd(t,e){let[o,n,i]=zs(e),a;if(Kd(t))a=()=>Fs(t());else{let l=Fs(t);a=()=>l}function s(l=a(),u){let p=[o[u.type],...n.filter(({matcher:h})=>h(u)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(ae(h)){let y=f(h,u);return y===void 0?h:y}else{if(Z(h))return un(h,y=>f(y,u));{let y=f(h,u);if(y===void 0){if(h===null)return h;throw new Error(se(9))}return y}}return h},l)}return s.getInitialState=a,s}var qd=(t,e)=>$d(t)?t.match(e):t(e);function Yd(...t){return e=>t.some(o=>qd(o,e))}var Qd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xd=(t=21)=>{let e="",o=t;for(;o--;)e+=Qd[Math.random()*64|0];return e},Jd=["name","message","stack","code"],pn=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Ms=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},eu=t=>{if(typeof t=="object"&&t!==null){let e={};for(let o of Jd)typeof t[o]=="string"&&(e[o]=t[o]);return e}return{message:String(t)}},Us="External signal was aborted",tu=(()=>{function t(e,o,n){let i=xe(e+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=xe(e+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=xe(e+"/rejected",(u,p,h,f,y)=>({payload:f,error:(n&&n.serializeError||eu)(u||"Rejected"),meta:{...y||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function l(u,{signal:p}={}){return(h,f,y)=>{let b=n?.idGenerator?n.idGenerator(u):Xd(),E=new AbortController,O,S;function C(g){S=g,E.abort()}p&&(p.aborted?C(Us):p.addEventListener("abort",()=>C(Us),{once:!0}));let w=(async function(){let g;try{let m=n?.condition?.(u,{getState:f,extra:y});if(ou(m)&&(m=await m),m===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(E.signal.aborted)throw{name:"AbortError",message:S||"Aborted"};let x=new Promise((v,R)=>{O=()=>{R({name:"AbortError",message:S||"Aborted"})},E.signal.addEventListener("abort",O,{once:!0})});h(a(b,u,n?.getPendingMeta?.({requestId:b,arg:u},{getState:f,extra:y}))),g=await Promise.race([x,Promise.resolve(o(u,{dispatch:h,getState:f,extra:y,requestId:b,signal:E.signal,abort:C,rejectWithValue:((v,R)=>new pn(v,R)),fulfillWithValue:((v,R)=>new Ms(v,R))})).then(v=>{if(v instanceof pn)throw v;return v instanceof Ms?i(v.payload,b,u,v.meta):i(v,b,u)})])}catch(m){g=m instanceof pn?s(null,b,u,m.payload,m.meta):s(m,b,u)}finally{O&&E.signal.removeEventListener("abort",O)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||h(g),g})();return Object.assign(w,{abort:C,requestId:b,arg:u,unwrap(){return w.then(ru)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:Yd(s,i),typePrefix:e})}return t.withTypes=()=>t,t})();function ru(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ou(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vs=Symbol.for("rtk-slice-createasyncthunk"),ob={[Vs]:tu};function nu(t,e){return`${t}/${e}`}function iu({creators:t}={}){let e=t?.asyncThunk?.[Vs];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(se(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(su()):n.reducers)||{},l=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(g,m){let x=typeof g=="string"?g:g.type;if(!x)throw new Error(se(12));if(x in u.sliceCaseReducersByType)throw new Error(se(13));return u.sliceCaseReducersByType[x]=m,p},addMatcher(g,m){return u.sliceMatchers.push({matcher:g,reducer:m}),p},exposeAction(g,m){return u.actionCreators[g]=m,p},exposeCaseReducer(g,m){return u.sliceCaseReducersByName[g]=m,p}};l.forEach(g=>{let m=s[g],x={reducerName:g,type:nu(i,g),createNotation:typeof n.reducers=="function"};lu(m)?uu(x,m,p,e):cu(x,m,p)});function h(){let[g={},m=[],x=void 0]=typeof n.extraReducers=="function"?zs(n.extraReducers):[n.extraReducers],v={...g,...u.sliceCaseReducersByType};return Zd(n.initialState,R=>{for(let N in v)R.addCase(N,v[N]);for(let N of u.sliceMatchers)R.addMatcher(N.matcher,N.reducer);for(let N of m)R.addMatcher(N.matcher,N.reducer);x&&R.addDefaultCase(x)})}let f=g=>g,y=new Map,b=new WeakMap,E;function O(g,m){return E||(E=h()),E(g,m)}function S(){return E||(E=h()),E.getInitialState()}function C(g,m=!1){function x(R){let N=R[g];return typeof N>"u"&&m&&(N=Ar(b,x,S)),N}function v(R=f){return Ar(Ar(y,m,()=>new WeakMap),R,()=>{let N={};for(let[P,A]of Object.entries(n.selectors??{}))N[P]=au(A,R,()=>Ar(b,R,S),m);return N})}return{reducerPath:g,getSelectors:v,get selectors(){return v(x)},selectSlice:x}}let w={name:i,reducer:O,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:S,...C(a),injectInto(g,{reducerPath:m,...x}={}){let v=m??a;return g.inject({reducerPath:v,reducer:O},x),{...w,...C(v,!0)}}};return w}}function au(t,e,o,n){function i(a,...s){let l=e(a);return typeof l>"u"&&n&&(l=o()),t(l,...s)}return i.unwrapped=t,i}var Hs=iu();function su(){function t(e,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...o}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...o){return e(...o)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:o}},asyncThunk:t}}function cu({type:t,reducerName:e,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!du(n))throw new Error(se(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(t,a).exposeCaseReducer(e,a).exposeAction(e,s?xe(t,s):xe(t))}function lu(t){return t._reducerDefinitionType==="asyncThunk"}function du(t){return t._reducerDefinitionType==="reducerWithPrepare"}function uu({type:t,reducerName:e},o,n,i){if(!i)throw new Error(se(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:u,settled:p,options:h}=o,f=i(t,a,h);n.exposeAction(e,f),s&&n.addCase(f.fulfilled,s),l&&n.addCase(f.pending,l),u&&n.addCase(f.rejected,u),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:s||wr,pending:l||wr,rejected:u||wr,settled:p||wr})}function wr(){}var Gs="listener",Ws="completed",js="cancelled",nb=`task-${js}`,ib=`task-${Ws}`,ab=`${Gs}-${js}`,sb=`${Gs}-${Ws}`;var{assign:Ks}=Object;var fn="listenerMiddleware";var pu=Ks(xe(`${fn}/add`),{withTypes:()=>pu}),cb=xe(`${fn}/removeAll`),fu=Ks(xe(`${fn}/remove`),{withTypes:()=>fu});function se(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var hn=class t extends _e{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(rt(a))return a;if(i==null)return;let s=Hs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=$s({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=We(s.getInitialState());for(let f of p.keeping)h[f]=(u??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus,i.deprecatedKeys)}constructor(e,o,n,i){super(),this.reduxSlice=e,this.reduxStore=o,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new Tt,this.injectInto=(s,l)=>this.reduxSlice.injectInto(s,l),this.selectSlice=s=>this.reduxSlice.selectSlice(s);let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,u)=>{let p=l,h=s[p];return h?(...f)=>{let y=h(...f.map(a));return this.reduxStore.dispatch(y),y}:f=>{let y=p,b=this.getState()[y];Re(b,f)||this.setState({[y]:a(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function hu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))rt(e)&&e.clear()}var Rr=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);ye(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function yu(t,e,o){return new Rr(t,e,o).watch()}var yn=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var o;return(o=this.requestConsumers.get(e))!==null&&o!==void 0?o:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var xn={};I(xn,{scrollHelper:()=>mu});var gn,_r=new Map,bn=class{lock(e,o){if(o){let n=_r.get(o);if(n==null||n===e)return _r.set(o,e),o}}release(e,o){o&&_r.get(o)===e&&_r.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of Xr(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=we(0,(s-n.scrollTop)/(s-a),1),u=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:u})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(gn=window.FluidTopicsScrollHelper)!==null&&gn!==void 0?gn:new bn;var mu=window.FluidTopicsScrollHelper;var Sn={};I(Sn,{toFtFormComponent:()=>gu});var En=Symbol("elementInternals"),gu=j(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[En].form}constructor(...n){super(n),this[En]=this.attachInternals()}setFormValue(n){this[En].setFormValue(n)}}return e});var On={};I(On,{DateFormatter:()=>vn});var vn=class{static format(e,o,n,i,a){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(e,o,n,i,!!a)}static getMomentDateFormat(e,o,n){return n?"LT":e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i,a){let s=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return a?u:i?`${l} ${u}`:l}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var An={};I(An,{ALL_KEYS_VALUE:()=>Cn,SameWindowStorageEvent:()=>it});var Cn="__all__",it=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Cn}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new it(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new it(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new it(Cn))}});var Rn={};I(Rn,{FocusMainContentEvent:()=>wn});var wn=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Zs={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function bu(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function xu(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",bu);document.addEventListener("click",xu);var qs=F`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var _n={};I(_n,{withAriaNotification:()=>Eu});var Su={checkVisibility:!0},Eu=j(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Su,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new bt({type:"aria",message:n})))},20)}}return e});var In={};I(In,{withConditionalVisibility:()=>vu});var Ys=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var d=t.length-1;d>=0;d--)(s=t[d])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};function vu(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Ys([L({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Ys([G()],e.prototype,"isVisible",void 0),e}var Ln={};I(Ln,{FormController:()=>Tn});function Ou(t){let e={};for(let o of Object.keys(t))e[o]=t[o].initial;return e}var Tn=class{constructor(e,o){this.host=e,this.config=o,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Ou(o),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,o){if(this.data[e]===o)return;let n={...this.data};n[e]=o,this.data=n,this.checkValidity()}bind(e){return o=>this.setValue(e,o.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,o){var n,i;let a=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,o);a!==void 0&&this.errors.set(e,a)}checkValidity(e){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let o=this.config[e].selector;if(this.errors.has(e)&&o!==void 0)return o}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let o=this.host.renderRoot.querySelector(e);o instanceof HTMLElement&&o.focus()}async submit(e){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}e.onSuccess(await e.request(this.data))}catch(a){let s=so(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var kn={};I(kn,{MetadataValueLocalizer:()=>Nn});var Nn=class{constructor(e){this.contentLocales=e}localize(e){var o,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(o=this.findLocaleValue(e))!==null&&o!==void 0?o:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var o;return(o=this.contentLocales.find(n=>n.lang===e.value))===null||o===void 0?void 0:o.label}};function Pn(t,e){return e.map(o=>o(t)).filter(o=>o!==!0).map(o=>o)}function Qs(t,e,o){return t?e(t):o?.(t)}var B=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var d=t.length-1;d>=0;d--)(s=t[d])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Be;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Be||(Be={}));var Se;(function(t){t.default="default",t.warning="warning",t.error="error"})(Se||(Se={}));var Fn=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var Zb=j(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Be.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Se.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Be.blur||this.validateOn===Be.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Se.default&&this.validateOn===Be.blurWithStatusResolutionOnInput||this.validateOn===Be.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Pn(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Pn(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Fn(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return fe`
71
+ `;var _n={};I(_n,{withAriaNotification:()=>Su});var Eu={checkVisibility:!0},Su=j(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Eu,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new bt({type:"aria",message:n})))},20)}}return e});var In={};I(In,{withConditionalVisibility:()=>vu});var Ys=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};function vu(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Ys([L({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Ys([G()],e.prototype,"isVisible",void 0),e}var Ln={};I(Ln,{FormController:()=>Tn});function Ou(t){let e={};for(let o of Object.keys(t))e[o]=t[o].initial;return e}var Tn=class{constructor(e,o){this.host=e,this.config=o,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Ou(o),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,o){if(this.data[e]===o)return;let n={...this.data};n[e]=o,this.data=n,this.checkValidity()}bind(e){return o=>this.setValue(e,o.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,o){var n,i;let a=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,o);a!==void 0&&this.errors.set(e,a)}checkValidity(e){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let o=this.config[e].selector;if(this.errors.has(e)&&o!==void 0)return o}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let o=this.host.renderRoot.querySelector(e);o instanceof HTMLElement&&o.focus()}async submit(e){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=e.onInvalid)===null||o===void 0||o.call(e);return}e.onSuccess(await e.request(this.data))}catch(a){let s=so(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var kn={};I(kn,{MetadataValueLocalizer:()=>Nn});var Nn=class{constructor(e){this.contentLocales=e}localize(e){var o,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(o=this.findLocaleValue(e))!==null&&o!==void 0?o:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var o;return(o=this.contentLocales.find(n=>n.lang===e.value))===null||o===void 0?void 0:o.label}};function Pn(t,e){return e.map(o=>o(t)).filter(o=>o!==!0).map(o=>o)}function Qs(t,e,o){return t?e(t):o?.(t)}var B=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Be;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Be||(Be={}));var Ee;(function(t){t.default="default",t.warning="warning",t.error="error"})(Ee||(Ee={}));var Fn=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var Kb=j(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Be.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ee.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Be.blur||this.validateOn===Be.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ee.default&&this.validateOn===Be.blurWithStatusResolutionOnInput||this.validateOn===Be.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Pn(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Pn(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Fn(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return fe`
72
72
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
73
73
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
74
74
  ${Yt(this.errorMessages,n=>fe`
@@ -81,7 +81,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Se.error:this.warningMessages.length?Se.warning:Se.default}}return B([L()],e.prototype,"warningRules",void 0),B([L()],e.prototype,"errorRules",void 0),B([L()],e.prototype,"validateOn",void 0),B([L({type:Boolean})],e.prototype,"validateAtRender",void 0),B([L()],e.prototype,"label",void 0),B([L({type:Boolean})],e.prototype,"hideLabel",void 0),B([L()],e.prototype,"name",void 0),B([L({type:Boolean})],e.prototype,"disabled",void 0),B([L()],e.prototype,"helperText",void 0),B([L()],e.prototype,"forceStatus",void 0),B([L({reflect:!0})],e.prototype,"value",void 0),B([G()],e.prototype,"errorMessages",void 0),B([G()],e.prototype,"warningMessages",void 0),B([G()],e.prototype,"status",void 0),B([G()],e.prototype,"focused",void 0),B([G()],e.prototype,"additionalWarningRules",void 0),B([G()],e.prototype,"additionalErrorRules",void 0),B([G()],e.prototype,"forceErrorMessages",void 0),e});var Ut=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Ut(n,e);return!0},Ir=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},Xs=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Ru(e)}};function wu(t){this._$AN!==void 0?(Ir(this),this._$AM=t,Xs(this)):this._$AM=t}function Au(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=o;a<n.length;a++)Ut(n[a],!1),Ir(n[a]);else n!=null&&(Ut(n,!1),Ir(n));else Ut(this,t)}var Ru=t=>{t.type==re.CHILD&&(t._$AP??=Au,t._$AQ??=wu)},at=class extends Y{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),Xs(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Ut(this,e),Ir(this))}setValue(e){if(ai(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var Dn=class extends at{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return M}update(e){return this.part=e,this.ensureFocusTrap(e.element),M}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var o,n;this.isElementTrappable(e)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,o,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(o=this.lastTrap)===null||o===void 0||o.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);for(let n=0;n<o.length;n++){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);for(let n=o.length-1;n>=0;n--){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof q&&await e.updateComplete}isInsideElement(e,o){for(let n=e;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},Sx=W(Dn);var Js;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Js||(Js={}));var _u={sm:640,md:768,lg:1024,xl:1280},Mn=class extends at{constructor(e){super(e),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,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,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),a=n??(()=>k);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:_u[e]}},Cx=W(Mn);var Un,Bn,$n,zn,Iu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||(($n=(Bn=(Un=window.safari)===null||Un===void 0?void 0:Un.pushNotification)===null||Bn===void 0?void 0:Bn.toString())!==null&&$n!==void 0?$n:"")==="[object SafariRemoteNotification]",Tu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(zn=window.ftGlobals)!==null&&zn!==void 0?zn:{lit:Vr,litDecorators:Hr,litRepeat:Gr,litClassMap:Wr,litStyleMap:jr,litUnsafeHTML:Kr,wcUtils:{...Zr,...io,...Yr,...mo,...On,...yo,...Qr,...Eo,...oo,...Po,...Rn,...Zs,...xn,...Fo,...xo,...zo,...En,...Bo,..._n,...In,...ss,...eo,...Ho,...kn,...vo,...Go,...qs,...ls,...jo,...yn,...wn,...Do,...Uo,...co,...po,...Ln,isSafari:Iu,isTouchScreen:Tu,setVariable:Ze}};var Tr={color:r.extend("--ft-loader-color","",So.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ec=F`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ee.error:this.warningMessages.length?Ee.warning:Ee.default}}return B([L()],e.prototype,"warningRules",void 0),B([L()],e.prototype,"errorRules",void 0),B([L()],e.prototype,"validateOn",void 0),B([L({type:Boolean})],e.prototype,"validateAtRender",void 0),B([L()],e.prototype,"label",void 0),B([L({type:Boolean})],e.prototype,"hideLabel",void 0),B([L()],e.prototype,"name",void 0),B([L({type:Boolean})],e.prototype,"disabled",void 0),B([L()],e.prototype,"helperText",void 0),B([L()],e.prototype,"forceStatus",void 0),B([L({reflect:!0})],e.prototype,"value",void 0),B([G()],e.prototype,"errorMessages",void 0),B([G()],e.prototype,"warningMessages",void 0),B([G()],e.prototype,"status",void 0),B([G()],e.prototype,"focused",void 0),B([G()],e.prototype,"additionalWarningRules",void 0),B([G()],e.prototype,"additionalErrorRules",void 0),B([G()],e.prototype,"forceErrorMessages",void 0),e});var Ut=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Ut(n,e);return!0},Ir=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},Xs=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Ru(e)}};function Au(t){this._$AN!==void 0?(Ir(this),this._$AM=t,Xs(this)):this._$AM=t}function wu(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=o;a<n.length;a++)Ut(n[a],!1),Ir(n[a]);else n!=null&&(Ut(n,!1),Ir(n));else Ut(this,t)}var Ru=t=>{t.type==re.CHILD&&(t._$AP??=wu,t._$AQ??=Au)},at=class extends Y{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),Xs(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Ut(this,e),Ir(this))}setValue(e){if(ai(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var Dn=class extends at{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return M}update(e){return this.part=e,this.ensureFocusTrap(e.element),M}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var o,n;this.isElementTrappable(e)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,o,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(o=this.lastTrap)===null||o===void 0||o.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);for(let n=0;n<o.length;n++){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let o=this.getChildren(e);for(let n=o.length-1;n>=0;n--){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof q&&await e.updateComplete}isInsideElement(e,o){for(let n=e;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},xx=W(Dn);var Js;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Js||(Js={}));var _u={sm:640,md:768,lg:1024,xl:1280},Mn=class extends at{constructor(e){super(e),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,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,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),a=n??(()=>k);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:_u[e]}},Ox=W(Mn);var Un,Bn,$n,zn,Iu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||(($n=(Bn=(Un=window.safari)===null||Un===void 0?void 0:Un.pushNotification)===null||Bn===void 0?void 0:Bn.toString())!==null&&$n!==void 0?$n:"")==="[object SafariRemoteNotification]",Tu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(zn=window.ftGlobals)!==null&&zn!==void 0?zn:{lit:Vr,litDecorators:Hr,litRepeat:Gr,litClassMap:Wr,litStyleMap:jr,litUnsafeHTML:Kr,wcUtils:{...Zr,...io,...Yr,...yo,...On,...mo,...Qr,...So,...oo,...Po,...Rn,...Zs,...xn,...Fo,...xo,...zo,...Sn,...Bo,..._n,...In,...ss,...eo,...Ho,...kn,...vo,...Go,...qs,...ls,...jo,...mn,...An,...Do,...Uo,...co,...po,...Ln,isSafari:Iu,isTouchScreen:Tu,setVariable:Ze}};var Tr={color:r.extend("--ft-loader-color","",Eo.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ec=F`
85
85
  :host {
86
86
  line-height: 0;
87
87
  }