@fluid-topics/ft-search-bar 2.1.8 → 2.1.9
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.
- package/build/ft-search-bar.light.js +191 -189
- package/build/ft-search-bar.min.js +61 -59
- package/package.json +15 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";(()=>{var hu=Object.defineProperty;var X=(t,e)=>{for(var r in e)hu(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(S,v){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=v.prototype.attributeChangedCallback,I=new Set(v.observedAttributes||[]);g(v,I,E);let V={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(S,V),this._definitionsByClass.set(v,V);let ge=r.call(i,S);ge||(ge=h(S),e.call(i,S,ge)),this===window.customElements&&(s.set(v,V),V.standInClass=ge);let Q=this._awaitingUpgrade.get(S);if(Q){this._awaitingUpgrade.delete(S);for(let U of Q)a.delete(U),y(U,V,!0)}let M=this._whenDefinedPromises.get(S);return M!==void 0&&(M.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){A.push(this),i.upgrade.apply(i,arguments),A.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let v=this._getDefinition(S);if(v!==void 0)return Promise.resolve(v.elementClass);let E=this._whenDefinedPromises.get(S);return E===void 0&&(E={},E.promise=new Promise(I=>E.resolve=I),this._whenDefinedPromises.set(S,E)),E.promise}_upgradeWhenDefined(S,v,E){let I=this._awaitingUpgrade.get(v);I||this._awaitingUpgrade.set(v,I=new Set),E?I.add(S):I.delete(S)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),n.set(v,E),v},window.HTMLElement.prototype=t.prototype;let u=S=>S===document||S instanceof ShadowRoot,f=S=>{let v=S.getRootNode();if(!u(v)){let E=A[A.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),u(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let I=f(E)||window.customElements,V=I._getDefinition(S);return V?y(E,V):a.set(E,I),E}connectedCallback(){let E=n.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let E=n.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=n.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=n.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=n.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=n.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(S,v,E)=>{if(v.size===0||E===void 0)return;let I=S.prototype.setAttribute;I&&(S.prototype.setAttribute=function(Q,M){let U=Q.toLowerCase();if(v.has(U)){let J=this.getAttribute(U);I.call(this,U,M),E.call(this,U,J,M)}else I.call(this,U,M)});let V=S.prototype.removeAttribute;V&&(S.prototype.removeAttribute=function(Q){let M=Q.toLowerCase();if(v.has(M)){let U=this.getAttribute(M);V.call(this,M),E.call(this,M,U,null)}else V.call(this,M)});let ge=S.prototype.toggleAttribute;ge&&(S.prototype.toggleAttribute=function(Q,M){let U=Q.toLowerCase();if(v.has(U)){let J=this.getAttribute(U);ge.call(this,U,M);let xe=this.getAttribute(U);E.call(this,U,J,xe)}else ge.call(this,U,M)})},b=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):b(v)},y=(S,v,E=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),n.set(S,v),d=S;try{new v.elementClass}catch{b(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(I=>{S.hasAttribute(I)&&v.attributeChangedCallback.call(S,I,null,S.getAttribute(I))}),E&&v.connectedCallback&&S.isConnected&&v.connectedCallback.call(S)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let v=C.apply(this,arguments);return S.customElements&&(v.customElements=S.customElements),v};let A=[document],L=(S,v,E=void 0)=>{let I=(E?Object.getPrototypeOf(E):S.prototype)[v];S.prototype[v]=function(){A.push(this);let V=I.apply(E||this,arguments);return V!==void 0&&l.set(V,this),A.pop(),V}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let P=(S,v)=>{let E=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...E,set(I){A.push(this),E.set.call(this,I),A.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Q){let M=v.call(this,...Q);return S.set(M,this),M},E.forEach(Q=>{let M=window.ElementInternals.prototype,U=M[Q];M[Q]=function(...J){let xe=S.get(this);if(n.get(xe).formAssociated===!0)return U?.call(this,...J);throw new DOMException(`Failed to execute ${U} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class V{constructor(M){let U=new Map;M.forEach((J,xe)=>{let Xi=J.getAttribute("name"),Us=U.get(Xi)||[];this[+xe]=J,Us.push(J),U.set(Xi,Us)}),this.length=M.length,U.forEach((J,xe)=>{J&&(J.length===1?this[xe]=J[0]:this[xe]=new I(J))})}namedItem(M){return this[M]}}let ge=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Q=ge.get.call(this,[]),M=[];for(let U of Q){let J=n.get(U);(!J||J.formAssociated===!0)&&M.push(U)}return new V(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,i,n)=>{var a;if(i!==null)try{e.bind(window.customElements)(r,i,n)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(r,class extends i{},n):console.info(r,i,n,s)}}}var pn={};X(pn,{CSSResult:()=>Tr,LitElement:()=>et,ReactiveElement:()=>Qe,_$LE:()=>el,_$LH:()=>ln,adoptStyles:()=>yo,css:()=>w,defaultConverter:()=>_r,getCompatibleStyle:()=>ai,html:()=>x,isServer:()=>km,mathml:()=>sn,noChange:()=>Se,notEqual:()=>vo,nothing:()=>_,render:()=>cn,supportsAdoptingStyleSheets:()=>go,svg:()=>an,unsafeCSS:()=>Xt});var ni=globalThis,go=ni.ShadowRoot&&(ni.ShadyCSS===void 0||ni.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ji=Symbol(),zs=new WeakMap,Tr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Ji)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(go&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=zs.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&zs.set(r,e))}return e}toString(){return this.cssText}},Xt=t=>new Tr(typeof t=="string"?t:t+"",void 0,Ji),w=(t,...e)=>{let r=t.length===1?t[0]:e.reduce(((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[a+1]),t[0]);return new Tr(r,t,Ji)},yo=(t,e)=>{if(go)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(let r of e){let i=document.createElement("style"),n=ni.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},ai=go?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return Xt(r)})(t):t;var{is:mu,defineProperty:gu,getOwnPropertyDescriptor:yu,getOwnPropertyNames:bu,getOwnPropertySymbols:vu,getPrototypeOf:xu}=Object,si=globalThis,Hs=si.trustedTypes,Su=Hs?Hs.emptyScript:"",Cu=si.reactiveElementPolyfillSupport,bo=(t,e)=>t,_r={toAttribute(t,e){switch(e){case Boolean:t=t?Su:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},vo=(t,e)=>!mu(t,e),Vs={attribute:!0,type:String,converter:_r,reflect:!1,useDefault:!1,hasChanged:vo};Symbol.metadata??=Symbol("metadata"),si.litPropertyMetadata??=new WeakMap;var Qe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Vs){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&gu(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=yu(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Vs}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=xu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,i=[...bu(r),...vu(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift(ai(n))}else e!==void 0&&r.push(ai(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return yo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:_r).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:_r;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??vo)(a,r)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((i=>i.hostUpdate?.())),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};Qe.elementStyles=[],Qe.shadowRootOptions={mode:"open"},Qe[bo("elementProperties")]=new Map,Qe[bo("finalized")]=new Map,Cu?.({ReactiveElement:Qe}),(si.reactiveElementVersions??=[]).push("2.1.0");var en=globalThis,li=en.trustedTypes,Ws=li?li.createPolicy("lit-html",{createHTML:t=>t}):void 0,tn="$lit$",kt=`lit$${Math.random().toFixed(9).slice(2)}$`,rn="?"+kt,Ou=`<${rn}>`,er=document,So=()=>er.createComment(""),Co=t=>t===null||typeof t!="object"&&typeof t!="function",on=Array.isArray,Ys=t=>on(t)||typeof t?.[Symbol.iterator]=="function",Qi=`[
|
|
2
2
|
\f\r]`,xo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,js=/-->/g,Gs=/>/g,Jt=RegExp(`>|${Qi}(?:([^\\s"'>=/]+)(${Qi}*=${Qi}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ks=/'/g,Zs=/"/g,Xs=/^(?:script|style|textarea|title)$/i,nn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),x=nn(1),an=nn(2),sn=nn(3),Se=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),qs=new WeakMap,Qt=er.createTreeWalker(er,129);function Js(t,e){if(!on(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ws!==void 0?Ws.createHTML(e):e}var Qs=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=xo;for(let l=0;l<r;l++){let d=t[l],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===xo?f[1]==="!--"?s=js:f[1]!==void 0?s=Gs:f[2]!==void 0?(Xs.test(f[2])&&(n=RegExp("</"+f[2],"g")),s=Jt):f[3]!==void 0&&(s=Jt):s===Jt?f[0]===">"?(s=n??xo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?Jt:f[3]==='"'?Zs:Ks):s===Zs||s===Ks?s=Jt:s===js||s===Gs?s=xo:(s=Jt,n=void 0);let b=s===Jt&&t[l+1].startsWith("/>")?" ":"";a+=s===xo?d+Ou:h>=0?(i.push(u),d.slice(0,h)+tn+d.slice(h)+kt+b):d+kt+(h===-2?l:b)}return[Js(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Oo=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[u,f]=Qs(e,r);if(this.el=t.createElement(u,i),Qt.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=Qt.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(tn)){let g=f[s++],b=n.getAttribute(h).split(kt),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:y[2],strings:b,ctor:y[1]==="."?di:y[1]==="?"?pi:y[1]==="@"?ui:rr}),n.removeAttribute(h)}else h.startsWith(kt)&&(d.push({type:6,index:a}),n.removeAttribute(h));if(Xs.test(n.tagName)){let h=n.textContent.split(kt),g=h.length-1;if(g>0){n.textContent=li?li.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],So()),Qt.nextNode(),d.push({type:2,index:++a});n.append(h[g],So())}}}else if(n.nodeType===8)if(n.data===rn)d.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(kt,h+1))!==-1;)d.push({type:7,index:a}),h+=kt.length-1}a++}}static createElement(e,r){let i=er.createElement("template");return i.innerHTML=e,i}};function tr(t,e,r=t,i){if(e===Se)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Co(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=tr(t,n._$AS(t,e.values),n,i)),e}var ci=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??er).importNode(r,!0);Qt.currentNode=n;let a=Qt.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Pr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new fi(a,this,e)),this._$AV.push(u),d=i[++l]}s!==d?.index&&(a=Qt.nextNode(),s++)}return Qt.currentNode=er,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Pr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=tr(this,e,r),Co(e)?e===_||e==null||e===""?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==Se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ys(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!==_&&Co(this._$AH)?this._$AA.nextSibling.data=e:this.T(er.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Oo.createElement(Js(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new ci(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=qs.get(e.strings);return r===void 0&&qs.set(e.strings,r=new Oo(e)),r}k(e){on(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(So()),this.O(So()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},rr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=_}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=tr(this,e,r,0),s=!Co(e)||e!==this._$AH&&e!==Se,s&&(this._$AH=e);else{let l=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=tr(this,l[i+d],r,d),u===Se&&(u=this._$AH[d]),s||=!Co(u)||u!==this._$AH[d],u===_?e=_:e!==_&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!n&&this.j(e)}j(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},di=class extends rr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_?void 0:e}},pi=class extends rr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==_)}},ui=class extends rr{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=tr(this,e,r,0)??_)===Se)return;let i=this._$AH,n=e===_&&i!==_||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==_&&(i===_||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},fi=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){tr(this,e)}},ln={M:tn,P:kt,A:rn,C:1,L:Qs,R:ci,D:Ys,V:tr,I:Pr,H:rr,N:pi,U:ui,B:di,F:fi},Eu=en.litHtmlPolyfillSupport;Eu?.(Oo,Pr),(en.litHtmlVersions??=[]).push("3.3.0");var cn=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new Pr(e.insertBefore(So(),a),a,void 0,r??{})}return n._$AI(t),n};var dn=globalThis,et=class extends Qe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=cn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Se}};et._$litElement$=!0,et.finalized=!0,dn.litElementHydrateSupport?.({LitElement:et});var wu=dn.litElementPolyfillSupport;wu?.({LitElement:et});var el={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(dn.litElementVersions??=[]).push("4.2.0");var km=!1;var mn={};X(mn,{customElement:()=>Au,eventOptions:()=>Lu,property:()=>m,query:()=>$,queryAll:()=>un,queryAssignedElements:()=>fn,queryAssignedNodes:()=>hn,queryAsync:()=>Tu,standardProperty:()=>tl,state:()=>T});var Au=t=>(e,r)=>{r!==void 0?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};var Ru={attribute:!0,type:String,converter:_r,reflect:!1,hasChanged:vo},tl=(t=Ru,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+i)};function m(t){return(e,r)=>typeof r=="object"?tl(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function T(t){return m({...t,state:!0,attribute:!1})}function Lu(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var lt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function $(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return lt(r,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return lt(r,i,{get(){return a(this)}})}}var ku;function un(t){return(e,r)=>lt(e,r,{get(){return(this.renderRoot??(ku??=document.createDocumentFragment())).querySelectorAll(t)}})}function Tu(t){return(e,r)=>lt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function fn(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return lt(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter((d=>d.matches(n)))}})}}function hn(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return lt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var gn={};X(gn,{repeat:()=>he});var yt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ve=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:_u}=ln;var ol=t=>t.strings===void 0,rl=()=>document.createComment(""),Ir=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(rl(),n),s=i.insertBefore(rl(),n);r=new _u(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;i.insertBefore(d,n),d=u}}}return r},$t=(t,e,r=t)=>(t._$AI(e,r),t),Pu={},il=(t,e=Pu)=>t._$AH=e,nl=t=>t._$AH,hi=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var al=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},he=Ve(class extends tt{constructor(t){if(super(t),t.type!==yt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){let n=nl(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],u,f,h=0,g=n.length-1,b=0,y=a.length-1;for(;h<=g&&b<=y;)if(n[h]===null)h++;else if(n[g]===null)g--;else if(l[h]===s[b])d[b]=$t(n[h],a[b]),h++,b++;else if(l[g]===s[y])d[y]=$t(n[g],a[y]),g--,y--;else if(l[h]===s[y])d[y]=$t(n[h],a[y]),Ir(t,d[y+1],n[h]),h++,y--;else if(l[g]===s[b])d[b]=$t(n[g],a[b]),Ir(t,n[h],n[g]),g--,b++;else if(u===void 0&&(u=al(s,b,y),f=al(l,h,g)),u.has(l[h]))if(u.has(l[g])){let C=f.get(s[b]),A=C!==void 0?n[C]:null;if(A===null){let L=Ir(t,n[h]);$t(L,a[b]),d[b]=L}else d[b]=$t(A,a[b]),Ir(t,n[h],A),n[C]=null;b++}else hi(n[g]),g--;else hi(n[h]),h++;for(;b<=y;){let C=Ir(t,d[y+1]);$t(C,a[b]),d[b++]=C}for(;h<=g;){let C=n[h++];C!==null&&hi(C)}return this.ut=s,il(t,d),Se}});var yn={};X(yn,{classMap:()=>ae});var ae=Ve(class extends tt{constructor(t){if(super(t),t.type!==yt.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((i=>i!==""))));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.st)i in e||(r.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return Se}});var bn={};X(bn,{styleMap:()=>Nu});var sl="important",Iu=" !"+sl,Nu=Ve(class extends tt{constructor(t){if(super(t),t.type!==yt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(Iu);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?sl:""):r[i]=n}}return Se}});var xn={};X(xn,{UnsafeHTMLDirective:()=>Nr,unsafeHTML:()=>vn});var Nr=class extends tt{constructor(e){if(super(e),this.it=_,e.type!==yt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===_||e==null)return this._t=void 0,this.it=e;if(e===Se)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Nr.directiveName="unsafeHTML",Nr.resultType=1;var vn=Ve(Nr);var _n={};X(_n,{CacheRegistry:()=>bt,ClearCacheEvent:()=>Lo});var Cn={};X(Cn,{CancelablePromise:()=>mi,CanceledPromiseError:()=>or,cancelable:()=>Sn});var or=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},mi=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new or("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new or("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Sn=t=>new mi((e,r)=>t.then(e).catch(r));var Tn={};X(Tn,{FtNotificationEvent:()=>Ro,PostResizeEvent:()=>kn,PreResizeEvent:()=>Ln,WithEventBus:()=>Tt,withEventBus:()=>bi});var Rn={};X(Rn,{applyMixinOnce:()=>we,customElements:()=>W,dateReviver:()=>Bu,deepCopy:()=>ct,deepEqual:()=>Ce,delay:()=>gi,eventPathContainsMatchingElement:()=>En,everyDeep:()=>Mu,flatDeep:()=>We,forEachDeep:()=>cl,getComposedPathTo:()=>An,hasChanged:()=>dt,ignoreComposingEvents:()=>Ao,last:()=>wn,minmax:()=>ir,parseDate:()=>pl,randomId:()=>Uu,someDeep:()=>dl,unslotText:()=>Dr,waitFor:()=>yi,waitUntil:()=>wo});var On={};X(On,{customElement:()=>Eo,dateProperty:()=>$u,isNumber:()=>ll,jsonProperty:()=>se,numberProperty:()=>Mt,optionalNumberProperty:()=>Du});var Eo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function se(t,e){return m({type:Object,converter:{fromAttribute:r=>{if(r==null)return ct(t);try{return JSON.parse(r)}catch{return ct(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:dt,...e??{}})}function Du(t){return Mt(t)}function Mt(t){return m({type:Object,converter:{fromAttribute:e=>{var r,i;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(i=t?.max)!==null&&i!==void 0?i:1/0;return ll(e)?ir(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function ll(t){return!isNaN(parseFloat(t))}function $u(t){return m({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var gi=t=>new Promise(e=>setTimeout(e,t));async function wo(t,e=10,r=2e4){await yi(async()=>await t()||void 0,e,r)}async function yi(t,e=10,r=2e4){let i=await t(),n=performance.now(),a=n;for(;i==null&&(!r||a-n<r);)await gi(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function We(t,e){return t.flatMap(r=>[r,...We(e(r),e)])}function cl(t,e,r){let i=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&i(e(d),[...a,d])))return!1}return!0};i(t,[])}function dl(t,e,r){let i=!1;return cl(t,e,(n,a,s,l)=>(i=!!r(n,a,s,l),!i)),i}function Mu(t,e,r){return!dl(t,e,(i,n,a,s)=>!r(i,n,a,s))}function Bu(...t){return(e,r)=>t.includes(e)?pl(r):r}function pl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function Fu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Ce(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Ce(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let n=s=>Object.keys(s).filter(l=>s[l]!=null),a=n(t);if(r=a.length,r!==n(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[i]))return!1;for(i=r;i--!==0;){let s=a[i];if(!Ce(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ce(t,e){try{return Fu(t,e)}catch{return!1}}function dt(t,e){return!Ce(t,e)}function En(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function ir(t,e,r){return Math.min(Math.max(t,e),r)}function wn(t){return t[t.length-1]}function Dr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Dr(e)).join(""):t?.textContent||""}function An(t){let e=[],r=i=>{i.stopPropagation(),e=i.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function ct(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Uu(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function we(t,e){let r=i=>i[t]===!0;return i=>{if(r(i))return i;let n=e(i);return n[t]=!0,n}}function Ao(){return function(t,e,r){let i=r.value;r.value=function(n,...a){if(n.isComposing||n.keyCode===229){n.stopPropagation();return}return i.apply(this,[n].concat(a))}}}function W(t){for(let[e,r]of Object.entries(t))Eo(e)(r)}var Ro=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ln=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},kn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},bi=we(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}),Tt=class extends bi(Object){};var Lo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},bt=class extends Tt{constructor(){super(...arguments),this.content={}}register(e,r,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:i,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let i=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&i.length>0&&this.dispatchEvent(new Lo(i)),i}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Lo([e])),e}forceClear(e){var r;let i=this.content[e];i&&(this.clearClearTimeout(e),(r=i.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var r,i,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((i=this.content[e])===null||i===void 0?void 0:i.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,i=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,i){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=Sn(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,i!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),i)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,i;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((i=this.content[e])===null||i===void 0?void 0:i.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var $n={};X($n,{ClusteringHelper:()=>Dn,formatHierarchicalValues:()=>Nn});var In={};X(In,{accessBreadcrumb:()=>Vu,accessResult:()=>Pn,accessResultId:()=>zu,accessResultUrl:()=>Hu});function Pn(t){var e,r,i,n;return(n=(i=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&i!==void 0?i:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function zu(t){var e,r,i,n,a,s,l,d,u;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(i=t?.topic)===null||i===void 0?void 0:i.tocId)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.contentId}function Hu(t){var e,r,i,n,a,s,l,d,u;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(i=t?.topic)===null||i===void 0?void 0:i.readerUrl)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.viewerUrl}function Vu(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 Nn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Dn=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static findResultWithMetadataValue(e,r,i){return e?.find(n=>{var a;return((a=this.extractResultMetadata({result:n}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==i})}static extractResultMetadata(e){var r,i;let n=(i=(r=Pn(e.result))===null||r===void 0?void 0:r.metadata)!==null&&i!==void 0?i:[];return e.key==null?t.flattenMetadata(n,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(n.find(a=>a.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,i){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Nn(l)),s.push(Nn(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,i="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(h=>h??{key:e,label:u,value:void 0,displayValue:i}).filter(h=>h.value!=d?.value).filter((h,g,b)=>b.findIndex(y=>y.value===h.value)===g).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,g)=>this.compareMetadata(h.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var Mn={};X(Mn,{Debouncer:()=>te});var te=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),a=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var zn={};X(zn,{designSystemVariables:()=>O});var Un={};X(Un,{DesignSystemFamily:()=>ko,DesignSystemSize:()=>To,FtCssVariableFactory:()=>o,badge:()=>of,banner:()=>rf,button:()=>Gu,card:()=>Ku,chart:()=>vf,checkbox:()=>qu,chip:()=>Qu,chipChoice:()=>Ju,chipGroup:()=>ef,collapsible:()=>yf,combobox:()=>mf,dateRangePicker:()=>Af,drawer:()=>df,floatingMenu:()=>hf,foundation:()=>c,link:()=>tf,modal:()=>cf,notice:()=>Sf,notification:()=>Of,pageDesigner:()=>xf,pageFooter:()=>sf,pageHeader:()=>af,pageLayout:()=>lf,popover:()=>gf,radio:()=>Yu,reorderableList:()=>wf,resolveFamilyClass:()=>Bn,resolveSizeClass:()=>Fn,semantic:()=>p,setVariable:()=>R,switch_:()=>bf,table:()=>Xu,tabs:()=>pf,textArea:()=>ff,textInput:()=>uf,titleBreadcrumb:()=>nf,toggle:()=>Cf,tooltip:()=>Ef,treeList:()=>Zu,typographies:()=>Wu,typographyBody1Medium:()=>yl,typographyBody1Regular:()=>gl,typographyBody1Semibold:()=>bl,typographyBody2Medium:()=>xl,typographyBody2MediumUnderline:()=>Sl,typographyBody2Regular:()=>vl,typographyBody2Semibold:()=>Cl,typographyCaption1Medium:()=>Ol,typographyCaption1Semibold:()=>El,typographyCaption2Bold:()=>Rl,typographyCaption2Medium:()=>wl,typographyCaption2Semibold:()=>Al,typographyDisplay:()=>ul,typographyTitle1:()=>fl,typographyTitle2:()=>hl,typographyTitle3:()=>ml,typographyVariants:()=>ju});var Bt=t=>typeof t=="string"?Xt(t):t,o=class{static create(e,r,i,n){let a=l=>Bt(l??n),s=w`var(${Bt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>R(s,l??a(n)),s.get=l=>w`var(${Bt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=w`var(${Bt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>R(s,l??a(n)),s.get=l=>w`var(${Bt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=w`var(${Bt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>w`var(${Bt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function R(t,e){return Bt(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ul={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},fl={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},hl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ml={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},gl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},yl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},bl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},vl={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},xl={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Sl={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Cl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ol={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},El={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},wl={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Al={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Rl={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Wu={display:ul,"title-1":fl,"title-2":hl,"title-3":ml,"body-1-regular":gl,"body-1-medium":yl,"body-1-semibold":bl,"body-2-regular":vl,"body-2-medium":xl,"body-2-medium-underline":Sl,"body-2-semibold":Cl,"caption-1-medium":Ol,"caption-1-semibold":El,"caption-2-medium":wl,"caption-2-semibold":Al,"caption-2-bold":Rl},ju=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var p={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Gu={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Ku={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",p.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",p.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",p.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",p.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",p.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",p.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",p.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",p.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",p.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",p.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",p.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",p.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",p.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",p.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Zu={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var qu={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",p.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",p.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",p.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",p.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",p.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Yu={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Xu={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ju={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Qu={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var ef={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",p.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",p.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",p.contentActionPrimary)};var tf={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var rf={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var of={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var nf={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var af={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var sf={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var lf={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var cf={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var df={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var pf={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var uf={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var ff={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var hf={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",p.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",p.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",p.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",p.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",p.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",p.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",p.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",p.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",p.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",p.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",p.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",p.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",p.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",p.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",p.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",p.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",p.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",p.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",p.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",p.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",p.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",p.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",p.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",p.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var mf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",p.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",p.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",p.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",p.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",p.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",p.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",p.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",p.borderInputPrimary)};var gf={backgroundColor:o.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var yf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var bf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var vf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var xf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Sf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Cf={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var Of={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Ef={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var wf={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Af={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var ko;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ko||(ko={}));var To;(function(t){t.large="large",t.medium="medium",t.small="small"})(To||(To={}));function Bn(t){return`ftds--family-${t}`}function Fn(t){return`ftds--size-${t}`}var O={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Hn={};X(Hn,{DynamicImporter:()=>vi,dynamicImporter:()=>Rf});var vi=class{async import(e){if(e)return import(e)}},Rf=new vi;var oa={};X(oa,{computeOffsetAutoPosition:()=>ra,computeOffsetPosition:()=>ta});var kl=["top","right","bottom","left"],Ll=["start","end"],Wn=kl.reduce((t,e)=>t.concat(e,e+"-"+Ll[0],e+"-"+Ll[1]),[]),nr=Math.min,Fe=Math.max,_o=Math.round;var pt=t=>({x:t,y:t}),Lf={left:"right",right:"left",bottom:"top",top:"bottom"};function jn(t,e,r){return Fe(t,nr(e,r))}function $r(t,e){return typeof t=="function"?t(e):t}function Ft(t){return t.split("-")[0]}function vt(t){return t.split("-")[1]}function Gn(t){return t==="x"?"y":"x"}function Kn(t){return t==="y"?"height":"width"}function Mr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Zn(t){return Gn(Mr(t))}function Tl(t,e,r){r===void 0&&(r=!1);let i=vt(t),n=Zn(t),a=Kn(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Vn(s)),[s,Vn(s)]}function _l(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Vn(t){let e=Ft(t);return Lf[e]+t.slice(e.length)}function kf(t){return{top:0,right:0,bottom:0,left:0,...t}}function Pl(t){return typeof t!="number"?kf(t):{top:t,right:t,bottom:t,left:t}}function ar(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Il(t,e,r){let{reference:i,floating:n}=t,a=Mr(e),s=Zn(e),l=Kn(s),d=Ft(e),u=a==="y",f=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,b;switch(d){case"top":b={x:f,y:i.y-n.height};break;case"bottom":b={x:f,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:h};break;case"left":b={x:i.x-n.width,y:h};break;default:b={x:i.x,y:i.y}}switch(vt(e)){case"start":b[s]-=g*(r&&u?-1:1);break;case"end":b[s]+=g*(r&&u?-1:1);break}return b}async function Nl(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:b=0}=$r(e,t),y=Pl(b),A=l[g?h==="floating"?"reference":"floating":h],L=ar(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(A)))==null||r?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:d})),P=h==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),v=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},E=ar(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:S,strategy:d}):P);return{top:(L.top-E.top+y.top)/v.y,bottom:(E.bottom-L.bottom+y.bottom)/v.y,left:(L.left-E.left+y.left)/v.x,right:(E.right-L.right+y.right)/v.x}}var Tf=50,Dl=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Nl},d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:h}=Il(u,i,d),g=i,b=0,y={};for(let C=0;C<a.length;C++){let A=a[C];if(!A)continue;let{name:L,fn:P}=A,{x:S,y:v,data:E,reset:I}=await P({x:f,y:h,initialPlacement:i,placement:g,strategy:n,middlewareData:y,rects:u,platform:l,elements:{reference:t,floating:e}});f=S??f,h=v??h,y[L]={...y[L],...E},I&&b<Tf&&(b++,typeof I=="object"&&(I.placement&&(g=I.placement),I.rects&&(u=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):I.rects),{x:f,y:h}=Il(u,g,d)),C=-1)}return{x:f,y:h,placement:g,strategy:n,middlewareData:y}};function _f(t,e,r){return(t?[...r.filter(n=>vt(n)===t),...r.filter(n=>vt(n)!==t)]:r.filter(n=>Ft(n)===n)).filter(n=>t?vt(n)===t||(e?_l(n)!==n:!1):!0)}var $l=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=Wn,autoAlignment:b=!0,...y}=$r(t,e),C=h!==void 0||g===Wn?_f(h||null,b,g):g,A=await d.detectOverflow(e,y),L=((r=s.autoPlacement)==null?void 0:r.index)||0,P=C[L];if(P==null)return{};let S=Tl(P,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==P)return{reset:{placement:C[0]}};let v=[A[Ft(P)],A[S[0]],A[S[1]]],E=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:v}],I=C[L+1];if(I)return{data:{index:L+1,overflows:E},reset:{placement:I}};let V=E.map(M=>{let U=vt(M.placement);return[M.placement,U&&f?M.overflows.slice(0,2).reduce((J,xe)=>J+xe,0):M.overflows[0],M.overflows]}).sort((M,U)=>M[1]-U[1]),Q=((n=V.filter(M=>M[2].slice(0,vt(M[0])?2:3).every(U=>U<=0))[0])==null?void 0:n[0])||V[0][0];return Q!==l?{data:{index:L+1,overflows:E},reset:{placement:Q}}:{}}}};var Pf=new Set(["left","top"]);async function If(t,e){let{placement:r,platform:i,elements:n}=t,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Ft(r),l=vt(r),d=Mr(r)==="y",u=Pf.has(s)?-1:1,f=a&&d?-1:1,h=$r(e,t),{mainAxis:g,crossAxis:b,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof y=="number"&&(b=l==="end"?y*-1:y),d?{x:b*f,y:g*u}:{x:g*u,y:b*f}}var Ml=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await If(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Bl=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:L=>{let{x:P,y:S}=L;return{x:P,y:S}}},...u}=$r(t,e),f={x:r,y:i},h=await a.detectOverflow(e,u),g=Mr(Ft(n)),b=Gn(g),y=f[b],C=f[g];if(s){let L=b==="y"?"top":"left",P=b==="y"?"bottom":"right",S=y+h[L],v=y-h[P];y=jn(S,y,v)}if(l){let L=g==="y"?"top":"left",P=g==="y"?"bottom":"right",S=C+h[L],v=C-h[P];C=jn(S,C,v)}let A=d.fn({...e,[b]:y,[g]:C});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[b]:s,[g]:l}}}}}};var Fl=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...u}=$r(t,e),f=await s.detectOverflow(e,u),h=Ft(n),g=vt(n),b=Mr(n)==="y",{width:y,height:C}=a.floating,A,L;h==="top"||h==="bottom"?(A=h,L=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(L=h,A=g==="end"?"top":"bottom");let P=C-f.top-f.bottom,S=y-f.left-f.right,v=nr(C-f[A],P),E=nr(y-f[L],S),I=!e.middlewareData.shift,V=v,ge=E;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(ge=S),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(V=P),I&&!g){let M=Fe(f.left,0),U=Fe(f.right,0),J=Fe(f.top,0),xe=Fe(f.bottom,0);b?ge=y-2*(M!==0||U!==0?M+U:Fe(f.left,f.right)):V=C-2*(J!==0||xe!==0?J+xe:Fe(f.top,f.bottom))}await d({...e,availableWidth:ge,availableHeight:V});let Q=await s.getDimensions(l.floating);return y!==Q.width||C!==Q.height?{reset:{rects:!0}}:{}}}};function Si(){return typeof window<"u"}function lr(t){return zl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ue(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(zl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zl(t){return Si()?t instanceof Node||t instanceof Ue(t).Node:!1}function rt(t){return Si()?t instanceof Element||t instanceof Ue(t).Element:!1}function St(t){return Si()?t instanceof HTMLElement||t instanceof Ue(t).HTMLElement:!1}function Ul(t){return!Si()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ue(t).ShadowRoot}function Br(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=ot(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&n!=="inline"&&n!=="contents"}function Hl(t){return/^(table|td|th)$/.test(lr(t))}function Po(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Nf=/transform|translate|scale|rotate|perspective|filter/,Df=/paint|layout|strict|content/,sr=t=>!!t&&t!=="none",qn;function Fr(t){let e=rt(t)?ot(t):t;return sr(e.transform)||sr(e.translate)||sr(e.scale)||sr(e.rotate)||sr(e.perspective)||!Ci()&&(sr(e.backdropFilter)||sr(e.filter))||Nf.test(e.willChange||"")||Df.test(e.contain||"")}function Vl(t){let e=_t(t);for(;St(e)&&!cr(e);){if(Fr(e))return e;if(Po(e))return null;e=_t(e)}return null}function Ci(){return qn==null&&(qn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),qn}function cr(t){return/^(html|body|#document)$/.test(lr(t))}function ot(t){return Ue(t).getComputedStyle(t)}function Io(t){return rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function _t(t){if(lr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ul(t)&&t.host||xt(t);return Ul(e)?e.host:e}function Wl(t){let e=_t(t);return cr(e)?t.ownerDocument?t.ownerDocument.body:t.body:St(e)&&Br(e)?e:Wl(e)}function xi(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Wl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Ue(n);if(a){let l=Oi(s);return e.concat(s,s.visualViewport||[],Br(n)?n:[],l&&r?xi(l):[])}else return e.concat(n,xi(n,[],r))}function Oi(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Zl(t){let e=ot(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=St(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=_o(r)!==a||_o(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function ql(t){return rt(t)?t:t.contextElement}function Ur(t){let e=ql(t);if(!St(e))return pt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Zl(e),s=(a?_o(r.width):r.width)/i,l=(a?_o(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var $f=pt(0);function Yl(t){let e=Ue(t);return!Ci()||!e.visualViewport?$f:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Mf(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ue(t)?!1:e}function No(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=ql(t),s=pt(1);e&&(i?rt(i)&&(s=Ur(i)):s=Ur(t));let l=Mf(a,r,i)?Yl(a):pt(0),d=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,f=n.width/s.x,h=n.height/s.y;if(a){let g=Ue(a),b=i&&rt(i)?Ue(i):i,y=g,C=Oi(y);for(;C&&i&&b!==y;){let A=Ur(C),L=C.getBoundingClientRect(),P=ot(C),S=L.left+(C.clientLeft+parseFloat(P.paddingLeft))*A.x,v=L.top+(C.clientTop+parseFloat(P.paddingTop))*A.y;d*=A.x,u*=A.y,f*=A.x,h*=A.y,d+=S,u+=v,y=Ue(C),C=Oi(y)}}return ar({width:f,height:h,x:d,y:u})}function Ei(t,e){let r=Io(t).scrollLeft;return e?e.left+r:No(xt(t)).left+r}function Xl(t,e){let r=t.getBoundingClientRect(),i=r.left+e.scrollLeft-Ei(t,r),n=r.top+e.scrollTop;return{x:i,y:n}}function Bf(t){let{elements:e,rect:r,offsetParent:i,strategy:n}=t,a=n==="fixed",s=xt(i),l=e?Po(e.floating):!1;if(i===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},u=pt(1),f=pt(0),h=St(i);if((h||!h&&!a)&&((lr(i)!=="body"||Br(s))&&(d=Io(i)),h)){let b=No(i);u=Ur(i),f.x=b.x+i.clientLeft,f.y=b.y+i.clientTop}let g=s&&!h&&!a?Xl(s,d):pt(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+f.x+g.x,y:r.y*u.y-d.scrollTop*u.y+f.y+g.y}}function Ff(t){return Array.from(t.getClientRects())}function Uf(t){let e=xt(t),r=Io(t),i=t.ownerDocument.body,n=Fe(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Fe(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Ei(t),l=-r.scrollTop;return ot(i).direction==="rtl"&&(s+=Fe(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}var jl=25;function zf(t,e){let r=Ue(t),i=xt(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=Ci();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let u=Ei(i);if(u<=0){let f=i.ownerDocument,h=f.body,g=getComputedStyle(h),b=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,y=Math.abs(i.clientWidth-h.clientWidth-b);y<=jl&&(a-=y)}else u<=jl&&(a+=u);return{width:a,height:s,x:l,y:d}}function Hf(t,e){let r=No(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=St(t)?Ur(t):pt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,u=i*a.y;return{width:s,height:l,x:d,y:u}}function Gl(t,e,r){let i;if(e==="viewport")i=zf(t,r);else if(e==="document")i=Uf(xt(t));else if(rt(e))i=Hf(e,r);else{let n=Yl(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return ar(i)}function Jl(t,e){let r=_t(t);return r===e||!rt(r)||cr(r)?!1:ot(r).position==="fixed"||Jl(r,e)}function Vf(t,e){let r=e.get(t);if(r)return r;let i=xi(t,[],!1).filter(l=>rt(l)&&lr(l)!=="body"),n=null,a=ot(t).position==="fixed",s=a?_t(t):t;for(;rt(s)&&!cr(s);){let l=ot(s),d=Fr(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||Br(s)&&!d&&Jl(t,s))?i=i.filter(f=>f!==s):n=l,s=_t(s)}return e.set(t,i),i}function Wf(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Po(e)?[]:Vf(e,this._c):[].concat(r),i],l=Gl(e,s[0],n),d=l.top,u=l.right,f=l.bottom,h=l.left;for(let g=1;g<s.length;g++){let b=Gl(e,s[g],n);d=Fe(b.top,d),u=nr(b.right,u),f=nr(b.bottom,f),h=Fe(b.left,h)}return{width:u-h,height:f-d,x:h,y:d}}function jf(t){let{width:e,height:r}=Zl(t);return{width:e,height:r}}function Gf(t,e,r){let i=St(e),n=xt(e),a=r==="fixed",s=No(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=pt(0);function u(){d.x=Ei(n)}if(i||!i&&!a)if((lr(e)!=="body"||Br(n))&&(l=Io(e)),i){let b=No(e,!0,a,e);d.x=b.x+e.clientLeft,d.y=b.y+e.clientTop}else n&&u();a&&!i&&n&&u();let f=n&&!i&&!a?Xl(n,l):pt(0),h=s.left+l.scrollLeft-d.x-f.x,g=s.top+l.scrollTop-d.y-f.y;return{x:h,y:g,width:s.width,height:s.height}}function Yn(t){return ot(t).position==="static"}function Kl(t,e){if(!St(t)||ot(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return xt(t)===r&&(r=r.ownerDocument.body),r}function Ql(t,e){let r=Ue(t);if(Po(t))return r;if(!St(t)){let n=_t(t);for(;n&&!cr(n);){if(rt(n)&&!Yn(n))return n;n=_t(n)}return r}let i=Kl(t,e);for(;i&&Hl(i)&&Yn(i);)i=Kl(i,e);return i&&cr(i)&&Yn(i)&&!Fr(i)?r:i||Vl(t)||r}var Kf=async function(t){let e=this.getOffsetParent||Ql,r=this.getDimensions,i=await r(t.floating);return{reference:Gf(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Zf(t){return ot(t).direction==="rtl"}var zr={convertOffsetParentRelativeRectToViewportRelativeRect:Bf,getDocumentElement:xt,getClippingRect:Wf,getOffsetParent:Ql,getElementRects:Kf,getClientRects:Ff,getDimensions:jf,getScale:Ur,isElement:rt,isRTL:Zf};var ec=Ml,Xn=$l,tc=Bl;var rc=Fl;var Jn=(t,e,r)=>{let i=new Map,n={platform:zr,...r},a={...n.platform,_c:i};return Dl(t,e,{...n,platform:a})};function ea(t){return qf(t)}function Qn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function qf(t){for(let e=t;e;e=Qn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Qn(t);e;e=Qn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Fr(r)||e.tagName==="BODY"))return e}return null}async function ta(t,e,r){let i;return typeof r=="object"?i=r:i={placement:r},Jn(t,e,{strategy:i.strategy,platform:{...zr,getOffsetParent:n=>zr.getOffsetParent(n,ea)},middleware:[tc({crossAxis:!0}),Xn({allowedPlacements:[i.placement]})]})}async function ra(t,e,r,i,n,a,s){let l,d;return typeof r=="object"?(l=r.placement,i=r.allowedPlacements,n=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,Jn(t,e,{placement:l,strategy:n,platform:{...zr,getOffsetParent:u=>zr.getOffsetParent(u,ea)},middleware:[ec(s??4),Xn({allowedPlacements:i}),rc({apply({availableHeight:u,availableWidth:f,elements:h}){typeof a=="string"&&(a=`var(${a})`),a?h.floating.style.maxHeight=`min(${Math.max(0,u)}px, ${a})`:h.floating.style.maxHeight=`${Math.max(0,u)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,f)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,f)}px`}})]})}var ia={};X(ia,{isSlotEmptyOrWithoutContent:()=>Do});var Do=t=>t?t.assignedNodes({flatten:!0}).filter(i=>{var n;return i.nodeType===Node.TEXT_NODE?((n=i.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0;var da={};X(da,{FtdsBase:()=>ca,toFtdsBase:()=>cc});var la={};X(la,{ExportpartsUpdatedEvent:()=>dr,FtLitElement:()=>D});var na={};X(na,{ScopedRegistryLitElement:()=>$o});var $o=class extends et{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return yo(i,e.elementStyles),i}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,i])=>this.defineScopedElement(r,i))}static defineScopedElement(e,r){Eo(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var sa={};X(sa,{shadowQuerySelector:()=>aa,shadowQuerySelectorAll:()=>Yf});function aa(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Yf(t,e,...r){let i=[...t.querySelectorAll(e)];for(let n of r)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var Hr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ac,oc=Symbol("constructorPrototype"),ic=Symbol("constructorName"),sc=Symbol("exportpartsDebouncer"),nc=Symbol("dynamicDependenciesLoaded"),dr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};dr.eventName="exportparts-updated";var D=class extends $o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ac]=new te(5),this.scheduleExportpartsUpdate=()=>{var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[sc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ic]=this.constructor.name,this[oc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ic]&&Object.setPrototypeOf(this,this[oc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(i){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",i)}let r=this.constructor;r[nc]||(r[nc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(dr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(dr.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 dr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=aa(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.exportparts=void 0;return}let f=new Set;for(let g of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...y].filter(d).map(A=>A.trim());for(let A of C)f.add(A)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(g=>u.map(b=>`${g}:${b}--${g}`));this.exportparts=[...this.part,...h].join(", ")}};ac=sc;Hr([m()],D.prototype,"exportpartsPrefix",void 0);Hr([se([])],D.prototype,"exportpartsPrefixes",void 0);Hr([m({reflect:!0})],D.prototype,"exportparts",void 0);Hr([m()],D.prototype,"customStylesheet",void 0);Hr([m()],D.prototype,"elementToFocus",void 0);Hr([T()],D.prototype,"useAdoptedStyleSheets",void 0);var lc=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},cc=we(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=To.medium,this.family=ko.neutral}getDesignSystemBaseClasses(){return{[Bn(this.family)]:!0,[Fn(this.size)]:!0}}}return lc([m()],e.prototype,"size",void 0),lc([m()],e.prototype,"family",void 0),e}),ca=class extends cc(D){};var dc={};var fa={};X(fa,{highlightHtml:()=>ua,highlightHtmlColorCssVariable:()=>pc,highlightHtmlStyles:()=>Jf});var pr=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,f=>{r(u)&&(l++,i(f)),d()},d)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],d=[],u,f,h=()=>({prevNode:f,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,f,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>d.push(b),n)}),d.push(u);d.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Mo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new pr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return pr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let u=r-s.start,f=(i>s.end?s.end:i)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,f),e.value=h+g,e.nodes.forEach((b,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=f),e.nodes[y].end-=f)}),i-=f,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!i(u[s],d))continue;let f=u.index;if(s!==0)for(let h=1;h<s;h++)f+=u[h].length;d=this.wrapRangeInTextNode(d,f,f+u[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let f=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,f,h=>i(d[s],h),(h,g)=>{e.lastIndex=g,n(h)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:u,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,u,f,g=>r(g,l,a.value.substring(u,f),d),g=>{i(g,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let f=new RegExp(this.createRegExp(u),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[n](f,1,(g,b)=>this.opt.filter(b,u,i,h),g=>{h++,i++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(i):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=pr.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function pa(t){let e=new Mo(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var Xf=pa,pc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Jf=w`
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ks=/'/g,Zs=/"/g,Xs=/^(?:script|style|textarea|title)$/i,nn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),x=nn(1),an=nn(2),sn=nn(3),Se=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),qs=new WeakMap,Qt=er.createTreeWalker(er,129);function Js(t,e){if(!on(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ws!==void 0?Ws.createHTML(e):e}var Qs=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=xo;for(let l=0;l<r;l++){let d=t[l],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===xo?f[1]==="!--"?s=js:f[1]!==void 0?s=Gs:f[2]!==void 0?(Xs.test(f[2])&&(n=RegExp("</"+f[2],"g")),s=Jt):f[3]!==void 0&&(s=Jt):s===Jt?f[0]===">"?(s=n??xo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?Jt:f[3]==='"'?Zs:Ks):s===Zs||s===Ks?s=Jt:s===js||s===Gs?s=xo:(s=Jt,n=void 0);let b=s===Jt&&t[l+1].startsWith("/>")?" ":"";a+=s===xo?d+Ou:h>=0?(i.push(u),d.slice(0,h)+tn+d.slice(h)+kt+b):d+kt+(h===-2?l:b)}return[Js(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Oo=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[u,f]=Qs(e,r);if(this.el=t.createElement(u,i),Qt.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=Qt.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(tn)){let g=f[s++],b=n.getAttribute(h).split(kt),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:y[2],strings:b,ctor:y[1]==="."?di:y[1]==="?"?pi:y[1]==="@"?ui:rr}),n.removeAttribute(h)}else h.startsWith(kt)&&(d.push({type:6,index:a}),n.removeAttribute(h));if(Xs.test(n.tagName)){let h=n.textContent.split(kt),g=h.length-1;if(g>0){n.textContent=li?li.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],So()),Qt.nextNode(),d.push({type:2,index:++a});n.append(h[g],So())}}}else if(n.nodeType===8)if(n.data===rn)d.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(kt,h+1))!==-1;)d.push({type:7,index:a}),h+=kt.length-1}a++}}static createElement(e,r){let i=er.createElement("template");return i.innerHTML=e,i}};function tr(t,e,r=t,i){if(e===Se)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Co(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=tr(t,n._$AS(t,e.values),n,i)),e}var ci=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??er).importNode(r,!0);Qt.currentNode=n;let a=Qt.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Pr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new fi(a,this,e)),this._$AV.push(u),d=i[++l]}s!==d?.index&&(a=Qt.nextNode(),s++)}return Qt.currentNode=er,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Pr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=tr(this,e,r),Co(e)?e===_||e==null||e===""?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==Se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ys(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!==_&&Co(this._$AH)?this._$AA.nextSibling.data=e:this.T(er.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Oo.createElement(Js(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new ci(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=qs.get(e.strings);return r===void 0&&qs.set(e.strings,r=new Oo(e)),r}k(e){on(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(So()),this.O(So()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},rr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=_}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=tr(this,e,r,0),s=!Co(e)||e!==this._$AH&&e!==Se,s&&(this._$AH=e);else{let l=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=tr(this,l[i+d],r,d),u===Se&&(u=this._$AH[d]),s||=!Co(u)||u!==this._$AH[d],u===_?e=_:e!==_&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!n&&this.j(e)}j(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},di=class extends rr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_?void 0:e}},pi=class extends rr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==_)}},ui=class extends rr{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=tr(this,e,r,0)??_)===Se)return;let i=this._$AH,n=e===_&&i!==_||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==_&&(i===_||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},fi=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){tr(this,e)}},ln={M:tn,P:kt,A:rn,C:1,L:Qs,R:ci,D:Ys,V:tr,I:Pr,H:rr,N:pi,U:ui,B:di,F:fi},Eu=en.litHtmlPolyfillSupport;Eu?.(Oo,Pr),(en.litHtmlVersions??=[]).push("3.3.0");var cn=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new Pr(e.insertBefore(So(),a),a,void 0,r??{})}return n._$AI(t),n};var dn=globalThis,et=class extends Qe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=cn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Se}};et._$litElement$=!0,et.finalized=!0,dn.litElementHydrateSupport?.({LitElement:et});var wu=dn.litElementPolyfillSupport;wu?.({LitElement:et});var el={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(dn.litElementVersions??=[]).push("4.2.0");var km=!1;var mn={};X(mn,{customElement:()=>Au,eventOptions:()=>Lu,property:()=>m,query:()=>$,queryAll:()=>un,queryAssignedElements:()=>fn,queryAssignedNodes:()=>hn,queryAsync:()=>Tu,standardProperty:()=>tl,state:()=>T});var Au=t=>(e,r)=>{r!==void 0?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};var Ru={attribute:!0,type:String,converter:_r,reflect:!1,hasChanged:vo},tl=(t=Ru,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+i)};function m(t){return(e,r)=>typeof r=="object"?tl(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function T(t){return m({...t,state:!0,attribute:!1})}function Lu(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var lt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function $(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return lt(r,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return lt(r,i,{get(){return a(this)}})}}var ku;function un(t){return(e,r)=>lt(e,r,{get(){return(this.renderRoot??(ku??=document.createDocumentFragment())).querySelectorAll(t)}})}function Tu(t){return(e,r)=>lt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function fn(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return lt(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter((d=>d.matches(n)))}})}}function hn(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return lt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var gn={};X(gn,{repeat:()=>he});var bt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ve=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:_u}=ln;var ol=t=>t.strings===void 0,rl=()=>document.createComment(""),Ir=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(rl(),n),s=i.insertBefore(rl(),n);r=new _u(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;i.insertBefore(d,n),d=u}}}return r},$t=(t,e,r=t)=>(t._$AI(e,r),t),Pu={},il=(t,e=Pu)=>t._$AH=e,nl=t=>t._$AH,hi=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var al=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},he=Ve(class extends tt{constructor(t){if(super(t),t.type!==bt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){let n=nl(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],u,f,h=0,g=n.length-1,b=0,y=a.length-1;for(;h<=g&&b<=y;)if(n[h]===null)h++;else if(n[g]===null)g--;else if(l[h]===s[b])d[b]=$t(n[h],a[b]),h++,b++;else if(l[g]===s[y])d[y]=$t(n[g],a[y]),g--,y--;else if(l[h]===s[y])d[y]=$t(n[h],a[y]),Ir(t,d[y+1],n[h]),h++,y--;else if(l[g]===s[b])d[b]=$t(n[g],a[b]),Ir(t,n[h],n[g]),g--,b++;else if(u===void 0&&(u=al(s,b,y),f=al(l,h,g)),u.has(l[h]))if(u.has(l[g])){let C=f.get(s[b]),A=C!==void 0?n[C]:null;if(A===null){let L=Ir(t,n[h]);$t(L,a[b]),d[b]=L}else d[b]=$t(A,a[b]),Ir(t,n[h],A),n[C]=null;b++}else hi(n[g]),g--;else hi(n[h]),h++;for(;b<=y;){let C=Ir(t,d[y+1]);$t(C,a[b]),d[b++]=C}for(;h<=g;){let C=n[h++];C!==null&&hi(C)}return this.ut=s,il(t,d),Se}});var yn={};X(yn,{classMap:()=>ae});var ae=Ve(class extends tt{constructor(t){if(super(t),t.type!==bt.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((i=>i!==""))));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.st)i in e||(r.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return Se}});var bn={};X(bn,{styleMap:()=>Nu});var sl="important",Iu=" !"+sl,Nu=Ve(class extends tt{constructor(t){if(super(t),t.type!==bt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(Iu);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?sl:""):r[i]=n}}return Se}});var xn={};X(xn,{UnsafeHTMLDirective:()=>Nr,unsafeHTML:()=>vn});var Nr=class extends tt{constructor(e){if(super(e),this.it=_,e.type!==bt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===_||e==null)return this._t=void 0,this.it=e;if(e===Se)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Nr.directiveName="unsafeHTML",Nr.resultType=1;var vn=Ve(Nr);var _n={};X(_n,{CacheRegistry:()=>vt,ClearCacheEvent:()=>Lo});var Cn={};X(Cn,{CancelablePromise:()=>mi,CanceledPromiseError:()=>or,cancelable:()=>Sn});var or=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},mi=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new or("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new or("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Sn=t=>new mi((e,r)=>t.then(e).catch(r));var Tn={};X(Tn,{FtNotificationEvent:()=>Ro,PostResizeEvent:()=>kn,PreResizeEvent:()=>Ln,WithEventBus:()=>Tt,withEventBus:()=>bi});var Rn={};X(Rn,{applyMixinOnce:()=>we,customElements:()=>W,dateReviver:()=>Bu,deepCopy:()=>ct,deepEqual:()=>Ce,delay:()=>gi,eventPathContainsMatchingElement:()=>En,everyDeep:()=>Mu,flatDeep:()=>We,forEachDeep:()=>cl,getComposedPathTo:()=>An,hasChanged:()=>dt,ignoreComposingEvents:()=>Ao,last:()=>wn,minmax:()=>ir,parseDate:()=>pl,randomId:()=>Uu,someDeep:()=>dl,unslotText:()=>Dr,waitFor:()=>yi,waitUntil:()=>wo});var On={};X(On,{customElement:()=>Eo,dateProperty:()=>$u,isNumber:()=>ll,jsonProperty:()=>se,numberProperty:()=>Mt,optionalNumberProperty:()=>Du});var Eo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function se(t,e){return m({type:Object,converter:{fromAttribute:r=>{if(r==null)return ct(t);try{return JSON.parse(r)}catch{return ct(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:dt,...e??{}})}function Du(t){return Mt(t)}function Mt(t){return m({type:Object,converter:{fromAttribute:e=>{var r,i;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(i=t?.max)!==null&&i!==void 0?i:1/0;return ll(e)?ir(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function ll(t){return!isNaN(parseFloat(t))}function $u(t){return m({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var gi=t=>new Promise(e=>setTimeout(e,t));async function wo(t,e=10,r=2e4){await yi(async()=>await t()||void 0,e,r)}async function yi(t,e=10,r=2e4){let i=await t(),n=performance.now(),a=n;for(;i==null&&(!r||a-n<r);)await gi(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function We(t,e){return t.flatMap(r=>[r,...We(e(r),e)])}function cl(t,e,r){let i=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&i(e(d),[...a,d])))return!1}return!0};i(t,[])}function dl(t,e,r){let i=!1;return cl(t,e,(n,a,s,l)=>(i=!!r(n,a,s,l),!i)),i}function Mu(t,e,r){return!dl(t,e,(i,n,a,s)=>!r(i,n,a,s))}function Bu(...t){return(e,r)=>t.includes(e)?pl(r):r}function pl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function Fu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Ce(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Ce(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let n=s=>Object.keys(s).filter(l=>s[l]!=null),a=n(t);if(r=a.length,r!==n(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[i]))return!1;for(i=r;i--!==0;){let s=a[i];if(!Ce(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ce(t,e){try{return Fu(t,e)}catch{return!1}}function dt(t,e){return!Ce(t,e)}function En(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function ir(t,e,r){return Math.min(Math.max(t,e),r)}function wn(t){return t[t.length-1]}function Dr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Dr(e)).join(""):t?.textContent||""}function An(t){let e=[],r=i=>{i.stopPropagation(),e=i.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function ct(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Uu(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function we(t,e){let r=i=>i[t]===!0;return i=>{if(r(i))return i;let n=e(i);return n[t]=!0,n}}function Ao(){return function(t,e,r){let i=r.value;r.value=function(n,...a){if(n.isComposing||n.keyCode===229){n.stopPropagation();return}return i.apply(this,[n].concat(a))}}}function W(t){for(let[e,r]of Object.entries(t))Eo(e)(r)}var Ro=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ln=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},kn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},bi=we(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}),Tt=class extends bi(Object){};var Lo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},vt=class extends Tt{constructor(){super(...arguments),this.content={}}register(e,r,i=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:i,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let i=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&i.length>0&&this.dispatchEvent(new Lo(i)),i}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Lo([e])),e}forceClear(e){var r;let i=this.content[e];i&&(this.clearClearTimeout(e),(r=i.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:i.loader,final:i.final,status:"REGISTERED"})}clearClearTimeout(e){var r,i,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((i=this.content[e])===null||i===void 0?void 0:i.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,i=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:i,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,i){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=Sn(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,i!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),i)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,i;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((i=this.content[e])===null||i===void 0?void 0:i.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var $n={};X($n,{ClusteringHelper:()=>Dn,formatHierarchicalValues:()=>Nn});var In={};X(In,{accessBreadcrumb:()=>Vu,accessResult:()=>Pn,accessResultId:()=>zu,accessResultUrl:()=>Hu});function Pn(t){var e,r,i,n;return(n=(i=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&i!==void 0?i:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function zu(t){var e,r,i,n,a,s,l,d,u;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(i=t?.topic)===null||i===void 0?void 0:i.tocId)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.contentId}function Hu(t){var e,r,i,n,a,s,l,d,u;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(i=t?.topic)===null||i===void 0?void 0:i.readerUrl)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.viewerUrl}function Vu(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 Nn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Dn=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static findResultWithMetadataValue(e,r,i){return e?.find(n=>{var a;return((a=this.extractResultMetadata({result:n}).find(s=>s.key==r))===null||a===void 0?void 0:a.value)==i})}static extractResultMetadata(e){var r,i;let n=(i=(r=Pn(e.result))===null||r===void 0?void 0:r.metadata)!==null&&i!==void 0?i:[];return e.key==null?t.flattenMetadata(n,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(n.find(a=>a.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,i){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Nn(l)),s.push(Nn(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,i="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(h=>h??{key:e,label:u,value:void 0,displayValue:i}).filter(h=>h.value!=d?.value).filter((h,g,b)=>b.findIndex(y=>y.value===h.value)===g).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,g)=>this.compareMetadata(h.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var Mn={};X(Mn,{Debouncer:()=>te});var te=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),a=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var zn={};X(zn,{designSystemVariables:()=>O});var Un={};X(Un,{DesignSystemFamily:()=>ko,DesignSystemSize:()=>To,FtCssVariableFactory:()=>o,badge:()=>of,banner:()=>rf,button:()=>Gu,card:()=>Ku,chart:()=>vf,checkbox:()=>qu,chip:()=>Qu,chipChoice:()=>Ju,chipGroup:()=>ef,collapsible:()=>yf,combobox:()=>mf,dateRangePicker:()=>Af,drawer:()=>df,floatingMenu:()=>hf,foundation:()=>c,link:()=>tf,modal:()=>cf,notice:()=>Sf,notification:()=>Of,pageDesigner:()=>xf,pageFooter:()=>sf,pageHeader:()=>af,pageLayout:()=>lf,popover:()=>gf,radio:()=>Yu,reorderableList:()=>wf,resolveFamilyClass:()=>Bn,resolveSizeClass:()=>Fn,semantic:()=>p,setVariable:()=>R,switch_:()=>bf,table:()=>Xu,tabs:()=>pf,textArea:()=>ff,textInput:()=>uf,titleBreadcrumb:()=>nf,toggle:()=>Cf,tooltip:()=>Ef,treeList:()=>Zu,typographies:()=>Wu,typographyBody1Medium:()=>yl,typographyBody1Regular:()=>gl,typographyBody1Semibold:()=>bl,typographyBody2Medium:()=>xl,typographyBody2MediumUnderline:()=>Sl,typographyBody2Regular:()=>vl,typographyBody2Semibold:()=>Cl,typographyCaption1Medium:()=>Ol,typographyCaption1Semibold:()=>El,typographyCaption2Bold:()=>Rl,typographyCaption2Medium:()=>wl,typographyCaption2Semibold:()=>Al,typographyDisplay:()=>ul,typographyTitle1:()=>fl,typographyTitle2:()=>hl,typographyTitle3:()=>ml,typographyVariants:()=>ju});var Bt=t=>typeof t=="string"?Xt(t):t,o=class{static create(e,r,i,n){let a=l=>Bt(l??n),s=w`var(${Bt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>R(s,l??a(n)),s.get=l=>w`var(${Bt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=w`var(${Bt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>R(s,l??a(n)),s.get=l=>w`var(${Bt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=w`var(${Bt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>w`var(${Bt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function R(t,e){return Bt(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ul={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},fl={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},hl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ml={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},gl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},yl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},bl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},vl={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},xl={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Sl={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Cl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ol={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},El={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},wl={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Al={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Rl={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Wu={display:ul,"title-1":fl,"title-2":hl,"title-3":ml,"body-1-regular":gl,"body-1-medium":yl,"body-1-semibold":bl,"body-2-regular":vl,"body-2-medium":xl,"body-2-medium-underline":Sl,"body-2-semibold":Cl,"caption-1-medium":Ol,"caption-1-semibold":El,"caption-2-medium":wl,"caption-2-semibold":Al,"caption-2-bold":Rl},ju=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var p={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Gu={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Ku={borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",p.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",p.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",p.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",p.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",p.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",p.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",p.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",p.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",p.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",p.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",p.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",p.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",p.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",p.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Zu={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var qu={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",p.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",p.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",p.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",p.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",p.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Yu={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Xu={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ju={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Qu={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var ef={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",p.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",p.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",p.contentActionPrimary)};var tf={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var rf={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var of={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var nf={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var af={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var sf={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var lf={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var cf={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var df={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var pf={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var uf={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var ff={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var hf={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",p.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",p.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",p.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",p.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",p.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",p.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",p.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",p.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",p.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",p.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",p.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",p.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",p.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",p.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",p.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",p.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",p.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",p.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",p.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",p.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",p.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",p.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",p.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",p.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var mf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",p.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",p.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",p.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",p.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",p.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",p.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",p.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",p.borderInputPrimary)};var gf={backgroundColor:o.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var yf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var bf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var vf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var xf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Sf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Cf={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var Of={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Ef={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var wf={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var Af={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var ko;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ko||(ko={}));var To;(function(t){t.large="large",t.medium="medium",t.small="small"})(To||(To={}));function Bn(t){return`ftds--family-${t}`}function Fn(t){return`ftds--size-${t}`}var O={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Hn={};X(Hn,{DynamicImporter:()=>vi,dynamicImporter:()=>Rf});var vi=class{async import(e){if(e)return import(e)}},Rf=new vi;var oa={};X(oa,{computeOffsetAutoPosition:()=>ra,computeOffsetPosition:()=>ta});var kl=["top","right","bottom","left"],Ll=["start","end"],Wn=kl.reduce((t,e)=>t.concat(e,e+"-"+Ll[0],e+"-"+Ll[1]),[]),nr=Math.min,Fe=Math.max,_o=Math.round;var pt=t=>({x:t,y:t}),Lf={left:"right",right:"left",bottom:"top",top:"bottom"};function jn(t,e,r){return Fe(t,nr(e,r))}function $r(t,e){return typeof t=="function"?t(e):t}function Ft(t){return t.split("-")[0]}function xt(t){return t.split("-")[1]}function Gn(t){return t==="x"?"y":"x"}function Kn(t){return t==="y"?"height":"width"}function Mr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Zn(t){return Gn(Mr(t))}function Tl(t,e,r){r===void 0&&(r=!1);let i=xt(t),n=Zn(t),a=Kn(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Vn(s)),[s,Vn(s)]}function _l(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Vn(t){let e=Ft(t);return Lf[e]+t.slice(e.length)}function kf(t){return{top:0,right:0,bottom:0,left:0,...t}}function Pl(t){return typeof t!="number"?kf(t):{top:t,right:t,bottom:t,left:t}}function ar(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Il(t,e,r){let{reference:i,floating:n}=t,a=Mr(e),s=Zn(e),l=Kn(s),d=Ft(e),u=a==="y",f=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,b;switch(d){case"top":b={x:f,y:i.y-n.height};break;case"bottom":b={x:f,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:h};break;case"left":b={x:i.x-n.width,y:h};break;default:b={x:i.x,y:i.y}}switch(xt(e)){case"start":b[s]-=g*(r&&u?-1:1);break;case"end":b[s]+=g*(r&&u?-1:1);break}return b}async function Nl(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:b=0}=$r(e,t),y=Pl(b),A=l[g?h==="floating"?"reference":"floating":h],L=ar(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(A)))==null||r?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:d})),P=h==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),v=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},E=ar(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:S,strategy:d}):P);return{top:(L.top-E.top+y.top)/v.y,bottom:(E.bottom-L.bottom+y.bottom)/v.y,left:(L.left-E.left+y.left)/v.x,right:(E.right-L.right+y.right)/v.x}}var Tf=50,Dl=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Nl},d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:h}=Il(u,i,d),g=i,b=0,y={};for(let C=0;C<a.length;C++){let A=a[C];if(!A)continue;let{name:L,fn:P}=A,{x:S,y:v,data:E,reset:I}=await P({x:f,y:h,initialPlacement:i,placement:g,strategy:n,middlewareData:y,rects:u,platform:l,elements:{reference:t,floating:e}});f=S??f,h=v??h,y[L]={...y[L],...E},I&&b<Tf&&(b++,typeof I=="object"&&(I.placement&&(g=I.placement),I.rects&&(u=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):I.rects),{x:f,y:h}=Il(u,g,d)),C=-1)}return{x:f,y:h,placement:g,strategy:n,middlewareData:y}};function _f(t,e,r){return(t?[...r.filter(n=>xt(n)===t),...r.filter(n=>xt(n)!==t)]:r.filter(n=>Ft(n)===n)).filter(n=>t?xt(n)===t||(e?_l(n)!==n:!1):!0)}var $l=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=Wn,autoAlignment:b=!0,...y}=$r(t,e),C=h!==void 0||g===Wn?_f(h||null,b,g):g,A=await d.detectOverflow(e,y),L=((r=s.autoPlacement)==null?void 0:r.index)||0,P=C[L];if(P==null)return{};let S=Tl(P,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==P)return{reset:{placement:C[0]}};let v=[A[Ft(P)],A[S[0]],A[S[1]]],E=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:v}],I=C[L+1];if(I)return{data:{index:L+1,overflows:E},reset:{placement:I}};let V=E.map(M=>{let U=xt(M.placement);return[M.placement,U&&f?M.overflows.slice(0,2).reduce((J,xe)=>J+xe,0):M.overflows[0],M.overflows]}).sort((M,U)=>M[1]-U[1]),Q=((n=V.filter(M=>M[2].slice(0,xt(M[0])?2:3).every(U=>U<=0))[0])==null?void 0:n[0])||V[0][0];return Q!==l?{data:{index:L+1,overflows:E},reset:{placement:Q}}:{}}}};var Pf=new Set(["left","top"]);async function If(t,e){let{placement:r,platform:i,elements:n}=t,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Ft(r),l=xt(r),d=Mr(r)==="y",u=Pf.has(s)?-1:1,f=a&&d?-1:1,h=$r(e,t),{mainAxis:g,crossAxis:b,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof y=="number"&&(b=l==="end"?y*-1:y),d?{x:b*f,y:g*u}:{x:g*u,y:b*f}}var Ml=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await If(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Bl=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:L=>{let{x:P,y:S}=L;return{x:P,y:S}}},...u}=$r(t,e),f={x:r,y:i},h=await a.detectOverflow(e,u),g=Mr(Ft(n)),b=Gn(g),y=f[b],C=f[g];if(s){let L=b==="y"?"top":"left",P=b==="y"?"bottom":"right",S=y+h[L],v=y-h[P];y=jn(S,y,v)}if(l){let L=g==="y"?"top":"left",P=g==="y"?"bottom":"right",S=C+h[L],v=C-h[P];C=jn(S,C,v)}let A=d.fn({...e,[b]:y,[g]:C});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[b]:s,[g]:l}}}}}};var Fl=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...u}=$r(t,e),f=await s.detectOverflow(e,u),h=Ft(n),g=xt(n),b=Mr(n)==="y",{width:y,height:C}=a.floating,A,L;h==="top"||h==="bottom"?(A=h,L=g===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(L=h,A=g==="end"?"top":"bottom");let P=C-f.top-f.bottom,S=y-f.left-f.right,v=nr(C-f[A],P),E=nr(y-f[L],S),I=!e.middlewareData.shift,V=v,ge=E;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(ge=S),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(V=P),I&&!g){let M=Fe(f.left,0),U=Fe(f.right,0),J=Fe(f.top,0),xe=Fe(f.bottom,0);b?ge=y-2*(M!==0||U!==0?M+U:Fe(f.left,f.right)):V=C-2*(J!==0||xe!==0?J+xe:Fe(f.top,f.bottom))}await d({...e,availableWidth:ge,availableHeight:V});let Q=await s.getDimensions(l.floating);return y!==Q.width||C!==Q.height?{reset:{rects:!0}}:{}}}};function Si(){return typeof window<"u"}function lr(t){return zl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ue(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(zl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zl(t){return Si()?t instanceof Node||t instanceof Ue(t).Node:!1}function rt(t){return Si()?t instanceof Element||t instanceof Ue(t).Element:!1}function Ct(t){return Si()?t instanceof HTMLElement||t instanceof Ue(t).HTMLElement:!1}function Ul(t){return!Si()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ue(t).ShadowRoot}function Br(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=ot(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&n!=="inline"&&n!=="contents"}function Hl(t){return/^(table|td|th)$/.test(lr(t))}function Po(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Nf=/transform|translate|scale|rotate|perspective|filter/,Df=/paint|layout|strict|content/,sr=t=>!!t&&t!=="none",qn;function Fr(t){let e=rt(t)?ot(t):t;return sr(e.transform)||sr(e.translate)||sr(e.scale)||sr(e.rotate)||sr(e.perspective)||!Ci()&&(sr(e.backdropFilter)||sr(e.filter))||Nf.test(e.willChange||"")||Df.test(e.contain||"")}function Vl(t){let e=_t(t);for(;Ct(e)&&!cr(e);){if(Fr(e))return e;if(Po(e))return null;e=_t(e)}return null}function Ci(){return qn==null&&(qn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),qn}function cr(t){return/^(html|body|#document)$/.test(lr(t))}function ot(t){return Ue(t).getComputedStyle(t)}function Io(t){return rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function _t(t){if(lr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ul(t)&&t.host||St(t);return Ul(e)?e.host:e}function Wl(t){let e=_t(t);return cr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ct(e)&&Br(e)?e:Wl(e)}function xi(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Wl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Ue(n);if(a){let l=Oi(s);return e.concat(s,s.visualViewport||[],Br(n)?n:[],l&&r?xi(l):[])}else return e.concat(n,xi(n,[],r))}function Oi(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Zl(t){let e=ot(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Ct(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=_o(r)!==a||_o(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function ql(t){return rt(t)?t:t.contextElement}function Ur(t){let e=ql(t);if(!Ct(e))return pt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Zl(e),s=(a?_o(r.width):r.width)/i,l=(a?_o(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var $f=pt(0);function Yl(t){let e=Ue(t);return!Ci()||!e.visualViewport?$f:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Mf(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ue(t)?!1:e}function No(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=ql(t),s=pt(1);e&&(i?rt(i)&&(s=Ur(i)):s=Ur(t));let l=Mf(a,r,i)?Yl(a):pt(0),d=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,f=n.width/s.x,h=n.height/s.y;if(a){let g=Ue(a),b=i&&rt(i)?Ue(i):i,y=g,C=Oi(y);for(;C&&i&&b!==y;){let A=Ur(C),L=C.getBoundingClientRect(),P=ot(C),S=L.left+(C.clientLeft+parseFloat(P.paddingLeft))*A.x,v=L.top+(C.clientTop+parseFloat(P.paddingTop))*A.y;d*=A.x,u*=A.y,f*=A.x,h*=A.y,d+=S,u+=v,y=Ue(C),C=Oi(y)}}return ar({width:f,height:h,x:d,y:u})}function Ei(t,e){let r=Io(t).scrollLeft;return e?e.left+r:No(St(t)).left+r}function Xl(t,e){let r=t.getBoundingClientRect(),i=r.left+e.scrollLeft-Ei(t,r),n=r.top+e.scrollTop;return{x:i,y:n}}function Bf(t){let{elements:e,rect:r,offsetParent:i,strategy:n}=t,a=n==="fixed",s=St(i),l=e?Po(e.floating):!1;if(i===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},u=pt(1),f=pt(0),h=Ct(i);if((h||!h&&!a)&&((lr(i)!=="body"||Br(s))&&(d=Io(i)),h)){let b=No(i);u=Ur(i),f.x=b.x+i.clientLeft,f.y=b.y+i.clientTop}let g=s&&!h&&!a?Xl(s,d):pt(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+f.x+g.x,y:r.y*u.y-d.scrollTop*u.y+f.y+g.y}}function Ff(t){return Array.from(t.getClientRects())}function Uf(t){let e=St(t),r=Io(t),i=t.ownerDocument.body,n=Fe(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Fe(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Ei(t),l=-r.scrollTop;return ot(i).direction==="rtl"&&(s+=Fe(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}var jl=25;function zf(t,e){let r=Ue(t),i=St(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=Ci();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let u=Ei(i);if(u<=0){let f=i.ownerDocument,h=f.body,g=getComputedStyle(h),b=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,y=Math.abs(i.clientWidth-h.clientWidth-b);y<=jl&&(a-=y)}else u<=jl&&(a+=u);return{width:a,height:s,x:l,y:d}}function Hf(t,e){let r=No(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=Ct(t)?Ur(t):pt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,u=i*a.y;return{width:s,height:l,x:d,y:u}}function Gl(t,e,r){let i;if(e==="viewport")i=zf(t,r);else if(e==="document")i=Uf(St(t));else if(rt(e))i=Hf(e,r);else{let n=Yl(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return ar(i)}function Jl(t,e){let r=_t(t);return r===e||!rt(r)||cr(r)?!1:ot(r).position==="fixed"||Jl(r,e)}function Vf(t,e){let r=e.get(t);if(r)return r;let i=xi(t,[],!1).filter(l=>rt(l)&&lr(l)!=="body"),n=null,a=ot(t).position==="fixed",s=a?_t(t):t;for(;rt(s)&&!cr(s);){let l=ot(s),d=Fr(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||Br(s)&&!d&&Jl(t,s))?i=i.filter(f=>f!==s):n=l,s=_t(s)}return e.set(t,i),i}function Wf(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Po(e)?[]:Vf(e,this._c):[].concat(r),i],l=Gl(e,s[0],n),d=l.top,u=l.right,f=l.bottom,h=l.left;for(let g=1;g<s.length;g++){let b=Gl(e,s[g],n);d=Fe(b.top,d),u=nr(b.right,u),f=nr(b.bottom,f),h=Fe(b.left,h)}return{width:u-h,height:f-d,x:h,y:d}}function jf(t){let{width:e,height:r}=Zl(t);return{width:e,height:r}}function Gf(t,e,r){let i=Ct(e),n=St(e),a=r==="fixed",s=No(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=pt(0);function u(){d.x=Ei(n)}if(i||!i&&!a)if((lr(e)!=="body"||Br(n))&&(l=Io(e)),i){let b=No(e,!0,a,e);d.x=b.x+e.clientLeft,d.y=b.y+e.clientTop}else n&&u();a&&!i&&n&&u();let f=n&&!i&&!a?Xl(n,l):pt(0),h=s.left+l.scrollLeft-d.x-f.x,g=s.top+l.scrollTop-d.y-f.y;return{x:h,y:g,width:s.width,height:s.height}}function Yn(t){return ot(t).position==="static"}function Kl(t,e){if(!Ct(t)||ot(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return St(t)===r&&(r=r.ownerDocument.body),r}function Ql(t,e){let r=Ue(t);if(Po(t))return r;if(!Ct(t)){let n=_t(t);for(;n&&!cr(n);){if(rt(n)&&!Yn(n))return n;n=_t(n)}return r}let i=Kl(t,e);for(;i&&Hl(i)&&Yn(i);)i=Kl(i,e);return i&&cr(i)&&Yn(i)&&!Fr(i)?r:i||Vl(t)||r}var Kf=async function(t){let e=this.getOffsetParent||Ql,r=this.getDimensions,i=await r(t.floating);return{reference:Gf(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Zf(t){return ot(t).direction==="rtl"}var zr={convertOffsetParentRelativeRectToViewportRelativeRect:Bf,getDocumentElement:St,getClippingRect:Wf,getOffsetParent:Ql,getElementRects:Kf,getClientRects:Ff,getDimensions:jf,getScale:Ur,isElement:rt,isRTL:Zf};var ec=Ml,Xn=$l,tc=Bl;var rc=Fl;var Jn=(t,e,r)=>{let i=new Map,n={platform:zr,...r},a={...n.platform,_c:i};return Dl(t,e,{...n,platform:a})};function ea(t){return qf(t)}function Qn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function qf(t){for(let e=t;e;e=Qn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Qn(t);e;e=Qn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Fr(r)||e.tagName==="BODY"))return e}return null}async function ta(t,e,r){let i;return typeof r=="object"?i=r:i={placement:r},Jn(t,e,{strategy:i.strategy,platform:{...zr,getOffsetParent:n=>zr.getOffsetParent(n,ea)},middleware:[tc({crossAxis:!0}),Xn({allowedPlacements:[i.placement]})]})}async function ra(t,e,r,i,n,a,s){let l,d;return typeof r=="object"?(l=r.placement,i=r.allowedPlacements,n=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,Jn(t,e,{placement:l,strategy:n,platform:{...zr,getOffsetParent:u=>zr.getOffsetParent(u,ea)},middleware:[ec(s??4),Xn({allowedPlacements:i}),rc({apply({availableHeight:u,availableWidth:f,elements:h}){typeof a=="string"&&(a=`var(${a})`),a?h.floating.style.maxHeight=`min(${Math.max(0,u)}px, ${a})`:h.floating.style.maxHeight=`${Math.max(0,u)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,f)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,f)}px`}})]})}var ia={};X(ia,{isSlotEmptyOrWithoutContent:()=>Do});var Do=t=>t?t.assignedNodes({flatten:!0}).filter(i=>{var n;return i.nodeType===Node.TEXT_NODE?((n=i.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0;var da={};X(da,{FtdsBase:()=>ca,toFtdsBase:()=>cc});var la={};X(la,{ExportpartsUpdatedEvent:()=>dr,FtLitElement:()=>D});var na={};X(na,{ScopedRegistryLitElement:()=>$o});var $o=class extends et{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return yo(i,e.elementStyles),i}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,i])=>this.defineScopedElement(r,i))}static defineScopedElement(e,r){Eo(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var sa={};X(sa,{shadowQuerySelector:()=>aa,shadowQuerySelectorAll:()=>Yf});function aa(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Yf(t,e,...r){let i=[...t.querySelectorAll(e)];for(let n of r)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var Hr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ac,oc=Symbol("constructorPrototype"),ic=Symbol("constructorName"),sc=Symbol("exportpartsDebouncer"),nc=Symbol("dynamicDependenciesLoaded"),dr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};dr.eventName="exportparts-updated";var D=class extends $o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ac]=new te(5),this.scheduleExportpartsUpdate=()=>{var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[sc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ic]=this.constructor.name,this[oc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ic]&&Object.setPrototypeOf(this,this[oc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(i){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",i)}let r=this.constructor;r[nc]||(r[nc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(dr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(dr.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 dr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=aa(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,i,n,a,s,l;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.exportparts=void 0;return}let f=new Set;for(let g of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...y].filter(d).map(A=>A.trim());for(let A of C)f.add(A)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(g=>u.map(b=>`${g}:${b}--${g}`));this.exportparts=[...this.part,...h].join(", ")}};ac=sc;Hr([m()],D.prototype,"exportpartsPrefix",void 0);Hr([se([])],D.prototype,"exportpartsPrefixes",void 0);Hr([m({reflect:!0})],D.prototype,"exportparts",void 0);Hr([m()],D.prototype,"customStylesheet",void 0);Hr([m()],D.prototype,"elementToFocus",void 0);Hr([T()],D.prototype,"useAdoptedStyleSheets",void 0);var lc=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},cc=we(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=To.medium,this.family=ko.neutral}getDesignSystemBaseClasses(){return{[Bn(this.family)]:!0,[Fn(this.size)]:!0}}}return lc([m()],e.prototype,"size",void 0),lc([m()],e.prototype,"family",void 0),e}),ca=class extends cc(D){};var dc={};var fa={};X(fa,{highlightHtml:()=>ua,highlightHtmlColorCssVariable:()=>pc,highlightHtmlStyles:()=>Jf});var pr=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,f=>{r(u)&&(l++,i(f)),d()},d)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],d=[],u,f,h=()=>({prevNode:f,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,f,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>d.push(b),n)}),d.push(u);d.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Mo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new pr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return pr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let u=r-s.start,f=(i>s.end?s.end:i)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,f),e.value=h+g,e.nodes.forEach((b,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=f),e.nodes[y].end-=f)}),i-=f,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!i(u[s],d))continue;let f=u.index;if(s!==0)for(let h=1;h<s;h++)f+=u[h].length;d=this.wrapRangeInTextNode(d,f,f+u[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let f=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,f,h=>i(d[s],h),(h,g)=>{e.lastIndex=g,n(h)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:u,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,u,f,g=>r(g,l,a.value.substring(u,f),d),g=>{i(g,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let f=new RegExp(this.createRegExp(u),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[n](f,1,(g,b)=>this.opt.filter(b,u,i,h),g=>{h++,i++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(i):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=pr.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function pa(t){let e=new Mo(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var Xf=pa,pc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Jf=w`
|
|
5
5
|
.highlight-html-match {
|
|
6
6
|
background: ${pc};
|
|
7
7
|
}
|
|
@@ -44,7 +44,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
44
44
|
input::-webkit-search-results-decoration {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
|
-
`;var uc={};var ya={};X(ya,{ParametrizedLabelResolver:()=>Ut});var Ut=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(i,s))),e}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var za={};X(za,{FtCommandQueue:()=>Fo,FtLitElementRedux:()=>hr,FtReduxStore:()=>yr,FtStateManager:()=>Wo,ReduxWatcher:()=>Ti,clearAllStores:()=>Mh,isFtReduxStore:()=>Wr,redux:()=>Vr,reduxEventListener:()=>eh,reduxReactive:()=>Qf,watch:()=>Bh,withRedux:()=>fc});var Qf=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},Vr=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:dt,attribute:!1,...e};m(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:(l=>l[i]),store:e.store})}},eh=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var Fo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Wr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Uo=Symbol("internalReduxEventsUnsubscribers"),zt=Symbol("internalStoresUnsubscribers"),fr=Symbol("internalStores"),fc=we(Symbol("withRedux"),function(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[fr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[fr].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[fr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[fr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[fr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[zt].has(s.store):this[zt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[zt].set(s,l.subscribe(()=>this.updateFromStores())),this[Uo].set(s,[]),Wr(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,f)=>{if(typeof this[f]=="function"&&(!u.store||l.name===u.store)){let h=g=>this[f](g);l.addEventListener(u.eventName,h),this[Uo].get(s).push(()=>l.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[zt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[zt].has(s)&&this[zt].get(s)(),this[zt].delete(s),(l=this[Uo].get(s))===null||l===void 0||l.forEach(d=>d()),this[Uo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=zt,r=fr,i=Uo,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),hr=class extends fc(D){};function it(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Pt(t){return!!t&&!!t[le]}function ut(t){var e;return!!t&&((function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===lh})(t)||Array.isArray(t)||!!t[xc]||!!(!((e=t.constructor)===null||e===void 0)&&e[xc])||Aa(t)||Ra(t))}function mr(t,e,r){r===void 0&&(r=!1),Kr(t)===0?(r?Object.keys:Gr)(t).forEach((function(i){r&&typeof i=="symbol"||e(i,t[i],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function Kr(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Aa(t)?2:Ra(t)?3:0}function jr(t,e){return Kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function th(t,e){return Kr(t)===2?t.get(e):t[e]}function Sc(t,e,r){var i=Kr(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Cc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Aa(t){return ah&&t instanceof Map}function Ra(t){return sh&&t instanceof Set}function Ht(t){return t.o||t.t}function La(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=wc(t);delete e[le];for(var r=Gr(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function ka(t,e){return e===void 0&&(e=!1),Ta(t)||Pt(t)||!ut(t)||(Kr(t)>1&&(t.set=t.add=t.clear=t.delete=rh),Object.freeze(t),e&&mr(t,(function(r,i){return ka(i,!0)}),!0)),t}function rh(){it(2)}function Ta(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ct(t){var e=wa[t];return e||it(18,t),e}function oh(t,e){wa[t]||(wa[t]=e)}function Ca(){return Ho}function ba(t,e){e&&(Ct("Patches"),t.u=[],t.s=[],t.v=e)}function wi(t){Oa(t),t.p.forEach(ih),t.p=null}function Oa(t){t===Ho&&(Ho=t.l)}function hc(t){return Ho={p:[],l:Ho,h:t,m:!0,_:0}}function ih(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function va(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Ct("ES5").S(e,t,i),i?(r[le].P&&(wi(e),it(4)),ut(t)&&(t=Ai(e,t),e.l||Ri(e,t)),e.u&&Ct("Patches").M(r[le].t,t,e.u,e.s)):t=Ai(e,r,[]),wi(e),e.u&&e.v(e.u,e.s),t!==Ec?t:void 0}function Ai(t,e,r){if(Ta(e))return e;var i=e[le];if(!i)return mr(e,(function(l,d){return mc(t,i,e,l,d,r)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ri(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=La(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),mr(a,(function(l,d){return mc(t,i,n,l,d,r,s)})),Ri(t,n,!1),r&&t.u&&Ct("Patches").N(i,r,t.u,t.s)}return i.o}function mc(t,e,r,i,n,a,s){if(Pt(n)){var l=Ai(t,n,a&&e&&e.i!==3&&!jr(e.R,i)?a.concat(i):void 0);if(Sc(r,i,l),!Pt(l))return;t.m=!1}else s&&r.add(n);if(ut(n)&&!Ta(n)){if(!t.h.D&&t._<1)return;Ai(t,n),e&&e.A.l||Ri(t,n)}}function Ri(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ka(e,r)}function xa(t,e){var r=t[le];return(r?Ht(r):t)[e]}function gc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Sa(t){t.o||(t.o=La(t.t))}function Ea(t,e,r){var i=Aa(e)?Ct("MapSet").F(e,r):Ra(e)?Ct("MapSet").T(e,r):t.O?(function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ca(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,u=Vo;s&&(d=[l],u=zo);var f=Proxy.revocable(d,u),h=f.revoke,g=f.proxy;return l.k=g,l.j=h,g})(e,r):Ct("ES5").J(e,r);return(r?r.A:Ca()).p.push(i),i}function nh(t){return Pt(t)||it(22,t),(function e(r){if(!ut(r))return r;var i,n=r[le],a=Kr(r);if(n){if(!n.P&&(n.i<4||!Ct("ES5").K(n)))return n.t;n.I=!0,i=yc(r,a),n.I=!1}else i=yc(r,a);return mr(i,(function(s,l){n&&th(n.t,s)===l||Sc(i,s,e(l))})),a===3?new Set(i):i})(t)}function yc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return La(t)}function Oc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[le];return Vo.get(u,s)},set:function(u){var f=this[le];Vo.set(f,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][le];if(!d.P)switch(d.i){case 5:i(d)&&Vt(d);break;case 4:r(d)&&Vt(d)}}}function r(s){for(var l=s.t,d=s.k,u=Gr(d),f=u.length-1;f>=0;f--){var h=u[f];if(h!==le){var g=l[h];if(g===void 0&&!jr(l,h))return!0;var b=d[h],y=b&&b[le];if(y?y.t!==g:!Cc(b,g))return!0}}var C=!!l[le];return u.length!==Gr(l).length+(C?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function n(s){s.g&&it(3,JSON.stringify(Ht(s)))}var a={};oh("ES5",{J:function(s,l){var d=Array.isArray(s),u=(function(h,g){if(h){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var C=wc(g);delete C[le];for(var A=Gr(C),L=0;L<A.length;L++){var P=A[L];C[P]=t(P,h||!!C[P].enumerable)}return Object.create(Object.getPrototypeOf(g),C)})(d,s),f={i:d?5:4,A:l?l.A:Ca(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,le,{value:f,writable:!0}),u},S:function(s,l,d){d?Pt(l)&&l[le].A===s&&e(s.p):(s.u&&(function u(f){if(f&&typeof f=="object"){var h=f[le];if(h){var g=h.t,b=h.k,y=h.R,C=h.i;if(C===4)mr(b,(function(v){v!==le&&(g[v]!==void 0||jr(g,v)?y[v]||u(b[v]):(y[v]=!0,Vt(h)))})),mr(g,(function(v){b[v]!==void 0||jr(b,v)||(y[v]=!1,Vt(h))}));else if(C===5){if(i(h)&&(Vt(h),y.length=!0),b.length<g.length)for(var A=b.length;A<g.length;A++)y[A]=!1;else for(var L=g.length;L<b.length;L++)y[L]=!0;for(var P=Math.min(b.length,g.length),S=0;S<P;S++)b.hasOwnProperty(S)||(y[S]=!0),y[S]===void 0&&u(b[S])}}}})(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var bc,Ho,_a=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ah=typeof Map<"u",sh=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=_a?Symbol.for("immer-nothing"):((bc={})["immer-nothing"]=!0,bc),xc=_a?Symbol.for("immer-draftable"):"__$immer_draftable",le=_a?Symbol.for("immer-state"):"__$immer_state";var lh=""+Object.prototype.constructor,Gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,wc=Object.getOwnPropertyDescriptors||function(t){var e={};return Gr(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},wa={},Vo={get:function(t,e){if(e===le)return t;var r=Ht(t);if(!jr(r,e))return(function(n,a,s){var l,d=gc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0})(t,r,e);var i=r[e];return t.I||!ut(i)?i:i===xa(t.t,e)?(Sa(t),t.o[e]=Ea(t.A.h,i,t)):i},has:function(t,e){return e in Ht(t)},ownKeys:function(t){return Reflect.ownKeys(Ht(t))},set:function(t,e,r){var i=gc(Ht(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=xa(Ht(t),e),a=n?.[le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Cc(r,n)&&(r!==void 0||jr(t.t,e)))return!0;Sa(t),Vt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return xa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Sa(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ht(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){it(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){it(12)}},zo={};mr(Vo,(function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};var ch=(function(){function t(r){var i=this;this.O=vc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(C){var A=this;C===void 0&&(C=l);for(var L=arguments.length,P=Array(L>1?L-1:0),S=1;S<L;S++)P[S-1]=arguments[S];return d.produce(C,(function(v){var E;return(E=a).call.apply(E,[A,v].concat(P))}))}}var u;if(typeof a!="function"&&it(6),s!==void 0&&typeof s!="function"&&it(7),ut(n)){var f=hc(i),h=Ea(i,n,void 0),g=!0;try{u=a(h),g=!1}finally{g?wi(f):Oa(f)}return typeof Promise<"u"&&u instanceof Promise?u.then((function(C){return ba(f,s),va(C,f)}),(function(C){throw wi(f),C})):(ba(f,s),va(u,f))}if(!n||typeof n!="object"){if((u=a(n))===void 0&&(u=n),u===Ec&&(u=void 0),i.D&&ka(u,!0),s){var b=[],y=[];Ct("Patches").M(n,u,b,y),s(b,y)}return u}it(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(u){for(var f=arguments.length,h=Array(f>1?f-1:0),g=1;g<f;g++)h[g-1]=arguments[g];return i.produceWithPatches(u,(function(b){return n.apply(void 0,[b].concat(h))}))};var s,l,d=i.produce(n,a,(function(u,f){s=u,l=f}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(u){return[u,s,l]})):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){ut(r)||it(8),Pt(r)&&(r=nh(r));var i=hc(this),n=Ea(this,r,void 0);return n[le].C=!0,Oa(i),n},e.finishDraft=function(r,i){var n=r&&r[le],a=n.A;return ba(a,i),va(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!vc&&it(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Ct("Patches").$;return Pt(r)?s(r,i):this.produce(r,(function(l){return s(l,i)}))},t})(),je=new ch,dh=je.produce,r0=je.produceWithPatches.bind(je),o0=je.setAutoFreeze.bind(je),i0=je.setUseProxies.bind(je),n0=je.applyPatches.bind(je),a0=je.createDraft.bind(je),s0=je.finishDraft.bind(je),Li=dh;function gr(t){"@babel/helpers - typeof";return gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gr(t)}function Ac(t,e){if(gr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(gr(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Rc(t){var e=Ac(t,"string");return gr(e)=="symbol"?e:e+""}function Lc(t,e,r){return(e=Rc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Pa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kc(Object(r),!0).forEach(function(i){Lc(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kc(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Pe(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 Tc=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},ki={INIT:"@@redux/INIT"+Ia(),REPLACE:"@@redux/REPLACE"+Ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ia()}};function ph(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Na(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Pe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Pe(1));return r(Na)(t,e)}if(typeof t!="function")throw new Error(Pe(2));var n=t,a=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function f(){if(d)throw new Error(Pe(3));return a}function h(C){if(typeof C!="function")throw new Error(Pe(4));if(d)throw new Error(Pe(5));var A=!0;return u(),l.push(C),function(){if(A){if(d)throw new Error(Pe(6));A=!1,u();var P=l.indexOf(C);l.splice(P,1),s=null}}}function g(C){if(!ph(C))throw new Error(Pe(7));if(typeof C.type>"u")throw new Error(Pe(8));if(d)throw new Error(Pe(9));try{d=!0,a=n(a,C)}finally{d=!1}for(var A=s=l,L=0;L<A.length;L++){var P=A[L];P()}return C}function b(C){if(typeof C!="function")throw new Error(Pe(10));n=C,g({type:ki.REPLACE})}function y(){var C,A=h;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Pe(11));function S(){P.next&&P.next(f())}S();var v=A(S);return{unsubscribe:v}}},C[Tc]=function(){return this},C}return g({type:ki.INIT}),i={dispatch:g,subscribe:h,getState:f,replaceReducer:b},i[Tc]=y,i}function uh(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:ki.INIT});if(typeof i>"u")throw new Error(Pe(12));if(typeof r(void 0,{type:ki.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pe(13))})}function _c(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{uh(r)}catch(d){l=d}return function(u,f){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,b={},y=0;y<a.length;y++){var C=a[y],A=r[C],L=u[C],P=A(L,f);if(typeof P>"u"){var S=f&&f.type;throw new Error(Pe(14))}b[C]=P,g=g||P!==L}return g=g||a.length!==Object.keys(u).length,g?b:u}}function Zr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Pc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Pe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Zr.apply(void 0,l)(n.dispatch),Pa(Pa({},n),{},{dispatch:a})}}}function Ic(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var Nc=Ic();Nc.withExtraArgument=Ic;var Da=Nc;var Fc=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}})(),fh=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(f){return d([u,f])}}function d(u){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=u[0]&2?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],n=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},qr=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},hh=Object.defineProperty,mh=Object.defineProperties,gh=Object.getOwnPropertyDescriptors,Dc=Object.getOwnPropertySymbols,yh=Object.prototype.hasOwnProperty,bh=Object.prototype.propertyIsEnumerable,$c=function(t,e,r){return e in t?hh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Wt=function(t,e){for(var r in e||(e={}))yh.call(e,r)&&$c(t,r,e[r]);if(Dc)for(var i=0,n=Dc(e);i<n.length;i++){var r=n[i];bh.call(e,r)&&$c(t,r,e[r])}return t},$a=function(t,e){return mh(t,gh(e))},vh=function(t,e,r){return new Promise(function(i,n){var a=function(d){try{l(r.next(d))}catch(u){n(u)}},s=function(d){try{l(r.throw(d))}catch(u){n(u)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var xh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zr:Zr.apply(null,arguments)},w0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Sh(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function jt(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Wt(Wt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}var Ch=(function(t){Fc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,qr([void 0],r[0].concat(this)))):new(e.bind.apply(e,qr([void 0],r.concat(this))))},e})(Array),Oh=(function(t){Fc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,qr([void 0],r[0].concat(this)))):new(e.bind.apply(e,qr([void 0],r.concat(this))))},e})(Array);function Fa(t){return ut(t)?Li(t,function(){}):t}function Eh(t){return typeof t=="boolean"}function wh(){return function(e){return Ah(e)}}function Ah(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=t.actionCreatorCheck,d=l===void 0?!0:l,u=new Ch;if(r&&(Eh(r)?u.push(Da):u.push(Da.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h;if(d)var g}return u}var Ma=!0;function Uc(t){var e=wh(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,f=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,b;if(typeof n=="function")b=n;else if(Sh(n))b=_c(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!Ma&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ma&&y.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Pc.apply(void 0,y),A=Zr;d&&(A=xh(Wt({trace:!Ma},typeof d=="object"&&d)));var L=new Oh(C),P=L;Array.isArray(g)?P=qr([C],g):typeof g=="function"&&(P=g(L));var S=A.apply(void 0,P);return Na(b,f,S)}function zc(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in e)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Rh(t){return typeof t=="function"}function Lh(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?zc(e):[e,r,i],a=n[0],s=n[1],l=n[2],d;if(Rh(t))d=function(){return Fa(t())};else{var u=Fa(t);d=function(){return u}}function f(h,g){h===void 0&&(h=d());var b=qr([a[g.type]],s.filter(function(y){var C=y.matcher;return C(g)}).map(function(y){var C=y.reducer;return C}));return b.filter(function(y){return!!y}).length===0&&(b=[l]),b.reduce(function(y,C){if(C)if(Pt(y)){var A=y,L=C(A,g);return L===void 0?y:L}else{if(ut(y))return Li(y,function(P){return C(P,g)});var L=C(y,g);if(L===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return y},h)}return f.getInitialState=d,f}function kh(t,e){return t+"/"+e}function Hc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Fa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(f){var h=i[f],g=kh(e,f),b,y;"reducer"in h?(b=h.reducer,y=h.prepare):b=h,a[f]=b,s[g]=b,l[f]=y?jt(g,y):jt(g)});function d(){var f=typeof t.extraReducers=="function"?zc(t.extraReducers):[t.extraReducers],h=f[0],g=h===void 0?{}:h,b=f[1],y=b===void 0?[]:b,C=f[2],A=C===void 0?void 0:C,L=Wt(Wt({},g),s);return Lh(r,function(P){for(var S in L)P.addCase(S,L[S]);for(var v=0,E=y;v<E.length;v++){var I=E[v];P.addMatcher(I.matcher,I.reducer)}A&&P.addDefaultCase(A)})}var u;return{name:e,reducer:function(f,h){return u||(u=d()),u(f,h)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Th="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_h=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Th[Math.random()*64|0];return e},Ph=["name","message","stack","code"],Ba=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Mc=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Ih=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Ph;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},k0=(function(){function t(e,r,i){var n=jt(e+"/fulfilled",function(f,h,g,b){return{payload:f,meta:$a(Wt({},b||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=jt(e+"/pending",function(f,h,g){return{payload:void 0,meta:$a(Wt({},g||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=jt(e+"/rejected",function(f,h,g,b,y){return{payload:b,error:(i&&i.serializeError||Ih)(f||"Rejected"),meta:$a(Wt({},y||{}),{arg:g,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function u(f){return function(h,g,b){var y=i?.idGenerator?i.idGenerator(f):_h(),C=new d,A,L=!1;function P(v){A=v,C.abort()}var S=(function(){return vh(this,null,function(){var v,E,I,V,ge,Q,M;return fh(this,function(U){switch(U.label){case 0:return U.trys.push([0,4,,5]),V=(v=i?.condition)==null?void 0:v.call(i,f,{getState:g,extra:b}),Dh(V)?[4,V]:[3,2];case 1:V=U.sent(),U.label=2;case 2:if(V===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,ge=new Promise(function(J,xe){return C.signal.addEventListener("abort",function(){return xe({name:"AbortError",message:A||"Aborted"})})}),h(a(y,f,(E=i?.getPendingMeta)==null?void 0:E.call(i,{requestId:y,arg:f},{getState:g,extra:b}))),[4,Promise.race([ge,Promise.resolve(r(f,{dispatch:h,getState:g,extra:b,requestId:y,signal:C.signal,abort:P,rejectWithValue:function(J,xe){return new Ba(J,xe)},fulfillWithValue:function(J,xe){return new Mc(J,xe)}})).then(function(J){if(J instanceof Ba)throw J;return J instanceof Mc?n(J.payload,y,f,J.meta):n(J,y,f)})])];case 3:return I=U.sent(),[3,5];case 4:return Q=U.sent(),I=Q instanceof Ba?s(null,y,f,Q.payload,Q.meta):s(Q,y,f),[3,5];case 5:return M=i&&!i.dispatchConditionRejection&&s.match(I)&&I.meta.condition,M||h(I),[2,I]}})})})();return Object.assign(S,{abort:P,requestId:y,arg:f,unwrap:function(){return S.then(Nh)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t})();function Nh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Dh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vc="listener",Wc="completed",jc="cancelled",T0="task-"+jc,_0="task-"+Wc,P0=Vc+"-"+jc,I0=Vc+"-"+Wc;var Ua="listenerMiddleware";var N0=jt(Ua+"/add"),D0=jt(Ua+"/removeAll"),$0=jt(Ua+"/remove");var Bc,M0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Bc||(Bc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},$h=function(t){return function(e){setTimeout(e,t)}},B0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$h(10);Oc();window.ftReduxStores||(window.ftReduxStores={});var yr=class t extends Tt{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Wr(a))return a;if(n==null)return;let s=Hc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Uc({reducer:(d,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let f=ct(s.getInitialState());for(let h of u.keeping)f[h]=(d??f)[h];return f}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...u.overwrites};return s.reducer(d,u)}});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Fo;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,u=a[d];return u?(...f)=>{let h=u(...f.map(n));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[d]:n(f)})}}}),this.eventBus=i??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()}};function Mh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Wr(e)&&e.clear()}var Ti=class{constructor(e,r,i){this.store=e,this.valueSelector=r,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);dt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Bh(t,e,r){return new Ti(t,e,r).watch()}var Wo=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let i of r)this.getOrCreateRequestConsumers(i).add(e).size==1&&this.onNewNeededRequest(i)}unregisterComponent(e,r){for(let i of r)this.getOrCreateRequestConsumers(i).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Wa={};X(Wa,{scrollHelper:()=>Fh});var Ha,_i=new Map,Va=class{lock(e,r){if(r){let i=_i.get(r);if(i==null||i===e)return _i.set(r,e),r}}release(e,r){r&&_i.get(r)===e&&_i.delete(r)}findFirstScrollableParent(e){var r;let i,n;for(let a of An(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(r=i??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var i,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(i=r.offsetTop)!==null&&i!==void 0?i:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=ir(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;i.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(Ha=window.FluidTopicsScrollHelper)!==null&&Ha!==void 0?Ha:new Va;var Fh=window.FluidTopicsScrollHelper;var Ga={};X(Ga,{SearchPlaceConverter:()=>Gt,SearchPlaceQueryParams:()=>q,isSearchPlaceQueryParams:()=>Id,serializeRequest:()=>Hh});var Gc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Gc||(Gc={}));var Kc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Kc||(Kc={}));var Zc;(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"})(Zc||(Zc={}));var qc;(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"})(qc||(qc={}));var Yc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Yc||(Yc={}));var Xc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Xc||(Xc={}));var Jc;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Jc||(Jc={}));var Qc;(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"})(Qc||(Qc={}));var ed;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ed||(ed={}));var td;(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"})(td||(td={}));var rd;(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"})(rd||(rd={}));var od;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(od||(od={}));var id;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(id||(id={}));var nd;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(nd||(nd={}));var ad;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ad||(ad={}));var sd;(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"})(sd||(sd={}));var Yr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Yr||(Yr={}));var ld;(function(t){t.ASC="ASC",t.DESC="DESC"})(ld||(ld={}));var cd;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(cd||(cd={}));var ja;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ja||(ja={}));var yd=t=>Object.keys(ja).includes(t);var dd;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(dd||(dd={}));var pd;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pd||(pd={}));var ud;(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"})(ud||(ud={}));var Xr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Xr||(Xr={}));var bd=t=>Object.keys(Xr).includes(t);var fd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(fd||(fd={}));var hd;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(hd||(hd={}));var md;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(md||(md={}));var ye;(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"})(ye||(ye={}));var nt;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(nt||(nt={}));var gd;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(gd||(gd={}));var vd;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(vd||(vd={}));var xd;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(xd||(xd={}));var Sd;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Sd||(Sd={}));var Cd;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Cd||(Cd={}));var Od;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Od||(Od={}));var Ed;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ed||(Ed={}));var wd;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(wd||(wd={}));var Ad;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ad||(Ad={}));var Rd;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Rd||(Rd={}));var Ld;(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"})(Ld||(Ld={}));var kd;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(kd||(kd={}));var Uh={[ye.PERSONAL_BOOK_SHARE_USER]:[ye.PERSONAL_BOOK_USER],[ye.HTML_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.PDF_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.KHUB_ADMIN]:[ye.CONTENT_PUBLISHER],[ye.ADMIN]:[ye.KHUB_ADMIN,ye.USERS_ADMIN,ye.PORTAL_ADMIN,ye.BEHAVIOR_DATA_USER],[ye.GENERATIVE_AI_EXPORT_USER]:[ye.GENERATIVE_AI_USER]};function Td(t,e){return t===e||(Uh[t]??[]).some(r=>Td(r,e))}function _d(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>Td(i,e))}function zh(t){return`"${t}"`}function Pd(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Hh(t,e){return new Gt(t).serialize(e)}var q;(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.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(q||(q={}));var Vh=new Set(Object.values(q));function Id(t){return Vh.has(t)}var Gt=class{constructor(e,r=20,i=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=i,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let i=r==null||r.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var i,n,a,s,l,d,u,f,h,g,b;let y=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&y.append(q.LOCALE,e.contentLocale):y.append(q.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&y.append(q.QUERY,e.query);let C=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(v=>v.valueFilter&&!v.valueFilter.negative))!==null&&a!==void 0?a:[];if(C.length>0){let v=C.map(E=>{var I,V;let ge=((V=(I=E.valueFilter)===null||I===void 0?void 0:I.values)!==null&&V!==void 0?V:[]).map(Q=>this.escapeFilters(Q)).map(Q=>zh(Pd(Q))).join("_");return`${E.key}~${ge}`}).join("*");y.append(q.VALUE_FILTERS,v)}let A=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(v=>v.dateFilter))!==null&&l!==void 0?l:[];if(A.length>0){let v=A.map(E=>{var I;return`${E.key}~${(I=E.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");y.append(q.DATE_FILTERS,v)}let L=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(v=>v.rangeFilter))!==null&&u!==void 0?u:[];if(L.length>0){let v=L.map(E=>{var I,V;return`${E.key}~${(I=E.rangeFilter)===null||I===void 0?void 0:I.from}_${(V=E.rangeFilter)===null||V===void 0?void 0:V.to}`}).join("*");y.append(q.RANGE_FILTERS,v)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(q.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&y.append(q.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&y.append(q.SORT,e.sortId),!((f=e.paging)===null||f===void 0)&&f.perPage&&((g=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&y.append(q.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&y.append(q.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let P=(b=e.otherQueryParams)!==null&&b!==void 0?b:{};for(let v in P)y.append(v,P[v]);let S=new Array;return y.forEach((v,E)=>{S.push(this.encodeQueryString(E)+"="+this.encodeQueryString(v))}),encodeURI(S.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,i,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(L){console.warn("Could not decode search request query params, fallback on raw value",L)}let d=new URLSearchParams(e),u=d.get(q.LOCALE)==="all"?void 0:d.get(q.LOCALE),f=((r=d.get(q.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(i=d.get(q.SORT))===null||i===void 0?void 0:i.toLowerCase(),g=(n=d.get(q.SCOPE))!==null&&n!==void 0?n:"default",b=+((a=d.get(q.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),y=d.get(q.KEYWORD_MATCH),C=y?y.toUpperCase()===Yr.MANDATORY?Yr.MANDATORY:Yr.OPTIONAL:void 0,A={};for(let L of d.keys())Id(L)||(A[L]=d.get(L));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(q.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:yd(f)?f:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:ir(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:C,otherQueryParams:A}}parseCompatFilters(e){var r,i,n,a,s,l;let d=[];return e.has(q.FILTERS)&&(d=this.parseValueFilters((r=e.get(q.FILTERS))!==null&&r!==void 0?r:"")),(i=e.has(q.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(q.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(q.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(q.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(q.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Pd).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Xr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(r,i);return e}superEscapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(n,r);return e}parseLegacyPeriodFilter(e){if(bd(e))return[{key:"ft:lastEdition",dateFilter:{type:Xr[e]}}];if(e.startsWith("CUSTOM_")){let[r,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[q.LOCALE,q.FILTERS,q.VALUE_FILTERS,q.DATE_FILTERS,q.RANGE_FILTERS].forEach(n=>{r.searchParams.delete(n)}),r.toString()}static updateLocaleParamInUrl(e,r){let i=new URL(e);return i.searchParams.delete(q.LOCALE),r!==void 0&&i.searchParams.append(q.LOCALE,r),i.toString()}};var qa={};X(qa,{toFtFormComponent:()=>Za});var Ka=Symbol("elementInternals"),Za=we(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ka].form}constructor(...i){super(i),this[Ka]=this.attachInternals()}setFormValue(i){this[Ka].setFormValue(i)}}return e});var Ya={};X(Ya,{DateFormatter:()=>br});var br=class{static format(e,r,i,n,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(i,n,!!a)):this.getIntlDateTime(e,r,i,n,!!a)}static getMomentDateFormat(e,r,i){return i?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,i,n,a){let s=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:i?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:n?`${l} ${d}`:l}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ja={};X(Ja,{ALL_KEYS_VALUE:()=>Xa,SameWindowStorageEvent:()=>Jr});var Xa="__all__",Jr=class extends CustomEvent{constructor(e,r,i){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Xa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Jr(r[0],i,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Jr(r[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Jr(Xa))}});var es={};X(es,{FocusMainContentEvent:()=>Qa});var Qa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Nd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Wh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function jh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Wh);document.addEventListener("click",jh);var Pi=w`
|
|
47
|
+
`;var uc={};var ya={};X(ya,{ParametrizedLabelResolver:()=>Ut});var Ut=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(i,s))),e}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var za={};X(za,{FtCommandQueue:()=>Fo,FtLitElementRedux:()=>hr,FtReduxStore:()=>yr,FtStateManager:()=>Wo,ReduxWatcher:()=>Ti,clearAllStores:()=>Mh,isFtReduxStore:()=>Wr,redux:()=>Vr,reduxEventListener:()=>eh,reduxReactive:()=>Qf,watch:()=>Bh,withRedux:()=>fc});var Qf=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},Vr=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:dt,attribute:!1,...e};m(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:(l=>l[i]),store:e.store})}},eh=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var Fo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Wr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Uo=Symbol("internalReduxEventsUnsubscribers"),zt=Symbol("internalStoresUnsubscribers"),fr=Symbol("internalStores"),fc=we(Symbol("withRedux"),function(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[fr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[fr].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[fr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[fr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[fr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[zt].has(s.store):this[zt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[zt].set(s,l.subscribe(()=>this.updateFromStores())),this[Uo].set(s,[]),Wr(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,f)=>{if(typeof this[f]=="function"&&(!u.store||l.name===u.store)){let h=g=>this[f](g);l.addEventListener(u.eventName,h),this[Uo].get(s).push(()=>l.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[zt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[zt].has(s)&&this[zt].get(s)(),this[zt].delete(s),(l=this[Uo].get(s))===null||l===void 0||l.forEach(d=>d()),this[Uo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=zt,r=fr,i=Uo,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),hr=class extends fc(D){};function it(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Pt(t){return!!t&&!!t[le]}function ut(t){var e;return!!t&&((function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===lh})(t)||Array.isArray(t)||!!t[xc]||!!(!((e=t.constructor)===null||e===void 0)&&e[xc])||Aa(t)||Ra(t))}function mr(t,e,r){r===void 0&&(r=!1),Kr(t)===0?(r?Object.keys:Gr)(t).forEach((function(i){r&&typeof i=="symbol"||e(i,t[i],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function Kr(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Aa(t)?2:Ra(t)?3:0}function jr(t,e){return Kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function th(t,e){return Kr(t)===2?t.get(e):t[e]}function Sc(t,e,r){var i=Kr(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Cc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Aa(t){return ah&&t instanceof Map}function Ra(t){return sh&&t instanceof Set}function Ht(t){return t.o||t.t}function La(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=wc(t);delete e[le];for(var r=Gr(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function ka(t,e){return e===void 0&&(e=!1),Ta(t)||Pt(t)||!ut(t)||(Kr(t)>1&&(t.set=t.add=t.clear=t.delete=rh),Object.freeze(t),e&&mr(t,(function(r,i){return ka(i,!0)}),!0)),t}function rh(){it(2)}function Ta(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ot(t){var e=wa[t];return e||it(18,t),e}function oh(t,e){wa[t]||(wa[t]=e)}function Ca(){return Ho}function ba(t,e){e&&(Ot("Patches"),t.u=[],t.s=[],t.v=e)}function wi(t){Oa(t),t.p.forEach(ih),t.p=null}function Oa(t){t===Ho&&(Ho=t.l)}function hc(t){return Ho={p:[],l:Ho,h:t,m:!0,_:0}}function ih(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function va(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Ot("ES5").S(e,t,i),i?(r[le].P&&(wi(e),it(4)),ut(t)&&(t=Ai(e,t),e.l||Ri(e,t)),e.u&&Ot("Patches").M(r[le].t,t,e.u,e.s)):t=Ai(e,r,[]),wi(e),e.u&&e.v(e.u,e.s),t!==Ec?t:void 0}function Ai(t,e,r){if(Ta(e))return e;var i=e[le];if(!i)return mr(e,(function(l,d){return mc(t,i,e,l,d,r)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ri(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=La(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),mr(a,(function(l,d){return mc(t,i,n,l,d,r,s)})),Ri(t,n,!1),r&&t.u&&Ot("Patches").N(i,r,t.u,t.s)}return i.o}function mc(t,e,r,i,n,a,s){if(Pt(n)){var l=Ai(t,n,a&&e&&e.i!==3&&!jr(e.R,i)?a.concat(i):void 0);if(Sc(r,i,l),!Pt(l))return;t.m=!1}else s&&r.add(n);if(ut(n)&&!Ta(n)){if(!t.h.D&&t._<1)return;Ai(t,n),e&&e.A.l||Ri(t,n)}}function Ri(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ka(e,r)}function xa(t,e){var r=t[le];return(r?Ht(r):t)[e]}function gc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Sa(t){t.o||(t.o=La(t.t))}function Ea(t,e,r){var i=Aa(e)?Ot("MapSet").F(e,r):Ra(e)?Ot("MapSet").T(e,r):t.O?(function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ca(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,u=Vo;s&&(d=[l],u=zo);var f=Proxy.revocable(d,u),h=f.revoke,g=f.proxy;return l.k=g,l.j=h,g})(e,r):Ot("ES5").J(e,r);return(r?r.A:Ca()).p.push(i),i}function nh(t){return Pt(t)||it(22,t),(function e(r){if(!ut(r))return r;var i,n=r[le],a=Kr(r);if(n){if(!n.P&&(n.i<4||!Ot("ES5").K(n)))return n.t;n.I=!0,i=yc(r,a),n.I=!1}else i=yc(r,a);return mr(i,(function(s,l){n&&th(n.t,s)===l||Sc(i,s,e(l))})),a===3?new Set(i):i})(t)}function yc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return La(t)}function Oc(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[le];return Vo.get(u,s)},set:function(u){var f=this[le];Vo.set(f,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][le];if(!d.P)switch(d.i){case 5:i(d)&&Vt(d);break;case 4:r(d)&&Vt(d)}}}function r(s){for(var l=s.t,d=s.k,u=Gr(d),f=u.length-1;f>=0;f--){var h=u[f];if(h!==le){var g=l[h];if(g===void 0&&!jr(l,h))return!0;var b=d[h],y=b&&b[le];if(y?y.t!==g:!Cc(b,g))return!0}}var C=!!l[le];return u.length!==Gr(l).length+(C?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function n(s){s.g&&it(3,JSON.stringify(Ht(s)))}var a={};oh("ES5",{J:function(s,l){var d=Array.isArray(s),u=(function(h,g){if(h){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var C=wc(g);delete C[le];for(var A=Gr(C),L=0;L<A.length;L++){var P=A[L];C[P]=t(P,h||!!C[P].enumerable)}return Object.create(Object.getPrototypeOf(g),C)})(d,s),f={i:d?5:4,A:l?l.A:Ca(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,le,{value:f,writable:!0}),u},S:function(s,l,d){d?Pt(l)&&l[le].A===s&&e(s.p):(s.u&&(function u(f){if(f&&typeof f=="object"){var h=f[le];if(h){var g=h.t,b=h.k,y=h.R,C=h.i;if(C===4)mr(b,(function(v){v!==le&&(g[v]!==void 0||jr(g,v)?y[v]||u(b[v]):(y[v]=!0,Vt(h)))})),mr(g,(function(v){b[v]!==void 0||jr(b,v)||(y[v]=!1,Vt(h))}));else if(C===5){if(i(h)&&(Vt(h),y.length=!0),b.length<g.length)for(var A=b.length;A<g.length;A++)y[A]=!1;else for(var L=g.length;L<b.length;L++)y[L]=!0;for(var P=Math.min(b.length,g.length),S=0;S<P;S++)b.hasOwnProperty(S)||(y[S]=!0),y[S]===void 0&&u(b[S])}}}})(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var bc,Ho,_a=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ah=typeof Map<"u",sh=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=_a?Symbol.for("immer-nothing"):((bc={})["immer-nothing"]=!0,bc),xc=_a?Symbol.for("immer-draftable"):"__$immer_draftable",le=_a?Symbol.for("immer-state"):"__$immer_state";var lh=""+Object.prototype.constructor,Gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,wc=Object.getOwnPropertyDescriptors||function(t){var e={};return Gr(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},wa={},Vo={get:function(t,e){if(e===le)return t;var r=Ht(t);if(!jr(r,e))return(function(n,a,s){var l,d=gc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0})(t,r,e);var i=r[e];return t.I||!ut(i)?i:i===xa(t.t,e)?(Sa(t),t.o[e]=Ea(t.A.h,i,t)):i},has:function(t,e){return e in Ht(t)},ownKeys:function(t){return Reflect.ownKeys(Ht(t))},set:function(t,e,r){var i=gc(Ht(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=xa(Ht(t),e),a=n?.[le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Cc(r,n)&&(r!==void 0||jr(t.t,e)))return!0;Sa(t),Vt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return xa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Sa(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ht(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){it(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){it(12)}},zo={};mr(Vo,(function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};var ch=(function(){function t(r){var i=this;this.O=vc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(C){var A=this;C===void 0&&(C=l);for(var L=arguments.length,P=Array(L>1?L-1:0),S=1;S<L;S++)P[S-1]=arguments[S];return d.produce(C,(function(v){var E;return(E=a).call.apply(E,[A,v].concat(P))}))}}var u;if(typeof a!="function"&&it(6),s!==void 0&&typeof s!="function"&&it(7),ut(n)){var f=hc(i),h=Ea(i,n,void 0),g=!0;try{u=a(h),g=!1}finally{g?wi(f):Oa(f)}return typeof Promise<"u"&&u instanceof Promise?u.then((function(C){return ba(f,s),va(C,f)}),(function(C){throw wi(f),C})):(ba(f,s),va(u,f))}if(!n||typeof n!="object"){if((u=a(n))===void 0&&(u=n),u===Ec&&(u=void 0),i.D&&ka(u,!0),s){var b=[],y=[];Ot("Patches").M(n,u,b,y),s(b,y)}return u}it(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(u){for(var f=arguments.length,h=Array(f>1?f-1:0),g=1;g<f;g++)h[g-1]=arguments[g];return i.produceWithPatches(u,(function(b){return n.apply(void 0,[b].concat(h))}))};var s,l,d=i.produce(n,a,(function(u,f){s=u,l=f}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(u){return[u,s,l]})):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){ut(r)||it(8),Pt(r)&&(r=nh(r));var i=hc(this),n=Ea(this,r,void 0);return n[le].C=!0,Oa(i),n},e.finishDraft=function(r,i){var n=r&&r[le],a=n.A;return ba(a,i),va(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!vc&&it(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Ot("Patches").$;return Pt(r)?s(r,i):this.produce(r,(function(l){return s(l,i)}))},t})(),je=new ch,dh=je.produce,r0=je.produceWithPatches.bind(je),o0=je.setAutoFreeze.bind(je),i0=je.setUseProxies.bind(je),n0=je.applyPatches.bind(je),a0=je.createDraft.bind(je),s0=je.finishDraft.bind(je),Li=dh;function gr(t){"@babel/helpers - typeof";return gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gr(t)}function Ac(t,e){if(gr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(gr(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Rc(t){var e=Ac(t,"string");return gr(e)=="symbol"?e:e+""}function Lc(t,e,r){return(e=Rc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Pa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kc(Object(r),!0).forEach(function(i){Lc(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kc(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Pe(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 Tc=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},ki={INIT:"@@redux/INIT"+Ia(),REPLACE:"@@redux/REPLACE"+Ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ia()}};function ph(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Na(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Pe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Pe(1));return r(Na)(t,e)}if(typeof t!="function")throw new Error(Pe(2));var n=t,a=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function f(){if(d)throw new Error(Pe(3));return a}function h(C){if(typeof C!="function")throw new Error(Pe(4));if(d)throw new Error(Pe(5));var A=!0;return u(),l.push(C),function(){if(A){if(d)throw new Error(Pe(6));A=!1,u();var P=l.indexOf(C);l.splice(P,1),s=null}}}function g(C){if(!ph(C))throw new Error(Pe(7));if(typeof C.type>"u")throw new Error(Pe(8));if(d)throw new Error(Pe(9));try{d=!0,a=n(a,C)}finally{d=!1}for(var A=s=l,L=0;L<A.length;L++){var P=A[L];P()}return C}function b(C){if(typeof C!="function")throw new Error(Pe(10));n=C,g({type:ki.REPLACE})}function y(){var C,A=h;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Pe(11));function S(){P.next&&P.next(f())}S();var v=A(S);return{unsubscribe:v}}},C[Tc]=function(){return this},C}return g({type:ki.INIT}),i={dispatch:g,subscribe:h,getState:f,replaceReducer:b},i[Tc]=y,i}function uh(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:ki.INIT});if(typeof i>"u")throw new Error(Pe(12));if(typeof r(void 0,{type:ki.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pe(13))})}function _c(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{uh(r)}catch(d){l=d}return function(u,f){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,b={},y=0;y<a.length;y++){var C=a[y],A=r[C],L=u[C],P=A(L,f);if(typeof P>"u"){var S=f&&f.type;throw new Error(Pe(14))}b[C]=P,g=g||P!==L}return g=g||a.length!==Object.keys(u).length,g?b:u}}function Zr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Pc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Pe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Zr.apply(void 0,l)(n.dispatch),Pa(Pa({},n),{},{dispatch:a})}}}function Ic(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var Nc=Ic();Nc.withExtraArgument=Ic;var Da=Nc;var Fc=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}})(),fh=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(f){return d([u,f])}}function d(u){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=u[0]&2?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],n=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},qr=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},hh=Object.defineProperty,mh=Object.defineProperties,gh=Object.getOwnPropertyDescriptors,Dc=Object.getOwnPropertySymbols,yh=Object.prototype.hasOwnProperty,bh=Object.prototype.propertyIsEnumerable,$c=function(t,e,r){return e in t?hh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Wt=function(t,e){for(var r in e||(e={}))yh.call(e,r)&&$c(t,r,e[r]);if(Dc)for(var i=0,n=Dc(e);i<n.length;i++){var r=n[i];bh.call(e,r)&&$c(t,r,e[r])}return t},$a=function(t,e){return mh(t,gh(e))},vh=function(t,e,r){return new Promise(function(i,n){var a=function(d){try{l(r.next(d))}catch(u){n(u)}},s=function(d){try{l(r.throw(d))}catch(u){n(u)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var xh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zr:Zr.apply(null,arguments)},w0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Sh(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function jt(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Wt(Wt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}var Ch=(function(t){Fc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,qr([void 0],r[0].concat(this)))):new(e.bind.apply(e,qr([void 0],r.concat(this))))},e})(Array),Oh=(function(t){Fc(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,qr([void 0],r[0].concat(this)))):new(e.bind.apply(e,qr([void 0],r.concat(this))))},e})(Array);function Fa(t){return ut(t)?Li(t,function(){}):t}function Eh(t){return typeof t=="boolean"}function wh(){return function(e){return Ah(e)}}function Ah(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=t.actionCreatorCheck,d=l===void 0?!0:l,u=new Ch;if(r&&(Eh(r)?u.push(Da):u.push(Da.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h;if(d)var g}return u}var Ma=!0;function Uc(t){var e=wh(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,f=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,b;if(typeof n=="function")b=n;else if(Sh(n))b=_c(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!Ma&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ma&&y.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Pc.apply(void 0,y),A=Zr;d&&(A=xh(Wt({trace:!Ma},typeof d=="object"&&d)));var L=new Oh(C),P=L;Array.isArray(g)?P=qr([C],g):typeof g=="function"&&(P=g(L));var S=A.apply(void 0,P);return Na(b,f,S)}function zc(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in e)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Rh(t){return typeof t=="function"}function Lh(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?zc(e):[e,r,i],a=n[0],s=n[1],l=n[2],d;if(Rh(t))d=function(){return Fa(t())};else{var u=Fa(t);d=function(){return u}}function f(h,g){h===void 0&&(h=d());var b=qr([a[g.type]],s.filter(function(y){var C=y.matcher;return C(g)}).map(function(y){var C=y.reducer;return C}));return b.filter(function(y){return!!y}).length===0&&(b=[l]),b.reduce(function(y,C){if(C)if(Pt(y)){var A=y,L=C(A,g);return L===void 0?y:L}else{if(ut(y))return Li(y,function(P){return C(P,g)});var L=C(y,g);if(L===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return y},h)}return f.getInitialState=d,f}function kh(t,e){return t+"/"+e}function Hc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Fa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(f){var h=i[f],g=kh(e,f),b,y;"reducer"in h?(b=h.reducer,y=h.prepare):b=h,a[f]=b,s[g]=b,l[f]=y?jt(g,y):jt(g)});function d(){var f=typeof t.extraReducers=="function"?zc(t.extraReducers):[t.extraReducers],h=f[0],g=h===void 0?{}:h,b=f[1],y=b===void 0?[]:b,C=f[2],A=C===void 0?void 0:C,L=Wt(Wt({},g),s);return Lh(r,function(P){for(var S in L)P.addCase(S,L[S]);for(var v=0,E=y;v<E.length;v++){var I=E[v];P.addMatcher(I.matcher,I.reducer)}A&&P.addDefaultCase(A)})}var u;return{name:e,reducer:function(f,h){return u||(u=d()),u(f,h)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Th="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_h=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Th[Math.random()*64|0];return e},Ph=["name","message","stack","code"],Ba=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Mc=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Ih=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Ph;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},k0=(function(){function t(e,r,i){var n=jt(e+"/fulfilled",function(f,h,g,b){return{payload:f,meta:$a(Wt({},b||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=jt(e+"/pending",function(f,h,g){return{payload:void 0,meta:$a(Wt({},g||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=jt(e+"/rejected",function(f,h,g,b,y){return{payload:b,error:(i&&i.serializeError||Ih)(f||"Rejected"),meta:$a(Wt({},y||{}),{arg:g,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function u(f){return function(h,g,b){var y=i?.idGenerator?i.idGenerator(f):_h(),C=new d,A,L=!1;function P(v){A=v,C.abort()}var S=(function(){return vh(this,null,function(){var v,E,I,V,ge,Q,M;return fh(this,function(U){switch(U.label){case 0:return U.trys.push([0,4,,5]),V=(v=i?.condition)==null?void 0:v.call(i,f,{getState:g,extra:b}),Dh(V)?[4,V]:[3,2];case 1:V=U.sent(),U.label=2;case 2:if(V===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,ge=new Promise(function(J,xe){return C.signal.addEventListener("abort",function(){return xe({name:"AbortError",message:A||"Aborted"})})}),h(a(y,f,(E=i?.getPendingMeta)==null?void 0:E.call(i,{requestId:y,arg:f},{getState:g,extra:b}))),[4,Promise.race([ge,Promise.resolve(r(f,{dispatch:h,getState:g,extra:b,requestId:y,signal:C.signal,abort:P,rejectWithValue:function(J,xe){return new Ba(J,xe)},fulfillWithValue:function(J,xe){return new Mc(J,xe)}})).then(function(J){if(J instanceof Ba)throw J;return J instanceof Mc?n(J.payload,y,f,J.meta):n(J,y,f)})])];case 3:return I=U.sent(),[3,5];case 4:return Q=U.sent(),I=Q instanceof Ba?s(null,y,f,Q.payload,Q.meta):s(Q,y,f),[3,5];case 5:return M=i&&!i.dispatchConditionRejection&&s.match(I)&&I.meta.condition,M||h(I),[2,I]}})})})();return Object.assign(S,{abort:P,requestId:y,arg:f,unwrap:function(){return S.then(Nh)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t})();function Nh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Dh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vc="listener",Wc="completed",jc="cancelled",T0="task-"+jc,_0="task-"+Wc,P0=Vc+"-"+jc,I0=Vc+"-"+Wc;var Ua="listenerMiddleware";var N0=jt(Ua+"/add"),D0=jt(Ua+"/removeAll"),$0=jt(Ua+"/remove");var Bc,M0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Bc||(Bc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},$h=function(t){return function(e){setTimeout(e,t)}},B0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$h(10);Oc();window.ftReduxStores||(window.ftReduxStores={});var yr=class t extends Tt{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(Wr(a))return a;if(n==null)return;let s=Hc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=Uc({reducer:(d,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let f=ct(s.getInitialState());for(let h of u.keeping)f[h]=(d??f)[h];return f}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...u.overwrites};return s.reducer(d,u)}});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Fo;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,u=a[d];return u?(...f)=>{let h=u(...f.map(n));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[d]:n(f)})}}}),this.eventBus=i??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()}};function Mh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Wr(e)&&e.clear()}var Ti=class{constructor(e,r,i){this.store=e,this.valueSelector=r,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);dt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Bh(t,e,r){return new Ti(t,e,r).watch()}var Wo=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let i of r)this.getOrCreateRequestConsumers(i).add(e).size==1&&this.onNewNeededRequest(i)}unregisterComponent(e,r){for(let i of r)this.getOrCreateRequestConsumers(i).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Wa={};X(Wa,{scrollHelper:()=>Fh});var Ha,_i=new Map,Va=class{lock(e,r){if(r){let i=_i.get(r);if(i==null||i===e)return _i.set(r,e),r}}release(e,r){r&&_i.get(r)===e&&_i.delete(r)}findFirstScrollableParent(e){var r;let i,n;for(let a of An(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(r=i??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var i,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(i=r.offsetTop)!==null&&i!==void 0?i:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=ir(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;i.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(Ha=window.FluidTopicsScrollHelper)!==null&&Ha!==void 0?Ha:new Va;var Fh=window.FluidTopicsScrollHelper;var Ga={};X(Ga,{SearchPlaceConverter:()=>Gt,SearchPlaceQueryParams:()=>q,isSearchPlaceQueryParams:()=>Id,serializeRequest:()=>Hh});var Gc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Gc||(Gc={}));var Kc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Kc||(Kc={}));var Zc;(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"})(Zc||(Zc={}));var qc;(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"})(qc||(qc={}));var Yc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Yc||(Yc={}));var Xc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Xc||(Xc={}));var Jc;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Jc||(Jc={}));var Qc;(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"})(Qc||(Qc={}));var ed;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ed||(ed={}));var td;(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"})(td||(td={}));var rd;(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"})(rd||(rd={}));var od;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(od||(od={}));var id;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(id||(id={}));var nd;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(nd||(nd={}));var ad;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ad||(ad={}));var sd;(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"})(sd||(sd={}));var Yr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Yr||(Yr={}));var ld;(function(t){t.ASC="ASC",t.DESC="DESC"})(ld||(ld={}));var cd;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(cd||(cd={}));var ja;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ja||(ja={}));var yd=t=>Object.keys(ja).includes(t);var dd;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(dd||(dd={}));var pd;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pd||(pd={}));var ud;(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"})(ud||(ud={}));var Xr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Xr||(Xr={}));var bd=t=>Object.keys(Xr).includes(t);var fd;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(fd||(fd={}));var hd;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(hd||(hd={}));var md;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(md||(md={}));var ye;(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"})(ye||(ye={}));var nt;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(nt||(nt={}));var gd;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(gd||(gd={}));var vd;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(vd||(vd={}));var xd;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(xd||(xd={}));var Sd;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Sd||(Sd={}));var Cd;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Cd||(Cd={}));var Od;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Od||(Od={}));var Ed;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ed||(Ed={}));var wd;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(wd||(wd={}));var Ad;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ad||(Ad={}));var Rd;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Rd||(Rd={}));var Ld;(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"})(Ld||(Ld={}));var kd;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(kd||(kd={}));var Uh={[ye.PERSONAL_BOOK_SHARE_USER]:[ye.PERSONAL_BOOK_USER],[ye.HTML_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.PDF_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.KHUB_ADMIN]:[ye.CONTENT_PUBLISHER],[ye.ADMIN]:[ye.KHUB_ADMIN,ye.USERS_ADMIN,ye.PORTAL_ADMIN,ye.BEHAVIOR_DATA_USER],[ye.GENERATIVE_AI_EXPORT_USER]:[ye.GENERATIVE_AI_USER]};function Td(t,e){return t===e||(Uh[t]??[]).some(r=>Td(r,e))}function _d(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>Td(i,e))}function zh(t){return`"${t}"`}function Pd(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Hh(t,e){return new Gt(t).serialize(e)}var q;(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.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(q||(q={}));var Vh=new Set(Object.values(q));function Id(t){return Vh.has(t)}var Gt=class{constructor(e,r=20,i=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=i,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let i=r==null||r.trim().length===0,n=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var i,n,a,s,l,d,u,f,h,g,b;let y=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&y.append(q.LOCALE,e.contentLocale):y.append(q.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&y.append(q.QUERY,e.query);let C=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(v=>v.valueFilter&&!v.valueFilter.negative))!==null&&a!==void 0?a:[];if(C.length>0){let v=C.map(E=>{var I,V;let ge=((V=(I=E.valueFilter)===null||I===void 0?void 0:I.values)!==null&&V!==void 0?V:[]).map(Q=>this.escapeFilters(Q)).map(Q=>zh(Pd(Q))).join("_");return`${E.key}~${ge}`}).join("*");y.append(q.VALUE_FILTERS,v)}let A=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(v=>v.dateFilter))!==null&&l!==void 0?l:[];if(A.length>0){let v=A.map(E=>{var I;return`${E.key}~${(I=E.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");y.append(q.DATE_FILTERS,v)}let L=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(v=>v.rangeFilter))!==null&&u!==void 0?u:[];if(L.length>0){let v=L.map(E=>{var I,V;return`${E.key}~${(I=E.rangeFilter)===null||I===void 0?void 0:I.from}_${(V=E.rangeFilter)===null||V===void 0?void 0:V.to}`}).join("*");y.append(q.RANGE_FILTERS,v)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(q.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&y.append(q.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&y.append(q.SORT,e.sortId),!((f=e.paging)===null||f===void 0)&&f.perPage&&((g=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&y.append(q.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&y.append(q.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let P=(b=e.otherQueryParams)!==null&&b!==void 0?b:{};for(let v in P)y.append(v,P[v]);let S=new Array;return y.forEach((v,E)=>{S.push(this.encodeQueryString(E)+"="+this.encodeQueryString(v))}),encodeURI(S.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let i=e.split("?"),n=this.fromURLSearchParams(i.slice(1).join("?")),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,i,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(L){console.warn("Could not decode search request query params, fallback on raw value",L)}let d=new URLSearchParams(e),u=d.get(q.LOCALE)==="all"?void 0:d.get(q.LOCALE),f=((r=d.get(q.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(i=d.get(q.SORT))===null||i===void 0?void 0:i.toLowerCase(),g=(n=d.get(q.SCOPE))!==null&&n!==void 0?n:"default",b=+((a=d.get(q.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),y=d.get(q.KEYWORD_MATCH),C=y?y.toUpperCase()===Yr.MANDATORY?Yr.MANDATORY:Yr.OPTIONAL:void 0,A={};for(let L of d.keys())Id(L)||(A[L]=d.get(L));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(q.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:yd(f)?f:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:ir(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:C,otherQueryParams:A}}parseCompatFilters(e){var r,i,n,a,s,l;let d=[];return e.has(q.FILTERS)&&(d=this.parseValueFilters((r=e.get(q.FILTERS))!==null&&r!==void 0?r:"")),(i=e.has(q.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(q.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(q.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(q.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(q.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Pd).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Xr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(r,i);return e}superEscapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(n,r);return e}parseLegacyPeriodFilter(e){if(bd(e))return[{key:"ft:lastEdition",dateFilter:{type:Xr[e]}}];if(e.startsWith("CUSTOM_")){let[r,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[q.LOCALE,q.FILTERS,q.VALUE_FILTERS,q.DATE_FILTERS,q.RANGE_FILTERS].forEach(n=>{r.searchParams.delete(n)}),r.toString()}static updateLocaleParamInUrl(e,r){let i=new URL(e);return i.searchParams.delete(q.LOCALE),r!==void 0&&i.searchParams.append(q.LOCALE,r),i.toString()}};var qa={};X(qa,{toFtFormComponent:()=>Za});var Ka=Symbol("elementInternals"),Za=we(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ka].form}constructor(...i){super(i),this[Ka]=this.attachInternals()}setFormValue(i){this[Ka].setFormValue(i)}}return e});var Ya={};X(Ya,{DateFormatter:()=>br});var br=class{static format(e,r,i,n,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(i,n,!!a)):this.getIntlDateTime(e,r,i,n,!!a)}static getMomentDateFormat(e,r,i){return i?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,i,n,a){let s=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(r,{dateStyle:i?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return a?d:n?`${l} ${d}`:l}static getTimezoneAsString(){let e=i=>String(Math.floor(i)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ja={};X(Ja,{ALL_KEYS_VALUE:()=>Xa,SameWindowStorageEvent:()=>Jr});var Xa="__all__",Jr=class extends CustomEvent{constructor(e,r,i){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:i}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Xa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Jr(r[0],i,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let i=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Jr(r[0],i))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Jr(Xa))}});var es={};X(es,{FocusMainContentEvent:()=>Qa});var Qa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Nd={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Wh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function jh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Wh);document.addEventListener("click",jh);var Pi=w`
|
|
48
48
|
.sr-only {
|
|
49
49
|
position:absolute;
|
|
50
50
|
left:-10000px;
|
|
@@ -81,7 +81,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
81
81
|
<li>${this.helperText}</li>
|
|
82
82
|
`)}
|
|
83
83
|
</ul>
|
|
84
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Sr.error:this.warningMessages.length?Sr.warning:Sr.default}}return Ae([m()],e.prototype,"warningRules",void 0),Ae([m()],e.prototype,"errorRules",void 0),Ae([m()],e.prototype,"validateOn",void 0),Ae([m({type:Boolean})],e.prototype,"validateAtRender",void 0),Ae([m()],e.prototype,"label",void 0),Ae([m({type:Boolean})],e.prototype,"hideLabel",void 0),Ae([m()],e.prototype,"name",void 0),Ae([m({type:Boolean})],e.prototype,"disabled",void 0),Ae([m()],e.prototype,"helperText",void 0),Ae([m()],e.prototype,"forceStatus",void 0),Ae([m({reflect:!0})],e.prototype,"value",void 0),Ae([T()],e.prototype,"errorMessages",void 0),Ae([T()],e.prototype,"warningMessages",void 0),Ae([T()],e.prototype,"status",void 0),Ae([T()],e.prototype,"focused",void 0),Ae([T()],e.prototype,"additionalWarningRules",void 0),Ae([T()],e.prototype,"additionalErrorRules",void 0),e});var jo=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let i of r)i._$AO?.(e,!1),jo(i,e);return!0},Ii=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},$d=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Yh(e)}};function Zh(t){this._$AN!==void 0?(Ii(this),this._$AM=t,$d(this)):this._$AM=t}function qh(t,e=!1,r=0){let i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=r;a<i.length;a++)jo(i[a],!1),Ii(i[a]);else i!=null&&(jo(i,!1),Ii(i));else jo(this,t)}var Yh=t=>{t.type==
|
|
84
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Sr.error:this.warningMessages.length?Sr.warning:Sr.default}}return Ae([m()],e.prototype,"warningRules",void 0),Ae([m()],e.prototype,"errorRules",void 0),Ae([m()],e.prototype,"validateOn",void 0),Ae([m({type:Boolean})],e.prototype,"validateAtRender",void 0),Ae([m()],e.prototype,"label",void 0),Ae([m({type:Boolean})],e.prototype,"hideLabel",void 0),Ae([m()],e.prototype,"name",void 0),Ae([m({type:Boolean})],e.prototype,"disabled",void 0),Ae([m()],e.prototype,"helperText",void 0),Ae([m()],e.prototype,"forceStatus",void 0),Ae([m({reflect:!0})],e.prototype,"value",void 0),Ae([T()],e.prototype,"errorMessages",void 0),Ae([T()],e.prototype,"warningMessages",void 0),Ae([T()],e.prototype,"status",void 0),Ae([T()],e.prototype,"focused",void 0),Ae([T()],e.prototype,"additionalWarningRules",void 0),Ae([T()],e.prototype,"additionalErrorRules",void 0),e});var jo=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let i of r)i._$AO?.(e,!1),jo(i,e);return!0},Ii=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},$d=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Yh(e)}};function Zh(t){this._$AN!==void 0?(Ii(this),this._$AM=t,$d(this)):this._$AM=t}function qh(t,e=!1,r=0){let i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=r;a<i.length;a++)jo(i[a],!1),Ii(i[a]);else i!=null&&(jo(i,!1),Ii(i));else jo(this,t)}var Yh=t=>{t.type==bt.CHILD&&(t._$AP??=qh,t._$AQ??=Zh)},Qr=class extends tt{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,i){super._$AT(e,r,i),$d(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(jo(this,e),Ii(this))}setValue(e){if(ol(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var as=class extends Qr{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let i=r.relatedTarget;this.isInsideElement(i,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let i=r.relatedTarget;this.isInsideElement(i,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Se}update(e){return this.part=e,this.ensureFocusTrap(e.element),Se}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,i;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((i=this.lastTrap)===null||i===void 0?void 0:i.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,i,n;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(i=this.firstTrap)===null||i===void 0||i.remove(),(n=this.lastTrap)===null||n===void 0||n.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let i=0;i<r.length;i++){let n=r[i];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusFirstDescendant(n)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let i=r.length-1;i>=0;i--){let n=r[i];if(n instanceof HTMLElement&&(this.attemptFocus(n)||await this.focusLastDescendant(n)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof Qe&&await e.updateComplete}isInsideElement(e,r){for(let i=e;i;i=i.parentNode){if(i===r)return!0;i instanceof ShadowRoot?i=i.host:i.assignedSlot&&(i=i.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}},rC=Ve(as);var Md;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Md||(Md={}));var Xh={sm:640,md:768,lg:1024,xl:1280},ss=class extends Qr{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,i,n]){return this.lastArgs=[r,i,n],this.render(r,i,n)}render(e,r,i){let n=this.resolveThreshold(e),a=i??(()=>_);return this.size>n?r():a()}resolveThreshold(e){return typeof e=="number"?e:Xh[e]}},aC=Ve(ss);var Jh=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ls=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function Ni(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(n,a){var s,l;let d=(l=(s=this.configuredAnalyticsActions)===null||s===void 0?void 0:s[n])===null||l===void 0?void 0:l.eventName;if(!d)return;let u=e[n];this.dispatchEvent(new ls({eventName:d,actionType:n,componentType:this.tagName.toLowerCase(),componentId:this.id||u?.defaultComponentId||this.tagName.toLowerCase(),data:a}))}}return r.analyticsActions=e,Jh([se({})],r.prototype,"configuredAnalyticsActions",void 0),r}var cs,ds,ps,us,Cr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ps=(ds=(cs=window.safari)===null||cs===void 0?void 0:cs.pushNotification)===null||ds===void 0?void 0:ds.toString())!==null&&ps!==void 0?ps:"")==="[object SafariRemoteNotification]",fs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(us=window.ftGlobals)!==null&&us!==void 0?us:{lit:pn,litDecorators:mn,litRepeat:gn,litClassMap:yn,litStyleMap:bn,litUnsafeHTML:xn,wcUtils:{..._n,...Cn,...$n,...Ya,...Mn,...On,...zn,...Tn,...oa,...es,...Nd,...Wa,...ia,...Un,...da,...qa,...la,...rs,...os,...dc,...Rn,...fa,...Hn,...ga,...Pi,...uc,...ya,...za,...Ja,...na,...sa,...Ga,...In,isSafari:Cr,isTouchScreen:fs,setVariable:R}};var at;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(at||(at={}));var Bd=w`
|
|
85
85
|
.ft-size-watcher--pixel {
|
|
86
86
|
width: 0;
|
|
87
87
|
height: 0;
|
|
@@ -104,7 +104,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
104
104
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
105
105
|
<div class="ft-size-watcher--watcher"></div>
|
|
106
106
|
</div>
|
|
107
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=at.S:this.size<976?this.category=at.M:this.size<1024?this.category=at.L:this.size<1440?this.category=at.XL:this.category=at.XXL,this.dispatchEvent(new hs(this.size,this.category)))},this.debounceTimeout)}};Ge.elementDefinitions={};Ge.styles=Bd;Go([m({type:Number})],Ge.prototype,"debounceTimeout",void 0);Go([m({type:Boolean})],Ge.prototype,"local",void 0);Go([m({type:Number,reflect:!0})],Ge.prototype,"size",void 0);Go([m({type:String,reflect:!0})],Ge.prototype,"category",void 0);Go([$(".ft-size-watcher--watcher")],Ge.prototype,"watcher",void 0);var Fd={"ft-size-watcher":Ge};W(Fd);var zd=Symbol.for(""),Qh=t=>{if(t?.r===zd)return t?._$litStatic$},ms=t=>({_$litStatic$:t,r:zd});var Ud=new Map,gs=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],d,u=0,f=!1;for(;u<i;){for(d=e[u];u<i&&(a=r[u],(n=Qh(a))!==void 0);)d+=n+e[++u],f=!0;u!==i&&l.push(a),s.push(d),u++}if(u===i&&s.push(e[i]),f){let h=s.join("$$lit$$");(e=Ud.get(h))===void 0&&(s.raw=s,Ud.set(h,e=s)),r=l}return t(e,...r)},ys=gs(x),vO=gs(an),xO=gs(sn);var be;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(be||(be={}));var Hd=o.extend("--ft-typography-font-family","",O.titleFont),Nt=o.extend("--ft-typography-font-family","",O.contentFont),N={fontFamily:Nt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},eo={fontFamily:o.extend("--ft-typography-title-font-family","",Hd),fontSize:o.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Hd),fontSize:o.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Nt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Nt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},It={fontFamily:o.extend("--ft-typography-body1-font-family","",Nt),fontSize:o.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},Oe={fontFamily:o.extend("--ft-typography-body2-font-family","",Nt),fontSize:o.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},Ke={fontFamily:o.extend("--ft-typography-caption-font-family","",Nt),fontSize:o.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Nt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-overline-font-family","",Nt),fontSize:o.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},
|
|
107
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=at.S:this.size<976?this.category=at.M:this.size<1024?this.category=at.L:this.size<1440?this.category=at.XL:this.category=at.XXL,this.dispatchEvent(new hs(this.size,this.category)))},this.debounceTimeout)}};Ge.elementDefinitions={};Ge.styles=Bd;Go([m({type:Number})],Ge.prototype,"debounceTimeout",void 0);Go([m({type:Boolean})],Ge.prototype,"local",void 0);Go([m({type:Number,reflect:!0})],Ge.prototype,"size",void 0);Go([m({type:String,reflect:!0})],Ge.prototype,"category",void 0);Go([$(".ft-size-watcher--watcher")],Ge.prototype,"watcher",void 0);var Fd={"ft-size-watcher":Ge};W(Fd);var zd=Symbol.for(""),Qh=t=>{if(t?.r===zd)return t?._$litStatic$},ms=t=>({_$litStatic$:t,r:zd});var Ud=new Map,gs=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],d,u=0,f=!1;for(;u<i;){for(d=e[u];u<i&&(a=r[u],(n=Qh(a))!==void 0);)d+=n+e[++u],f=!0;u!==i&&l.push(a),s.push(d),u++}if(u===i&&s.push(e[i]),f){let h=s.join("$$lit$$");(e=Ud.get(h))===void 0&&(s.raw=s,Ud.set(h,e=s)),r=l}return t(e,...r)},ys=gs(x),vO=gs(an),xO=gs(sn);var be;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(be||(be={}));var Hd=o.extend("--ft-typography-font-family","",O.titleFont),Nt=o.extend("--ft-typography-font-family","",O.contentFont),N={fontFamily:Nt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},eo={fontFamily:o.extend("--ft-typography-title-font-family","",Hd),fontSize:o.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Hd),fontSize:o.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Nt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Nt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},It={fontFamily:o.extend("--ft-typography-body1-font-family","",Nt),fontSize:o.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},Oe={fontFamily:o.extend("--ft-typography-body2-font-family","",Nt),fontSize:o.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},Ke={fontFamily:o.extend("--ft-typography-caption-font-family","",Nt),fontSize:o.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Nt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-overline-font-family","",Nt),fontSize:o.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},Et={fontFamily:o.extend("--ft-typography-button-font-family","",Nt),fontSize:o.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},Vd=w`
|
|
108
108
|
.ft-typography--title {
|
|
109
109
|
font-family: ${eo.fontFamily};
|
|
110
110
|
font-size: ${eo.fontSize};
|
|
@@ -188,12 +188,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
188
188
|
}
|
|
189
189
|
`,Yd=w`
|
|
190
190
|
.ft-typography--button {
|
|
191
|
-
font-family: ${
|
|
192
|
-
font-size: ${
|
|
193
|
-
font-weight: ${
|
|
194
|
-
letter-spacing: ${
|
|
195
|
-
line-height: ${
|
|
196
|
-
text-transform: ${
|
|
191
|
+
font-family: ${Et.fontFamily};
|
|
192
|
+
font-size: ${Et.fontSize};
|
|
193
|
+
font-weight: ${Et.fontWeight};
|
|
194
|
+
letter-spacing: ${Et.letterSpacing};
|
|
195
|
+
line-height: ${Et.lineHeight};
|
|
196
|
+
text-transform: ${Et.textTransform};
|
|
197
197
|
}
|
|
198
198
|
`,Xd=w`
|
|
199
199
|
.ft-typography {
|
|
@@ -207,7 +207,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
207
207
|
</${ms(this.element)}>
|
|
208
208
|
`:ys`
|
|
209
209
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
210
|
-
`}};re.styles=[Vd,Wd,jd,Gd,Kd,ao,Kt,Zd,qd,Yd,Xd];Jd([m()],re.prototype,"element",void 0);Jd([m()],re.prototype,"variant",void 0);var Qd={"ft-typography":re};W(Qd);function Di(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ep(t){return Di(t).split("|").pop()}function tp(t){return Di(t).split("|").join(" > ")}function rp(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>rp(r,t.selected)),value:t.value}}function op(t){return We(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function bs(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>rp(e,!1))}}function ip(t){return We(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var np=o.extend("--ft-ripple-color","",O.colorContent),
|
|
210
|
+
`}};re.styles=[Vd,Wd,jd,Gd,Kd,ao,Kt,Zd,qd,Yd,Xd];Jd([m()],re.prototype,"element",void 0);Jd([m()],re.prototype,"variant",void 0);var Qd={"ft-typography":re};W(Qd);function Di(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ep(t){return Di(t).split("|").pop()}function tp(t){return Di(t).split("|").join(" > ")}function rp(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>rp(r,t.selected)),value:t.value}}function op(t){return We(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function bs(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>rp(e,!1))}}function ip(t){return We(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var np=o.extend("--ft-ripple-color","",O.colorContent),oe={color:np,backgroundColor:o.extend("--ft-ripple-background-color","",np),opacityContentOnSurfacePressed:o.external(O.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(O.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(O.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(O.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},ap=o.extend("--ft-ripple-color","",O.colorPrimary),sp={color:ap,backgroundColor:o.extend("--ft-ripple-background-color","",ap)},lp=o.extend("--ft-ripple-color","",O.colorSecondary),cp={color:lp,backgroundColor:o.extend("--ft-ripple-background-color","",lp)},dp=w`
|
|
211
211
|
:host {
|
|
212
212
|
display: contents;
|
|
213
213
|
}
|
|
@@ -220,7 +220,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
220
220
|
|
|
221
221
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
222
222
|
overflow: hidden;
|
|
223
|
-
border-radius: ${
|
|
223
|
+
border-radius: ${oe.borderRadius};
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.ft-ripple .ft-ripple--background,
|
|
@@ -254,11 +254,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
.ft-ripple .ft-ripple--background {
|
|
257
|
-
background-color: ${
|
|
257
|
+
background-color: ${oe.backgroundColor};
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.ft-ripple .ft-ripple--effect {
|
|
261
|
-
background-color: ${
|
|
261
|
+
background-color: ${oe.color};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
@@ -304,19 +304,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
307
|
-
opacity: ${
|
|
307
|
+
opacity: ${oe.opacityContentOnSurfaceHover};
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
311
|
-
opacity: ${
|
|
311
|
+
opacity: ${oe.opacityContentOnSurfaceSelected};
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
315
|
-
opacity: ${
|
|
315
|
+
opacity: ${oe.opacityContentOnSurfaceFocused};
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
319
|
-
opacity: ${
|
|
319
|
+
opacity: ${oe.opacityContentOnSurfacePressed};
|
|
320
320
|
transform: translate(-50%, -50%) scale(1);
|
|
321
321
|
}
|
|
322
322
|
`;var Or={color:o.extend("--ft-loader-color","",O.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},pp=w`
|
|
@@ -436,7 +436,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
436
436
|
.ft-icon--material {
|
|
437
437
|
font-family: ${De.materialFontFamily}, "Material Icons", sans-serif;
|
|
438
438
|
}
|
|
439
|
-
`,ur];var fp=o.extend("--ft-button-color","",O.colorPrimary),Y={backgroundColor:o.extend("--ft-button-background-color","",O.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",O.borderRadiusL),color:fp,fontSize:o.extend("--ft-button-font-size","",
|
|
439
|
+
`,ur];var fp=o.extend("--ft-button-color","",O.colorPrimary),Y={backgroundColor:o.extend("--ft-button-background-color","",O.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",O.borderRadiusL),color:fp,fontSize:o.extend("--ft-button-font-size","",Et.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",fp),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(O.colorOpacityDisabled,"Design system")},hp=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",O.colorOnPrimary)),vs={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",O.colorPrimary)),color:hp,rippleColor:o.extend("--ft-button-primary-ripple-color","",hp)},ft={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",O.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},mp=w`
|
|
440
440
|
:host {
|
|
441
441
|
display: inline-block;
|
|
442
442
|
max-width: 100%;
|
|
@@ -463,7 +463,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-button:focus {
|
|
466
|
-
outline:
|
|
466
|
+
outline: none;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.ft-button:focus-visible {
|
|
470
|
+
outline: 2px solid ${O.colorPrimary};
|
|
471
|
+
outline-offset: 2px;
|
|
467
472
|
}
|
|
468
473
|
|
|
469
474
|
.ft-button {
|
|
@@ -472,7 +477,6 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
472
477
|
justify-content: center;
|
|
473
478
|
align-items: center;
|
|
474
479
|
width: 100%;
|
|
475
|
-
overflow: hidden;
|
|
476
480
|
box-sizing: border-box;
|
|
477
481
|
border: none;
|
|
478
482
|
pointer-events: auto;
|
|
@@ -480,13 +484,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
480
484
|
--button-internal-line-height: max(calc(${Y.fontSize} + 2px), ${Y.iconSize});
|
|
481
485
|
--button-internal-color: ${Y.color};
|
|
482
486
|
${R(De.size,Y.iconSize)};
|
|
483
|
-
${R(
|
|
487
|
+
${R(oe.color,Y.rippleColor)};
|
|
488
|
+
${R(oe.borderRadius,Y.borderRadius)};
|
|
484
489
|
|
|
485
490
|
border-radius: ${Y.borderRadius};
|
|
486
491
|
padding: ${Y.verticalPadding} ${Y.horizontalPadding};
|
|
487
492
|
background-color: ${Y.backgroundColor};
|
|
488
493
|
color: var(--button-internal-color);
|
|
489
|
-
-webkit-mask-image: radial-gradient(white, black);
|
|
490
494
|
}
|
|
491
495
|
|
|
492
496
|
.ft-button.ft-button--outlined {
|
|
@@ -495,13 +499,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
495
499
|
}
|
|
496
500
|
|
|
497
501
|
.ft-button.ft-button--dense {
|
|
498
|
-
padding: ${
|
|
499
|
-
border-radius: ${
|
|
500
|
-
gap: ${
|
|
502
|
+
padding: ${ft.verticalPadding} ${ft.horizontalPadding};
|
|
503
|
+
border-radius: ${ft.borderRadius};
|
|
504
|
+
gap: ${ft.iconPadding};
|
|
505
|
+
${R(oe.borderRadius,ft.borderRadius)};
|
|
501
506
|
}
|
|
502
507
|
|
|
503
508
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
504
|
-
padding: calc(${
|
|
509
|
+
padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
|
|
505
510
|
}
|
|
506
511
|
|
|
507
512
|
.ft-button:not([disabled]):hover {
|
|
@@ -513,7 +518,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
513
518
|
}
|
|
514
519
|
|
|
515
520
|
.ft-button--round.ft-button--dense {
|
|
516
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
521
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${ft.verticalPadding});
|
|
517
522
|
}
|
|
518
523
|
|
|
519
524
|
.ft-button[disabled] {
|
|
@@ -524,11 +529,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
524
529
|
.ft-button.ft-button--primary {
|
|
525
530
|
background-color: ${vs.backgroundColor};
|
|
526
531
|
--button-internal-color: ${vs.color};
|
|
527
|
-
${R(
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
.ft-button:focus {
|
|
531
|
-
outline: none;
|
|
532
|
+
${R(oe.color,vs.rippleColor)};
|
|
532
533
|
}
|
|
533
534
|
|
|
534
535
|
.ft-button--label {
|
|
@@ -538,12 +539,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
538
539
|
text-overflow: ellipsis;
|
|
539
540
|
display: block;
|
|
540
541
|
margin: 0 ${Y.iconPadding};
|
|
541
|
-
${R(
|
|
542
|
-
${R(
|
|
542
|
+
${R(Et.fontSize,"1em")};
|
|
543
|
+
${R(Et.lineHeight,"var(--button-internal-line-height)")};
|
|
543
544
|
}
|
|
544
545
|
|
|
545
546
|
.ft-button--dense .ft-button--label {
|
|
546
|
-
margin: 0 ${
|
|
547
|
+
margin: 0 ${ft.iconPadding};
|
|
547
548
|
}
|
|
548
549
|
|
|
549
550
|
.ft-button--label[hidden] {
|
|
@@ -561,8 +562,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
561
562
|
}
|
|
562
563
|
|
|
563
564
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
564
|
-
margin: 0 calc(${
|
|
565
|
-
padding: 0 ${
|
|
565
|
+
margin: 0 calc(${ft.horizontalPadding} * -1);
|
|
566
|
+
padding: 0 ${ft.verticalPadding};
|
|
566
567
|
}
|
|
567
568
|
|
|
568
569
|
.ft-button:not(.ft-button--trailing-icon) [part="label"] {
|
|
@@ -577,6 +578,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
577
578
|
.ft-filter-level--container {
|
|
578
579
|
display: flex;
|
|
579
580
|
flex-direction: column;
|
|
581
|
+
padding-bottom: 4px;
|
|
580
582
|
}
|
|
581
583
|
|
|
582
584
|
.ft-filter-level--container > * {
|
|
@@ -685,15 +687,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
685
687
|
position: relative;
|
|
686
688
|
word-break: break-word;
|
|
687
689
|
}
|
|
688
|
-
`;var em="ft-app-info",so=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};so.eventName="authentication-change";var qo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};qo.eventName="ui-locale-changed";var tm={session:(t,e)=>{Ce(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>z.dispatchEvent(new so(e.payload)),0))}},z=yr.get({name:em,reducers:tm,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var $i=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ME=we(Symbol("withDateFormat"),function(t){class e extends t{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>br.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return $i([m({type:Boolean})],e.prototype,"useLongDateFormat",void 0),$i([m({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),$i([Vr({store:z.name,selector:r=>{var i,n;return(n=(i=r.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),$i([Vr({store:z.name})],e.prototype,"uiLocale",void 0),e});var Er=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=z.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=z.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}};var lo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Er.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Er.await()}};var Ze=class extends lo{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new bt,this.cache=e?n.commonCache:new bt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}};var Mi=class extends Ze{async listMySearches(){let{session:e}=z.getState();return _d(e,ye.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var Bi=class extends Ze{async listMyBookmarks(){let e=z.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Fi=class extends Ze{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=z.getState().session;return!!e?.sessionAuthenticated}};var Ui=class extends Ze{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=z.getState().session;return!!e?.sessionAuthenticated}};var rm="ft-user-assets",om={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(nt).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:i,asset:n}=e.payload;Ss(t,r,[...xs(t,r),n]),vp(t,r,1,i),xp(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:i}=e.payload;Ss(t,r,xs(t,r).map(n=>n.id===i.id?i:n)),xp(t,i)},removeAsset:(t,e)=>{let{assetType:r,mapId:i,assetId:n}=e.payload;Ss(t,r,xs(t,r).filter(a=>a.id!==n)),vp(t,r,-1,i)}},Sp={[nt.SEARCHES]:"savedSearches",[nt.BOOKMARKS]:"bookmarks",[nt.BOOKS]:void 0,[nt.COLLECTIONS]:void 0},xs=(t,e)=>{var r;let i=Sp[e];return i?(r=t[i])!==null&&r!==void 0?r:[]:[]},Ss=(t,e,r)=>{let i=Sp[e];i&&(t[i]=r)},vp=(t,e,r,i)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===nt.BOOKMARKS&&i)){let a=t.assetCounts.bookmarkByMap[i];t.assetCounts.bookmarkByMap[i]=Math.max(0,a+r)}},xp=(t,e)=>{let r=t.assetLabels.map(n=>n.title),i=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...i)},$e=yr.get({name:rm,reducers:om,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(nt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Cs=class{constructor(e=new Fi,r=new Ui){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Bi,this.savedSearchesService=new Mi,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=z.getState();Ce((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),$e.actions.clearAssetCount(),$e.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),$e.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),$e.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();$e.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();$e.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&$e.getState().assetCounts.allAsset[e]!==r.count&&$e.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&$e.getState().assetCounts.bookmarkByMap[e]!==r.count&&$e.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys($e.getState().assetCounts.bookmarkByMap).length!==0;e===nt.BOOKMARKS&&r&&$e.actions.clearBookmarkCountByMap(),$e.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;$e.actions.bookmarks(r)}}},im=new Cs;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=im);var Os=class{addCommand(e,r=!1){z.commands.add(e,r)}consumeCommand(e){return z.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Os;var Cp,co=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},nm=Symbol("clearAfterUnitTest"),zi=class extends bi(Ze){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cp]=()=>{this.defaultMessages={},this.cache=new bt,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=z.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};Ce(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Ut((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof or)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new co({loadedContexts:e})),this.dispatchEvent(new co({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new co({loadedContexts:[e]})),this.dispatchEvent(new co({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>gi(0).then(()=>i()).catch(()=>null)))}};Cp=nm;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends zi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends zi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Yo=window.FluidTopicsI18nService,Es=window.FluidTopicsCustomI18nService;var ws=class{highlightHtml(e,r,i){ua(e,r,i)}};window.FluidTopicsHighlightHtmlService=new ws;var As=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=z.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a,s;if(e==null)return"";try{return br.format(e,(i=r?.locale)!==null&&i!==void 0?i:z.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new As;var Xo=class{static get(e,r){var i,n;let a=z.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Gt(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var Rs=class{urlToSearchRequest(e){return Xo.get().parse(e)}searchRequestToUrl(e){return Xo.get().serialize(e)}};window.FluidTopicsUrlService=new Rs;var wr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};wr.eventName="change";var Ls=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Op=new Ls;var Hi=class t extends Tt{static build(){return new t(window.history,Op,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ce(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new wr(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(wr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(wr.eventName,e)}currentItem(){return ct(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ct(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(i=>!!i).filter(i=>i.index<this.currentIndex).reverse();return ct(r.find(i=>e(i)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return ct(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let i=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var i;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Hi.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var Ep=w`
|
|
689
|
-
`;function wp(t,e){let{authenticationRequired:r,session:i}=z.getState();return r&&!i?.sessionAuthenticated?Promise.resolve(e):t()}var Vi=class extends lo{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var ks=class t extends Wo{static build(e){return new t(z,e)}constructor(e,r){super(),this.store=e,this.cache=new
|
|
690
|
+
`;var em="ft-app-info",so=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};so.eventName="authentication-change";var qo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};qo.eventName="ui-locale-changed";var tm={session:(t,e)=>{Ce(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>z.dispatchEvent(new so(e.payload)),0))}},z=yr.get({name:em,reducers:tm,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var $i=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ME=we(Symbol("withDateFormat"),function(t){class e extends t{constructor(...i){super(i),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(i){return i.has("metadataDescriptors")||i.has("useLongDateFormat")||i.has("useDateTimeFormat")||i.has("uiLocale")}getDateFormatter(i){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===i))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>br.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return $i([m({type:Boolean})],e.prototype,"useLongDateFormat",void 0),$i([m({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),$i([Vr({store:z.name,selector:r=>{var i,n;return(n=(i=r.metadataConfiguration)===null||i===void 0?void 0:i.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),$i([Vr({store:z.name})],e.prototype,"uiLocale",void 0),e});var Er=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=z.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=z.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}};var lo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Er.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Er.await()}};var Ze=class extends lo{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new vt,this.cache=e?n.commonCache:new vt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}};var Mi=class extends Ze{async listMySearches(){let{session:e}=z.getState();return _d(e,ye.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var Bi=class extends Ze{async listMyBookmarks(){let e=z.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Fi=class extends Ze{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=z.getState().session;return!!e?.sessionAuthenticated}};var Ui=class extends Ze{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=z.getState().session;return!!e?.sessionAuthenticated}};var rm="ft-user-assets",om={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(nt).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:i,asset:n}=e.payload;Ss(t,r,[...xs(t,r),n]),vp(t,r,1,i),xp(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:i}=e.payload;Ss(t,r,xs(t,r).map(n=>n.id===i.id?i:n)),xp(t,i)},removeAsset:(t,e)=>{let{assetType:r,mapId:i,assetId:n}=e.payload;Ss(t,r,xs(t,r).filter(a=>a.id!==n)),vp(t,r,-1,i)}},Sp={[nt.SEARCHES]:"savedSearches",[nt.BOOKMARKS]:"bookmarks",[nt.BOOKS]:void 0,[nt.COLLECTIONS]:void 0},xs=(t,e)=>{var r;let i=Sp[e];return i?(r=t[i])!==null&&r!==void 0?r:[]:[]},Ss=(t,e,r)=>{let i=Sp[e];i&&(t[i]=r)},vp=(t,e,r,i)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===nt.BOOKMARKS&&i)){let a=t.assetCounts.bookmarkByMap[i];t.assetCounts.bookmarkByMap[i]=Math.max(0,a+r)}},xp=(t,e)=>{let r=t.assetLabels.map(n=>n.title),i=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...i)},$e=yr.get({name:rm,reducers:om,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(nt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Cs=class{constructor(e=new Fi,r=new Ui){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Bi,this.savedSearchesService=new Mi,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=z.getState();Ce((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),$e.actions.clearAssetCount(),$e.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),$e.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),$e.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();$e.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();$e.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&$e.getState().assetCounts.allAsset[e]!==r.count&&$e.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&$e.getState().assetCounts.bookmarkByMap[e]!==r.count&&$e.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys($e.getState().assetCounts.bookmarkByMap).length!==0;e===nt.BOOKMARKS&&r&&$e.actions.clearBookmarkCountByMap(),$e.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;$e.actions.bookmarks(r)}}},im=new Cs;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=im);var Os=class{addCommand(e,r=!1){z.commands.add(e,r)}consumeCommand(e){return z.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Os;var Cp,co=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},nm=Symbol("clearAfterUnitTest"),zi=class extends bi(Ze){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cp]=()=>{this.defaultMessages={},this.cache=new vt,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=z.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};Ce(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Ut((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof or)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new co({loadedContexts:e})),this.dispatchEvent(new co({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new co({loadedContexts:[e]})),this.dispatchEvent(new co({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>gi(0).then(()=>i()).catch(()=>null)))}};Cp=nm;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends zi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends zi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Yo=window.FluidTopicsI18nService,Es=window.FluidTopicsCustomI18nService;var ws=class{highlightHtml(e,r,i){ua(e,r,i)}};window.FluidTopicsHighlightHtmlService=new ws;var As=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=z.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a,s;if(e==null)return"";try{return br.format(e,(i=r?.locale)!==null&&i!==void 0?i:z.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new As;var Xo=class{static get(e,r){var i,n;let a=z.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Gt(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var Rs=class{urlToSearchRequest(e){return Xo.get().parse(e)}searchRequestToUrl(e){return Xo.get().serialize(e)}};window.FluidTopicsUrlService=new Rs;var wr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};wr.eventName="change";var Ls=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Op=new Ls;var Hi=class t extends Tt{static build(){return new t(window.history,Op,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ce(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new wr(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(wr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(wr.eventName,e)}currentItem(){return ct(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ct(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(i=>!!i).filter(i=>i.index<this.currentIndex).reverse();return ct(r.find(i=>e(i)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return ct(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let i=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!i)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,i);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var i;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(i=this.states[e])===null||i===void 0?void 0:i.majorStateId;return a==null||a!=n}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Hi.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var Ep=w`
|
|
691
|
+
`;function wp(t,e){let{authenticationRequired:r,session:i}=z.getState();return r&&!i?.sessionAuthenticated?Promise.resolve(e):t()}var Vi=class extends lo{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var ks=class t extends Wo{static build(e){return new t(z,e)}constructor(e,r){super(),this.store=e,this.cache=new vt,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new Vi,this.cleanSessionDebouncer=new te,this.reloadDebouncer=new te(500),this.apiProvider=r??(()=>Er.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}async initService(){this.store.addEventListener(so.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>wp(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}reloadConfiguration(){var e;(e=this.cache)===null||e===void 0||e.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){var r,i,n,a,s;this.localesConfiguration=e,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((r=this.localesConfiguration.availableUiLocales)!==null&&r!==void 0?r:[]),this.store.actions.searchInAllLanguagesAllowed((i=this.localesConfiguration.allLanguagesAllowed)!==null&&i!==void 0?i:!1),this.store.actions.searchLanguageSetsUiLanguage((n=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&n!==void 0?n:!1),this.store.actions.uiLanguageSetsSearchLanguage((a=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&a!==void 0?a:!1),this.store.actions.uiLanguageSetsReaderLanguage((s=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&s!==void 0?s:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e){this.userLocaleService.updateUiLocale({uiLocale:e}).then(r=>{r.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new qo(r)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},Ap=ks.build();var Ar=class extends Event{constructor(e,r,i,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=i,this.subscribe=n??!1}};var Jo=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:i}=r;for(let{elementRef:n,callbackRef:a}of i){let s=n.deref(),l=a.deref();s===void 0||l===void 0||s.dispatchEvent(new Ar(e.context,s,l,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],i=e.callback,n=this.pendingContextRequests.get(e.context);n===void 0&&this.pendingContextRequests.set(e.context,n={callbacks:new WeakMap,requests:[]});let a=n.callbacks.get(r);a===void 0&&n.callbacks.set(r,a=new WeakSet),a.has(i)||(a.add(i),n.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(i)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var Ie=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends hr{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=Ap,this.contextRoot=new Jo}render(){return x`
|
|
690
692
|
<slot></slot>
|
|
691
693
|
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(i=>Yo.addContext(i)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};fe.elementDefinitions={};fe.styles=Ep;Ie([m()],fe.prototype,"baseUrl",void 0);Ie([m()],fe.prototype,"apiIntegrationIdentifier",void 0);Ie([m()],fe.prototype,"apiIntegrationAppVersion",void 0);Ie([m()],fe.prototype,"uiLocale",void 0);Ie([se(null)],fe.prototype,"availableUiLocales",void 0);Ie([se(null)],fe.prototype,"metadataConfiguration",void 0);Ie([m({type:Boolean})],fe.prototype,"editorMode",void 0);Ie([m({type:Boolean})],fe.prototype,"noCustom",void 0);Ie([m({type:Boolean})],fe.prototype,"openExternalDocumentInNewTab",void 0);Ie([m({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],fe.prototype,"noCustomComponent",void 0);Ie([m({type:Boolean})],fe.prototype,"withManualResources",void 0);Ie([m({type:Boolean})],fe.prototype,"navigatorOnline",void 0);Ie([m({type:Boolean})],fe.prototype,"forcedOffline",void 0);Ie([m({type:Boolean})],fe.prototype,"authenticationRequired",void 0);Ie([se([])],fe.prototype,"messageContexts",void 0);Ie([se(void 0)],fe.prototype,"session",void 0);var Rp={"ft-app-context":fe};W(Rp);var Ts=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,i]=e.split(".");return{context:r,key:i,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},po=new Ts;var lm=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ei=Symbol("i18nAttributes"),Lp=Symbol("i18nListAttributes"),kp=Symbol("i18nProperties"),Wi=Symbol("i18nContexts"),Qo=Symbol("i18nUnsubs"),Ki=we(Symbol("withI18n"),function(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Es:Yo}i18n(a){let{context:s,key:l,message:d}=a,{custom:u,args:f,argsProvider:h}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let g=f??(h?h(this):[]);return this.getI18nService(u).resolveMessage(s,l,...g)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(po.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var u;return((u=d?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,u=(f,h,g)=>g?.context&&g.key&&a(f,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...f})}:g;(s=this[ei])===null||s===void 0||s.forEach((f,h)=>d[h]=u(f,h,d[h])),(l=this[Lp])===null||l===void 0||l.forEach((f,h)=>{var g;return d[h]=(g=d[h])===null||g===void 0?void 0:g.map(b=>u(f,h,b))})}updateI18nProperties(a){var s;(s=this[kp])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Wi].set(d,{isCustomContext:l}),this[Qo].has(d)||this[Qo].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[Wi].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Wi].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Qo].forEach(a=>a()),this[Qo].clear()}}return e=Wi,r=Qo,lm([m({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}),ji=class extends Ki(D){},Gi=class extends Ki(hr){};var _s=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(i=>typeof i=="string"?po.fromAttribute(i):i):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},cm=new _s;var Tp=(t,e)=>(r,i)=>{var n;r.constructor.createProperty(i,{type:Object,hasChanged:dt,converter:po,...e}),r[ei]=(n=r[ei])!==null&&n!==void 0?n:new Map,r[ei].set(i,t??{})};var _p=w`
|
|
692
|
-
`;var ti=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},
|
|
694
|
+
`;var ti=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ht=class extends Gi{constructor(){super(),this.editorMode=!1,this.addStore(z)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":_:x`
|
|
693
695
|
<span class="ft-i18n">
|
|
694
696
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
695
697
|
</span>
|
|
696
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};
|
|
698
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};ht.elementDefinitions={};ht.styles=_p;ti([Vr()],ht.prototype,"editorMode",void 0);ti([m()],ht.prototype,"context",void 0);ti([m()],ht.prototype,"key",void 0);ti([se([])],ht.prototype,"args",void 0);ti([m()],ht.prototype,"defaultMessage",void 0);var Pp={"ft-i18n":ht};W(Pp);var mt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},me=class extends ji{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new te,this.revealDebouncer=new te,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return x`
|
|
697
699
|
<div part="container"
|
|
698
700
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
699
701
|
<slot part="slot"></slot>
|
|
@@ -708,12 +710,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
708
710
|
</div>
|
|
709
711
|
</div>
|
|
710
712
|
</div>
|
|
711
|
-
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,i;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(i=this.tooltip)===null||i===void 0||i.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&ta(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${O.transitionDuration}, left ${O.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||En(e,this.ignoreMatchingElements,this.eventsTarget)}};me.elementDefinitions={"ft-typography":re};me.styles=bp;ht([Tp()],me.prototype,"text",void 0);ht([m({type:Boolean})],me.prototype,"manual",void 0);ht([m({type:Boolean})],me.prototype,"inline",void 0);ht([Mt()],me.prototype,"delay",void 0);ht([m()],me.prototype,"position",void 0);ht([se([])],me.prototype,"ignoreMatchingElements",void 0);ht([hn()],me.prototype,"slotNodes",void 0);ht([$(".ft-tooltip--container")],me.prototype,"container",void 0);ht([$(".ft-tooltip")],me.prototype,"tooltip",void 0);ht([$(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);ht([T()],me.prototype,"visible",void 0);var Ip={"ft-tooltip":me};W(Ip);var mt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(mt||(mt={}));var qe;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(qe||(qe={}));var k;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(k||(k={}));var Ps=new Map([...["abw"].map(t=>[t,k.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]),dm=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Np(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=dm.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Ps.get(l))!==null&&i!==void 0?i:Ps.get(e))!==null&&n!==void 0?n:Ps.get(s))!==null&&a!==void 0?a:k.UNKNOWN}var mL={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"};var ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends D{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_}render(){let e=this.variant&&Object.values(mt).includes(this.variant)?this.variant:mt.fluid_topics,r=e!==mt.material||!!this.value;return x`
|
|
713
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,i;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(i=this.tooltip)===null||i===void 0||i.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&ta(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${O.transitionDuration}, left ${O.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||En(e,this.ignoreMatchingElements,this.eventsTarget)}};me.elementDefinitions={"ft-typography":re};me.styles=bp;mt([Tp()],me.prototype,"text",void 0);mt([m({type:Boolean})],me.prototype,"manual",void 0);mt([m({type:Boolean})],me.prototype,"inline",void 0);mt([Mt()],me.prototype,"delay",void 0);mt([m()],me.prototype,"position",void 0);mt([se([])],me.prototype,"ignoreMatchingElements",void 0);mt([hn()],me.prototype,"slotNodes",void 0);mt([$(".ft-tooltip--container")],me.prototype,"container",void 0);mt([$(".ft-tooltip")],me.prototype,"tooltip",void 0);mt([$(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);mt([T()],me.prototype,"visible",void 0);var Ip={"ft-tooltip":me};W(Ip);var gt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(gt||(gt={}));var qe;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(qe||(qe={}));var k;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(k||(k={}));var Ps=new Map([...["abw"].map(t=>[t,k.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]),dm=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Np(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=dm.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Ps.get(l))!==null&&i!==void 0?i:Ps.get(e))!==null&&n!==void 0?n:Ps.get(s))!==null&&a!==void 0?a:k.UNKNOWN}var mL={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"};var ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends D{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_}render(){let e=this.variant&&Object.values(gt).includes(this.variant)?this.variant:gt.fluid_topics,r=e!==gt.material||!!this.value;return x`
|
|
712
714
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
713
715
|
${vn(this.resolvedIcon)}
|
|
714
716
|
<slot ?hidden=${r}></slot>
|
|
715
717
|
</i>
|
|
716
|
-
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case
|
|
718
|
+
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case gt.file_format:this.resolvedIcon=(e=k[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case gt.material:this.resolvedIcon=this.value||_;break;default:this.resolvedIcon=(r=qe[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ce.elementDefinitions={};ce.styles=up;ri([m()],ce.prototype,"variant",void 0);ri([m()],ce.prototype,"value",void 0);ri([m({reflect:!0,attribute:"aria-hidden"})],ce.prototype,"ariaHidden",void 0);ri([T()],ce.prototype,"resolvedIcon",void 0);ri([$("slot")],ce.prototype,"slottedContent",void 0);var Dp={"ft-icon":ce};W(Dp);var Rr=class extends D{render(){return x`
|
|
717
719
|
<div class="ft-loader">
|
|
718
720
|
<div></div>
|
|
719
721
|
<div></div>
|
|
@@ -843,7 +845,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
843
845
|
|
|
844
846
|
.ft-checkbox.ft-checkbox--error {
|
|
845
847
|
color: ${Ye.errorColor};
|
|
846
|
-
${R(
|
|
848
|
+
${R(oe.color,Ye.errorColor)};
|
|
847
849
|
|
|
848
850
|
.ft-checkbox--box {
|
|
849
851
|
border-color: ${Ye.errorColor};
|
|
@@ -1548,7 +1550,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1548
1550
|
|
|
1549
1551
|
border: 1px solid ${ke.borderColor};
|
|
1550
1552
|
color: ${ke.color};
|
|
1551
|
-
${R(
|
|
1553
|
+
${R(oe.color,ke.rippleColor)};
|
|
1552
1554
|
border-radius: var(${Xt(ke.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
|
|
1553
1555
|
padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
|
|
1554
1556
|
background-color: ${ke.backgroundColor};
|
|
@@ -1581,7 +1583,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1581
1583
|
border: none;
|
|
1582
1584
|
padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
|
|
1583
1585
|
background-color: ${Ms.backgroundColor};
|
|
1584
|
-
${R(
|
|
1586
|
+
${R(oe.color,Ms.rippleColor)};
|
|
1585
1587
|
color: ${Ms.color};
|
|
1586
1588
|
}
|
|
1587
1589
|
|
|
@@ -1819,7 +1821,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1819
1821
|
</div>
|
|
1820
1822
|
`)}
|
|
1821
1823
|
</div>
|
|
1822
|
-
`}};kr.elementDefinitions={};ou([m({type:String})],kr.prototype,"text",void 0);ou([m({type:Boolean})],kr.prototype,"raised",void 0);var Bs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},
|
|
1824
|
+
`}};kr.elementDefinitions={};ou([m({type:String})],kr.prototype,"text",void 0);ou([m({type:Boolean})],kr.prototype,"raised",void 0);var Bs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},yt=class extends kr{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};yt.elementDefinitions={};yt.styles=[Kt,ru];Bs([m({type:Boolean})],yt.prototype,"outlined",void 0);Bs([m({type:Boolean})],yt.prototype,"error",void 0);Bs([m({type:Boolean})],yt.prototype,"disabled",void 0);var iu={"ft-input-label":yt};W(iu);var H={labelSize:o.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:o.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:o.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:o.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:o.extend("--ft-select-selected-option-color","",O.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",O.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",O.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",O.colorSurface),colorOnSurfaceDisabled:o.external(O.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(O.colorPrimary,"Design system"),borderRadiusS:o.external(O.borderRadiusS,"Design system"),elevation02:o.external(O.elevation02,"Design system"),colorError:o.external(O.colorError,"Design system")},nu=w`
|
|
1823
1825
|
*:focus {
|
|
1824
1826
|
outline: none;
|
|
1825
1827
|
}
|
|
@@ -1847,13 +1849,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1847
1849
|
padding-right: ${H.horizontalSpacing};
|
|
1848
1850
|
gap: 8px;
|
|
1849
1851
|
color: ${H.selectedOptionColor};
|
|
1850
|
-
${R(
|
|
1852
|
+
${R(oe.color,H.selectedOptionColor)};
|
|
1851
1853
|
}
|
|
1852
1854
|
|
|
1853
1855
|
.ft-select--input-panel,
|
|
1854
1856
|
.ft-select--options {
|
|
1855
|
-
${R(
|
|
1856
|
-
${R(
|
|
1857
|
+
${R(oe.opacityContentOnSurfaceHover,"0.08")};
|
|
1858
|
+
${R(oe.opacityContentOnSurfacePressed,"0.04")};
|
|
1857
1859
|
}
|
|
1858
1860
|
|
|
1859
1861
|
.ft-select--input-panel > *:not(ft-ripple) {
|
|
@@ -1957,8 +1959,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1957
1959
|
}
|
|
1958
1960
|
`;var au=w`
|
|
1959
1961
|
.ft-select--option {
|
|
1960
|
-
${R(
|
|
1961
|
-
${R(
|
|
1962
|
+
${R(oe.opacityContentOnSurfaceHover,"0.08")};
|
|
1963
|
+
${R(oe.opacityContentOnSurfacePressed,"0.04")};
|
|
1962
1964
|
}
|
|
1963
1965
|
|
|
1964
1966
|
.ft-select--option > *:not(ft-ripple) {
|
|
@@ -1994,7 +1996,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1994
1996
|
</slot>
|
|
1995
1997
|
${this.isSlotEmpty?x`<span>${this.label}</span>`:x``}
|
|
1996
1998
|
</div>
|
|
1997
|
-
`}onSlotChange(){this.isSlotEmpty=Do(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ne.elementDefinitions={"ft-ripple":G};Ne.shadowRootOptions={...et.shadowRootOptions,delegatesFocus:!0};Ne.styles=[au,ao];ii([m({type:String})],Ne.prototype,"label",void 0);ii([m({type:Object,converter:t=>t})],Ne.prototype,"value",void 0);ii([m({type:Boolean,reflect:!0})],Ne.prototype,"selected",void 0);ii([$("slot")],Ne.prototype,"slotElement",void 0);ii([T()],Ne.prototype,"isSlotEmpty",void 0);var Te=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};var
|
|
1999
|
+
`}onSlotChange(){this.isSlotEmpty=Do(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ne.elementDefinitions={"ft-ripple":G};Ne.shadowRootOptions={...et.shadowRootOptions,delegatesFocus:!0};Ne.styles=[au,ao];ii([m({type:String})],Ne.prototype,"label",void 0);ii([m({type:Object,converter:t=>t})],Ne.prototype,"value",void 0);ii([m({type:Boolean,reflect:!0})],Ne.prototype,"selected",void 0);ii([$("slot")],Ne.prototype,"slotElement",void 0);ii([T()],Ne.prototype,"isSlotEmpty",void 0);var Te=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};var ie=class t extends D{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return wn(this.optionsList)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return x`
|
|
1998
2000
|
<div class="${ae(u)}" part="container">
|
|
1999
2001
|
<div class="ft-select--main-panel" part="main-panel">
|
|
2000
2002
|
<ft-input-label text="${this.label}"
|
|
@@ -2050,7 +2052,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
2050
2052
|
label="${e.label}"
|
|
2051
2053
|
.value=${e.value}
|
|
2052
2054
|
></ft-select-option>
|
|
2053
|
-
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];ra(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",H.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=Do(this.optionsSlot);let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i;let n,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let i=this.options.find(n=>{var a;return((a=n.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,i&&this.optionsList.find(n=>n.value===i.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>Ce(i.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let i=this.options.find(n=>Ce(n.value,e));i&&this.selectOption(i,r)}selectOption(e,r=!0){var i,n;if(!Ce((i=this.selectedOption)===null||i===void 0?void 0:i.value,e?.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};
|
|
2055
|
+
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];ra(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",H.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=Do(this.optionsSlot);let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i;let n,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let i=this.options.find(n=>{var a;return((a=n.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,i&&this.optionsList.find(n=>n.value===i.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>Ce(i.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let i=this.options.find(n=>Ce(n.value,e));i&&this.selectOption(i,r)}selectOption(e,r=!0){var i,n;if(!Ce((i=this.selectedOption)===null||i===void 0?void 0:i.value,e?.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ie.elementDefinitions={"ft-input-label":yt,"ft-typography":re,"ft-ripple":G,"ft-icon":ce,"ft-select-option":Ne};ie.searchTimeoutMilliseconds=2e3;ie.styles=[Kt,nu];Te([m({type:String})],ie.prototype,"label",void 0);Te([m({type:String})],ie.prototype,"ariaLabel",void 0);Te([m({type:String})],ie.prototype,"helper",void 0);Te([m({type:Boolean})],ie.prototype,"outlined",void 0);Te([m({type:Boolean})],ie.prototype,"disabled",void 0);Te([m({type:Boolean})],ie.prototype,"error",void 0);Te([m({type:Boolean})],ie.prototype,"fixedMenuPosition",void 0);Te([m({type:Array})],ie.prototype,"options",void 0);Te([T()],ie.prototype,"selectedOption",void 0);Te([T()],ie.prototype,"optionsDisplayed",void 0);Te([T()],ie.prototype,"focusOptions",void 0);Te([T()],ie.prototype,"currentSearch",void 0);Te([T()],ie.prototype,"lastSearchInputDate",void 0);Te([$(".ft-select")],ie.prototype,"container",void 0);Te([$(".ft-select--options")],ie.prototype,"optionsMenu",void 0);Te([$(".ft-select--input-panel")],ie.prototype,"mainPanel",void 0);Te([$("slot:not([name])")],ie.prototype,"optionsSlot",void 0);var su={"ft-select":ie,"ft-select-option":Ne};W(su);var _e={display:o.create("--ft-skeleton--display","","DISPLAY","block"),width:o.create("--ft-skeleton--width","","SIZE","100%"),height:o.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.external(O.borderRadiusM,"Design system")},lu=w`
|
|
2054
2056
|
:host {
|
|
2055
2057
|
width: ${_e.width};
|
|
2056
2058
|
height: ${_e.height};
|
|
@@ -2485,7 +2487,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
2485
2487
|
</div>
|
|
2486
2488
|
`)}
|
|
2487
2489
|
</div>
|
|
2488
|
-
`}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?
|
|
2490
|
+
`}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(i=>i.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(i=>i.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?gt.file_format:gt.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?qe.BOOK:qe.ARTICLE;break;case"DOCUMENT":i=Np(e.mimeType,e.filenameExtension);break;case"TOPIC":i=qe.TOPICS;break;case"HTML_PACKAGE":i=qe.BOX_CODE;break;case"HTML_PACKAGE_PAGE":i=qe.FILE_CODE;break}return x`
|
|
2489
2491
|
<ft-icon .variant=${r} .value=${i} part="suggestion-icon"></ft-icon>
|
|
2490
2492
|
`}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};Rt.styles=[ha,w`
|
|
2491
2493
|
.ft-search-bar--mobile .ft-search-bar--suggestions {
|
|
@@ -2575,7 +2577,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
2575
2577
|
}
|
|
2576
2578
|
|
|
2577
2579
|
ft-ripple {
|
|
2578
|
-
${R(
|
|
2580
|
+
${R(oe.opacityContentOnSurfaceHover,oe.opacityContentOnSurfaceSelected)}
|
|
2579
2581
|
}
|
|
2580
2582
|
`];var Lt=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return x``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=x`
|
|
2581
2583
|
${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?x`
|
|
@@ -2942,7 +2944,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
2942
2944
|
part="floating-panel"
|
|
2943
2945
|
tabindex="-1">
|
|
2944
2946
|
${this.renderDesktopMenu()}
|
|
2945
|
-
</div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};F.elementDefinitions={"ft-accordion":At,"ft-accordion-item":st,"ft-button":j,"ft-chip":ue,"ft-filter":ee,"ft-filter-option":Je,"ft-icon":ce,"ft-ripple":G,"ft-select":
|
|
2947
|
+
</div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};F.elementDefinitions={"ft-accordion":At,"ft-accordion-item":st,"ft-button":j,"ft-chip":ue,"ft-filter":ee,"ft-filter-option":Je,"ft-icon":ce,"ft-ripple":G,"ft-select":ie,"ft-select-option":Ne,"ft-size-watcher":Ge,"ft-skeleton":Yt,"ft-snap-scroll":ve,"ft-tooltip":me,"ft-typography":re,"ft-radio-group":Xe,"ft-radio":Ee};F.styles=[ao,Bo,cu,du,Lt.styles,Rt.styles,Pi];Z([m({type:Boolean})],F.prototype,"dense",void 0);Z([m()],F.prototype,"mode",void 0);Z([m({type:Boolean})],F.prototype,"forceMobileMenuOpen",void 0);Z([m({type:Boolean})],F.prototype,"forceMenuOpen",void 0);Z([m()],F.prototype,"baseUrl",void 0);Z([m()],F.prototype,"apiIntegrationIdentifier",void 0);Z([m()],F.prototype,"contentLocale",void 0);Z([T()],F.prototype,"availableContentLocales",void 0);Z([T()],F.prototype,"availableContentLocalesInitialized",void 0);Z([m()],F.prototype,"uiLocale",void 0);Z([se({})],F.prototype,"labels",void 0);Z([se([])],F.prototype,"displayedFilters",void 0);Z([se([])],F.prototype,"presets",void 0);Z([m({type:String,reflect:!0})],F.prototype,"selectedPreset",void 0);Z([se([])],F.prototype,"priors",void 0);Z([m()],F.prototype,"searchRequestSerializer",void 0);Z([m({type:Boolean})],F.prototype,"focusOnDisplay",void 0);Z([T()],F.prototype,"metadataFilters",void 0);Z([T()],F.prototype,"sizeCategory",void 0);Z([T()],F.prototype,"displayFacets",void 0);Z([T()],F.prototype,"mobileMenuOpen",void 0);Z([T()],F.prototype,"facets",void 0);Z([T()],F.prototype,"facetsInitialized",void 0);Z([$(".ft-search-bar--container")],F.prototype,"container",void 0);Z([$(".ft-search-bar--filters-opener")],F.prototype,"filtersOpener",void 0);Z([$(".ft-search-bar--floating-panel")],F.prototype,"floatingContainer",void 0);Z([$("ft-snap-scroll.ft-search-bar--filters-container")],F.prototype,"scrollingFiltersContainer",void 0);Z([$(".ft-search-bar--input")],F.prototype,"input",void 0);Z([$(".ft-search-bar--launch-search")],F.prototype,"launchSearchButton",void 0);Z([T()],F.prototype,"query",void 0);Z([T()],F.prototype,"suggestions",void 0);Z([T()],F.prototype,"recentSearches",void 0);Z([T()],F.prototype,"scrollToFacet",void 0);Z([T()],F.prototype,"api",void 0);Z([T()],F.prototype,"displaySuggestListbox",void 0);Z([T()],F.prototype,"selectedSuggestOptionId",void 0);Z([T()],F.prototype,"selectedSuggestRemoveRecent",void 0);Z([T()],F.prototype,"facetsLoaded",void 0);var fu={"ft-search-bar":F};W(fu);})();
|
|
2946
2948
|
/*! Bundled license information:
|
|
2947
2949
|
|
|
2948
2950
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|