@fluid-topics/ftds-radio 2.2.24 → 2.2.26

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 Nc=Object.defineProperty;var L=(t,e)=>{for(var o in e)Nc(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(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,O=new Set(g.observedAttributes||[]);m(g,O,x);let A={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:O};this._definitionsByTag.set(y,A),this._definitionsByClass.set(g,A);let k=o.call(n,y);k||(k=f(y),e.call(n,y,k)),this===window.customElements&&(s.set(g,A),A.standInClass=k);let D=this._awaitingUpgrade.get(y);if(D){this._awaitingUpgrade.delete(y);for(let T of D)a.delete(T),v(T,A,!0)}let R=this._whenDefinedPromises.get(y);return R!==void 0&&(R.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){S.push(this),n.upgrade.apply(n,arguments),S.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(O=>x.resolve=O),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let O=this._awaitingUpgrade.get(g);O||this._awaitingUpgrade.set(g,O=new Set),x?O.add(y):O.delete(y)}};let u;window.HTMLElement=function(){let g=u;if(g)return u=void 0,g;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 g=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=t.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=S[S.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),p(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},f=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let O=h(x)||window.customElements,A=O._getDefinition(y);return A?v(x,A):a.set(x,O),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!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=(y,g,x)=>{if(g.size===0||x===void 0)return;let O=y.prototype.setAttribute;O&&(y.prototype.setAttribute=function(D,R){let T=D.toLowerCase();if(g.has(T)){let $=this.getAttribute(T);O.call(this,T,R),x.call(this,T,$,R)}else O.call(this,T,R)});let A=y.prototype.removeAttribute;A&&(y.prototype.removeAttribute=function(D){let R=D.toLowerCase();if(g.has(R)){let T=this.getAttribute(R);A.call(this,R),x.call(this,R,T,null)}else A.call(this,R)});let k=y.prototype.toggleAttribute;k&&(y.prototype.toggleAttribute=function(D,R){let T=D.toLowerCase();if(g.has(T)){let $=this.getAttribute(T);k.call(this,T,R);let le=this.getAttribute(T);x.call(this,T,$,le)}else k.call(this,T,R)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(y,window.HTMLElement):b(g)},v=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),u=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(O=>{y.hasAttribute(O)&&g.attributeChangedCallback.call(y,O,null,y.getAttribute(O))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=E.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let S=[document],C=(y,g,x=void 0)=>{let O=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){S.push(this);let A=O.apply(x||this,arguments);return A!==void 0&&l.set(A,this),S.pop(),A}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let I=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(O){S.push(this),x.set.call(this,O),S.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let y=new WeakMap,g=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...D){let R=g.call(this,...D);return y.set(R,this),R},x.forEach(D=>{let R=window.ElementInternals.prototype,T=R[D];R[D]=function(...$){let le=y.get(this);if(i.get(le).formAssociated===!0)return T?.call(this,...$);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class O extends Array{constructor(R){super(...R),this._elements=R}get value(){return this._elements.find(R=>R.checked===!0)?.value||""}}class A{constructor(R){let T=new Map;R.forEach(($,le)=>{let jr=$.getAttribute("name"),Ei=T.get(jr)||[];this[+le]=$,Ei.push($),T.set(jr,Ei)}),this.length=R.length,T.forEach(($,le)=>{$&&($.length===1?this[le]=$[0]:this[le]=new O($))})}namedItem(R){return this[R]}}let k=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let D=k.get.call(this,[]),R=[];for(let T of D){let $=i.get(T);(!$||$.formAssociated===!0)&&R.push(T)}return new A(R)}})}}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 io={};L(io,{CSSResult:()=>tt,LitElement:()=>ye,ReactiveElement:()=>re,_$LE:()=>jc,_$LH:()=>ro,adoptStyles:()=>Ot,css:()=>N,defaultConverter:()=>rt,getCompatibleStyle:()=>rr,html:()=>Z,isServer:()=>bp,mathml:()=>to,noChange:()=>z,notEqual:()=>At,nothing:()=>F,render:()=>oo,supportsAdoptingStyleSheets:()=>Ct,svg:()=>eo,unsafeCSS:()=>Oe});var tr=globalThis,Ct=tr.ShadowRoot&&(tr.ShadyCSS===void 0||tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Kr=Symbol(),Ci=new WeakMap,tt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Kr)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(Ct&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Ci.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ci.set(o,e))}return e}toString(){return this.cssText}},Oe=t=>new tt(typeof t=="string"?t:t+"",void 0,Kr),N=(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 tt(o,t,Kr)},Ot=(t,e)=>{if(Ct)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},rr=Ct?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Oe(o)})(t):t;var{is:Fc,defineProperty:Dc,getOwnPropertyDescriptor:Mc,getOwnPropertyNames:Uc,getOwnPropertySymbols:Bc,getPrototypeOf:$c}=Object,or=globalThis,Oi=or.trustedTypes,zc=Oi?Oi.emptyScript:"",Hc=or.reactiveElementPolyfillSupport,wt=(t,e)=>t,rt={toAttribute(t,e){switch(e){case Boolean:t=t?zc: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}},At=(t,e)=>!Fc(t,e),wi={attribute:!0,type:String,converter:rt,reflect:!1,useDefault:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),or.litPropertyMetadata??=new WeakMap;var re=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=wi){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&&Dc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Mc(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)??wi}static _$Ei(){if(this.hasOwnProperty(wt("elementProperties")))return;let e=$c(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(wt("properties"))){let o=this.properties,n=[...Uc(o),...Bc(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(rr(i))}else e!==void 0&&o.push(rr(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 Ot(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:rt).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:rt;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??At)(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){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[wt("elementProperties")]=new Map,re[wt("finalized")]=new Map,Hc?.({ReactiveElement:re}),(or.reactiveElementVersions??=[]).push("2.1.2");var qr=globalThis,Ai=t=>t,nr=qr.trustedTypes,Ri=nr?nr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yr="$lit$",me=`lit$${Math.random().toFixed(9).slice(2)}$`,Xr="?"+me,Vc=`<${Xr}>`,Me=document,_t=()=>Me.createComment(""),It=t=>t===null||typeof t!="object"&&typeof t!="function",Qr=Array.isArray,Pi=t=>Qr(t)||typeof t?.[Symbol.iterator]=="function",Zr=`[
2
- \f\r]`,Rt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_i=/-->/g,Ii=/>/g,Fe=RegExp(`>|${Zr}(?:([^\\s"'>=/]+)(${Zr}*=${Zr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Li=/'/g,ki=/"/g,Ni=/^(?:script|style|textarea|title)$/i,Jr=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Z=Jr(1),eo=Jr(2),to=Jr(3),z=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Ti=new WeakMap,De=Me.createTreeWalker(Me,129);function Fi(t,e){if(!Qr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ri!==void 0?Ri.createHTML(e):e}var Di=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Rt;for(let l=0;l<o;l++){let u=t[l],p,h,f=-1,m=0;for(;m<u.length&&(s.lastIndex=m,h=s.exec(u),h!==null);)m=s.lastIndex,s===Rt?h[1]==="!--"?s=_i:h[1]!==void 0?s=Ii:h[2]!==void 0?(Ni.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Fe):h[3]!==void 0&&(s=Fe):s===Fe?h[0]===">"?(s=i??Rt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Fe:h[3]==='"'?ki:Li):s===ki||s===Li?s=Fe:s===_i||s===Ii?s=Rt:(s=Fe,i=void 0);let b=s===Fe&&t[l+1].startsWith("/>")?" ":"";a+=s===Rt?u+Vc:f>=0?(n.push(p),u.slice(0,f)+Yr+u.slice(f)+me+b):u+me+(f===-2?l:b)}return[Fi(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Lt=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]=Di(e,o);if(this.el=t.createElement(p,n),De.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=De.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Yr)){let m=h[s++],b=i.getAttribute(f).split(me),v=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:v[2],strings:b,ctor:v[1]==="."?ar:v[1]==="?"?sr:v[1]==="@"?cr:Be}),i.removeAttribute(f)}else f.startsWith(me)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(Ni.test(i.tagName)){let f=i.textContent.split(me),m=f.length-1;if(m>0){i.textContent=nr?nr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],_t()),De.nextNode(),u.push({type:2,index:++a});i.append(f[m],_t())}}}else if(i.nodeType===8)if(i.data===Xr)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(me,f+1))!==-1;)u.push({type:7,index:a}),f+=me.length-1}a++}}static createElement(e,o){let n=Me.createElement("template");return n.innerHTML=e,n}};function Ue(t,e,o=t,n){if(e===z)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=It(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=Ue(t,i._$AS(t,e.values),i,n)),e}var ir=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??Me).importNode(o,!0);De.currentNode=i;let a=De.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new ot(a,a.nextSibling,this,e):u.type===1?p=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(p=new lr(a,this,e)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=De.nextNode(),s++)}return De.currentNode=Me,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++}},ot=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=F,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=Ue(this,e,o),It(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==z&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Pi(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==F&&It(this._$AH)?this._$AA.nextSibling.data=e:this.T(Me.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=Lt.createElement(Fi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new ir(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Ti.get(e.strings);return o===void 0&&Ti.set(e.strings,o=new Lt(e)),o}k(e){Qr(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(_t()),this.O(_t()),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=Ai(e).nextSibling;Ai(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=F,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=F}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ue(this,e,o,0),s=!It(e)||e!==this._$AH&&e!==z,s&&(this._$AH=e);else{let l=e,u,p;for(e=a[0],u=0;u<a.length-1;u++)p=Ue(this,l[n+u],o,u),p===z&&(p=this._$AH[u]),s||=!It(p)||p!==this._$AH[u],p===F?e=F:e!==F&&(e+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(e)}j(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ar=class extends Be{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F?void 0:e}},sr=class extends Be{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},cr=class extends Be{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ue(this,e,o,0)??F)===z)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==F&&(n===F||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)}},lr=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){Ue(this,e)}},ro={M:Yr,P:me,A:Xr,C:1,L:Di,R:ir,D:Pi,V:Ue,I:ot,H:Be,N:sr,U:cr,B:ar,F:lr},Gc=qr.litHtmlPolyfillSupport;Gc?.(Lt,ot),(qr.litHtmlVersions??=[]).push("3.3.3");var oo=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ot(e.insertBefore(_t(),a),a,void 0,o??{})}return i._$AI(t),i};var no=globalThis,ye=class extends re{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=oo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return z}};ye._$litElement$=!0,ye.finalized=!0,no.litElementHydrateSupport?.({LitElement:ye});var Wc=no.litElementPolyfillSupport;Wc?.({LitElement:ye});var jc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(no.litElementVersions??=[]).push("4.2.2");var bp=!1;var so={};L(so,{customElement:()=>Kc,eventOptions:()=>qc,property:()=>w,query:()=>we,queryAll:()=>Xc,queryAssignedElements:()=>ao,queryAssignedNodes:()=>Jc,queryAsync:()=>Qc,standardProperty:()=>Mi,state:()=>M});var Kc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Zc={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:At},Mi=(t=Zc,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 w(t){return(e,o)=>typeof o=="object"?Mi(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 M(t){return w({...t,state:!0,attribute:!1})}function qc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var ne=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function we(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 ne(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 ne(o,n,{get(){return a(this)}})}}var Yc;function Xc(t){return(e,o)=>ne(e,o,{get(){return(this.renderRoot??(Yc??=document.createDocumentFragment())).querySelectorAll(t)}})}function Qc(t){return(e,o)=>ne(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ao(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ne(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 Jc(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ne(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var co={};L(co,{repeat:()=>ur});var de={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Q=t=>(...e)=>({_$litDirective$:t,values:e}),oe=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:el}=ro,Ui=t=>t;var $i=t=>t.strings===void 0,Bi=()=>document.createComment(""),nt=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(Bi(),i),s=n.insertBefore(Bi(),i);o=new el(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=Ui(u).nextSibling;Ui(n).insertBefore(u,i),u=p}}}return o},Ae=(t,e,o=t)=>(t._$AI(e,o),t),tl={},zi=(t,e=tl)=>t._$AH=e,Hi=t=>t._$AH,dr=t=>{t._$AR(),t._$AA.remove()};var Vi=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},ur=Q(class extends oe{constructor(t){if(super(t),t.type!==de.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=Hi(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,m=i.length-1,b=0,v=a.length-1;for(;f<=m&&b<=v;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])u[b]=Ae(i[f],a[b]),f++,b++;else if(l[m]===s[v])u[v]=Ae(i[m],a[v]),m--,v--;else if(l[f]===s[v])u[v]=Ae(i[f],a[v]),nt(t,u[v+1],i[f]),f++,v--;else if(l[m]===s[b])u[b]=Ae(i[m],a[b]),nt(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=Vi(s,b,v),h=Vi(l,f,m)),p.has(l[f]))if(p.has(l[m])){let E=h.get(s[b]),S=E!==void 0?i[E]:null;if(S===null){let C=nt(t,i[f]);Ae(C,a[b]),u[b]=C}else u[b]=Ae(S,a[b]),nt(t,i[f],S),i[E]=null;b++}else dr(i[m]),m--;else dr(i[f]),f++;for(;b<=v;){let E=nt(t,u[v+1]);Ae(E,a[b]),u[b++]=E}for(;f<=m;){let E=i[f++];E!==null&&dr(E)}return this.ut=s,zi(t,u),z}});var lo={};L(lo,{classMap:()=>kt});var kt=Q(class extends oe{constructor(t){if(super(t),t.type!==de.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 z}});var uo={};L(uo,{styleMap:()=>ol});var Gi="important",rl=" !"+Gi,ol=Q(class extends oe{constructor(t){if(super(t),t.type!==de.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(rl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Gi:""):o[n]=i}}return z}});var po={};L(po,{UnsafeHTMLDirective:()=>it,unsafeHTML:()=>nl});var it=class extends oe{constructor(e){if(super(e),this.it=F,e.type!==de.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===F||e==null)return this._t=void 0,this.it=e;if(e===z)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:[]}}};it.directiveName="unsafeHTML",it.resultType=1;var nl=Q(it);var fo={};L(fo,{splitBreadcrumbForMenu:()=>il});function il(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 Co={};L(Co,{CacheRegistry:()=>Eo,ClearCacheEvent:()=>Ft});var mo={};L(mo,{CancelablePromise:()=>pr,CanceledPromiseError:()=>Tt,cancelable:()=>ho});var Tt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},pr=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Tt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Tt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ho=t=>new pr((e,o)=>t.then(e).catch(o));var So={};L(So,{FtNotificationEvent:()=>Nt,PostResizeEvent:()=>vo,PreResizeEvent:()=>xo,WithEventBus:()=>Ve,withEventBus:()=>ta});var bo={};L(bo,{applyMixinOnce:()=>J,customElements:()=>He,dateReviver:()=>dl,deepCopy:()=>at,deepEqual:()=>ze,delay:()=>Zi,eventPathContainsMatchingElement:()=>pl,everyDeep:()=>ll,flatDeep:()=>Yi,forEachDeep:()=>Xi,getComposedPathTo:()=>go,groupBy:()=>yl,hasChanged:()=>Re,ignoreComposingEvents:()=>ml,last:()=>fl,minmax:()=>$e,parseDate:()=>Ji,randomId:()=>hl,someDeep:()=>Qi,unslotText:()=>ea,waitFor:()=>qi,waitUntil:()=>cl});var yo={};L(yo,{customElement:()=>Pt,dateProperty:()=>sl,isNumber:()=>Ki,jsonProperty:()=>fr,jsonPropertyConverter:()=>Wi,numberProperty:()=>ji,optionalNumberProperty:()=>al});var Pt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Wi=t=>({fromAttribute:e=>{if(e==null)return at(t);try{return JSON.parse(e)}catch{return at(t)}},toAttribute:e=>JSON.stringify(e)});function fr(t,e){return w({type:Object,converter:Wi(t),hasChanged:Re,...e??{}})}function al(t){return ji(t)}function ji(t){return w({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 Ki(e)?$e(i,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ki(t){return!isNaN(parseFloat(t))}function sl(t){return w({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 Zi=t=>new Promise(e=>setTimeout(e,t));async function cl(t,e=10,o=2e4){await qi(async()=>await t()||void 0,e,o)}async function qi(t,e=10,o=2e4){let n=await t(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await Zi(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 Xi(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 Qi(t,e,o){let n=!1;return Xi(t,e,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function ll(t,e,o){return!Qi(t,e,(n,i,a,s)=>!o(n,i,a,s))}function dl(...t){return(e,o)=>t.includes(e)?Ji(o):o}function Ji(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 ul(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(!ze(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(!ze(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(!ze(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ze(t,e){try{return ul(t,e)}catch{return!1}}function Re(t,e){return!ze(t,e)}function pl(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 $e(t,e,o){return Math.min(Math.max(t,e),o)}function fl(t){return t[t.length-1]}function ea(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>ea(e)).join(""):t?.textContent||""}function go(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 at(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function hl(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 ml(){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 He(t){for(let[e,o]of Object.entries(t))Pt(e)(o)}function yl(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 Nt=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},xo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},vo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},ta=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)}}}),Ve=class extends ta(Object){};var Ft=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Eo=class extends Ve{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 Ft(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Ft([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=ho(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 To={};L(To,{ClusteringHelper:()=>ko,formatHierarchicalValues:()=>Lo});var Io={};L(Io,{accessBreadcrumb:()=>Ol,accessResult:()=>_o,accessResultId:()=>El,accessResultUrl:()=>Cl,enrichReaderUrl:()=>Ro});var Ao={};L(Ao,{SearchPlaceConverter:()=>Ge,SearchPlaceQueryParams:()=>_,isSearchPlaceQueryParams:()=>Va,serializeRequest:()=>vl});var gl=t=>typeof t=="object"&&t!=null;var bl=t=>typeof t=="number",hr=t=>typeof t=="string",wo=t=>gl(t)&&hr(t.endpoint)&&hr(t.method)&&hr(t.statusText)&&hr(t.body)&&bl(t.status),ra;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ra||(ra={}));var oa;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(oa||(oa={}));var na;(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"})(na||(na={}));var ia;(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"})(ia||(ia={}));var aa;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(aa||(aa={}));var sa;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(sa||(sa={}));var ca;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(ca||(ca={}));var la;(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"})(la||(la={}));var da;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(da||(da={}));var ua;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(ua||(ua={}));var pa;(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"})(pa||(pa={}));var fa;(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"})(fa||(fa={}));var ha;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ha||(ha={}));var ma;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ma||(ma={}));var ya;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ya||(ya={}));var ga;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ga||(ga={}));var ba;(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"})(ba||(ba={}));var st;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(st||(st={}));var xa;(function(t){t.ASC="ASC",t.DESC="DESC"})(xa||(xa={}));var va;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(va||(va={}));var Oo;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Oo||(Oo={}));var Ia=t=>Object.keys(Oo).includes(t);var Sa;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Sa||(Sa={}));var Ea;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ea||(Ea={}));var Ca;(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"})(Ca||(Ca={}));var ct;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ct||(ct={}));var La=t=>Object.keys(ct).includes(t);var Oa;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Oa||(Oa={}));var wa;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(wa||(wa={}));var Aa;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Aa||(Aa={}));var H;(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"})(H||(H={}));var Ra;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ra||(Ra={}));var _a;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(_a||(_a={}));var ka;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(ka||(ka={}));var Ta;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ta||(Ta={}));var Pa;(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"})(Pa||(Pa={}));var Na;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Na||(Na={}));var Fa;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Fa||(Fa={}));var Da;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Da||(Da={}));var Ma;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ma||(Ma={}));var Ua;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ua||(Ua={}));var Ba;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Ba||(Ba={}));var $a;(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"})($a||($a={}));var za;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(za||(za={}));var Nf={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN,H.BEHAVIOR_DATA_USER],[H.GENERATIVE_AI_EXPORT_USER]:[H.GENERATIVE_AI_USER]};function xl(t){return`"${t}"`}function Ha(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function vl(t,e){return new Ge(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 Sl=new Set(Object.values(_));function Va(t){return Sl.has(t)}var Ge=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,l,u,p,h,f;let m=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&m.append(_.LOCALE,e.contentLocale):m.append(_.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(_.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(_.VALUE_FILTERS,b);let v=t.serializeNegativeValueFilters(e.metadataFilters);v&&m.append(_.NEGATIVE_VALUE_FILTERS,v);let E=(u=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&u!==void 0?u:[];if(E.length>0){let y=E.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(_.DATE_FILTERS,y)}let S=(p=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let y=S.map(g=>{var x,O;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(O=g.rangeFilter)===null||O===void 0?void 0:O.to}`}).join("*");m.append(_.RANGE_FILTERS,y)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(_.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(_.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.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&&m.append(_.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(_.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let C=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in C)m.append(y,C[y]);let I=new Array;return m.forEach((y,g)=>{I.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(I.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;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(_.LOCALE)==="all"?void 0:u.get(_.LOCALE),h=((n=u.get(_.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=u.get(_.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=u.get(_.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=u.get(_.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),v=u.get(_.KEYWORD_MATCH),E=v?v.toUpperCase()===st.MANDATORY?st.MANDATORY:st.OPTIONAL:void 0,S={};for(let C of u.keys())Va(C)||(S[C]=u.get(C));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=u.get(_.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Ia(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(u),facets:[],paging:{page:1,perPage:$e(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:E,otherQueryParams:S}}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(Ha).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:ct[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(La(e))return[{key:"ft:lastEdition",dateFilter:{type:ct[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=>xl(Ha(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()}};Ge.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function _o(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 El(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 Cl(t,e){var o,n,i,a,s,l,u,p,h;return(h=(p=(u=(l=Ro((o=t?.map)===null||o===void 0?void 0:o.readerUrl,e))!==null&&l!==void 0?l:Ro((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 Ol(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 Ro(t,e){if(e&&t){let o=URL.parse(t),n=Ge.serializeValueFilters(e);if(n&&o?.searchParams.append(_.VALUE_FILTERS,n),o)return o.toString()}return t}function Lo(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var ko=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=_o(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(Lo(l)),s.push(Lo(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,m,b)=>b.findIndex(v=>v.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",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 Po={};L(Po,{Debouncer:()=>_e});var _e=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 Qo={};L(Qo,{designSystemVariables:()=>be});var Xo={};L(Xo,{DesignSystemFamily:()=>ge,DesignSystemSize:()=>Dt,FtCssVariableFactory:()=>r,badge:()=>Bl,banner:()=>Ul,button:()=>Al,card:()=>_l,chart:()=>td,checkbox:()=>Tl,chip:()=>Fl,chipChoice:()=>Nl,chipGroup:()=>Dl,collapsible:()=>Jl,combobox:()=>Xl,dateRangePicker:()=>ad,drawer:()=>jl,eventCard:()=>Il,floatingMenu:()=>Yl,foundation:()=>c,link:()=>Ml,modal:()=>Gl,notice:()=>od,notification:()=>nd,pageDesigner:()=>rd,pageFooter:()=>Hl,pageHeader:()=>zl,pageLayout:()=>Vl,popover:()=>Ql,radio:()=>P,reorderableList:()=>Wl,resolveFamilyClass:()=>qo,resolveSizeClass:()=>Yo,semantic:()=>d,setVariable:()=>W,switch_:()=>ed,table:()=>Pl,tabs:()=>Kl,textArea:()=>ql,textInput:()=>Zl,titleBreadcrumb:()=>$l,toc:()=>kl,toggle:()=>Rl,tooltip:()=>id,treeList:()=>Ll,typographies:()=>mr,typographyBody1Medium:()=>Bo,typographyBody1Regular:()=>Uo,typographyBody1Semibold:()=>$o,typographyBody2Medium:()=>Ho,typographyBody2MediumUnderline:()=>Ga,typographyBody2Regular:()=>zo,typographyBody2Semibold:()=>Vo,typographyCaption1Medium:()=>Go,typographyCaption1Semibold:()=>Wo,typographyCaption2Bold:()=>Zo,typographyCaption2Medium:()=>jo,typographyCaption2Semibold:()=>Ko,typographyDisplay:()=>No,typographyTitle1:()=>Fo,typographyTitle2:()=>Do,typographyTitle3:()=>Mo,typographyVariants:()=>wl});var Ie=t=>typeof t=="string"?Oe(t):t,r=class{static create(e,o,n,i){let a=l=>Ie(l??i),s=N`var(${Ie(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>W(s,l??a(i)),s.get=l=>N`var(${Ie(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=l=>n.get(l??i),s=N`var(${Ie(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=>W(s,l??a(i)),s.get=l=>N`var(${Ie(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=N`var(${Ie(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=>N`var(${Ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function W(t,e){return Ie(`${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)")},No={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")},Fo={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")},Do={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")},Mo={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")},Uo={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")},Bo={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")},$o={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")},zo={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")},Ho={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")},Ga={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")},Vo={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")},Go={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")},Wo={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")},jo={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")},Ko={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")},Zo={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")},mr={display:No,"title-1":Fo,"title-2":Do,"title-3":Mo,"body-1-regular":Uo,"body-1-medium":Bo,"body-1-semibold":$o,"body-2-regular":zo,"body-2-medium":Ho,"body-2-medium-underline":Ga,"body-2-semibold":Vo,"caption-1-medium":Go,"caption-1-semibold":Wo,"caption-2-medium":jo,"caption-2-semibold":Ko,"caption-2-bold":Zo},wl=["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 Al={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 Rl={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 _l={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 Il={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 Ll={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 kl={titleColor:r.extend("--ftds-toc-title-color","",d.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","",d.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:r.extend("--ftds-toc-item-root-default-label-color","",d.contentGlobalSecondary),itemRootDefaultBorderColor:r.extend("--ftds-toc-item-root-default-border-color","",d.borderGlobalSubtle),itemRootHoverLabelColor:r.extend("--ftds-toc-item-root-hover-label-color","",d.contentGlobalSecondary),itemRootHoverBorderColor:r.extend("--ftds-toc-item-root-hover-border-color","",d.borderGlobalSubtle),itemRootHoverStateLayerColor:r.extend("--ftds-toc-item-root-hover-state-layer-color","",d.contentGlobalSecondary),itemRootHoverStateLayerOpacity:r.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:r.extend("--ftds-toc-item-root-focus-label-color","",d.contentGlobalSecondary),itemRootFocusStateLayerColor:r.extend("--ftds-toc-item-root-focus-state-layer-color","",d.contentGlobalSecondary),itemRootFocusStateLayerOpacity:r.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:r.extend("--ftds-toc-item-root-selected-label-color","",d.contentActionPrimary),itemRootSelectedBorderColor:r.extend("--ftds-toc-item-root-selected-border-color","",d.borderActionPrimary),itemRootSelectedBorderWidth:r.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:r.extend("--ftds-toc-item-root-selected-state-layer-color","",d.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","",d.contentActionPrimary),itemRootChildrenActiveBorderColor:r.extend("--ftds-toc-item-root-children-active-border-color","",d.borderGlobalSubtle),itemChildDefaultLabelColor:r.extend("--ftds-toc-item-child-default-label-color","",d.contentGlobalSubtle),itemChildDefaultBorderColor:r.extend("--ftds-toc-item-child-default-border-color","",d.borderGlobalSubtle),itemChildHoverLabelColor:r.extend("--ftds-toc-item-child-hover-label-color","",d.contentGlobalSubtle),itemChildHoverBorderColor:r.extend("--ftds-toc-item-child-hover-border-color","",d.borderGlobalSubtle),itemChildHoverStateLayerColor:r.extend("--ftds-toc-item-child-hover-state-layer-color","",d.contentGlobalSecondary),itemChildHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:r.extend("--ftds-toc-item-child-focus-label-color","",d.contentGlobalSubtle),itemChildFocusStateLayerColor:r.extend("--ftds-toc-item-child-focus-state-layer-color","",d.contentGlobalSecondary),itemChildFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:r.extend("--ftds-toc-item-child-selected-label-color","",d.contentActionPrimary),itemChildSelectedBorderColor:r.extend("--ftds-toc-item-child-selected-border-color","",d.borderActionPrimary),itemChildSelectedBorderWidth:r.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:r.extend("--ftds-toc-item-child-selected-state-layer-color","",d.contentActionPrimary),itemChildSelectedStateLayerOpacity:r.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var Tl={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 P={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 Pl={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 Nl={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 Fl={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 Dl={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 Ml={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 Ul={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 Bl={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 $l={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 zl={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 Hl={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 Vl={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Gl={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 Wl={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 jl={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 Kl={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 Zl={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","",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 ql={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",d.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.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 Yl={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 Xl={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 Ql={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 Jl={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 ed={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 td={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 rd={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 od={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 nd={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 id={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 ad={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 ge;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ge||(ge={}));var Dt;(function(t){t.large="large",t.medium="medium",t.small="small"})(Dt||(Dt={}));function qo(t){return`ftds--family-${t}`}function Yo(t){return`ftds--size-${t}`}var be={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 Jo={};L(Jo,{DynamicImporter:()=>yr,dynamicImporter:()=>sd});var yr=class{async import(e){if(e)return import(e)}},sd=new yr;var pn={};L(pn,{computeOffsetAutoPosition:()=>Td,computeOffsetPosition:()=>kd});var ja=["top","right","bottom","left"],Wa=["start","end"],tn=ja.reduce((t,e)=>t.concat(e,e+"-"+Wa[0],e+"-"+Wa[1]),[]),We=Math.min,ue=Math.max,Mt=Math.round;var pe=t=>({x:t,y:t}),cd={left:"right",right:"left",bottom:"top",top:"bottom"};function Ka(t,e,o){return ue(t,We(e,o))}function lt(t,e){return typeof t=="function"?t(e):t}function je(t){return t.split("-")[0]}function fe(t){return t.split("-")[1]}function rn(t){return t==="x"?"y":"x"}function on(t){return t==="y"?"height":"width"}function dt(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function nn(t){return rn(dt(t))}function Za(t,e,o){o===void 0&&(o=!1);let n=fe(t),i=nn(t),a=on(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=en(s)),[s,en(s)]}function qa(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function en(t){let e=je(t);return cd[e]+t.slice(e.length)}function ld(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 Ya(t){return typeof t!="number"?ld(t):{top:t,right:t,bottom:t,left:t}}function Ke(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 Xa(t,e,o){let{reference:n,floating:i}=t,a=dt(e),s=nn(e),l=on(s),u=je(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,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 v=fe(e);return v&&(b[s]+=m*(v==="end"?1:-1)*(o&&p?-1:1)),b}async function Qa(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:m=!1,padding:b=0}=lt(e,t),v=Ya(b),S=l[m?f==="floating"?"reference":"floating":f],C=Ke(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})),I=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),g=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},x=Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:y,strategy:u}):I);return{top:(C.top-x.top+v.top)/g.y,bottom:(x.bottom-C.bottom+v.bottom)/g.y,left:(C.left-x.left+v.left)/g.x,right:(x.right-C.right+v.right)/g.x}}var dd=50,Ja=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:Qa},u=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Xa(p,n,u),m=n,b=0,v={};for(let E=0;E<a.length;E++){let S=a[E];if(!S)continue;let{name:C,fn:I}=S,{x:y,y:g,data:x,reset:O}=await I({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:p,platform:l,elements:{reference:t,floating:e}});h=y??h,f=g??f,v[C]={...v[C],...x},O&&b<dd&&(b++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(p=O.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:h,y:f}=Xa(p,m,u)),E=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:v}};function ud(t,e,o){return(t?[...o.filter(i=>fe(i)===t),...o.filter(i=>fe(i)!==t)]:o.filter(i=>je(i)===i)).filter(i=>t?fe(i)===t||(e?qa(i)!==i:!1):!0)}var es=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:m=tn,autoAlignment:b=!0,...v}=lt(t,e),E=f!==void 0||m===tn?ud(f||null,b,m):m,S=((o=s.autoPlacement)==null?void 0:o.index)||0,C=E[S];if(C==null)return{};if(l!==C)return{reset:{placement:E[0]}};let I=await u.detectOverflow(e,v),y=Za(C,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),g=[I[je(C)],I[y[0]],I[y[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:g}],O=E[S+1];if(O)return{data:{index:S+1,overflows:x},reset:{placement:O}};let A=x.map(R=>{let T=fe(R.placement);return[R.placement,T&&h?R.overflows.slice(0,2).reduce(($,le)=>$+le,0):R.overflows[0],R.overflows]}).sort((R,T)=>R[1]-T[1]),D=((i=A.filter(R=>R[2].slice(0,fe(R[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||A[0][0];return D!==l?{data:{index:S+1,overflows:x},reset:{placement:D}}:{}}}};var pd=new Set(["left","top"]);async function fd(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=je(o),l=fe(o),u=dt(o)==="y",p=pd.has(s)?-1:1,h=a&&u?-1:1,f=lt(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(b=l==="end"?v*-1:v),u?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var ts=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 fd(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}}}}},rs=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:I=>{let{x:y,y:g}=I;return{x:y,y:g}}},...p}=lt(t,e),h={x:o,y:n},f=await a.detectOverflow(e,p),m=dt(i),b=rn(m),v=h[b],E=h[m],S=(I,y)=>Ka(y+f[I==="y"?"top":"left"],y,y-f[I==="y"?"bottom":"right"]);s&&(v=S(b,v)),l&&(E=S(m,E));let C=u.fn({...e,[b]:v,[m]:E});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[b]:s,[m]:l}}}}}};var os=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}=lt(t,e),u=await i.detectOverflow(e,l),p=je(o),h=fe(o),f=dt(o)==="y",{width:m,height:b}=n.floating,v,E;p==="top"||p==="bottom"?(v=p,E=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(E=p,v=h==="end"?"top":"bottom");let S=b-u.top-u.bottom,C=m-u.left-u.right,I=We(b-u[v],S),y=We(m-u[E],C),g=e.middlewareData.shift,x=!g,O=I,A=y;g!=null&&g.enabled.x&&(A=C),g!=null&&g.enabled.y&&(O=S),x&&!h&&(f?A=m-2*ue(u.left,u.right):O=b-2*ue(u.top,u.bottom)),await s({...e,availableWidth:A,availableHeight:O});let k=await i.getDimensions(a.floating);return m!==k.width||b!==k.height?{reset:{rects:!0}}:{}}}};function br(){return typeof window<"u"}function qe(t){return is(t)?(t.nodeName||"").toLowerCase():"#document"}function q(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xe(t){var e;return(e=(is(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function is(t){return br()?t instanceof Node||t instanceof q(t).Node:!1}function ie(t){return br()?t instanceof Element||t instanceof q(t).Element:!1}function ve(t){return br()?t instanceof HTMLElement||t instanceof q(t).HTMLElement:!1}function ns(t){return!br()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof q(t).ShadowRoot}function Ut(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=ae(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function as(t){return/^(table|td|th)$/.test(qe(t))}function Bt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var hd=/transform|translate|scale|rotate|perspective|filter/,md=/paint|layout|strict|content/,Ze=t=>!!t&&t!=="none",an;function ut(t){let e=ie(t)?ae(t):t;return Ze(e.transform)||Ze(e.translate)||Ze(e.scale)||Ze(e.rotate)||Ze(e.perspective)||!xr()&&(Ze(e.backdropFilter)||Ze(e.filter))||hd.test(e.willChange||"")||md.test(e.contain||"")}function ss(t){let e=Le(t);for(;ve(e)&&!pt(e);){if(ut(e))return e;if(Bt(e))return null;e=Le(e)}return null}function xr(){return an==null&&(an=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),an}function pt(t){return/^(html|body|#document)$/.test(qe(t))}function ae(t){return q(t).getComputedStyle(t)}function $t(t){return ie(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Le(t){if(qe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||ns(t)&&t.host||xe(t);return ns(e)?e.host:e}function cs(t){let e=Le(t);return pt(e)?(t.ownerDocument||t).body:ve(e)&&Ut(e)?e:cs(e)}function gr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=cs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=q(i);if(a){let l=vr(s);return e.concat(s,s.visualViewport||[],Ut(i)?i:[],l&&o?gr(l):[])}else return e.concat(i,gr(i,[],o))}function vr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function us(t){let e=ae(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ve(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=Mt(o)!==a||Mt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function ps(t){return ie(t)?t:t.contextElement}function ft(t){let e=ps(t);if(!ve(e))return pe(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=us(e),s=(a?Mt(o.width):o.width)/n,l=(a?Mt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var yd=pe(0);function fs(t){let e=q(t);return!xr()||!e.visualViewport?yd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function gd(t,e,o){return e===void 0&&(e=!1),!!o&&e&&o===q(t)}function zt(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=ps(t),s=pe(1);e&&(n?ie(n)&&(s=ft(n)):s=ft(t));let l=gd(a,o,n)?fs(a):pe(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 m=q(a),b=ie(n)?q(n):n,v=m,E=vr(v);for(;E&&b!==v;){let S=ft(E),C=E.getBoundingClientRect(),I=ae(E),y=C.left+(E.clientLeft+parseFloat(I.paddingLeft))*S.x,g=C.top+(E.clientTop+parseFloat(I.paddingTop))*S.y;u*=S.x,p*=S.y,h*=S.x,f*=S.y,u+=y,p+=g,v=q(E),E=vr(v)}}return Ke({width:h,height:f,x:u,y:p})}function Sr(t,e){let o=$t(t).scrollLeft;return e?e.left+o:zt(xe(t)).left+o}function hs(t,e){let o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-Sr(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function bd(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t,a=i==="fixed",s=xe(n),l=e?Bt(e.floating):!1;if(n===s||l&&a)return o;let u={scrollLeft:0,scrollTop:0},p=pe(1),h=pe(0),f=ve(n);if((f||!a)&&((qe(n)!=="body"||Ut(s))&&(u=$t(n)),f)){let b=zt(n);p=ft(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?hs(s,u):pe(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 xd(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function vd(t){let e=$t(t),o=t.ownerDocument.body,n=ue(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=ue(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-e.scrollLeft+Sr(t),s=-e.scrollTop;return ae(o).direction==="rtl"&&(a+=ue(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var Sd=25;function Ed(t,e,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=q(t),a=xe(t),s=i.visualViewport,l=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let m=!xr()||e==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(Sr(a)<=0){let m=a.ownerDocument,b=m.body,v=getComputedStyle(b),E=m.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,S=Math.abs(a.clientWidth-b.clientWidth-E),C=getComputedStyle(a).scrollbarGutter==="stable both-edges"?S/2:S;C<=Sd&&(l-=C)}return{width:l,height:u,x:p,y:h}}function Cd(t,e){let o=zt(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=ft(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 ls(t,e,o){let n;if(e==="viewport"||e==="layoutViewport")n=Ed(t,o,e);else if(e==="document")n=vd(xe(t));else if(ie(e))n=Cd(e,o);else{let i=fs(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ke(n)}function Od(t,e){let o=e.get(t);if(o)return o;let n=gr(t,[],!1).filter(l=>ie(l)&&qe(l)!=="body"),i=null,a=ae(t).position==="fixed",s=a?Le(t):t;for(;ie(s)&&!pt(s);){let l=ae(s),u=ut(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=Le(s)}return e.set(t,n),n}function wd(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Bt(e)?[]:Od(e,this._c):[].concat(o),n],l=ls(e,s[0],i),u=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let b=ls(e,s[m],i);u=ue(b.top,u),p=We(b.right,p),h=We(b.bottom,h),f=ue(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function Ad(t){let{width:e,height:o}=us(t);return{width:e,height:o}}function Rd(t,e,o){let n=ve(e),i=xe(e),a=o==="fixed",s=zt(t,!0,a,e),l={scrollLeft:0,scrollTop:0},u=pe(0);if((n||!a)&&((qe(e)!=="body"||Ut(i))&&(l=$t(e)),n)){let m=zt(e,!0,a,e);u.x=m.x+e.clientLeft,u.y=m.y+e.clientTop}!n&&i&&(u.x=Sr(i));let p=i&&!n&&!a?hs(i,l):pe(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 sn(t){return ae(t).position==="static"}function ds(t,e){if(!ve(t)||ae(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return xe(t)===o&&(o=o.ownerDocument.body),o}function ms(t,e){let o=q(t);if(Bt(t))return o;if(!ve(t)){let i=Le(t);for(;i&&!pt(i);){if(ie(i)&&!sn(i))return i;i=Le(i)}return o}let n=ds(t,e);for(;n&&as(n)&&sn(n);)n=ds(n,e);return n&&pt(n)&&sn(n)&&!ut(n)?o:n||ss(t)||o}var _d=async function(t){let e=this.getOffsetParent||ms,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 Id(t){return ae(t).direction==="rtl"}var ht={convertOffsetParentRelativeRectToViewportRelativeRect:bd,getDocumentElement:xe,getClippingRect:wd,getOffsetParent:ms,getElementRects:_d,getClientRects:xd,getDimensions:Ad,getScale:ft,isElement:ie,isRTL:Id};var ys=ts,cn=es,gs=rs;var bs=os;var ln=(t,e,o)=>{let n=new Map,i=o??{},a={...ht,...i.platform,_c:n};return Ja(t,e,{...i,platform:a})};function un(t){return Ld(t)}function dn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ld(t){for(let e=t;e;e=dn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=dn(t);e;e=dn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||ut(o)||e.tagName==="BODY"))return e}return null}async function kd(t,e,o){let n;return typeof o=="object"?n=o:n={placement:o},ln(t,e,{strategy:n.strategy,platform:{...ht,getOffsetParent:i=>ht.getOffsetParent(i,un)},middleware:[gs({crossAxis:!0}),cn({allowedPlacements:[n.placement]})]})}async function Td(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,ln(t,e,{placement:l,strategy:i,platform:{...ht,getOffsetParent:p=>ht.getOffsetParent(p,un)},middleware:[ys(s??4),cn({allowedPlacements:n}),bs({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 fn={};L(fn,{isSlotEmptyOrWithoutContent:()=>Pd});var Pd=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 xn={};L(xn,{FtdsBase:()=>bn,toFtdsBase:()=>yt});var gn={};L(gn,{ExportpartsUpdatedEvent:()=>Ye,FtLitElement:()=>B});var hn={};L(hn,{ScopedRegistryLitElement:()=>Ht});var Ht=class extends ye{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 Ot(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){Pt(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 yn={};L(yn,{shadowQuerySelector:()=>mn,shadowQuerySelectorAll:()=>Nd});function mn(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 Nd(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 mt=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},Es,xs=Symbol("constructorPrototype"),vs=Symbol("constructorName"),Cs=Symbol("exportpartsDebouncer"),Ss=Symbol("dynamicDependenciesLoaded"),Ye=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Ye.eventName="exportparts-updated";var B=class extends Ht{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Es]=new _e(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[Cs].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[vs]=this.constructor.name,this[xs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[vs]&&Object.setPrototypeOf(this,this[xs])}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[Ss]||(o[Ss]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Ye.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Ye.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 Ye)})}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=mn(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=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:[],v=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],E=[...b,...v].filter(u).map(S=>S.trim());for(let S of E)h.add(S)}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(", ")}};Es=Cs;mt([w()],B.prototype,"exportpartsPrefix",void 0);mt([fr([])],B.prototype,"exportpartsPrefixes",void 0);mt([w({reflect:!0})],B.prototype,"exportparts",void 0);mt([w()],B.prototype,"customStylesheet",void 0);mt([w()],B.prototype,"elementToFocus",void 0);mt([M()],B.prototype,"useAdoptedStyleSheets",void 0);var Os=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},yt=J(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Dt.medium,this.family=ge.neutral}getDesignSystemBaseClasses(){return{[qo(this.family)]:!0,[Yo(this.size)]:!0}}}return Os([w()],e.prototype,"size",void 0),Os([w()],e.prototype,"family",void 0),e}),bn=class extends yt(B){};var ws={};var Sn={};L(Sn,{highlightHtml:()=>Md,highlightHtmlColorCssVariable:()=>As,highlightHtmlStyles:()=>Dd});var Xe=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,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>u.push(b),i)}),u.push(p);u.forEach(m=>{n(m)}),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 Vt=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 Xe(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 Xe.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),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+m,e.nodes.forEach((b,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].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,m)=>{e.lastIndex=m,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,m=>o(m,l,a.value.substring(p,h),u),m=>{n(m,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,(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,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=Xe.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function vn(t){let e=new Vt(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 Fd=vn,As=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Dd=N`
1
+ "use strict";(()=>{var Pc=Object.defineProperty;var L=(t,e)=>{for(var o in e)Pc(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,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,E=new Set(y.observedAttributes||[]);m(y,E,x);let R={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:E};this._definitionsByTag.set(g,R),this._definitionsByClass.set(y,R);let N=o.call(n,g);N||(N=f(g),e.call(n,g,N)),this===window.customElements&&(s.set(y,R),R.standInClass=N);let D=this._awaitingUpgrade.get(g);if(D){this._awaitingUpgrade.delete(g);for(let k of D)a.delete(k),S(k,R,!0)}let A=this._whenDefinedPromises.get(g);return A!==void 0&&(A.resolve(y),this._whenDefinedPromises.delete(g)),y}upgrade(){v.push(this),n.upgrade.apply(n,arguments),v.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(E=>x.resolve=E),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,y,x){let E=this._awaitingUpgrade.get(y);E||this._awaitingUpgrade.set(y,E=new Set),x?E.add(g):E.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=v[v.length-1];if(x instanceof CustomElementRegistry)return x;y=x.getRootNode(),p(y)||(y=l.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 E=h(x)||window.customElements,R=E._getDefinition(g);return R?S(x,R):a.set(x,E),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 E=g.prototype.setAttribute;E&&(g.prototype.setAttribute=function(D,A){let k=D.toLowerCase();if(y.has(k)){let $=this.getAttribute(k);E.call(this,k,A),x.call(this,k,$,A)}else E.call(this,k,A)});let R=g.prototype.removeAttribute;R&&(g.prototype.removeAttribute=function(D){let A=D.toLowerCase();if(y.has(A)){let k=this.getAttribute(A);R.call(this,A),x.call(this,A,k,null)}else R.call(this,A)});let N=g.prototype.toggleAttribute;N&&(g.prototype.toggleAttribute=function(D,A){let k=D.toLowerCase();if(y.has(k)){let $=this.getAttribute(k);N.call(this,k,A);let le=this.getAttribute(k);x.call(this,k,$,le)}else N.call(this,k,A)})},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(E=>{g.hasAttribute(E)&&y.attributeChangedCallback.call(g,E,null,g.getAttribute(E))}),x&&y.connectedCallback&&g.isConnected&&y.connectedCallback.call(g)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let y=C.apply(this,arguments);return g.customElements&&(y.customElements=g.customElements),y};let v=[document],O=(g,y,x=void 0)=>{let E=(x?Object.getPrototypeOf(x):g.prototype)[y];g.prototype[y]=function(){v.push(this);let R=E.apply(x||this,arguments);return R!==void 0&&l.set(R,this),v.pop(),R}};O(ShadowRoot,"createElement",document),O(ShadowRoot,"importNode",document),O(Element,"insertAdjacentHTML");let I=(g,y)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,y);Object.defineProperty(g.prototype,y,{...x,set(E){v.push(this),x.set.call(this,E),v.pop()}})};if(I(Element,"innerHTML"),I(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(...D){let A=y.call(this,...D);return g.set(A,this),A},x.forEach(D=>{let A=window.ElementInternals.prototype,k=A[D];A[D]=function(...$){let le=g.get(this);if(i.get(le).formAssociated===!0)return k?.call(this,...$);throw new DOMException(`Failed to execute ${k} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class E 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 k=new Map;A.forEach(($,le)=>{let Kr=$.getAttribute("name"),Ci=k.get(Kr)||[];this[+le]=$,Ci.push($),k.set(Kr,Ci)}),this.length=A.length,k.forEach(($,le)=>{$&&($.length===1?this[le]=$[0]:this[le]=new E($))})}namedItem(A){return this[A]}}let N=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let D=N.get.call(this,[]),A=[];for(let k of D){let $=i.get(k);(!$||$.formAssociated===!0)&&A.push(k)}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 ao={};L(ao,{CSSResult:()=>tt,LitElement:()=>ge,ReactiveElement:()=>re,_$LE:()=>jc,_$LH:()=>oo,adoptStyles:()=>Ot,css:()=>P,defaultConverter:()=>rt,getCompatibleStyle:()=>rr,html:()=>Z,isServer:()=>bp,mathml:()=>ro,noChange:()=>z,notEqual:()=>At,nothing:()=>F,render:()=>no,supportsAdoptingStyleSheets:()=>Ct,svg:()=>to,unsafeCSS:()=>Oe});var tr=globalThis,Ct=tr.ShadowRoot&&(tr.ShadyCSS===void 0||tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zr=Symbol(),Oi=new WeakMap,tt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Zr)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(Ct&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Oi.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Oi.set(o,e))}return e}toString(){return this.cssText}},Oe=t=>new tt(typeof t=="string"?t:t+"",void 0,Zr),P=(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 tt(o,t,Zr)},Ot=(t,e)=>{if(Ct)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},rr=Ct?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Oe(o)})(t):t;var{is:Fc,defineProperty:Dc,getOwnPropertyDescriptor:Mc,getOwnPropertyNames:Uc,getOwnPropertySymbols:Bc,getPrototypeOf:$c}=Object,or=globalThis,wi=or.trustedTypes,zc=wi?wi.emptyScript:"",Hc=or.reactiveElementPolyfillSupport,wt=(t,e)=>t,rt={toAttribute(t,e){switch(e){case Boolean:t=t?zc: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}},At=(t,e)=>!Fc(t,e),Ai={attribute:!0,type:String,converter:rt,reflect:!1,useDefault:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),or.litPropertyMetadata??=new WeakMap;var re=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=Ai){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&&Dc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Mc(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)??Ai}static _$Ei(){if(this.hasOwnProperty(wt("elementProperties")))return;let e=$c(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(wt("properties"))){let o=this.properties,n=[...Uc(o),...Bc(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(rr(i))}else e!==void 0&&o.push(rr(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 Ot(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:rt).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:rt;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??At)(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){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[wt("elementProperties")]=new Map,re[wt("finalized")]=new Map,Hc?.({ReactiveElement:re}),(or.reactiveElementVersions??=[]).push("2.1.2");var Yr=globalThis,Ri=t=>t,nr=Yr.trustedTypes,_i=nr?nr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xr="$lit$",ye=`lit$${Math.random().toFixed(9).slice(2)}$`,Qr="?"+ye,Vc=`<${Qr}>`,Me=document,_t=()=>Me.createComment(""),It=t=>t===null||typeof t!="object"&&typeof t!="function",Jr=Array.isArray,Pi=t=>Jr(t)||typeof t?.[Symbol.iterator]=="function",qr=`[
2
+ \f\r]`,Rt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ii=/-->/g,Li=/>/g,Fe=RegExp(`>|${qr}(?:([^\\s"'>=/]+)(${qr}*=${qr}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ki=/'/g,Ti=/"/g,Fi=/^(?:script|style|textarea|title)$/i,eo=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Z=eo(1),to=eo(2),ro=eo(3),z=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Ni=new WeakMap,De=Me.createTreeWalker(Me,129);function Di(t,e){if(!Jr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return _i!==void 0?_i.createHTML(e):e}var Mi=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Rt;for(let l=0;l<o;l++){let u=t[l],p,h,f=-1,m=0;for(;m<u.length&&(s.lastIndex=m,h=s.exec(u),h!==null);)m=s.lastIndex,s===Rt?h[1]==="!--"?s=Ii:h[1]!==void 0?s=Li:h[2]!==void 0?(Fi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Fe):h[3]!==void 0&&(s=Fe):s===Fe?h[0]===">"?(s=i??Rt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Fe:h[3]==='"'?Ti:ki):s===Ti||s===ki?s=Fe:s===Ii||s===Li?s=Rt:(s=Fe,i=void 0);let b=s===Fe&&t[l+1].startsWith("/>")?" ":"";a+=s===Rt?u+Vc:f>=0?(n.push(p),u.slice(0,f)+Xr+u.slice(f)+ye+b):u+ye+(f===-2?l:b)}return[Di(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Lt=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]=Mi(e,o);if(this.el=t.createElement(p,n),De.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=De.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Xr)){let m=h[s++],b=i.getAttribute(f).split(ye),S=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:S[2],strings:b,ctor:S[1]==="."?ar:S[1]==="?"?sr:S[1]==="@"?cr:Be}),i.removeAttribute(f)}else f.startsWith(ye)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(Fi.test(i.tagName)){let f=i.textContent.split(ye),m=f.length-1;if(m>0){i.textContent=nr?nr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],_t()),De.nextNode(),u.push({type:2,index:++a});i.append(f[m],_t())}}}else if(i.nodeType===8)if(i.data===Qr)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ye,f+1))!==-1;)u.push({type:7,index:a}),f+=ye.length-1}a++}}static createElement(e,o){let n=Me.createElement("template");return n.innerHTML=e,n}};function Ue(t,e,o=t,n){if(e===z)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=It(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=Ue(t,i._$AS(t,e.values),i,n)),e}var ir=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??Me).importNode(o,!0);De.currentNode=i;let a=De.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new ot(a,a.nextSibling,this,e):u.type===1?p=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(p=new lr(a,this,e)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=De.nextNode(),s++)}return De.currentNode=Me,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++}},ot=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=F,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=Ue(this,e,o),It(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==z&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Pi(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==F&&It(this._$AH)?this._$AA.nextSibling.data=e:this.T(Me.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=Lt.createElement(Di(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new ir(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Ni.get(e.strings);return o===void 0&&Ni.set(e.strings,o=new Lt(e)),o}k(e){Jr(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(_t()),this.O(_t()),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=Ri(e).nextSibling;Ri(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=F,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=F}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ue(this,e,o,0),s=!It(e)||e!==this._$AH&&e!==z,s&&(this._$AH=e);else{let l=e,u,p;for(e=a[0],u=0;u<a.length-1;u++)p=Ue(this,l[n+u],o,u),p===z&&(p=this._$AH[u]),s||=!It(p)||p!==this._$AH[u],p===F?e=F:e!==F&&(e+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(e)}j(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ar=class extends Be{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F?void 0:e}},sr=class extends Be{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},cr=class extends Be{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ue(this,e,o,0)??F)===z)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==F&&(n===F||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)}},lr=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){Ue(this,e)}},oo={M:Xr,P:ye,A:Qr,C:1,L:Mi,R:ir,D:Pi,V:Ue,I:ot,H:Be,N:sr,U:cr,B:ar,F:lr},Gc=Yr.litHtmlPolyfillSupport;Gc?.(Lt,ot),(Yr.litHtmlVersions??=[]).push("3.3.3");var no=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ot(e.insertBefore(_t(),a),a,void 0,o??{})}return i._$AI(t),i};var io=globalThis,ge=class extends re{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=no(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return z}};ge._$litElement$=!0,ge.finalized=!0,io.litElementHydrateSupport?.({LitElement:ge});var Wc=io.litElementPolyfillSupport;Wc?.({LitElement:ge});var jc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(io.litElementVersions??=[]).push("4.2.2");var bp=!1;var co={};L(co,{customElement:()=>Kc,eventOptions:()=>qc,property:()=>w,query:()=>we,queryAll:()=>Xc,queryAssignedElements:()=>so,queryAssignedNodes:()=>Jc,queryAsync:()=>Qc,standardProperty:()=>Ui,state:()=>M});var Kc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Zc={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:At},Ui=(t=Zc,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 w(t){return(e,o)=>typeof o=="object"?Ui(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 M(t){return w({...t,state:!0,attribute:!1})}function qc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var ne=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function we(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 ne(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 ne(o,n,{get(){return a(this)}})}}var Yc;function Xc(t){return(e,o)=>ne(e,o,{get(){return(this.renderRoot??(Yc??=document.createDocumentFragment())).querySelectorAll(t)}})}function Qc(t){return(e,o)=>ne(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function so(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ne(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 Jc(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ne(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var lo={};L(lo,{repeat:()=>ur});var de={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Q=t=>(...e)=>({_$litDirective$:t,values:e}),oe=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:el}=oo,Bi=t=>t;var zi=t=>t.strings===void 0,$i=()=>document.createComment(""),nt=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore($i(),i),s=n.insertBefore($i(),i);o=new el(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=Bi(u).nextSibling;Bi(n).insertBefore(u,i),u=p}}}return o},Ae=(t,e,o=t)=>(t._$AI(e,o),t),tl={},Hi=(t,e=tl)=>t._$AH=e,Vi=t=>t._$AH,dr=t=>{t._$AR(),t._$AA.remove()};var Gi=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},ur=Q(class extends oe{constructor(t){if(super(t),t.type!==de.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=Vi(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,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(l[f]===s[b])u[b]=Ae(i[f],a[b]),f++,b++;else if(l[m]===s[S])u[S]=Ae(i[m],a[S]),m--,S--;else if(l[f]===s[S])u[S]=Ae(i[f],a[S]),nt(t,u[S+1],i[f]),f++,S--;else if(l[m]===s[b])u[b]=Ae(i[m],a[b]),nt(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=Gi(s,b,S),h=Gi(l,f,m)),p.has(l[f]))if(p.has(l[m])){let C=h.get(s[b]),v=C!==void 0?i[C]:null;if(v===null){let O=nt(t,i[f]);Ae(O,a[b]),u[b]=O}else u[b]=Ae(v,a[b]),nt(t,i[f],v),i[C]=null;b++}else dr(i[m]),m--;else dr(i[f]),f++;for(;b<=S;){let C=nt(t,u[S+1]);Ae(C,a[b]),u[b++]=C}for(;f<=m;){let C=i[f++];C!==null&&dr(C)}return this.ut=s,Hi(t,u),z}});var uo={};L(uo,{classMap:()=>kt});var kt=Q(class extends oe{constructor(t){if(super(t),t.type!==de.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 z}});var po={};L(po,{styleMap:()=>ol});var Wi="important",rl=" !"+Wi,ol=Q(class extends oe{constructor(t){if(super(t),t.type!==de.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(rl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Wi:""):o[n]=i}}return z}});var fo={};L(fo,{UnsafeHTMLDirective:()=>it,unsafeHTML:()=>nl});var it=class extends oe{constructor(e){if(super(e),this.it=F,e.type!==de.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===F||e==null)return this._t=void 0,this.it=e;if(e===z)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:[]}}};it.directiveName="unsafeHTML",it.resultType=1;var nl=Q(it);var ho={};L(ho,{splitBreadcrumbForMenu:()=>il});function il(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 Oo={};L(Oo,{CacheRegistry:()=>Co,ClearCacheEvent:()=>Ft});var yo={};L(yo,{CancelablePromise:()=>pr,CanceledPromiseError:()=>Tt,cancelable:()=>mo});var Tt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},pr=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Tt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Tt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},mo=t=>new pr((e,o)=>t.then(e).catch(o));var Eo={};L(Eo,{FtNotificationEvent:()=>Pt,PostResizeEvent:()=>vo,PreResizeEvent:()=>So,WithEventBus:()=>Ve,withEventBus:()=>ra});var xo={};L(xo,{applyMixinOnce:()=>J,customElements:()=>He,dateReviver:()=>dl,deepCopy:()=>at,deepEqual:()=>ze,delay:()=>qi,eventPathContainsMatchingElement:()=>pl,everyDeep:()=>ll,flatDeep:()=>Xi,forEachDeep:()=>Qi,getComposedPathTo:()=>bo,groupBy:()=>yl,hasChanged:()=>Re,ignoreComposingEvents:()=>ml,last:()=>fl,minmax:()=>$e,parseDate:()=>ea,randomId:()=>hl,someDeep:()=>Ji,unslotText:()=>ta,waitFor:()=>Yi,waitUntil:()=>cl});var go={};L(go,{customElement:()=>Nt,dateProperty:()=>sl,isNumber:()=>Zi,jsonProperty:()=>fr,jsonPropertyConverter:()=>ji,numberProperty:()=>Ki,optionalNumberProperty:()=>al});var Nt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},ji=t=>({fromAttribute:e=>{if(e==null)return at(t);try{return JSON.parse(e)}catch{return at(t)}},toAttribute:e=>JSON.stringify(e)});function fr(t,e){return w({type:Object,converter:ji(t),hasChanged:Re,...e??{}})}function al(t){return Ki(t)}function Ki(t){return w({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 Zi(e)?$e(i,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Zi(t){return!isNaN(parseFloat(t))}function sl(t){return w({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 qi=t=>new Promise(e=>setTimeout(e,t));async function cl(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 qi(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Xi(t,e){return t.flatMap(o=>[o,...Xi(e(o),e)])}function Qi(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 Ji(t,e,o){let n=!1;return Qi(t,e,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function ll(t,e,o){return!Ji(t,e,(n,i,a,s)=>!o(n,i,a,s))}function dl(...t){return(e,o)=>t.includes(e)?ea(o):o}function ea(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 ul(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(!ze(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(!ze(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(!ze(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ze(t,e){try{return ul(t,e)}catch{return!1}}function Re(t,e){return!ze(t,e)}function pl(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 $e(t,e,o){return Math.min(Math.max(t,e),o)}function fl(t){return t[t.length-1]}function ta(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>ta(e)).join(""):t?.textContent||""}function bo(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 at(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function hl(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 ml(){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 He(t){for(let[e,o]of Object.entries(t))Nt(e)(o)}function yl(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 Pt=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},So=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},vo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},ra=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)}}}),Ve=class extends ra(Object){};var Ft=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Co=class extends Ve{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 Ft(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Ft([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=mo(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 No={};L(No,{ClusteringHelper:()=>To,formatHierarchicalValues:()=>ko});var Lo={};L(Lo,{accessBreadcrumb:()=>Ol,accessResult:()=>Io,accessResultId:()=>El,accessResultUrl:()=>Cl,enrichReaderUrl:()=>_o});var Ro={};L(Ro,{SearchPlaceConverter:()=>Ge,SearchPlaceQueryParams:()=>_,isSearchPlaceQueryParams:()=>Ga,serializeRequest:()=>Sl});var gl=t=>typeof t=="object"&&t!=null;var bl=t=>typeof t=="number",hr=t=>typeof t=="string",Ao=t=>gl(t)&&hr(t.endpoint)&&hr(t.method)&&hr(t.statusText)&&hr(t.body)&&bl(t.status),oa;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(oa||(oa={}));var na;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(na||(na={}));var ia;(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"})(ia||(ia={}));var aa;(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"})(aa||(aa={}));var sa;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(sa||(sa={}));var ca;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(ca||(ca={}));var la;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(la||(la={}));var da;(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"})(da||(da={}));var ua;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ua||(ua={}));var pa;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(pa||(pa={}));var fa;(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"})(fa||(fa={}));var ha;(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"})(ha||(ha={}));var ma;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ma||(ma={}));var ya;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ya||(ya={}));var ga;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ga||(ga={}));var ba;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ba||(ba={}));var xa;(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"})(xa||(xa={}));var st;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(st||(st={}));var Sa;(function(t){t.ASC="ASC",t.DESC="DESC"})(Sa||(Sa={}));var va;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(va||(va={}));var wo;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(wo||(wo={}));var La=t=>Object.keys(wo).includes(t);var Ea;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Ea||(Ea={}));var Ca;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ca||(Ca={}));var Oa;(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"})(Oa||(Oa={}));var ct;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ct||(ct={}));var ka=t=>Object.keys(ct).includes(t);var wa;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(wa||(wa={}));var Aa;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Aa||(Aa={}));var Ra;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ra||(Ra={}));var H;(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"})(H||(H={}));var _a;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(_a||(_a={}));var Ia;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ia||(Ia={}));var Ta;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Ta||(Ta={}));var Na;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Na||(Na={}));var Pa;(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"})(Pa||(Pa={}));var Fa;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Fa||(Fa={}));var Da;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Da||(Da={}));var Ma;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ma||(Ma={}));var Ua;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ua||(Ua={}));var Ba;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ba||(Ba={}));var $a;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})($a||($a={}));var za;(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"})(za||(za={}));var Ha;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ha||(Ha={}));var Pf={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN,H.BEHAVIOR_DATA_USER],[H.GENERATIVE_AI_EXPORT_USER]:[H.GENERATIVE_AI_USER]};function xl(t){return`"${t}"`}function Va(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Sl(t,e){return new Ge(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 vl=new Set(Object.values(_));function Ga(t){return vl.has(t)}var Ge=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,l,u,p,h,f;let m=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&m.append(_.LOCALE,e.contentLocale):m.append(_.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(_.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(_.VALUE_FILTERS,b);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(_.NEGATIVE_VALUE_FILTERS,S);let C=(u=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.dateFilter))!==null&&u!==void 0?u:[];if(C.length>0){let g=C.map(y=>{var x;return`${y.key}~${(x=y.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(_.DATE_FILTERS,g)}let v=(p=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(g=>g.rangeFilter))!==null&&p!==void 0?p:[];if(v.length>0){let g=v.map(y=>{var x,E;return`${y.key}~${(x=y.rangeFilter)===null||x===void 0?void 0:x.from}_${(E=y.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");m.append(_.RANGE_FILTERS,g)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(_.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(_.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.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&&m.append(_.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(_.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let O=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let g in O)m.append(g,O[g]);let I=new Array;return m.forEach((g,y)=>{I.push(this.encodeQueryString(y)+"="+this.encodeQueryString(g))}),encodeURI(I.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;try{e=decodeURI(e).replace(/%23/g,"#")}catch(O){console.warn("Could not decode search request query params, fallback on raw value",O)}let u=new URLSearchParams(e),p=u.get(_.LOCALE)==="all"?void 0:u.get(_.LOCALE),h=((n=u.get(_.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=u.get(_.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=u.get(_.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=u.get(_.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),S=u.get(_.KEYWORD_MATCH),C=S?S.toUpperCase()===st.MANDATORY?st.MANDATORY:st.OPTIONAL:void 0,v={};for(let O of u.keys())Ga(O)||(v[O]=u.get(O));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=u.get(_.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:La(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(u),facets:[],paging:{page:1,perPage:$e(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:C,otherQueryParams:v}}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(Va).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:ct[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(ka(e))return[{key:"ft:lastEdition",dateFilter:{type:ct[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=>xl(Va(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()}};Ge.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Io(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 El(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 Cl(t,e){var o,n,i,a,s,l,u,p,h;return(h=(p=(u=(l=_o((o=t?.map)===null||o===void 0?void 0:o.readerUrl,e))!==null&&l!==void 0?l:_o((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 Ol(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 _o(t,e){if(e&&t){let o=URL.parse(t),n=Ge.serializeValueFilters(e);if(n&&o?.searchParams.append(_.VALUE_FILTERS,n),o)return o.toString()}return t}function ko(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var To=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=Io(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(ko(l)),s.push(ko(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,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",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 Po={};L(Po,{Debouncer:()=>_e});var _e=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 Jo={};L(Jo,{designSystemVariables:()=>xe});var Qo={};L(Qo,{DesignSystemFamily:()=>be,DesignSystemSize:()=>Dt,FtCssVariableFactory:()=>r,badge:()=>Bl,banner:()=>Ul,button:()=>Al,card:()=>_l,chart:()=>td,checkbox:()=>Tl,chip:()=>Fl,chipChoice:()=>Pl,chipGroup:()=>Dl,collapsible:()=>Jl,combobox:()=>Xl,dateRangePicker:()=>ad,drawer:()=>jl,eventCard:()=>Il,floatingMenu:()=>Yl,foundation:()=>c,link:()=>Ml,modal:()=>Gl,notice:()=>od,notification:()=>nd,pageDesigner:()=>rd,pageFooter:()=>Hl,pageHeader:()=>zl,pageLayout:()=>Vl,popover:()=>Ql,radio:()=>T,reorderableList:()=>Wl,resolveFamilyClass:()=>Yo,resolveSizeClass:()=>Xo,semantic:()=>d,setVariable:()=>W,switch_:()=>ed,table:()=>Nl,tabs:()=>Kl,textArea:()=>ql,textInput:()=>Zl,titleBreadcrumb:()=>$l,toc:()=>kl,toggle:()=>Rl,tooltip:()=>id,treeList:()=>Ll,typographies:()=>mr,typographyBody1Medium:()=>$o,typographyBody1Regular:()=>Bo,typographyBody1Semibold:()=>zo,typographyBody2Medium:()=>Vo,typographyBody2MediumUnderline:()=>Wa,typographyBody2Regular:()=>Ho,typographyBody2Semibold:()=>Go,typographyCaption1Medium:()=>Wo,typographyCaption1Semibold:()=>jo,typographyCaption2Bold:()=>qo,typographyCaption2Medium:()=>Ko,typographyCaption2Semibold:()=>Zo,typographyDisplay:()=>Fo,typographyTitle1:()=>Do,typographyTitle2:()=>Mo,typographyTitle3:()=>Uo,typographyVariants:()=>wl});var Ie=t=>typeof t=="string"?Oe(t):t,r=class{static create(e,o,n,i){let a=l=>Ie(l??i),s=P`var(${Ie(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>W(s,l??a(i)),s.get=l=>P`var(${Ie(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=l=>n.get(l??i),s=P`var(${Ie(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=>W(s,l??a(i)),s.get=l=>P`var(${Ie(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=P`var(${Ie(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=>P`var(${Ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function W(t,e){return Ie(`${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)")},Fo={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")},Do={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")},Mo={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")},Uo={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")},Bo={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")},$o={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")},zo={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")},Ho={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")},Vo={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")},Wa={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")},Go={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")},Wo={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")},jo={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")},Ko={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")},Zo={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")},qo={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")},mr={display:Fo,"title-1":Do,"title-2":Mo,"title-3":Uo,"body-1-regular":Bo,"body-1-medium":$o,"body-1-semibold":zo,"body-2-regular":Ho,"body-2-medium":Vo,"body-2-medium-underline":Wa,"body-2-semibold":Go,"caption-1-medium":Wo,"caption-1-semibold":jo,"caption-2-medium":Ko,"caption-2-semibold":Zo,"caption-2-bold":qo},wl=["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 Al={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 Rl={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 _l={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 Il={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 Ll={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 kl={titleColor:r.extend("--ftds-toc-title-color","",d.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","",d.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:r.extend("--ftds-toc-item-root-default-label-color","",d.contentGlobalSecondary),itemRootDefaultBorderColor:r.extend("--ftds-toc-item-root-default-border-color","",d.borderGlobalSubtle),itemRootHoverLabelColor:r.extend("--ftds-toc-item-root-hover-label-color","",d.contentGlobalSecondary),itemRootHoverBorderColor:r.extend("--ftds-toc-item-root-hover-border-color","",d.borderGlobalSubtle),itemRootHoverStateLayerColor:r.extend("--ftds-toc-item-root-hover-state-layer-color","",d.contentGlobalSecondary),itemRootHoverStateLayerOpacity:r.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:r.extend("--ftds-toc-item-root-focus-label-color","",d.contentGlobalSecondary),itemRootFocusStateLayerColor:r.extend("--ftds-toc-item-root-focus-state-layer-color","",d.contentGlobalSecondary),itemRootFocusStateLayerOpacity:r.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:r.extend("--ftds-toc-item-root-selected-label-color","",d.contentActionPrimary),itemRootSelectedBorderColor:r.extend("--ftds-toc-item-root-selected-border-color","",d.borderActionPrimary),itemRootSelectedBorderWidth:r.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:r.extend("--ftds-toc-item-root-selected-state-layer-color","",d.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","",d.contentActionPrimary),itemRootChildrenActiveBorderColor:r.extend("--ftds-toc-item-root-children-active-border-color","",d.borderGlobalSubtle),itemChildDefaultLabelColor:r.extend("--ftds-toc-item-child-default-label-color","",d.contentGlobalSubtle),itemChildDefaultBorderColor:r.extend("--ftds-toc-item-child-default-border-color","",d.borderGlobalSubtle),itemChildHoverLabelColor:r.extend("--ftds-toc-item-child-hover-label-color","",d.contentGlobalSubtle),itemChildHoverBorderColor:r.extend("--ftds-toc-item-child-hover-border-color","",d.borderGlobalSubtle),itemChildHoverStateLayerColor:r.extend("--ftds-toc-item-child-hover-state-layer-color","",d.contentGlobalSecondary),itemChildHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:r.extend("--ftds-toc-item-child-focus-label-color","",d.contentGlobalSubtle),itemChildFocusStateLayerColor:r.extend("--ftds-toc-item-child-focus-state-layer-color","",d.contentGlobalSecondary),itemChildFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:r.extend("--ftds-toc-item-child-selected-label-color","",d.contentActionPrimary),itemChildSelectedBorderColor:r.extend("--ftds-toc-item-child-selected-border-color","",d.borderActionPrimary),itemChildSelectedBorderWidth:r.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:r.extend("--ftds-toc-item-child-selected-state-layer-color","",d.contentActionPrimary),itemChildSelectedStateLayerOpacity:r.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var Tl={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 T={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 Nl={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 Pl={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 Fl={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 Dl={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 Ml={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 Ul={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 Bl={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 $l={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 zl={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 Hl={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 Vl={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Gl={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 Wl={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 jl={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 Kl={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 Zl={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","",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 ql={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",d.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.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 Yl={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 Xl={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 Ql={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 Jl={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 ed={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 td={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 rd={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 od={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 nd={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 id={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 ad={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 be;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(be||(be={}));var Dt;(function(t){t.large="large",t.medium="medium",t.small="small"})(Dt||(Dt={}));function Yo(t){return`ftds--family-${t}`}function Xo(t){return`ftds--size-${t}`}var xe={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 en={};L(en,{DynamicImporter:()=>yr,dynamicImporter:()=>sd});var yr=class{async import(e){if(e)return import(e)}},sd=new yr;var fn={};L(fn,{computeOffsetAutoPosition:()=>Td,computeOffsetPosition:()=>kd});var Ka=["top","right","bottom","left"],ja=["start","end"],rn=Ka.reduce((t,e)=>t.concat(e,e+"-"+ja[0],e+"-"+ja[1]),[]),We=Math.min,ue=Math.max,Mt=Math.round;var pe=t=>({x:t,y:t}),cd={left:"right",right:"left",bottom:"top",top:"bottom"};function Za(t,e,o){return ue(t,We(e,o))}function lt(t,e){return typeof t=="function"?t(e):t}function je(t){return t.split("-")[0]}function fe(t){return t.split("-")[1]}function on(t){return t==="x"?"y":"x"}function nn(t){return t==="y"?"height":"width"}function dt(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function an(t){return on(dt(t))}function qa(t,e,o){o===void 0&&(o=!1);let n=fe(t),i=an(t),a=nn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=tn(s)),[s,tn(s)]}function Ya(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function tn(t){let e=je(t);return cd[e]+t.slice(e.length)}function ld(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 Xa(t){return typeof t!="number"?ld(t):{top:t,right:t,bottom:t,left:t}}function Ke(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 Qa(t,e,o){let{reference:n,floating:i}=t,a=dt(e),s=an(e),l=nn(s),u=je(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,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=fe(e);return S&&(b[s]+=m*(S==="end"?1:-1)*(o&&p?-1:1)),b}async function Ja(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:m=!1,padding:b=0}=lt(e,t),S=Xa(b),v=l[m?f==="floating"?"reference":"floating":f],O=Ke(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(v)))==null||o?v:v.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),I=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)),y=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},x=Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:g,strategy:u}):I);return{top:(O.top-x.top+S.top)/y.y,bottom:(x.bottom-O.bottom+S.bottom)/y.y,left:(O.left-x.left+S.left)/y.x,right:(x.right-O.right+S.right)/y.x}}var dd=50,es=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:Ja},u=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Qa(p,n,u),m=n,b=0,S={};for(let C=0;C<a.length;C++){let v=a[C];if(!v)continue;let{name:O,fn:I}=v,{x:g,y,data:x,reset:E}=await I({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:l,elements:{reference:t,floating:e}});h=g??h,f=y??f,S[O]={...S[O],...x},E&&b<dd&&(b++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=Qa(p,m,u)),C=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function ud(t,e,o){return(t?[...o.filter(i=>fe(i)===t),...o.filter(i=>fe(i)!==t)]:o.filter(i=>je(i)===i)).filter(i=>t?fe(i)===t||(e?Ya(i)!==i:!1):!0)}var ts=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:m=rn,autoAlignment:b=!0,...S}=lt(t,e),C=f!==void 0||m===rn?ud(f||null,b,m):m,v=((o=s.autoPlacement)==null?void 0:o.index)||0,O=C[v];if(O==null)return{};if(l!==O)return{reset:{placement:C[0]}};let I=await u.detectOverflow(e,S),g=qa(O,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),y=[I[je(O)],I[g[0]],I[g[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:O,overflows:y}],E=C[v+1];if(E)return{data:{index:v+1,overflows:x},reset:{placement:E}};let R=x.map(A=>{let k=fe(A.placement);return[A.placement,k&&h?A.overflows.slice(0,2).reduce(($,le)=>$+le,0):A.overflows[0],A.overflows]}).sort((A,k)=>A[1]-k[1]),D=((i=R.filter(A=>A[2].slice(0,fe(A[0])?2:3).every(k=>k<=0))[0])==null?void 0:i[0])||R[0][0];return D!==l?{data:{index:v+1,overflows:x},reset:{placement:D}}:{}}}};var pd=new Set(["left","top"]);async function fd(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=je(o),l=fe(o),u=dt(o)==="y",p=pd.has(s)?-1:1,h=a&&u?-1:1,f=lt(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 l&&typeof S=="number"&&(b=l==="end"?S*-1:S),u?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var rs=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 fd(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}}}}},os=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:I=>{let{x:g,y}=I;return{x:g,y}}},...p}=lt(t,e),h={x:o,y:n},f=await a.detectOverflow(e,p),m=dt(i),b=on(m),S=h[b],C=h[m],v=(I,g)=>Za(g+f[I==="y"?"top":"left"],g,g-f[I==="y"?"bottom":"right"]);s&&(S=v(b,S)),l&&(C=v(m,C));let O=u.fn({...e,[b]:S,[m]:C});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[b]:s,[m]:l}}}}}};var ns=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}=lt(t,e),u=await i.detectOverflow(e,l),p=je(o),h=fe(o),f=dt(o)==="y",{width:m,height:b}=n.floating,S,C;p==="top"||p==="bottom"?(S=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(C=p,S=h==="end"?"top":"bottom");let v=b-u.top-u.bottom,O=m-u.left-u.right,I=We(b-u[S],v),g=We(m-u[C],O),y=e.middlewareData.shift,x=!y,E=I,R=g;y!=null&&y.enabled.x&&(R=O),y!=null&&y.enabled.y&&(E=v),x&&!h&&(f?R=m-2*ue(u.left,u.right):E=b-2*ue(u.top,u.bottom)),await s({...e,availableWidth:R,availableHeight:E});let N=await i.getDimensions(a.floating);return m!==N.width||b!==N.height?{reset:{rects:!0}}:{}}}};function br(){return typeof window<"u"}function qe(t){return as(t)?(t.nodeName||"").toLowerCase():"#document"}function q(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Se(t){var e;return(e=(as(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function as(t){return br()?t instanceof Node||t instanceof q(t).Node:!1}function ie(t){return br()?t instanceof Element||t instanceof q(t).Element:!1}function ve(t){return br()?t instanceof HTMLElement||t instanceof q(t).HTMLElement:!1}function is(t){return!br()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof q(t).ShadowRoot}function Ut(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=ae(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function ss(t){return/^(table|td|th)$/.test(qe(t))}function Bt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var hd=/transform|translate|scale|rotate|perspective|filter/,md=/paint|layout|strict|content/,Ze=t=>!!t&&t!=="none",sn;function ut(t){let e=ie(t)?ae(t):t;return Ze(e.transform)||Ze(e.translate)||Ze(e.scale)||Ze(e.rotate)||Ze(e.perspective)||!xr()&&(Ze(e.backdropFilter)||Ze(e.filter))||hd.test(e.willChange||"")||md.test(e.contain||"")}function cs(t){let e=Le(t);for(;ve(e)&&!pt(e);){if(ut(e))return e;if(Bt(e))return null;e=Le(e)}return null}function xr(){return sn==null&&(sn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),sn}function pt(t){return/^(html|body|#document)$/.test(qe(t))}function ae(t){return q(t).getComputedStyle(t)}function $t(t){return ie(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Le(t){if(qe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||is(t)&&t.host||Se(t);return is(e)?e.host:e}function ls(t){let e=Le(t);return pt(e)?(t.ownerDocument||t).body:ve(e)&&Ut(e)?e:ls(e)}function gr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=ls(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=q(i);if(a){let l=Sr(s);return e.concat(s,s.visualViewport||[],Ut(i)?i:[],l&&o?gr(l):[])}else return e.concat(i,gr(i,[],o))}function Sr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ps(t){let e=ae(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ve(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=Mt(o)!==a||Mt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function fs(t){return ie(t)?t:t.contextElement}function ft(t){let e=fs(t);if(!ve(e))return pe(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=ps(e),s=(a?Mt(o.width):o.width)/n,l=(a?Mt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var yd=pe(0);function hs(t){let e=q(t);return!xr()||!e.visualViewport?yd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function gd(t,e,o){return e===void 0&&(e=!1),!!o&&e&&o===q(t)}function zt(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=fs(t),s=pe(1);e&&(n?ie(n)&&(s=ft(n)):s=ft(t));let l=gd(a,o,n)?hs(a):pe(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 m=q(a),b=ie(n)?q(n):n,S=m,C=Sr(S);for(;C&&b!==S;){let v=ft(C),O=C.getBoundingClientRect(),I=ae(C),g=O.left+(C.clientLeft+parseFloat(I.paddingLeft))*v.x,y=O.top+(C.clientTop+parseFloat(I.paddingTop))*v.y;u*=v.x,p*=v.y,h*=v.x,f*=v.y,u+=g,p+=y,S=q(C),C=Sr(S)}}return Ke({width:h,height:f,x:u,y:p})}function vr(t,e){let o=$t(t).scrollLeft;return e?e.left+o:zt(Se(t)).left+o}function ms(t,e){let o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-vr(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function bd(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t,a=i==="fixed",s=Se(n),l=e?Bt(e.floating):!1;if(n===s||l&&a)return o;let u={scrollLeft:0,scrollTop:0},p=pe(1),h=pe(0),f=ve(n);if((f||!a)&&((qe(n)!=="body"||Ut(s))&&(u=$t(n)),f)){let b=zt(n);p=ft(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?ms(s,u):pe(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 xd(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Sd(t){let e=$t(t),o=t.ownerDocument.body,n=ue(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=ue(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-e.scrollLeft+vr(t),s=-e.scrollTop;return ae(o).direction==="rtl"&&(a+=ue(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var vd=25;function Ed(t,e,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=q(t),a=Se(t),s=i.visualViewport,l=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let m=!xr()||e==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(vr(a)<=0){let m=a.ownerDocument,b=m.body,S=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,v=Math.abs(a.clientWidth-b.clientWidth-C),O=getComputedStyle(a).scrollbarGutter==="stable both-edges"?v/2:v;O<=vd&&(l-=O)}return{width:l,height:u,x:p,y:h}}function Cd(t,e){let o=zt(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=ft(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 ds(t,e,o){let n;if(e==="viewport"||e==="layoutViewport")n=Ed(t,o,e);else if(e==="document")n=Sd(Se(t));else if(ie(e))n=Cd(e,o);else{let i=hs(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ke(n)}function Od(t,e){let o=e.get(t);if(o)return o;let n=gr(t,[],!1).filter(l=>ie(l)&&qe(l)!=="body"),i=null,a=ae(t).position==="fixed",s=a?Le(t):t;for(;ie(s)&&!pt(s);){let l=ae(s),u=ut(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=Le(s)}return e.set(t,n),n}function wd(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Bt(e)?[]:Od(e,this._c):[].concat(o),n],l=ds(e,s[0],i),u=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let b=ds(e,s[m],i);u=ue(b.top,u),p=We(b.right,p),h=We(b.bottom,h),f=ue(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function Ad(t){let{width:e,height:o}=ps(t);return{width:e,height:o}}function Rd(t,e,o){let n=ve(e),i=Se(e),a=o==="fixed",s=zt(t,!0,a,e),l={scrollLeft:0,scrollTop:0},u=pe(0);if((n||!a)&&((qe(e)!=="body"||Ut(i))&&(l=$t(e)),n)){let m=zt(e,!0,a,e);u.x=m.x+e.clientLeft,u.y=m.y+e.clientTop}!n&&i&&(u.x=vr(i));let p=i&&!n&&!a?ms(i,l):pe(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 cn(t){return ae(t).position==="static"}function us(t,e){if(!ve(t)||ae(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return Se(t)===o&&(o=o.ownerDocument.body),o}function ys(t,e){let o=q(t);if(Bt(t))return o;if(!ve(t)){let i=Le(t);for(;i&&!pt(i);){if(ie(i)&&!cn(i))return i;i=Le(i)}return o}let n=us(t,e);for(;n&&ss(n)&&cn(n);)n=us(n,e);return n&&pt(n)&&cn(n)&&!ut(n)?o:n||cs(t)||o}var _d=async function(t){let e=this.getOffsetParent||ys,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 Id(t){return ae(t).direction==="rtl"}var ht={convertOffsetParentRelativeRectToViewportRelativeRect:bd,getDocumentElement:Se,getClippingRect:wd,getOffsetParent:ys,getElementRects:_d,getClientRects:xd,getDimensions:Ad,getScale:ft,isElement:ie,isRTL:Id};var gs=rs,ln=ts,bs=os;var xs=ns;var dn=(t,e,o)=>{let n=new Map,i=o??{},a={...ht,...i.platform,_c:n};return es(t,e,{...i,platform:a})};function pn(t){return Ld(t)}function un(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ld(t){for(let e=t;e;e=un(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=un(t);e;e=un(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||ut(o)||e.tagName==="BODY"))return e}return null}async function kd(t,e,o){let n;return typeof o=="object"?n=o:n={placement:o},dn(t,e,{strategy:n.strategy,platform:{...ht,getOffsetParent:i=>ht.getOffsetParent(i,pn)},middleware:[bs({crossAxis:!0}),ln({allowedPlacements:[n.placement]})]})}async function Td(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,dn(t,e,{placement:l,strategy:i,platform:{...ht,getOffsetParent:p=>ht.getOffsetParent(p,pn)},middleware:[gs(s??4),ln({allowedPlacements:n}),xs({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 hn={};L(hn,{isSlotEmptyOrWithoutContent:()=>Nd});var Nd=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 Sn={};L(Sn,{FtdsBase:()=>xn,toFtdsBase:()=>yt});var bn={};L(bn,{ExportpartsUpdatedEvent:()=>Ye,FtLitElement:()=>B});var mn={};L(mn,{ScopedRegistryLitElement:()=>Ht});var Ht=class extends ge{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 Ot(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){Nt(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 gn={};L(gn,{shadowQuerySelector:()=>yn,shadowQuerySelectorAll:()=>Pd});function yn(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 Pd(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 mt=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},Cs,Ss=Symbol("constructorPrototype"),vs=Symbol("constructorName"),Os=Symbol("exportpartsDebouncer"),Es=Symbol("dynamicDependenciesLoaded"),Ye=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Ye.eventName="exportparts-updated";var B=class extends Ht{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Cs]=new _e(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[Os].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[vs]=this.constructor.name,this[Ss]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[vs]&&Object.setPrototypeOf(this,this[Ss])}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[Es]||(o[Es]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Ye.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Ye.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 Ye)})}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=yn(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=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=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...S].filter(u).map(v=>v.trim());for(let v of C)h.add(v)}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(", ")}};Cs=Os;mt([w()],B.prototype,"exportpartsPrefix",void 0);mt([fr([])],B.prototype,"exportpartsPrefixes",void 0);mt([w({reflect:!0})],B.prototype,"exportparts",void 0);mt([w()],B.prototype,"customStylesheet",void 0);mt([w()],B.prototype,"elementToFocus",void 0);mt([M()],B.prototype,"useAdoptedStyleSheets",void 0);var ws=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},yt=J(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Dt.medium,this.family=be.neutral}getDesignSystemBaseClasses(){return{[Yo(this.family)]:!0,[Xo(this.size)]:!0}}}return ws([w()],e.prototype,"size",void 0),ws([w()],e.prototype,"family",void 0),e}),xn=class extends yt(B){};var As={};var En={};L(En,{highlightHtml:()=>Md,highlightHtmlColorCssVariable:()=>Rs,highlightHtmlStyles:()=>Dd});var Xe=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,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>u.push(b),i)}),u.push(p);u.forEach(m=>{n(m)}),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 Vt=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 Xe(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 Xe.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),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>=l&&(e.nodes[S].start>0&&S!==l&&(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(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,m)=>{e.lastIndex=m,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,m=>o(m,l,a.value.substring(p,h),u),m=>{n(m,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,(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,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=Xe.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function vn(t){let e=new Vt(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 Fd=vn,Rs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Dd=P`
5
5
  .highlight-html-match {
6
- background: ${As};
6
+ background: ${Rs};
7
7
  }
8
- `;function Md(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Fd(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 En={};L(En,{noTextInputDefaultClearButton:()=>$d,noTextSelect:()=>Ud,safariEllipsisFix:()=>Gt,wordWrap:()=>Bd});var Ud=N`
8
+ `;function Md(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Fd(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 Cn={};L(Cn,{noTextInputDefaultClearButton:()=>$d,noTextSelect:()=>Ud,safariEllipsisFix:()=>Gt,wordWrap:()=>Bd});var Ud=P`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,Bd=N`
17
+ `,Bd=P`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,Gt=N`
29
+ `,Gt=P`
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
- `,$d=N`
40
+ `,$d=P`
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 Rs={};var On={};L(On,{ParametrizedLabelResolver:()=>Cn});var Cn=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 Kn={};L(Kn,{FtCommandQueue:()=>Wt,FtLitElementRedux:()=>wn,FtReduxStore:()=>Wn,FtStateManager:()=>jn,ReduxWatcher:()=>Hr,clearAllStores:()=>Uu,isFtReduxStore:()=>gt,redux:()=>Hd,reduxEventListener:()=>Vd,reduxReactive:()=>zd,watch:()=>Bu,withRedux:()=>_s});var zd=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Hd=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Re,attribute:!1,...e};w(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})}},Vd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Wt=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 gt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var jt=Symbol("internalReduxEventsUnsubscribers"),ke=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores"),_s=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[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Qe].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Qe].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Qe].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Qe].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[ke].has(s.store):this[ke].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[ke].set(s,l.subscribe(()=>this.updateFromStores())),this[jt].set(s,[]),gt(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[jt].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ke].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ke].has(s)&&this[ke].get(s)(),this[ke].delete(s),(l=this[jt].get(s))===null||l===void 0||l.forEach(u=>u()),this[jt].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=ke,o=Qe,n=jt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),wn=class extends _s(B){};function j(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 Gd=typeof Symbol=="function"&&Symbol.observable||"@@observable",Is=Gd,An=()=>Math.random().toString(36).substring(7).split("").join("."),Wd={INIT:`@@redux/INIT${An()}`,REPLACE:`@@redux/REPLACE${An()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${An()}`},Er=Wd;function Cr(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 Rn(t,e,o){if(typeof t!="function")throw new Error(j(2));if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(Rn)(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(j(3));return i}function f(S){if(typeof S!="function")throw new Error(j(4));if(u)throw new Error(j(5));let C=!0;p();let I=l++;return s.set(I,S),function(){if(C){if(u)throw new Error(j(6));C=!1,p(),s.delete(I),a=null}}}function m(S){if(!Cr(S))throw new Error(j(7));if(typeof S.type>"u")throw new Error(j(8));if(typeof S.type!="string")throw new Error(j(17));if(u)throw new Error(j(9));try{u=!0,i=n(i,S)}finally{u=!1}return(a=s).forEach(I=>{I()}),S}function b(S){if(typeof S!="function")throw new Error(j(10));n=S,m({type:Er.REPLACE})}function v(){let S=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(j(11));function I(){let g=C;g.next&&g.next(h())}return I(),{unsubscribe:S(I)}},[Is](){return this}}}return m({type:Er.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[Is]:v}}function jd(t){Object.keys(t).forEach(e=>{let o=t[e];if(typeof o(void 0,{type:Er.INIT})>"u")throw new Error(j(12));if(typeof o(void 0,{type:Er.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Ls(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{jd(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 m=n[f],b=o[m],v=l[m],E=b(v,u);if(typeof E>"u"){let S=u&&u.type;throw new Error(j(14))}h[m]=E,p=p||E!==v}return p=p||n.length!==Object.keys(l).length,p?h:l}}function Kt(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,o)=>(...n)=>e(o(...n)))}function ks(...t){return e=>(o,n)=>{let i=e(o,n),a=()=>{throw new Error(j(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},l=t.map(u=>u(s));return a=Kt(...l)(i.dispatch),{...i,dispatch:a}}}function Ts(t){return Cr(t)&&"type"in t&&typeof t.type=="string"}var zs=Symbol.for("immer-nothing"),Ps=Symbol.for("immer-draftable"),K=Symbol.for("immer-state");function se(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var ee=Object,xt=ee.getPrototypeOf,Rr="constructor",Pr="prototype",kn="configurable",_r="enumerable",wr="writable",Zt="value",he=t=>!!t&&!!t[K];function te(t){return t?Hs(t)||Fr(t)||!!t[Ps]||!!t[Rr]?.[Ps]||Dr(t)||Mr(t):!1}var Kd=ee[Pr][Rr].toString(),Ns=new WeakMap;function Hs(t){if(!t||!Bn(t))return!1;let e=xt(t);if(e===null||e===ee[Pr])return!0;let o=ee.hasOwnProperty.call(e,Rr)&&e[Rr];if(o===Object)return!0;if(!bt(o))return!1;let n=Ns.get(o);return n===void 0&&(n=Function.toString.call(o),Ns.set(o,n)),n===Kd}function Nr(t,e,o=!0){Xt(t)===0?(o?Reflect.ownKeys(t):ee.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Xt(t){let e=t[K];return e?e.type_:Fr(t)?1:Dr(t)?2:Mr(t)?3:0}var _n=(t,e,o=Xt(t))=>o===2?t.has(e):ee[Pr].hasOwnProperty.call(t,e),Tn=(t,e,o=Xt(t))=>o===2?t.get(e):t[e],Ir=(t,e,o,n=Xt(t))=>{n===2?t.set(e,o):n===3?t.add(o):t[e]=o};function Zd(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var Fr=Array.isArray,Dr=t=>t instanceof Map,Mr=t=>t instanceof Set,Bn=t=>typeof t=="object",bt=t=>typeof t=="function",In=t=>typeof t=="boolean";function qd(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var Se=t=>t.copy_||t.base_;var $n=t=>t.modified_?t.copy_:t.base_;function Pn(t,e){if(Dr(t))return new Map(t);if(Mr(t))return new Set(t);if(Fr(t))return Array[Pr].slice.call(t);let o=Hs(t);if(e===!0||e==="class_only"&&!o){let n=ee.getOwnPropertyDescriptors(t);delete n[K];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[wr]===!1&&(l[wr]=!0,l[kn]=!0),(l.get||l.set)&&(n[s]={[kn]:!0,[wr]:!0,[_r]:l[_r],[Zt]:t[s]})}return ee.create(xt(t),n)}else{let n=xt(t);if(n!==null&&o)return{...t};let i=ee.create(n);return ee.assign(i,t)}}function zn(t,e=!1){return Ur(t)||he(t)||!te(t)||(Xt(t)>1&&ee.defineProperties(t,{set:Or,add:Or,clear:Or,delete:Or}),ee.freeze(t),e&&Nr(t,(o,n)=>{zn(n,!0)},!1)),t}function Yd(){se(2)}var Or={[Zt]:Yd};function Ur(t){return t===null||!Bn(t)?!0:ee.isFrozen(t)}var Lr="MapSet",Nn="Patches",Fs="ArrayMethods",Vs={};function Je(t){let e=Vs[t];return e||se(0,t),e}var Ds=t=>!!Vs[t];var qt,Gs=()=>qt,Xd=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ds(Lr)?Je(Lr):void 0,arrayMethodsPlugin_:Ds(Fs)?Je(Fs):void 0});function Ms(t,e){e&&(t.patchPlugin_=Je(Nn),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Fn(t){Dn(t),t.drafts_.forEach(Qd),t.drafts_=null}function Dn(t){t===qt&&(qt=t.parent_)}var Us=t=>qt=Xd(qt,t);function Qd(t){let e=t[K];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Bs(t,e){e.unfinalizedDrafts_=e.drafts_.length;let o=e.drafts_[0];if(t!==void 0&&t!==o){o[K].modified_&&(Fn(e),se(4)),te(t)&&(t=$s(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(o[K].base_,t,e)}else t=$s(e,o);return Jd(e,t,!0),Fn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==zs?t:void 0}function $s(t,e){if(Ur(e))return e;let o=e[K];if(!o)return kr(e,t.handledSet_,t);if(!Br(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);Ks(o,t)}return o.copy_}function Jd(t,e,o=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&zn(e,o)}function Ws(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var Br=(t,e)=>t.scope_===e,eu=[];function js(t,e,o,n){let i=Se(t),a=t.type_;if(n!==void 0&&Tn(i,n,a)===e){Ir(i,n,o,a);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Nr(i,(u,p)=>{if(he(p)){let h=l.get(p)||[];h.push(u),l.set(p,h)}})}let s=t.draftLocations_.get(e)??eu;for(let l of s)Ir(i,l,o,a)}function tu(t,e,o){t.callbacks_.push(function(i){let a=e;if(!a||!Br(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=$n(a);js(t,a.draft_??a,s,o),Ks(a,i)})}function Ks(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 ru(t,e,o){let{scope_:n}=t;if(he(o)){let i=o[K];Br(i,n)&&i.callbacks_.push(function(){Ar(t);let s=$n(i);js(t,o,s,e)})}else te(o)&&t.callbacks_.push(function(){let a=Se(t);t.type_===3?a.has(o)&&kr(o,n.handledSet_,n):Tn(a,e,t.type_)===o&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&kr(Tn(t.copy_,e,t.type_),n.handledSet_,n)})}function kr(t,e,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||he(t)||e.has(t)||!te(t)||Ur(t)||(e.add(t),Nr(t,(n,i)=>{if(he(i)){let a=i[K];if(Br(a,o)){let s=$n(a);Ir(t,n,s,t.type_),Ws(a)}}else te(i)&&kr(i,e,o)})),t}function ou(t,e){let o=Fr(t),n={type_:o?1:0,scope_:e?e.scope_:Gs(),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=Tr;o&&(i=[n],a=Yt);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var Tr={get(t,e){if(e===K)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=Se(t);if(!_n(i,e,t.type_))return iu(t,i,e);let a=i[e];if(t.finalized_||!te(a)||n&&t.operationMethod&&o?.isMutatingArrayMethod(t.operationMethod)&&qd(e))return a;if(a===Ln(t.base_,e)||nu(t,e,a)){Ar(t);let s=t.type_===1?+e:e,l=Un(t.scope_,a,t,s);return t.copy_[s]=l}return a},has(t,e){return e in Se(t)},ownKeys(t){return Reflect.ownKeys(Se(t))},set(t,e,o){let n=Zs(Se(t),e);if(n?.set)return n.set.call(t.draft_,o),!0;if(!t.modified_){let i=Ln(Se(t),e),a=i?.[K];if(a&&a.base_===o)return t.copy_[e]=o,t.assigned_.set(e,!1),!0;if(Zd(o,i)&&(o!==void 0||_n(t.base_,e,t.type_)))return!0;Ar(t),Mn(t)}return t.copy_[e]===o&&(o!==void 0||_n(t.copy_,e,t.type_))||Number.isNaN(o)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=o,t.assigned_.set(e,!0),ru(t,e,o)),!0},deleteProperty(t,e){return Ar(t),Ln(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Mn(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let o=Se(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{[wr]:!0,[kn]:t.type_!==1||e!=="length",[_r]:n[_r],[Zt]:o[e]}},defineProperty(){se(11)},getPrototypeOf(t){return xt(t.base_)},setPrototypeOf(){se(12)}},Yt={};for(let t in Tr){let e=Tr[t];Yt[t]=function(){let o=arguments;return o[0]=o[0][0],e.apply(this,o)}}Yt.deleteProperty=function(t,e){return Yt.set.call(this,t,e,void 0)};Yt.set=function(t,e,o){return Tr.set.call(this,t[0],e,o,t[0])};function Ln(t,e){let o=t[K];return(o?Se(o):t)[e]}function nu(t,e,o){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!te(o)||o[K]?!1:t.baseRefs_.has(o)}function iu(t,e,o){let n=Zs(e,o);return n?Zt in n?n[Zt]:n.get?.call(t.draft_):void 0}function Zs(t,e){if(!(e in t))return;let o=xt(t);for(;o;){let n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=xt(o)}}function Mn(t){t.modified_||(t.modified_=!0,t.parent_&&Mn(t.parent_))}function Ar(t){t.copy_||(t.assigned_=new Map,t.copy_=Pn(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var au=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,o,n)=>{if(bt(e)&&!bt(o)){let a=o;o=e;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}bt(o)||se(6),n!==void 0&&!bt(n)&&se(7);let i;if(te(e)){let a=Us(this),s=Un(a,e,void 0),l=!0;try{i=o(s),l=!1}finally{l?Fn(a):Dn(a)}return Ms(a,n),Bs(i,a)}else if(!e||!Bn(e)){if(i=o(e),i===void 0&&(i=e),i===zs&&(i=void 0),this.autoFreeze_&&zn(i,!0),n){let a=[],s=[];Je(Nn).generateReplacementPatches_(e,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else se(1,e)},this.produceWithPatches=(e,o)=>{if(bt(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]},In(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),In(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),In(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){te(t)||se(8),he(t)&&(t=qs(t));let e=Us(this),o=Un(e,t,void 0);return o[K].isManual_=!0,Dn(e),o}finishDraft(t,e){let o=t&&t[K];(!o||!o.isManual_)&&se(9);let{scope_:n}=o;return Ms(n,e),Bs(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=Je(Nn).applyPatches_;return he(t)?n(t,e):this.produce(t,i=>n(i,e))}};function Un(t,e,o,n){let[i,a]=Dr(e)?Je(Lr).proxyMap_(e,o):Mr(e)?Je(Lr).proxySet_(e,o):ou(e,o);return(o?.scope_??Gs()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?tu(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 qs(t){return he(t)||se(10,t),Ys(t)}function Ys(t){if(!te(t)||Ur(t))return t;let e=t[K],o,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,o=Pn(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else o=Pn(t,!0);return Nr(o,(i,a)=>{Ir(o,i,Ys(a))},n),e&&(e.finalized_=!1),o}var su=globalThis.Iterator,Eb=typeof su?.from=="function";var cu=new au,Hn=cu.produce;function Xs(t){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,t):i(a)}var Qs=Xs(),Js=Xs;var lu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Kt:Kt.apply(null,arguments)},Ib=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}},du=t=>t&&typeof t.match=="function";function Te(t,e){function o(...n){if(e){let i=e(...n);if(!i)throw new Error(Ee(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=>Ts(n)&&n.type===t,o}var nc=class Qt extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,Qt.prototype)}static get[Symbol.species](){return Qt}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new Qt(...e[0].concat(this)):new Qt(...e.concat(this))}};function ec(t){return te(t)?Hn(t,()=>{}):t}function $r(t,e,o){return t.has(e)?t.get(e):t.set(e,o(e)).get(e)}function uu(t){return typeof t=="boolean"}var pu=()=>function(e){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=e??{},s=new nc;return o&&(uu(o)?s.push(Qs):s.push(Js(o.extraArgument))),s},fu="RTK_autoBatch";var tc=t=>e=>{setTimeout(e,t)},hu=(t,e)=>o=>{let n=!1,i=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(s),o())},a=t(i),s=setTimeout(i,e)},mu=(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?hu(window.requestAnimationFrame,100):tc(10):t.type==="callback"?t.queueNotification:tc(t.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[fu],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},yu=t=>function(o){let{autoBatch:n=!0}=o??{},i=new nc(t);return n&&i.push(mu(typeof n=="object"?n:void 0)),i};function ic(t){let e=pu(),{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(Cr(o))u=Ls(o);else throw new Error(Ee(1));let p;typeof n=="function"?p=n(e):p=e();let h=Kt;i&&(h=lu({trace:!1,...typeof i=="object"&&i}));let f=ks(...p),m=yu(f),b=typeof l=="function"?l(m):m(),v=h(...b);return Rn(u,s,v)}function ac(t){let e={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(Ee(28));if(l in e)throw new Error(Ee(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 gu(t){return typeof t=="function"}function bu(t,e){let[o,n,i]=ac(e),a;if(gu(t))a=()=>ec(t());else{let l=ec(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(he(h)){let b=f(h,u);return b===void 0?h:b}else{if(te(h))return Hn(h,m=>f(m,u));{let m=f(h,u);if(m===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}}return h},l)}return s.getInitialState=a,s}var xu=(t,e)=>du(t)?t.match(e):t(e);function vu(...t){return e=>t.some(o=>xu(o,e))}var Su="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Eu=(t=21)=>{let e="",o=t;for(;o--;)e+=Su[Math.random()*64|0];return e},Cu=["name","message","stack","code"],Vn=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},rc=class{constructor(t,e){this.payload=t,this.meta=e}payload;meta;_type},Ou=t=>{if(typeof t=="object"&&t!==null){let e={};for(let o of Cu)typeof t[o]=="string"&&(e[o]=t[o]);return e}return{message:String(t)}},oc="External signal was aborted",wu=(()=>{function t(e,o,n){let i=Te(e+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=Te(e+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=Te(e+"/rejected",(u,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Ou)(u||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:!!f,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function l(u,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(u):Eu(),v=new AbortController,E,S;function C(y){S=y,v.abort()}p&&(p.aborted?C(oc):p.addEventListener("abort",()=>C(oc),{once:!0}));let I=(async function(){let y;try{let x=n?.condition?.(u,{getState:f,extra:m});if(Ru(x)&&(x=await x),x===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let O=new Promise((A,k)=>{E=()=>{k({name:"AbortError",message:S||"Aborted"})},v.signal.addEventListener("abort",E,{once:!0})});h(a(b,u,n?.getPendingMeta?.({requestId:b,arg:u},{getState:f,extra:m}))),y=await Promise.race([O,Promise.resolve(o(u,{dispatch:h,getState:f,extra:m,requestId:b,signal:v.signal,abort:C,rejectWithValue:((A,k)=>new Vn(A,k)),fulfillWithValue:((A,k)=>new rc(A,k))})).then(A=>{if(A instanceof Vn)throw A;return A instanceof rc?i(A.payload,b,u,A.meta):i(A,b,u)})])}catch(x){y=x instanceof Vn?s(null,b,u,x.payload,x.meta):s(x,b,u)}finally{E&&v.signal.removeEventListener("abort",E)}return n&&!n.dispatchConditionRejection&&s.match(y)&&y.meta.condition||h(y),y})();return Object.assign(I,{abort:C,requestId:b,arg:u,unwrap(){return I.then(Au)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:vu(s,i),typePrefix:e})}return t.withTypes=()=>t,t})();function Au(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ru(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var sc=Symbol.for("rtk-slice-createasyncthunk"),kb={[sc]:wu};function _u(t,e){return`${t}/${e}`}function Iu({creators:t}={}){let e=t?.asyncThunk?.[sc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(Ee(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(ku()):n.reducers)||{},l=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(Ee(12));if(x in u.sliceCaseReducersByType)throw new Error(Ee(13));return u.sliceCaseReducersByType[x]=g,p},addMatcher(y,g){return u.sliceMatchers.push({matcher:y,reducer:g}),p},exposeAction(y,g){return u.actionCreators[y]=g,p},exposeCaseReducer(y,g){return u.sliceCaseReducersByName[y]=g,p}};l.forEach(y=>{let g=s[y],x={reducerName:y,type:_u(i,y),createNotation:typeof n.reducers=="function"};Pu(g)?Fu(x,g,p,e):Tu(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?ac(n.extraReducers):[n.extraReducers],O={...y,...u.sliceCaseReducersByType};return bu(n.initialState,A=>{for(let k in O)A.addCase(k,O[k]);for(let k of u.sliceMatchers)A.addMatcher(k.matcher,k.reducer);for(let k of g)A.addMatcher(k.matcher,k.reducer);x&&A.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,v;function E(y,g){return v||(v=h()),v(y,g)}function S(){return v||(v=h()),v.getInitialState()}function C(y,g=!1){function x(A){let k=A[y];return typeof k>"u"&&g&&(k=$r(b,x,S)),k}function O(A=f){let k=$r(m,g,()=>new WeakMap);return $r(k,A,()=>{let D={};for(let[R,T]of Object.entries(n.selectors??{}))D[R]=Lu(T,A,()=>$r(b,A,S),g);return D})}return{reducerPath:y,getSelectors:O,get selectors(){return O(x)},selectSlice:x}}let I={name:i,reducer:E,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:S,...C(a),injectInto(y,{reducerPath:g,...x}={}){let O=g??a;return y.inject({reducerPath:O,reducer:E},x),{...I,...C(O,!0)}}};return I}}function Lu(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 cc=Iu();function ku(){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 Tu({type:t,reducerName:e,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!Nu(n))throw new Error(Ee(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(t,a).exposeCaseReducer(e,a).exposeAction(e,s?Te(t,s):Te(t))}function Pu(t){return t._reducerDefinitionType==="asyncThunk"}function Nu(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Fu({type:t,reducerName:e},o,n,i){if(!i)throw new Error(Ee(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||zr,pending:l||zr,rejected:u||zr,settled:p||zr})}function zr(){}var lc="listener",dc="completed",uc="cancelled",Tb=`task-${uc}`,Pb=`task-${dc}`,Nb=`${lc}-${uc}`,Fb=`${lc}-${dc}`;var{assign:pc}=Object;var Gn="listenerMiddleware";var Du=pc(Te(`${Gn}/add`),{withTypes:()=>Du}),Db=Te(`${Gn}/removeAll`),Mu=pc(Te(`${Gn}/remove`),{withTypes:()=>Mu});function Ee(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 Wn=class t extends Ve{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(gt(a))return a;if(i==null)return;let s=cc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=ic({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=at(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)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Wt,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,l)=>{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];ze(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 Uu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))gt(e)&&e.clear()}var Hr=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);Re(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 Bu(t,e,o){return new Hr(t,e,o).watch()}var jn=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 Yn={};L(Yn,{scrollHelper:()=>$u});var Zn,Vr=new Map,qn=class{lock(e,o){if(o){let n=Vr.get(o);if(n==null||n===e)return Vr.set(o,e),o}}release(e,o){o&&Vr.get(o)===e&&Vr.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of go(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=$e(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=(Zn=window.FluidTopicsScrollHelper)!==null&&Zn!==void 0?Zn:new qn;var $u=window.FluidTopicsScrollHelper;var Qn={};L(Qn,{toFtFormComponent:()=>zu});var Xn=Symbol("elementInternals"),zu=J(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Xn].form}constructor(...n){super(n),this[Xn]=this.attachInternals()}setFormValue(n){this[Xn].setFormValue(n)}}return e});var ei={};L(ei,{DateFormatter:()=>Jn});var Jn=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 ri={};L(ri,{ALL_KEYS_VALUE:()=>ti,SameWindowStorageEvent:()=>vt});var ti="__all__",vt=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==ti}};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 vt(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 vt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new vt(ti))}});var ni={};L(ni,{FocusMainContentEvent:()=>oi});var oi=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var fc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Hu(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Vu(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Hu);document.addEventListener("click",Vu);var hc=N`
47
+ `;var _s={};var wn={};L(wn,{ParametrizedLabelResolver:()=>On});var On=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 Zn={};L(Zn,{FtCommandQueue:()=>Wt,FtLitElementRedux:()=>An,FtReduxStore:()=>jn,FtStateManager:()=>Kn,ReduxWatcher:()=>Vr,clearAllStores:()=>Uu,isFtReduxStore:()=>gt,redux:()=>Hd,reduxEventListener:()=>Vd,reduxReactive:()=>zd,watch:()=>Bu,withRedux:()=>Is});var zd=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Hd=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Re,attribute:!1,...e};w(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})}},Vd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Wt=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 gt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var jt=Symbol("internalReduxEventsUnsubscribers"),ke=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores"),Is=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[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Qe].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Qe].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Qe].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Qe].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[ke].has(s.store):this[ke].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[ke].set(s,l.subscribe(()=>this.updateFromStores())),this[jt].set(s,[]),gt(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[jt].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ke].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ke].has(s)&&this[ke].get(s)(),this[ke].delete(s),(l=this[jt].get(s))===null||l===void 0||l.forEach(u=>u()),this[jt].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=ke,o=Qe,n=jt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),An=class extends Is(B){};function j(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 Gd=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ls=Gd,Rn=()=>Math.random().toString(36).substring(7).split("").join("."),Wd={INIT:`@@redux/INIT${Rn()}`,REPLACE:`@@redux/REPLACE${Rn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Rn()}`},Er=Wd;function Cr(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 _n(t,e,o){if(typeof t!="function")throw new Error(j(2));if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(_n)(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((v,O)=>{s.set(O,v)}))}function h(){if(u)throw new Error(j(3));return i}function f(v){if(typeof v!="function")throw new Error(j(4));if(u)throw new Error(j(5));let O=!0;p();let I=l++;return s.set(I,v),function(){if(O){if(u)throw new Error(j(6));O=!1,p(),s.delete(I),a=null}}}function m(v){if(!Cr(v))throw new Error(j(7));if(typeof v.type>"u")throw new Error(j(8));if(typeof v.type!="string")throw new Error(j(17));if(u)throw new Error(j(9));try{u=!0,i=n(i,v)}finally{u=!1}return(a=s).forEach(I=>{I()}),v}function b(v){if(typeof v!="function")throw new Error(j(10));n=v,m({type:Er.REPLACE})}function S(){let v=f;return{subscribe(O){if(typeof O!="object"||O===null)throw new Error(j(11));function I(){let y=O;y.next&&y.next(h())}return I(),{unsubscribe:v(I)}},[Ls](){return this}}}return m({type:Er.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[Ls]:S}}function jd(t){Object.keys(t).forEach(e=>{let o=t[e];if(typeof o(void 0,{type:Er.INIT})>"u")throw new Error(j(12));if(typeof o(void 0,{type:Er.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function In(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{jd(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 m=n[f],b=o[m],S=l[m],C=b(S,u);if(typeof C>"u"){let v=u&&u.type;throw new Error(j(14))}h[m]=C,p=p||C!==S}return p=p||n.length!==Object.keys(l).length,p?h:l}}function Kt(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,o)=>(...n)=>e(o(...n)))}function ks(...t){return e=>(o,n)=>{let i=e(o,n),a=()=>{throw new Error(j(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},l=t.map(u=>u(s));return a=Kt(...l)(i.dispatch),{...i,dispatch:a}}}function Ts(t){return Cr(t)&&"type"in t&&typeof t.type=="string"}var zs=Symbol.for("immer-nothing"),Ns=Symbol.for("immer-draftable"),K=Symbol.for("immer-state");function se(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var ee=Object,xt=ee.getPrototypeOf,Rr="constructor",Nr="prototype",Nn="configurable",_r="enumerable",wr="writable",Zt="value",he=t=>!!t&&!!t[K];function te(t){return t?Hs(t)||Fr(t)||!!t[Ns]||!!t[Rr]?.[Ns]||Dr(t)||Mr(t):!1}var Kd=ee[Nr][Rr].toString(),Ps=new WeakMap;function Hs(t){if(!t||!zn(t))return!1;let e=xt(t);if(e===null||e===ee[Nr])return!0;let o=ee.hasOwnProperty.call(e,Rr)&&e[Rr];if(o===Object)return!0;if(!bt(o))return!1;let n=Ps.get(o);return n===void 0&&(n=Function.toString.call(o),Ps.set(o,n)),n===Kd}function Pr(t,e,o=!0){Xt(t)===0?(o?Reflect.ownKeys(t):ee.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function Xt(t){let e=t[K];return e?e.type_:Fr(t)?1:Dr(t)?2:Mr(t)?3:0}var Ln=(t,e,o=Xt(t))=>o===2?t.has(e):ee[Nr].hasOwnProperty.call(t,e),Pn=(t,e,o=Xt(t))=>o===2?t.get(e):t[e],Ir=(t,e,o,n=Xt(t))=>{n===2?t.set(e,o):n===3?t.add(o):t[e]=o};function Zd(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var Fr=Array.isArray,Dr=t=>t instanceof Map,Mr=t=>t instanceof Set,zn=t=>typeof t=="object",bt=t=>typeof t=="function",kn=t=>typeof t=="boolean";function qd(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var Ee=t=>t.copy_||t.base_;var Hn=t=>t.modified_?t.copy_:t.base_;function Fn(t,e){if(Dr(t))return new Map(t);if(Mr(t))return new Set(t);if(Fr(t))return Array[Nr].slice.call(t);let o=Hs(t);if(e===!0||e==="class_only"&&!o){let n=ee.getOwnPropertyDescriptors(t);delete n[K];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[wr]===!1&&(l[wr]=!0,l[Nn]=!0),(l.get||l.set)&&(n[s]={[Nn]:!0,[wr]:!0,[_r]:l[_r],[Zt]:t[s]})}return ee.create(xt(t),n)}else{let n=xt(t);if(n!==null&&o)return{...t};let i=ee.create(n);return ee.assign(i,t)}}function Ur(t,e=!1){return Br(t)||he(t)||!te(t)||(Xt(t)>1&&ee.defineProperties(t,{set:Or,add:Or,clear:Or,delete:Or}),ee.freeze(t),e&&Pr(t,(o,n)=>{Ur(n,!0)},!1)),t}function Yd(){se(2)}var Or={[Zt]:Yd};function Br(t){return t===null||!zn(t)?!0:ee.isFrozen(t)}var Lr="MapSet",Dn="Patches",Fs="ArrayMethods",Vs={};function Je(t){let e=Vs[t];return e||se(0,t),e}var Ds=t=>!!Vs[t];var qt,Gs=()=>qt,Xd=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ds(Lr)?Je(Lr):void 0,arrayMethodsPlugin_:Ds(Fs)?Je(Fs):void 0});function Ms(t,e){e&&(t.patchPlugin_=Je(Dn),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Mn(t){Un(t),t.drafts_.forEach(Qd),t.drafts_=null}function Un(t){t===qt&&(qt=t.parent_)}var Us=t=>qt=Xd(qt,t);function Qd(t){let e=t[K];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Bs(t,e){e.unfinalizedDrafts_=e.drafts_.length;let o=e.drafts_[0];if(t!==void 0&&t!==o){o[K].modified_&&(Mn(e),se(4)),te(t)&&(t=$s(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(o[K].base_,t,e)}else t=$s(e,o);return Jd(e,t,!0),Mn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==zs?t:void 0}function $s(t,e){if(Br(e))return e;let o=e[K];if(!o)return kr(e,t.handledSet_,t);if(!$r(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);Ks(o,t)}return o.copy_}function Jd(t,e,o=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Ur(e,o)}function Ws(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var $r=(t,e)=>t.scope_===e,eu=[];function js(t,e,o,n){let i=Ee(t),a=t.type_;if(n!==void 0&&Pn(i,n,a)===e){Ir(i,n,o,a);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Pr(i,(u,p)=>{if(he(p)){let h=l.get(p)||[];h.push(u),l.set(p,h)}})}let s=t.draftLocations_.get(e)??eu;for(let l of s)Ir(i,l,o,a)}function tu(t,e,o){t.callbacks_.push(function(i){let a=e;if(!a||!$r(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=Hn(a);js(t,a.draft_??a,s,o),Ks(a,i)})}function Ks(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 ru(t,e,o){let{scope_:n}=t;if(he(o)){let i=o[K];$r(i,n)&&i.callbacks_.push(function(){Ar(t);let s=Hn(i);js(t,o,s,e)})}else te(o)&&t.callbacks_.push(function(){let a=Ee(t);t.type_===3?a.has(o)&&kr(o,n.handledSet_,n):Pn(a,e,t.type_)===o&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&kr(Pn(t.copy_,e,t.type_),n.handledSet_,n)})}function kr(t,e,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||he(t)||e.has(t)||!te(t)||Br(t)||(e.add(t),Pr(t,(n,i)=>{if(he(i)){let a=i[K];if($r(a,o)){let s=Hn(a);Ir(t,n,s,t.type_),Ws(a)}}else te(i)&&kr(i,e,o)})),t}function ou(t,e){let o=Fr(t),n={type_:o?1:0,scope_:e?e.scope_:Gs(),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=Tr;o&&(i=[n],a=Yt);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var Tr={get(t,e){if(e===K)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=Ee(t);if(!Ln(i,e,t.type_))return iu(t,i,e);let a=i[e];if(t.finalized_||!te(a)||n&&t.operationMethod&&o?.isMutatingArrayMethod(t.operationMethod)&&qd(e))return a;if(a===Tn(t.base_,e)||nu(t,e,a)){Ar(t);let s=t.type_===1?+e:e,l=$n(t.scope_,a,t,s);return t.copy_[s]=l}return a},has(t,e){return e in Ee(t)},ownKeys(t){return Reflect.ownKeys(Ee(t))},set(t,e,o){let n=Zs(Ee(t),e);if(n?.set)return n.set.call(t.draft_,o),!0;if(!t.modified_){let i=Tn(Ee(t),e),a=i?.[K];if(a&&a.base_===o)return t.copy_[e]=o,t.assigned_.delete(e),!0;if(Zd(o,i)&&(o!==void 0||Ln(t.base_,e,t.type_)))return!0;Ar(t),Bn(t)}return t.copy_[e]===o&&(o!==void 0||Ln(t.copy_,e,t.type_))||Number.isNaN(o)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=o,t.assigned_.set(e,!0),ru(t,e,o)),!0},deleteProperty(t,e){return Ar(t),Tn(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Bn(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let o=Ee(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{[wr]:!0,[Nn]:t.type_!==1||e!=="length",[_r]:n[_r],[Zt]:o[e]}},defineProperty(){se(11)},getPrototypeOf(t){return xt(t.base_)},setPrototypeOf(){se(12)}},Yt={};for(let t in Tr){let e=Tr[t];Yt[t]=function(){let o=arguments;return o[0]=o[0][0],e.apply(this,o)}}Yt.deleteProperty=function(t,e){return Yt.set.call(this,t,e,void 0)};Yt.set=function(t,e,o){return Tr.set.call(this,t[0],e,o,t[0])};function Tn(t,e){let o=t[K];return(o?Ee(o):t)[e]}function nu(t,e,o){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!te(o)||o[K]?!1:t.baseRefs_.has(o)}function iu(t,e,o){let n=Zs(e,o);return n?Zt in n?n[Zt]:n.get?.call(t.draft_):void 0}function Zs(t,e){if(!(e in t))return;let o=xt(t);for(;o;){let n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=xt(o)}}function Bn(t){t.modified_||(t.modified_=!0,t.parent_&&Bn(t.parent_))}function Ar(t){t.copy_||(t.assigned_=new Map,t.copy_=Fn(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var au=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,o,n)=>{if(bt(e)&&!bt(o)){let a=o;o=e;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}bt(o)||se(6),n!==void 0&&!bt(n)&&se(7);let i;if(te(e)){let a=Us(this),s=$n(a,e,void 0),l=!0;try{i=o(s),l=!1}finally{l?Mn(a):Un(a)}return Ms(a,n),Bs(i,a)}else if(!e||!zn(e)){if(i=o(e),i===void 0&&(i=e),i===zs&&(i=void 0),this.autoFreeze_&&Ur(i,!0),n){let a=[],s=[];Je(Dn).generateReplacementPatches_(e,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else se(1,e)},this.produceWithPatches=(e,o)=>{if(bt(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]},kn(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),kn(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),kn(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){te(t)||se(8),he(t)&&(t=qs(t));let e=Us(this),o=$n(e,t,void 0);return o[K].isManual_=!0,Un(e),o}finishDraft(t,e){let o=t&&t[K];(!o||!o.isManual_)&&se(9);let{scope_:n}=o;return Ms(n,e),Bs(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=Je(Dn).applyPatches_;return he(t)?n(t,e):this.produce(t,i=>n(i,e))}};function $n(t,e,o,n){let[i,a]=Dr(e)?Je(Lr).proxyMap_(e,o):Mr(e)?Je(Lr).proxySet_(e,o):ou(e,o);return(o?.scope_??Gs()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?tu(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 qs(t){return he(t)||se(10,t),Ys(t)}function Ys(t){if(!te(t)||Br(t))return t;let e=t[K],o,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,o=Fn(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else o=Fn(t,!0);return Pr(o,(i,a)=>{Ir(o,i,Ys(a))},n),e&&(e.finalized_=!1),o}var su=globalThis.Iterator,Eb=typeof su?.from=="function";var cu=new au,Vn=cu.produce;function Xs(t){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,t):i(a)}var Qs=Xs(),Js=Xs;var lu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Kt:Kt.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var du=t=>t&&typeof t.match=="function";function Te(t,e){function o(...n){if(e){let i=e(...n);if(!i)throw new Error(me(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=>Ts(n)&&n.type===t,o}var nc=class Qt extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,Qt.prototype)}static get[Symbol.species](){return Qt}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new Qt(...e[0].concat(this)):new Qt(...e.concat(this))}};function ec(t){return te(t)?Vn(t,()=>{}):t}function zr(t,e,o){return t.has(e)?t.get(e):t.set(e,o(e)).get(e)}function uu(t){return typeof t=="boolean"}var pu=()=>function(e){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=e??{},s=new nc;return o&&(uu(o)?s.push(Qs):s.push(Js(o.extraArgument))),s},fu="RTK_autoBatch";var tc=t=>e=>{setTimeout(e,t)},hu=(t,e)=>o=>{let n=!1,i,a,s=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(a),o())};i=t(s),a=setTimeout(s,e)},mu=(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?hu(window.requestAnimationFrame,100):tc(10):t.type==="callback"?t.queueNotification:tc(t.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[fu],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},yu=t=>function(o){let{autoBatch:n=!0}=o??{},i=new nc(t);return n&&i.push(mu(typeof n=="object"?n:void 0)),i};function ic(t){let e=pu(),{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(Cr(o))u=In(o);else throw new Error(me(1));let p;typeof n=="function"?p=n(e):p=e();let h=Kt;i&&(h=lu({trace:!1,...typeof i=="object"&&i}));let f=ks(...p),m=yu(f),b=typeof l=="function"?l(m):m(),S=h(...b);return _n(u,s,S)}function ac(t){let e={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(me(28));if(l in e)throw new Error(me(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 gu(t){return typeof t=="function"}function bu(t,e){let[o,n,i]=ac(e),a;if(gu(t))a=()=>ec(t());else{let l=ec(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(he(h)){let m=f(h,u);return m===void 0?h:m}else{if(te(h))return Vn(h,m=>f(m,u));{let m=f(h,u);if(m===void 0){if(h===null)return h;throw new Error(me(9))}return m}}return h},l)}return s.getInitialState=a,s}var xu=(t,e)=>du(t)?t.match(e):t(e);function Su(...t){return e=>t.some(o=>xu(o,e))}var vu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Eu=(t=21)=>{let e="",o=t;for(;o--;)e+=vu[Math.random()*64|0];return e},Cu=["name","message","stack","code"],Gn=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},rc=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Ou=t=>{if(typeof t=="object"&&t!==null){let e={};for(let o of Cu)typeof t[o]=="string"&&(e[o]=t[o]);return e}return{message:String(t)}},oc="External signal was aborted",wu=(()=>{function t(e,o,n){let i=Te(e+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=Te(e+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=Te(e+"/rejected",(u,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Ou)(u||"Rejected"),meta:{...m||{},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,m)=>{let b=n?.idGenerator?n.idGenerator(u):Eu(),S=new AbortController,C,v;function O(g){v=g,S.abort()}p&&(p.aborted?O(oc):p.addEventListener("abort",()=>O(oc),{once:!0}));let I=(async function(){let g;try{let y=n?.condition?.(u,{getState:f,extra:m});if(Ru(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:v||"Aborted"};let x=new Promise((E,R)=>{C=()=>{R({name:"AbortError",message:v||"Aborted"})},S.signal.addEventListener("abort",C,{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:O,rejectWithValue:((E,R)=>new Gn(E,R)),fulfillWithValue:((E,R)=>new rc(E,R))})).then(E=>{if(E instanceof Gn)throw E;return E instanceof rc?i(E.payload,b,u,E.meta):i(E,b,u)})])}catch(y){g=y instanceof Gn?s(null,b,u,y.payload,y.meta):s(y,b,u)}finally{C&&S.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||h(g),g})();return Object.assign(I,{abort:O,requestId:b,arg:u,unwrap(){return I.then(Au)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:Su(s,i),typePrefix:e})}return t.withTypes=()=>t,t})();function Au(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ru(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var sc=Symbol.for("rtk-slice-createasyncthunk"),Lb={[sc]:wu};function _u(t,e){return`${t}/${e}`}function Iu({creators:t}={}){let e=t?.asyncThunk?.[sc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(me(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(ku()):n.reducers)||{},l=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(me(12));if(x in u.sliceCaseReducersByType)throw new Error(me(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}};l.forEach(g=>{let y=s[g],x={reducerName:g,type:_u(i,g),createNotation:typeof n.reducers=="function"};Nu(y)?Fu(x,y,p,e):Tu(x,y,p)});function h(){let[g={},y=[],x=void 0]=typeof n.extraReducers=="function"?ac(n.extraReducers):[n.extraReducers],E={...g,...u.sliceCaseReducersByType};return bu(n.initialState,R=>{for(let N in E)R.addCase(N,E[N]);for(let N of u.sliceMatchers)R.addMatcher(N.matcher,N.reducer);for(let N of y)R.addMatcher(N.matcher,N.reducer);x&&R.addDefaultCase(x)})}let f=g=>g,m=new Map,b=new WeakMap,S;function C(g,y){return S||(S=h()),S(g,y)}function v(){return S||(S=h()),S.getInitialState()}function O(g,y=!1){function x(R){let N=R[g];return typeof N>"u"&&y&&(N=zr(b,x,v)),N}function E(R=f){return zr(zr(m,y,()=>new WeakMap),R,()=>{let N={};for(let[D,A]of Object.entries(n.selectors??{}))N[D]=Lu(A,R,()=>zr(b,R,v),y);return N})}return{reducerPath:g,getSelectors:E,get selectors(){return E(x)},selectSlice:x}}let I={name:i,reducer:C,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:v,...O(a),injectInto(g,{reducerPath:y,...x}={}){let E=y??a;return g.inject({reducerPath:E,reducer:C},x),{...I,...O(E,!0)}}};return I}}function Lu(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 cc=Iu();function ku(){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 Tu({type:t,reducerName:e,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!Pu(n))throw new Error(me(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(t,a).exposeCaseReducer(e,a).exposeAction(e,s?Te(t,s):Te(t))}function Nu(t){return t._reducerDefinitionType==="asyncThunk"}function Pu(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Fu({type:t,reducerName:e},o,n,i){if(!i)throw new Error(me(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||Hr,pending:l||Hr,rejected:u||Hr,settled:p||Hr})}function Hr(){}var lc="listener",dc="completed",uc="cancelled",kb=`task-${uc}`,Tb=`task-${dc}`,Nb=`${lc}-${uc}`,Pb=`${lc}-${dc}`;var{assign:pc}=Object;var Wn="listenerMiddleware";var Du=pc(Te(`${Wn}/add`),{withTypes:()=>Du}),Fb=Te(`${Wn}/removeAll`),Mu=pc(Te(`${Wn}/remove`),{withTypes:()=>Mu});function me(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 jn=class t extends Ve{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(gt(a))return a;if(i==null)return;let s=cc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=ic({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=at(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)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Wt,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,l)=>{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];ze(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 Uu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))gt(e)&&e.clear()}var Vr=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);Re(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 Bu(t,e,o){return new Vr(t,e,o).watch()}var Kn=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={};L(Xn,{scrollHelper:()=>$u});var qn,Gr=new Map,Yn=class{lock(e,o){if(o){let n=Gr.get(o);if(n==null||n===e)return Gr.set(o,e),o}}release(e,o){o&&Gr.get(o)===e&&Gr.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of bo(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=$e(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=(qn=window.FluidTopicsScrollHelper)!==null&&qn!==void 0?qn:new Yn;var $u=window.FluidTopicsScrollHelper;var Jn={};L(Jn,{toFtFormComponent:()=>zu});var Qn=Symbol("elementInternals"),zu=J(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Qn].form}constructor(...n){super(n),this[Qn]=this.attachInternals()}setFormValue(n){this[Qn].setFormValue(n)}}return e});var ti={};L(ti,{DateFormatter:()=>ei});var ei=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 oi={};L(oi,{ALL_KEYS_VALUE:()=>ri,SameWindowStorageEvent:()=>St});var ri="__all__",St=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==ri}};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 St(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 St(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new St(ri))}});var ii={};L(ii,{FocusMainContentEvent:()=>ni});var ni=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var fc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Hu(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Vu(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Hu);document.addEventListener("click",Vu);var hc=P`
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 ii={};L(ii,{withAriaNotification:()=>Wu});var Gu={checkVisibility:!0},Wu=J(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Gu,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Nt({type:"aria",message:n})))},20)}}return e});var ai={};L(ai,{withConditionalVisibility:()=>ju});var mc=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 ju(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 mc([w({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),mc([M()],e.prototype,"isVisible",void 0),e}var ci={};L(ci,{FormController:()=>si});function Ku(t){let e={};for(let o of Object.keys(t))e[o]=t[o].initial;return e}var si=class{constructor(e,o){this.host=e,this.config=o,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Ku(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=wo(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 di={};L(di,{MetadataValueLocalizer:()=>li});var li=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 ui(t,e){return e.map(o=>o(t)).filter(o=>o!==!0).map(o=>o)}function yc(t,e,o){return t?e(t):o?.(t)}var V=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},et;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(et||(et={}));var Pe;(function(t){t.default="default",t.warning="warning",t.error="error"})(Pe||(Pe={}));var pi=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var Sx=J(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=et.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Pe.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===et.blur||this.validateOn===et.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Pe.default&&this.validateOn===et.blurWithStatusResolutionOnInput||this.validateOn===et.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...ui(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=ui(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new pi(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return Z`
71
+ `;var ai={};L(ai,{withAriaNotification:()=>Wu});var Gu={checkVisibility:!0},Wu=J(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Gu,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Pt({type:"aria",message:n})))},20)}}return e});var si={};L(si,{withConditionalVisibility:()=>ju});var mc=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 ju(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 mc([w({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),mc([M()],e.prototype,"isVisible",void 0),e}var li={};L(li,{FormController:()=>ci});function Ku(t){let e={};for(let o of Object.keys(t))e[o]=t[o].initial;return e}var ci=class{constructor(e,o){this.host=e,this.config=o,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Ku(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=Ao(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 ui={};L(ui,{MetadataValueLocalizer:()=>di});var di=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 pi(t,e){return e.map(o=>o(t)).filter(o=>o!==!0).map(o=>o)}function yc(t,e,o){return t?e(t):o?.(t)}var V=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},et;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(et||(et={}));var Ne;(function(t){t.default="default",t.warning="warning",t.error="error"})(Ne||(Ne={}));var fi=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var Sx=J(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=et.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ne.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===et.blur||this.validateOn===et.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ne.default&&this.validateOn===et.blurWithStatusResolutionOnInput||this.validateOn===et.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...pi(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=pi(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new fi(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return Z`
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
  ${ur(this.errorMessages,n=>Z`
@@ -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?Pe.error:this.warningMessages.length?Pe.warning:Pe.default}}return V([w()],e.prototype,"warningRules",void 0),V([w()],e.prototype,"errorRules",void 0),V([w()],e.prototype,"validateOn",void 0),V([w({type:Boolean})],e.prototype,"validateAtRender",void 0),V([w()],e.prototype,"label",void 0),V([w({type:Boolean})],e.prototype,"hideLabel",void 0),V([w()],e.prototype,"name",void 0),V([w({type:Boolean})],e.prototype,"disabled",void 0),V([w()],e.prototype,"helperText",void 0),V([w()],e.prototype,"forceStatus",void 0),V([w({reflect:!0})],e.prototype,"value",void 0),V([M()],e.prototype,"errorMessages",void 0),V([M()],e.prototype,"warningMessages",void 0),V([M()],e.prototype,"status",void 0),V([M()],e.prototype,"focused",void 0),V([M()],e.prototype,"additionalWarningRules",void 0),V([M()],e.prototype,"additionalErrorRules",void 0),V([M()],e.prototype,"forceErrorMessages",void 0),e});var Jt=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Jt(n,e);return!0},Gr=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},gc=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),Xu(e)}};function qu(t){this._$AN!==void 0?(Gr(this),this._$AM=t,gc(this)):this._$AM=t}function Yu(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++)Jt(n[a],!1),Gr(n[a]);else n!=null&&(Jt(n,!1),Gr(n));else Jt(this,t)}var Xu=t=>{t.type==de.CHILD&&(t._$AP??=Yu,t._$AQ??=qu)},St=class extends oe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),gc(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Jt(this,e),Gr(this))}setValue(e){if($i(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 fi=class extends St{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 z}update(e){return this.part=e,this.ensureFocusTrap(e.element),z}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 re&&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}},Kx=Q(fi);var bc;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(bc||(bc={}));var Qu={sm:640,md:768,lg:1024,xl:1280},hi=class extends St{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??(()=>F);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:Qu[e]}},Xx=Q(hi);var mi,yi,gi,bi,Ju=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((gi=(yi=(mi=window.safari)===null||mi===void 0?void 0:mi.pushNotification)===null||yi===void 0?void 0:yi.toString())!==null&&gi!==void 0?gi:"")==="[object SafariRemoteNotification]",ep="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(bi=window.ftGlobals)!==null&&bi!==void 0?bi:{lit:io,litDecorators:so,litRepeat:co,litClassMap:lo,litStyleMap:uo,litUnsafeHTML:po,wcUtils:{...fo,...Co,...mo,...To,...ei,...Po,...yo,...Qo,...So,...pn,...ni,...fc,...Yn,...fn,...Xo,...xn,...Qn,...gn,...ii,...ai,...ws,...bo,...Sn,...di,...Jo,...En,...hc,...Rs,...On,...Kn,...ri,...hn,...yn,...Ao,...Io,...ci,isSafari:Ju,isTouchScreen:ep,setVariable:W}};var xc=r.extend("--ft-ripple-color","",be.colorContent),G={color:xc,backgroundColor:r.extend("--ft-ripple-background-color","",xc),opacityContentOnSurfacePressed:r.external(be.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(be.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(be.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(be.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},vc=r.extend("--ft-ripple-color","",be.colorPrimary),Sc={color:vc,backgroundColor:r.extend("--ft-ripple-background-color","",vc)},Ec=r.extend("--ft-ripple-color","",be.colorSecondary),Cc={color:Ec,backgroundColor:r.extend("--ft-ripple-background-color","",Ec)},Oc=N`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ne.error:this.warningMessages.length?Ne.warning:Ne.default}}return V([w()],e.prototype,"warningRules",void 0),V([w()],e.prototype,"errorRules",void 0),V([w()],e.prototype,"validateOn",void 0),V([w({type:Boolean})],e.prototype,"validateAtRender",void 0),V([w()],e.prototype,"label",void 0),V([w({type:Boolean})],e.prototype,"hideLabel",void 0),V([w()],e.prototype,"name",void 0),V([w({type:Boolean})],e.prototype,"disabled",void 0),V([w()],e.prototype,"helperText",void 0),V([w()],e.prototype,"forceStatus",void 0),V([w({reflect:!0})],e.prototype,"value",void 0),V([M()],e.prototype,"errorMessages",void 0),V([M()],e.prototype,"warningMessages",void 0),V([M()],e.prototype,"status",void 0),V([M()],e.prototype,"focused",void 0),V([M()],e.prototype,"additionalWarningRules",void 0),V([M()],e.prototype,"additionalErrorRules",void 0),V([M()],e.prototype,"forceErrorMessages",void 0),e});var Jt=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Jt(n,e);return!0},Wr=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},gc=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),Xu(e)}};function qu(t){this._$AN!==void 0?(Wr(this),this._$AM=t,gc(this)):this._$AM=t}function Yu(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++)Jt(n[a],!1),Wr(n[a]);else n!=null&&(Jt(n,!1),Wr(n));else Jt(this,t)}var Xu=t=>{t.type==de.CHILD&&(t._$AP??=Yu,t._$AQ??=qu)},vt=class extends oe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),gc(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Jt(this,e),Wr(this))}setValue(e){if(zi(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 hi=class extends vt{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 z}update(e){return this.part=e,this.ensureFocusTrap(e.element),z}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 re&&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}},jx=Q(hi);var bc;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(bc||(bc={}));var Qu={sm:640,md:768,lg:1024,xl:1280},mi=class extends vt{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??(()=>F);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:Qu[e]}},Yx=Q(mi);var yi,gi,bi,xi,Ju=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bi=(gi=(yi=window.safari)===null||yi===void 0?void 0:yi.pushNotification)===null||gi===void 0?void 0:gi.toString())!==null&&bi!==void 0?bi:"")==="[object SafariRemoteNotification]",ep="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xi=window.ftGlobals)!==null&&xi!==void 0?xi:{lit:ao,litDecorators:co,litRepeat:lo,litClassMap:uo,litStyleMap:po,litUnsafeHTML:fo,wcUtils:{...ho,...Oo,...yo,...No,...ti,...Po,...go,...Jo,...Eo,...fn,...ii,...fc,...Xn,...hn,...Qo,...Sn,...Jn,...bn,...ai,...si,...As,...xo,...En,...ui,...en,...Cn,...hc,..._s,...wn,...Zn,...oi,...mn,...gn,...Ro,...Lo,...li,isSafari:Ju,isTouchScreen:ep,setVariable:W}};var xc=r.extend("--ft-ripple-color","",xe.colorContent),G={color:xc,backgroundColor:r.extend("--ft-ripple-background-color","",xc),opacityContentOnSurfacePressed:r.external(xe.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(xe.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(xe.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(xe.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Sc=r.extend("--ft-ripple-color","",xe.colorPrimary),vc={color:Sc,backgroundColor:r.extend("--ft-ripple-background-color","",Sc)},Ec=r.extend("--ft-ripple-color","",xe.colorSecondary),Cc={color:Ec,backgroundColor:r.extend("--ft-ripple-background-color","",Ec)},Oc=P`
85
85
  :host {
86
86
  display: contents;
87
87
  }
@@ -144,11 +144,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
144
144
  }
145
145
 
146
146
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
147
- background-color: ${Sc.backgroundColor};
147
+ background-color: ${vc.backgroundColor};
148
148
  }
149
149
 
150
150
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
151
- background-color: ${Sc.color};
151
+ background-color: ${vc.color};
152
152
  }
153
153
 
154
154
  .ft-ripple .ft-ripple--background {
@@ -204,27 +204,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
204
204
  <div class="ft-ripple--background"></div>
205
205
  <div class="ft-ripple--effect"></div>
206
206
  </div>
207
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};U.elementDefinitions={};U.styles=Oc;Y([w({type:Boolean})],U.prototype,"primary",void 0);Y([w({type:Boolean})],U.prototype,"secondary",void 0);Y([w({type:Boolean})],U.prototype,"unbounded",void 0);Y([w({type:Boolean})],U.prototype,"activated",void 0);Y([w({type:Boolean})],U.prototype,"selected",void 0);Y([w({type:Boolean})],U.prototype,"disabled",void 0);Y([M()],U.prototype,"hovered",void 0);Y([M()],U.prototype,"focused",void 0);Y([M()],U.prototype,"pressed",void 0);Y([M()],U.prototype,"rippling",void 0);Y([M()],U.prototype,"originX",void 0);Y([M()],U.prototype,"originY",void 0);Y([we(".ft-ripple")],U.prototype,"ripple",void 0);Y([we(".ft-ripple--effect")],U.prototype,"rippleEffect",void 0);var wc={"ft-ripple":U};He(wc);var Ac=N`
207
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};U.elementDefinitions={};U.styles=Oc;Y([w({type:Boolean})],U.prototype,"primary",void 0);Y([w({type:Boolean})],U.prototype,"secondary",void 0);Y([w({type:Boolean})],U.prototype,"unbounded",void 0);Y([w({type:Boolean})],U.prototype,"activated",void 0);Y([w({type:Boolean})],U.prototype,"selected",void 0);Y([w({type:Boolean})],U.prototype,"disabled",void 0);Y([M()],U.prototype,"hovered",void 0);Y([M()],U.prototype,"focused",void 0);Y([M()],U.prototype,"pressed",void 0);Y([M()],U.prototype,"rippling",void 0);Y([M()],U.prototype,"originX",void 0);Y([M()],U.prototype,"originY",void 0);Y([we(".ft-ripple")],U.prototype,"ripple",void 0);Y([we(".ft-ripple--effect")],U.prototype,"rippleEffect",void 0);var wc={"ft-ripple":U};He(wc);var Ac=P`
208
208
  * {
209
209
  box-sizing: border-box;
210
210
  display: inline-flex;
211
211
  align-items: center;
212
- --input-size: calc(${P.circleSize} + 2 * (${P.focusOutlineOffset} + ${P.focusOutlineWidth}));
213
- --input-margin: calc(-1 * ${P.focusOutlineOffset} - ${P.focusOutlineWidth});
212
+ --input-size: calc(${T.circleSize} + 2 * (${T.focusOutlineOffset} + ${T.focusOutlineWidth}));
213
+ --input-margin: calc(-1 * ${T.focusOutlineOffset} - ${T.focusOutlineWidth});
214
214
  }
215
215
 
216
216
  .ftds-radio {
217
217
  box-sizing: border-box;
218
- color: ${P.color};
219
- gap: ${P.horizontalGap};
218
+ color: ${T.color};
219
+ gap: ${T.horizontalGap};
220
220
  }
221
221
 
222
222
  .ftds-radio--disabled:not(.ftds-radio--checked) {
223
- opacity: ${P.unselectedDisabledComponentOpacity}
223
+ opacity: ${T.unselectedDisabledComponentOpacity}
224
224
  }
225
225
 
226
226
  .ftds-radio--disabled.ftds-radio--checked {
227
- opacity: ${P.selectedDisabledComponentOpacity}
227
+ opacity: ${T.selectedDisabledComponentOpacity}
228
228
  }
229
229
 
230
230
  input {
@@ -249,49 +249,49 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
249
249
 
250
250
  .ftds-radio ft-ripple {
251
251
  z-index: 0;
252
- ${W(G.color,P.unselectedStateLayerColor)};
253
- ${W(G.backgroundColor,P.unselectedStateLayerColor)};
254
- ${W(G.opacityContentOnSurfaceHover,P.unselectedHoverStateLayerOpacity)};
255
- ${W(G.opacityContentOnSurfaceFocused,P.unselectedFocusStateLayerOpacity)};
256
- ${W(G.opacityContentOnSurfacePressed,P.unselectedActiveStateLayerOpacity)};
252
+ ${W(G.color,T.unselectedStateLayerColor)};
253
+ ${W(G.backgroundColor,T.unselectedStateLayerColor)};
254
+ ${W(G.opacityContentOnSurfaceHover,T.unselectedHoverStateLayerOpacity)};
255
+ ${W(G.opacityContentOnSurfaceFocused,T.unselectedFocusStateLayerOpacity)};
256
+ ${W(G.opacityContentOnSurfacePressed,T.unselectedActiveStateLayerOpacity)};
257
257
  }
258
258
 
259
259
  .ftds-radio--checked ft-ripple {
260
- ${W(G.color,P.selectedStateLayerColor)};
261
- ${W(G.backgroundColor,P.selectedStateLayerColor)};
262
- ${W(G.opacityContentOnSurfaceHover,P.selectedHoverStateLayerOpacity)};
263
- ${W(G.opacityContentOnSurfaceFocused,P.selectedFocusStateLayerOpacity)};
264
- ${W(G.opacityContentOnSurfacePressed,P.selectedActiveStateLayerOpacity)};
260
+ ${W(G.color,T.selectedStateLayerColor)};
261
+ ${W(G.backgroundColor,T.selectedStateLayerColor)};
262
+ ${W(G.opacityContentOnSurfaceHover,T.selectedHoverStateLayerOpacity)};
263
+ ${W(G.opacityContentOnSurfaceFocused,T.selectedFocusStateLayerOpacity)};
264
+ ${W(G.opacityContentOnSurfacePressed,T.selectedActiveStateLayerOpacity)};
265
265
  }
266
266
 
267
267
  .ftds-radio--box {
268
268
  z-index: 1;
269
- border: 2px solid ${P.unselectedBorderColor};
269
+ border: 2px solid ${T.unselectedBorderColor};
270
270
  border-radius: 50%;
271
271
 
272
272
  display: flex;
273
273
  justify-content: center;
274
274
  align-items: center;
275
275
 
276
- width: ${P.circleSize};
277
- height: ${P.circleSize};
276
+ width: ${T.circleSize};
277
+ height: ${T.circleSize};
278
278
  }
279
279
 
280
280
  .ftds-radio--box:after {
281
281
  content: " ";
282
- background-color: ${P.selectedRadioColor};
282
+ background-color: ${T.selectedRadioColor};
283
283
 
284
284
  border-radius: 50%;
285
285
 
286
- width: calc(${P.circleSize} - 8px);
287
- height: calc(${P.circleSize} - 8px);
286
+ width: calc(${T.circleSize} - 8px);
287
+ height: calc(${T.circleSize} - 8px);
288
288
 
289
289
  transform: scale(0);
290
290
  transition: transform 100ms ease;
291
291
  }
292
292
 
293
293
  .ftds-radio--checked .ftds-radio--box {
294
- border-color: ${P.selectedRadioColor};
294
+ border-color: ${T.selectedRadioColor};
295
295
  }
296
296
 
297
297
 
@@ -304,15 +304,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
304
304
  }
305
305
 
306
306
  .ftds-radio:has(:focus-visible) .ftds-radio--box {
307
- outline: ${P.focusOutlineWidth} solid ${P.focusFocusRingColor};
308
- outline-offset: ${P.focusOutlineOffset};
307
+ outline: ${T.focusOutlineWidth} solid ${T.focusFocusRingColor};
308
+ outline-offset: ${T.focusOutlineOffset};
309
309
  }
310
310
 
311
311
  .ftds-radio ftds-typography {
312
312
  padding-right: 2px;
313
313
  }
314
- `;function tp(t,e){let o=mr[t];return N`
315
- ${e?Oe(e):N`.ftds-typography--${Oe(t)}`} {
314
+ `;function tp(t,e){let o=mr[t];return P`
315
+ ${e?Oe(e):P`.ftds-typography--${Oe(t)}`} {
316
316
  font-family: ${o.fontFamily};
317
317
  font-size: ${o.fontSize};
318
318
  font-weight: ${o.fontWeight};
@@ -321,15 +321,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
321
321
  text-decoration: ${o.textDecoration};
322
322
  text-transform: ${o.textCase};
323
323
  }
324
- `}var Rc=[Object.keys(mr).map(t=>tp(t))];var Et;(function(t){t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Et||(Et={}));var Ic=Symbol.for(""),rp=t=>{if(t?.r===Ic)return t?._$litStatic$},xi=t=>({_$litStatic$:t,r:Ic});var _c=new Map,vi=t=>(e,...o)=>{let n=o.length,i,a,s=[],l=[],u,p=0,h=!1;for(;p<n;){for(u=e[p];p<n&&(a=o[p],(i=rp(a))!==void 0);)u+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(u),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=_c.get(f))===void 0&&(s.raw=s,_c.set(f,e=s)),o=l}return t(e,...o)},Si=vi(Z),Uv=vi(eo),Bv=vi(to);var Lc=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},Ce=class extends B{constructor(){super(...arguments),this.variant=Et.body2medium}render(){return this.element?Si`
325
- <${xi(this.element)}
324
+ `}var Rc=[Object.keys(mr).map(t=>tp(t))];var Et;(function(t){t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Et||(Et={}));var Ic=Symbol.for(""),rp=t=>{if(t?.r===Ic)return t?._$litStatic$},Si=t=>({_$litStatic$:t,r:Ic});var _c=new Map,vi=t=>(e,...o)=>{let n=o.length,i,a,s=[],l=[],u,p=0,h=!1;for(;p<n;){for(u=e[p];p<n&&(a=o[p],(i=rp(a))!==void 0);)u+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(u),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=_c.get(f))===void 0&&(s.raw=s,_c.set(f,e=s)),o=l}return t(e,...o)},Ei=vi(Z),MS=vi(to),US=vi(ro);var Lc=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},Ce=class extends B{constructor(){super(...arguments),this.variant=Et.body2medium}render(){return this.element?Ei`
325
+ <${Si(this.element)}
326
326
  part="text"
327
327
  class="ftds-typography ftds-typography--${this.variant}">
328
328
  <slot></slot>
329
- </${xi(this.element)}>
330
- `:Si`
329
+ </${Si(this.element)}>
330
+ `:Ei`
331
331
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
332
- `}};Ce.styles=[...Rc];Lc([w()],Ce.prototype,"element",void 0);Lc([w()],Ce.prototype,"variant",void 0);var kc={"ftds-typography":Ce};He(kc);var Ne=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},Wr=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},X=class extends yt(B){constructor(){super(...arguments),this.family=ge.brand,this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ftds-radio":!0,"ftds-radio--checked":this.checked,"ftds-radio--disabled":this.disabled,...this.getDesignSystemBaseClasses()}}render(){return Z`
332
+ `}};Ce.styles=[...Rc];Lc([w()],Ce.prototype,"element",void 0);Lc([w()],Ce.prototype,"variant",void 0);var kc={"ftds-typography":Ce};He(kc);var Pe=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},jr=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},X=class extends yt(B){constructor(){super(...arguments),this.family=be.brand,this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ftds-radio":!0,"ftds-radio--checked":this.checked,"ftds-radio--disabled":this.disabled,...this.getDesignSystemBaseClasses()}}render(){return Z`
333
333
  <div class="${kt(this.radioClasses)}"
334
334
  @click=${this.onClick}>
335
335
  <div class="ftds-radio--box-container">
@@ -355,22 +355,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
355
355
  </ftds-typography>
356
356
  </label>
357
357
  </div>
358
- `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Wr(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Wr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var o;return(o=this.ripple)===null||o===void 0?void 0:o.forceFocusUpdate()},0)}onClick(e){var o;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(o=this.input)===null||o===void 0||o.click())}};X.elementDefinitions={"ft-ripple":U,"ftds-typography":Ce};X.styles=[Gt,Ac];Ne([w()],X.prototype,"value",void 0);Ne([w()],X.prototype,"name",void 0);Ne([w({type:Boolean,reflect:!0})],X.prototype,"checked",void 0);Ne([w({attribute:"aria-checked",reflect:!0})],X.prototype,"ariaChecked",void 0);Ne([w({type:Boolean})],X.prototype,"disabled",void 0);Ne([we(".ftds-radio")],X.prototype,"container",void 0);Ne([we("ft-ripple")],X.prototype,"ripple",void 0);Ne([we("input")],X.prototype,"input",void 0);var Tc=N`
358
+ `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new jr(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new jr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var o;return(o=this.ripple)===null||o===void 0?void 0:o.forceFocusUpdate()},0)}onClick(e){var o;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(o=this.input)===null||o===void 0||o.click())}};X.elementDefinitions={"ft-ripple":U,"ftds-typography":Ce};X.styles=[Gt,Ac];Pe([w()],X.prototype,"value",void 0);Pe([w()],X.prototype,"name",void 0);Pe([w({type:Boolean,reflect:!0})],X.prototype,"checked",void 0);Pe([w({attribute:"aria-checked",reflect:!0})],X.prototype,"ariaChecked",void 0);Pe([w({type:Boolean})],X.prototype,"disabled",void 0);Pe([we(".ftds-radio")],X.prototype,"container",void 0);Pe([we("ft-ripple")],X.prototype,"ripple",void 0);Pe([we("input")],X.prototype,"input",void 0);var Tc=P`
359
359
  :host {
360
360
  display: flex;
361
361
  flex-direction: column;
362
- gap: ${P.verticalGap}
362
+ gap: ${T.verticalGap}
363
363
  }
364
364
 
365
365
  :host(:focus-visible) {
366
366
  outline: none;
367
367
  }
368
- `;var er=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},ce=class extends yt(B){constructor(){super(...arguments),this.family=ge.brand,this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,o;return(o=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio,ftds-radio")?[n]:[...n.querySelectorAll("ftds-radio")]))!==null&&o!==void 0?o:[]}render(){return Z`
368
+ `;var er=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},ce=class extends yt(B){constructor(){super(...arguments),this.family=be.brand,this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,o;return(o=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio,ftds-radio")?[n]:[...n.querySelectorAll("ftds-radio")]))!==null&&o!==void 0?o:[]}render(){return Z`
369
369
  <slot @slotchange=${this.onSlotChange}
370
370
  @change=${this.onChange}
371
371
  @keydown=${this.onKeyDown}
372
372
  ></slot>
373
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};ce.elementDefinitions={};ce.styles=[Gt,Tc];er([w()],ce.prototype,"name",void 0);er([w({reflect:!0,attribute:"role"})],ce.prototype,"role",void 0);er([w({reflect:!0,attribute:"aria-labelledby"})],ce.prototype,"ariaLabelledBy",void 0);er([ao()],ce.prototype,"assignedElements",void 0);er([M()],ce.prototype,"currentSelectedIndex",void 0);var Pc={"ftds-radio":X,"ftds-radio-group":ce};He(Pc);})();
373
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e,this.radioButtons[this.currentSelectedIndex].setInputTabIndex(0)}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};ce.elementDefinitions={};ce.styles=[Gt,Tc];er([w()],ce.prototype,"name",void 0);er([w({reflect:!0,attribute:"role"})],ce.prototype,"role",void 0);er([w({reflect:!0,attribute:"aria-labelledby"})],ce.prototype,"ariaLabelledBy",void 0);er([so()],ce.prototype,"assignedElements",void 0);er([M()],ce.prototype,"currentSelectedIndex",void 0);var Nc={"ftds-radio":X,"ftds-radio-group":ce};He(Nc);})();
374
374
  /*! Bundled license information:
375
375
 
376
376
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: