@fluid-topics/ft-filterable-table 2.2.35 → 2.2.36
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-filterable-table.light.js +214 -181
- package/build/ft-filterable-table.min.js +210 -177
- package/package.json +6 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var Iu=Object.defineProperty;var V=(t,e)=>{for(var r in e)Iu(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,a=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,y){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(y)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let v=y.prototype.attributeChangedCallback,O=new Set(y.observedAttributes||[]);m(y,O,v);let M={elementClass:y,connectedCallback:y.prototype.connectedCallback,disconnectedCallback:y.prototype.disconnectedCallback,adoptedCallback:y.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:y.formAssociated,formAssociatedCallback:y.prototype.formAssociatedCallback,formDisabledCallback:y.prototype.formDisabledCallback,formResetCallback:y.prototype.formResetCallback,formStateRestoreCallback:y.prototype.formStateRestoreCallback,observedAttributes:O};this._definitionsByTag.set(b,M),this._definitionsByClass.set(y,M);let Z=r.call(n,b);Z||(Z=f(b),e.call(n,b,Z)),this===window.customElements&&(a.set(y,M),M.standInClass=Z);let oe=this._awaitingUpgrade.get(b);if(oe){this._awaitingUpgrade.delete(b);for(let K of oe)s.delete(K),S(K,M,!0)}let k=this._whenDefinedPromises.get(b);return k!==void 0&&(k.resolve(y),this._whenDefinedPromises.delete(b)),y}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let y=this._getDefinition(b);if(y!==void 0)return Promise.resolve(y.elementClass);let v=this._whenDefinedPromises.get(b);return v===void 0&&(v={},v.promise=new Promise(O=>v.resolve=O),this._whenDefinedPromises.set(b,v)),v.promise}_upgradeWhenDefined(b,y,v){let O=this._awaitingUpgrade.get(y);O||this._awaitingUpgrade.set(y,O=new Set),v?O.add(b):O.delete(b)}};let d;window.HTMLElement=function(){let y=d;if(y)return d=void 0,y;let v=a.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return y=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(y,this.constructor.prototype),i.set(y,v),y},window.HTMLElement.prototype=t.prototype;let p=b=>b===document||b instanceof ShadowRoot,h=b=>{let y=b.getRootNode();if(!p(y)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;y=v.getRootNode(),p(y)||(y=c.get(y)?.getRootNode()||document)}return y.customElements},f=b=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let O=h(v)||window.customElements,M=O._getDefinition(b);return M?S(v,M):s.set(v,O),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let v=i.get(this);v&&v.formAssociated&&v?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let v=i.get(this);v?.formAssociated&&v?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let v=i.get(this);v?.formAssociated&&v?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let v=i.get(this);v?.formAssociated&&v?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,y,v)=>{if(y.size===0||v===void 0)return;let O=b.prototype.setAttribute;O&&(b.prototype.setAttribute=function(oe,k){let K=oe.toLowerCase();if(y.has(K)){let ie=this.getAttribute(K);O.call(this,K,k),v.call(this,K,ie,k)}else O.call(this,K,k)});let M=b.prototype.removeAttribute;M&&(b.prototype.removeAttribute=function(oe){let k=oe.toLowerCase();if(y.has(k)){let K=this.getAttribute(k);M.call(this,k),v.call(this,k,K,null)}else M.call(this,k)});let Z=b.prototype.toggleAttribute;Z&&(b.prototype.toggleAttribute=function(oe,k){let K=oe.toLowerCase();if(y.has(K)){let ie=this.getAttribute(K);Z.call(this,K,k);let Je=this.getAttribute(K);v.call(this,K,ie,Je)}else Z.call(this,K,k)})},x=b=>{let y=Object.getPrototypeOf(b);if(y!==window.HTMLElement)return y===t?Object.setPrototypeOf(b,window.HTMLElement):x(y)},S=(b,y,v=!1)=>{Object.setPrototypeOf(b,y.elementClass.prototype),i.set(b,y),d=b;try{new y.elementClass}catch{x(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(O=>{b.hasAttribute(O)&&y.attributeChangedCallback.call(b,O,null,b.getAttribute(O))}),v&&y.connectedCallback&&b.isConnected&&y.connectedCallback.call(b)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let y=A.apply(this,arguments);return b.customElements&&(y.customElements=b.customElements),y};let E=[document],L=(b,y,v=void 0)=>{let O=(v?Object.getPrototypeOf(v):b.prototype)[y];b.prototype[y]=function(){E.push(this);let M=O.apply(v||this,arguments);return M!==void 0&&c.set(M,this),E.pop(),M}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let N=(b,y)=>{let v=Object.getOwnPropertyDescriptor(b.prototype,y);Object.defineProperty(b.prototype,y,{...v,set(O){E.push(this),v.set.call(this,O),E.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,y=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...oe){let k=y.call(this,...oe);return b.set(k,this),k},v.forEach(oe=>{let k=window.ElementInternals.prototype,K=k[oe];k[oe]=function(...ie){let Je=b.get(this);if(i.get(Je).formAssociated===!0)return K?.call(this,...ie);throw new DOMException(`Failed to execute ${K} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class O extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class M{constructor(k){let K=new Map;k.forEach((ie,Je)=>{let Fn=ie.getAttribute("name"),ba=K.get(Fn)||[];this[+Je]=ie,ba.push(ie),K.set(Fn,ba)}),this.length=k.length,K.forEach((ie,Je)=>{ie&&(ie.length===1?this[Je]=ie[0]:this[Je]=new O(ie))})}namedItem(k){return this[k]}}let Z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let oe=Z.get.call(this,[]),k=[];for(let K of oe){let ie=i.get(K);(!ie||ie.formAssociated===!0)&&k.push(K)}return new M(k)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,a)}}}var Xn={};V(Xn,{CSSResult:()=>nr,LitElement:()=>He,ReactiveElement:()=>$e,_$LE:()=>Vu,_$LH:()=>Zn,adoptStyles:()=>Nr,css:()=>T,defaultConverter:()=>ir,getCompatibleStyle:()=>To,html:()=>w,isServer:()=>fm,mathml:()=>Kn,noChange:()=>se,notEqual:()=>Mr,nothing:()=>P,render:()=>qn,supportsAdoptingStyleSheets:()=>Pr,svg:()=>jn,unsafeCSS:()=>kr});var Ro=globalThis,Pr=Ro.ShadowRoot&&(Ro.ShadyCSS===void 0||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Un=Symbol(),xa=new WeakMap,nr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Un)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(Pr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=xa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&xa.set(r,e))}return e}toString(){return this.cssText}},kr=t=>new nr(typeof t=="string"?t:t+"",void 0,Un),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new nr(r,t,Un)},Nr=(t,e)=>{if(Pr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ro.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},To=Pr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return kr(r)})(t):t;var{is:Pu,defineProperty:ku,getOwnPropertyDescriptor:Nu,getOwnPropertyNames:Du,getOwnPropertySymbols:Mu,getPrototypeOf:$u}=Object,Lo=globalThis,va=Lo.trustedTypes,Fu=va?va.emptyScript:"",Uu=Lo.reactiveElementPolyfillSupport,Dr=(t,e)=>t,ir={toAttribute(t,e){switch(e){case Boolean:t=t?Fu: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}},Mr=(t,e)=>!Pu(t,e),Sa={attribute:!0,type:String,converter:ir,reflect:!1,useDefault:!1,hasChanged:Mr};Symbol.metadata??=Symbol("metadata"),Lo.litPropertyMetadata??=new WeakMap;var $e=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=Sa){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 n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&ku(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=Nu(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let c=i?.call(this);s?.call(this,a),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Sa}static _$Ei(){if(this.hasOwnProperty(Dr("elementProperties")))return;let e=$u(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Dr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Dr("properties"))){let r=this.properties,n=[...Du(r),...Mu(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(To(i))}else e!==void 0&&r.push(To(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Nr(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,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:ir).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:ir;this._$Em=i;let c=a.fromAttribute(r,s.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Mr)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!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[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,c=this[i];a!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,s,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}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){}};$e.elementStyles=[],$e.shadowRootOptions={mode:"open"},$e[Dr("elementProperties")]=new Map,$e[Dr("finalized")]=new Map,Uu?.({ReactiveElement:$e}),(Lo.reactiveElementVersions??=[]).push("2.1.2");var zn=globalThis,Ea=t=>t,Io=zn.trustedTypes,Ca=Io?Io.createPolicy("lit-html",{createHTML:t=>t}):void 0,Hn="$lit$",at=`lit$${Math.random().toFixed(9).slice(2)}$`,Vn="?"+at,Bu=`<${Vn}>`,Ct=document,Fr=()=>Ct.createComment(""),Ur=t=>t===null||typeof t!="object"&&typeof t!="function",Wn=Array.isArray,Ta=t=>Wn(t)||typeof t?.[Symbol.iterator]=="function",Bn=`[
|
|
2
|
-
\f\r]
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Aa=/'/g,_a=/"/g,La=/^(?:script|style|textarea|title)$/i,Gn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=Gn(1),jn=Gn(2),Kn=Gn(3),se=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),Ra=new WeakMap,Et=Ct.createTreeWalker(Ct,129);function Ia(t,e){if(!Wn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ca!==void 0?Ca.createHTML(e):e}var Pa=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=$r;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===$r?h[1]==="!--"?a=Oa:h[1]!==void 0?a=wa:h[2]!==void 0?(La.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=St):h[3]!==void 0&&(a=St):a===St?h[0]===">"?(a=i??$r,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?St:h[3]==='"'?_a:Aa):a===_a||a===Aa?a=St:a===Oa||a===wa?a=$r:(a=St,i=void 0);let x=a===St&&t[c+1].startsWith("/>")?" ":"";s+=a===$r?d+Bu:f>=0?(n.push(p),d.slice(0,f)+Hn+d.slice(f)+at+x):d+at+(f===-2?c:x)}return[Ia(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Br=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,c=e.length-1,d=this.parts,[p,h]=Pa(e,r);if(this.el=t.createElement(p,n),Et.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Et.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Hn)){let m=h[a++],x=i.getAttribute(f).split(at),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:x,ctor:S[1]==="."?ko:S[1]==="?"?No:S[1]==="@"?Do:wt}),i.removeAttribute(f)}else f.startsWith(at)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(La.test(i.tagName)){let f=i.textContent.split(at),m=f.length-1;if(m>0){i.textContent=Io?Io.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Fr()),Et.nextNode(),d.push({type:2,index:++s});i.append(f[m],Fr())}}}else if(i.nodeType===8)if(i.data===Vn)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(at,f+1))!==-1;)d.push({type:7,index:s}),f+=at.length-1}s++}}static createElement(e,r){let n=Ct.createElement("template");return n.innerHTML=e,n}};function Ot(t,e,r=t,n){if(e===se)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Ur(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Ot(t,i._$AS(t,e.values),i,n)),e}var Po=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:n}=this._$AD,i=(e?.creationScope??Ct).importNode(r,!0);Et.currentNode=i;let s=Et.nextNode(),a=0,c=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new sr(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Mo(s,this,e)),this._$AV.push(p),d=n[++c]}a!==d?.index&&(s=Et.nextNode(),a++)}return Et.currentNode=Ct,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},sr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=Ot(this,e,r),Ur(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ta(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&Ur(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ct.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Br.createElement(Ia(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Po(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Ra.get(e.strings);return r===void 0&&Ra.set(e.strings,r=new Br(e)),r}k(e){Wn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.O(Fr()),this.O(Fr()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){let n=Ea(e).nextSibling;Ea(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},wt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=P,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=P}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Ot(this,e,r,0),a=!Ur(e)||e!==this._$AH&&e!==se,a&&(this._$AH=e);else{let c=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Ot(this,c[n+d],r,d),p===se&&(p=this._$AH[d]),a||=!Ur(p)||p!==this._$AH[d],p===P?e=P:e!==P&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ko=class extends wt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},No=class extends wt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},Do=class extends wt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Ot(this,e,r,0)??P)===se)return;let n=this._$AH,i=e===P&&n!==P||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==P&&(n===P||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Mo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ot(this,e)}},Zn={M:Hn,P:at,A:Vn,C:1,L:Pa,R:Po,D:Ta,V:Ot,I:sr,H:wt,N:No,U:Do,B:ko,F:Mo},zu=zn.litHtmlPolyfillSupport;zu?.(Br,sr),(zn.litHtmlVersions??=[]).push("3.3.3");var qn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new sr(e.insertBefore(Fr(),s),s,void 0,r??{})}return i._$AI(t),i};var Yn=globalThis,He=class extends $e{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=qn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};He._$litElement$=!0,He.finalized=!0,Yn.litElementHydrateSupport?.({LitElement:He});var Hu=Yn.litElementPolyfillSupport;Hu?.({LitElement:He});var Vu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Yn.litElementVersions??=[]).push("4.2.2");var fm=!1;var ei={};V(ei,{customElement:()=>Wu,eventOptions:()=>ju,property:()=>g,query:()=>q,queryAll:()=>Jn,queryAssignedElements:()=>Qn,queryAssignedNodes:()=>zr,queryAsync:()=>Zu,standardProperty:()=>ka,state:()=>D});var Wu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Gu={attribute:!0,type:String,converter:ir,reflect:!1,hasChanged:Mr},ka=(t=Gu,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),n==="accessor"){let{name:a}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(a,d,t,!0,c)},init(c){return c!==void 0&&this.C(a,void 0,t,c),c}}}if(n==="setter"){let{name:a}=r;return function(c){let d=this[a];e.call(this,c),this.requestUpdate(a,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function g(t){return(e,r)=>typeof r=="object"?ka(t,e,r):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function D(t){return g({...t,state:!0,attribute:!1})}function ju(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Ve=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function q(t,e){return(r,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ve(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ve(r,n,{get(){return s(this)}})}}var Ku;function Jn(t){return(e,r)=>Ve(e,r,{get(){return(this.renderRoot??(Ku??=document.createDocumentFragment())).querySelectorAll(t)}})}function Zu(t){return(e,r)=>Ve(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Qn(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return Ve(e,r,{get(){let a=this.renderRoot?.querySelector(s),c=a?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function zr(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ve(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var ti={};V(ti,{repeat:()=>Oe});var Qe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ie=t=>(...e)=>({_$litDirective$:t,values:e}),Fe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:qu}=Zn,Na=t=>t;var Ma=t=>t.strings===void 0,Da=()=>document.createComment(""),ar=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(Da(),i),a=n.insertBefore(Da(),i);r=new qu(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let p=Na(d).nextSibling;Na(n).insertBefore(d,i),d=p}}}return r},ht=(t,e,r=t)=>(t._$AI(e,r),t),Yu={},$a=(t,e=Yu)=>t._$AH=e,Fa=t=>t._$AH,$o=t=>{t._$AR(),t._$AA.remove()};var Ua=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Oe=Ie(class extends Fe{constructor(t){if(super(t),t.type!==Qe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],s=[],a=0;for(let c of t)i[a]=n?n(c,a):a,s[a]=r(c,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Fa(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let c=this.ut??=[],d=[],p,h,f=0,m=i.length-1,x=0,S=s.length-1;for(;f<=m&&x<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===a[x])d[x]=ht(i[f],s[x]),f++,x++;else if(c[m]===a[S])d[S]=ht(i[m],s[S]),m--,S--;else if(c[f]===a[S])d[S]=ht(i[f],s[S]),ar(t,d[S+1],i[f]),f++,S--;else if(c[m]===a[x])d[x]=ht(i[m],s[x]),ar(t,i[f],i[m]),m--,x++;else if(p===void 0&&(p=Ua(a,x,S),h=Ua(c,f,m)),p.has(c[f]))if(p.has(c[m])){let A=h.get(a[x]),E=A!==void 0?i[A]:null;if(E===null){let L=ar(t,i[f]);ht(L,s[x]),d[x]=L}else d[x]=ht(E,s[x]),ar(t,i[f],E),i[A]=null;x++}else $o(i[m]),m--;else $o(i[f]),f++;for(;x<=S;){let A=ar(t,d[S+1]);ht(A,s[x]),d[x++]=A}for(;f<=m;){let A=i[f++];A!==null&&$o(A)}return this.ut=a,$a(t,d),se}});var ri={};V(ri,{classMap:()=>ae});var ae=Ie(class extends Fe{constructor(t){if(super(t),t.type!==Qe.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return se}});var oi={};V(oi,{styleMap:()=>Ju});var Ba="important",Xu=" !"+Ba,Ju=Ie(class extends Fe{constructor(t){if(super(t),t.type!==Qe.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 n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}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 n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let s=typeof i=="string"&&i.endsWith(Xu);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?Ba:""):r[n]=i}}return se}});var ni={};V(ni,{UnsafeHTMLDirective:()=>lr,unsafeHTML:()=>Hr});var lr=class extends Fe{constructor(e){if(super(e),this.it=P,e.type!==Qe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===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:[]}}};lr.directiveName="unsafeHTML",lr.resultType=1;var Hr=Ie(lr);var ii={};V(ii,{splitBreadcrumbForMenu:()=>Qu});function Qu(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var gi={};V(gi,{CacheRegistry:()=>tt,ClearCacheEvent:()=>jr});var si={};V(si,{CancelablePromise:()=>Fo,CanceledPromiseError:()=>At,cancelable:()=>Vr});var At=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Fo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new At("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new At("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Vr=t=>new Fo((e,r)=>t.then(e).catch(r));var mi={};V(mi,{FtContextRegistrationEvent:()=>hi,FtNotificationEvent:()=>Gr,PostResizeEvent:()=>fi,PreResizeEvent:()=>pi,WithEventBus:()=>lt,withEventBus:()=>zo});var ui={};V(ui,{AbstractRegistry:()=>dr,applyMixinOnce:()=>me,customElements:()=>J,dateReviver:()=>np,deepCopy:()=>We,deepEqual:()=>le,delay:()=>Uo,eventPathContainsMatchingElement:()=>li,everyDeep:()=>op,flatDeep:()=>Wa,forEachDeep:()=>Ga,getComposedPathTo:()=>di,groupBy:()=>ap,hasChanged:()=>et,ignoreComposingEvents:()=>Bo,last:()=>ci,minmax:()=>_t,parseDate:()=>Ka,randomId:()=>sp,someDeep:()=>ja,unslotText:()=>Za,waitFor:()=>Va,waitUntil:()=>rp});var ai={};V(ai,{customElement:()=>Wr,dateProperty:()=>tp,isNumber:()=>Ha,jsonProperty:()=>he,jsonPropertyConverter:()=>za,numberProperty:()=>cr,optionalNumberProperty:()=>ep});var Wr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},za=t=>({fromAttribute:e=>{if(e==null)return We(t);try{return JSON.parse(e)}catch{return We(t)}},toAttribute:e=>JSON.stringify(e)});function he(t,e){return g({type:Object,converter:za(t),hasChanged:et,...e??{}})}function ep(t){return cr(t)}function cr(t){return g({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return Ha(e)?_t(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ha(t){return!isNaN(parseFloat(t))}function tp(t){return g({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 Uo=t=>new Promise(e=>setTimeout(e,t));async function rp(t,e=10,r=2e4){await Va(async()=>await t()||void 0,e,r)}async function Va(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await Uo(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Wa(t,e){return t.flatMap(r=>[r,...Wa(e(r),e)])}function Ga(t,e,r){let n=(i,s)=>{var a;for(let c=0;c<i.length;c++){let d=i[c];if(!(((a=r(d,c,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function ja(t,e,r){let n=!1;return Ga(t,e,(i,s,a,c)=>(n=!!r(i,s,a,c),!n)),n}function op(t,e,r){return!ja(t,e,(n,i,s,a)=>!r(n,i,s,a))}function np(...t){return(e,r)=>t.includes(e)?Ka(r):r}function Ka(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,n,i)=>r+n+":"+i),new Date(t)}function ip(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,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!le(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!le(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=a=>Object.keys(a).filter(c=>a[c]!=null),s=i(t);if(r=s.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){let a=s[n];if(!le(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function le(t,e){try{return ip(t,e)}catch{return!1}}function et(t,e){return!le(t,e)}function li(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function _t(t,e,r){return Math.min(Math.max(t,e),r)}function ci(t){return t[t.length-1]}function Za(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Za(e)).join(""):t?.textContent||""}function di(t){let e=[],r=n=>{n.stopPropagation(),e=n.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 We(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function sp(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function me(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}function Bo(){return function(t,e,r){let n=r.value;r.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function J(t){for(let[e,r]of Object.entries(t))Wr(e)(r)}function ap(t,e){var r,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[n=i(a)])!==null&&r!==void 0?r:s[n]=[]).push(a);return s}var dr=class{constructor(){this.knownElements=new Set}register(e){this.knownElements.add(e)}unregister(e){this.knownElements.delete(e)}list(){return Array.from(this.knownElements)}};var Gr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},pi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},fi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},zo=me(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),lt=class extends zo(Object){},hi=class extends CustomEvent{constructor(e,r){super(e,{composed:!0,bubbles:!0,detail:r})}};var jr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},tt=class extends lt{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:r,final:n,status:a}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new jr(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new jr([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=Vr(r()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var 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 Ai={};V(Ai,{ClusteringHelper:()=>wi,formatHierarchicalValues:()=>Oi});var Ci={};V(Ci,{accessBreadcrumb:()=>gp,accessResult:()=>Ei,accessResultId:()=>hp,accessResultUrl:()=>mp,enrichReaderUrl:()=>Si});var vi={};V(vi,{SearchPlaceConverter:()=>ct,SearchPlaceQueryParams:()=>F,isSearchPlaceQueryParams:()=>$l,serializeRequest:()=>pp});var lp=t=>typeof t=="object"&&t!=null;var cp=t=>typeof t=="number",Ho=t=>typeof t=="string",bi=t=>lp(t)&&Ho(t.endpoint)&&Ho(t.method)&&Ho(t.statusText)&&Ho(t.body)&&cp(t.status),qa;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(qa||(qa={}));var Ya;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ya||(Ya={}));var Xa;(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"})(Xa||(Xa={}));var Ja;(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"})(Ja||(Ja={}));var Qa;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Qa||(Qa={}));var el;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(el||(el={}));var tl;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(tl||(tl={}));var rl;(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"})(rl||(rl={}));var ol;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(ol||(ol={}));var nl;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(nl||(nl={}));var il;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER",t.DOC_DIFF="DOC_DIFF"})(il||(il={}));var sl;(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"})(sl||(sl={}));var al;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(al||(al={}));var ll;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ll||(ll={}));var cl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(cl||(cl={}));var dl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(dl||(dl={}));var ul;(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"})(ul||(ul={}));var ur;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(ur||(ur={}));var pl;(function(t){t.ASC="ASC",t.DESC="DESC"})(pl||(pl={}));var fl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(fl||(fl={}));var yi;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(yi||(yi={}));var Sl=t=>Object.keys(yi).includes(t);var hl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(hl||(hl={}));var ml;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ml||(ml={}));var gl;(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"})(gl||(gl={}));var pr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(pr||(pr={}));var El=t=>Object.keys(pr).includes(t);var yl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(yl||(yl={}));var bl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(bl||(bl={}));var xl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(xl||(xl={}));var ne;(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"})(ne||(ne={}));var Ue;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ue||(Ue={}));var vl;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(vl||(vl={}));var Cl;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Cl||(Cl={}));var Ol;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ol||(Ol={}));var wl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(wl||(wl={}));var Al;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Al||(Al={}));var _l;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(_l||(_l={}));var Rl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Rl||(Rl={}));var Tl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Tl||(Tl={}));var Ll;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Ll||(Ll={}));var Il;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Il||(Il={}));var Pl;(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"})(Pl||(Pl={}));var kl;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(kl||(kl={}));var dp={[ne.PERSONAL_BOOK_SHARE_USER]:[ne.PERSONAL_BOOK_USER],[ne.HTML_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.PDF_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.KHUB_ADMIN]:[ne.CONTENT_PUBLISHER],[ne.ADMIN]:[ne.KHUB_ADMIN,ne.USERS_ADMIN,ne.PORTAL_ADMIN,ne.BEHAVIOR_DATA_USER],[ne.GENERATIVE_AI_EXPORT_USER]:[ne.GENERATIVE_AI_USER]};function Nl(t,e){return t===e||(dp[t]??[]).some(r=>Nl(r,e))}function xi(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Nl(n,e))}function Dl(t,...e){return t==null?!1:e.some(r=>xi(t,r))}function up(t){return`"${t}"`}function Ml(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function pp(t,e){return new ct(t).serialize(e)}var F;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(F||(F={}));var fp=new Set(Object.values(F));function $l(t){return fp.has(t)}var ct=class t{constructor(e,r=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,s,a,c,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(F.LOCALE,e.contentLocale):m.append(F.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(F.QUERY,e.query);let x=t.serializeValueFilters(e.metadataFilters);x&&m.append(F.VALUE_FILTERS,x);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(F.NEGATIVE_VALUE_FILTERS,S);let A=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(b=>b.dateFilter))!==null&&d!==void 0?d:[];if(A.length>0){let b=A.map(y=>{var v;return`${y.key}~${(v=y.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");m.append(F.DATE_FILTERS,b)}let E=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let b=E.map(y=>{var v,O;return`${y.key}~${(v=y.rangeFilter)===null||v===void 0?void 0:v.from}_${(O=y.rangeFilter)===null||O===void 0?void 0:O.to}`}).join("*");m.append(F.RANGE_FILTERS,b)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(F.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(F.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(F.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(c=e.paging)===null||c===void 0?void 0:c.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(F.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(F.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let L=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let b in L)m.append(b,L[b]);let N=new Array;return m.forEach((b,y)=>{N.push(this.encodeQueryString(y)+"="+this.encodeQueryString(b))}),encodeURI(N.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,s,a,c,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let p=new URLSearchParams(e),h=(n=p.get(F.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(F.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(F.SORT))===null||r===void 0?void 0:r.toLowerCase(),x=(s=p.get(F.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(F.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),A=p.get(F.KEYWORD_MATCH),E=A?A.toUpperCase()===ur.MANDATORY?ur.MANDATORY:ur.OPTIONAL:void 0,L={};for(let N of p.keys())$l(N)||(L[N]=p.get(N));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(N=>N.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(c=p.get(F.QUERY))!==null&&c!==void 0?c:"",scope:(d=this.scopeMapping[x])!==null&&d!==void 0?d:"DEFAULT",virtualField:Sl(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:_t(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:E,otherQueryParams:L}}parseCompatFilters(e){var r,n,i,s,a,c,d;let p=[];return e.has(F.FILTERS)&&(p=t.parseValueFilters((r=e.get(F.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(F.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(F.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(F.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(F.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((c=e.get(F.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(F.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}static parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Ml).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:pr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}static superEscapeFilters(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(El(e))return[{key:"ft:lastEdition",dateFilter:{type:pr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var r,n;let i=((n=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>up(Ml(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[F.LOCALE,F.FILTERS,F.VALUE_FILTERS,F.NEGATIVE_VALUE_FILTERS,F.DATE_FILTERS,F.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(F.LOCALE),r!==void 0&&n.searchParams.append(F.LOCALE,r),n.toString()}};ct.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Ei(t){var e,r,n,i;return(i=(n=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function hp(t){var e,r,n,i,s,a,c,d,p;return(p=(d=(c=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(r=t?.topic)===null||r===void 0?void 0:r.tocId)!==null&&c!==void 0?c:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function mp(t,e){var r,n,i,s,a,c,d,p,h;return(h=(p=(d=(c=Si((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&c!==void 0?c:Si((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function gp(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 Si(t,e){if(e&&t){let r=URL.parse(t),n=ct.serializeValueFilters(e);if(n&&r?.searchParams.append(F.VALUE_FILTERS,n),r)return r.toString()}return t}function Oi(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var wi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,r,n){return e?.find(i=>{var s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=Ei(e.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(c=>{s.push(Oi(c)),a.push(Oi(c,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(c=d?.label)!==null&&c!==void 0?c:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>c&&(c=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var _i={};V(_i,{Debouncer:()=>we});var we=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,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ii={};V(Ii,{designSystemVariables:()=>_});var Li={};V(Li,{DesignSystemFamily:()=>Kr,DesignSystemSize:()=>Zr,FtCssVariableFactory:()=>o,badge:()=>kp,banner:()=>Pp,button:()=>xp,card:()=>Sp,chart:()=>qp,checkbox:()=>wp,chip:()=>Tp,chipChoice:()=>Rp,chipGroup:()=>Lp,collapsible:()=>Kp,combobox:()=>Gp,dateRangePicker:()=>ef,drawer:()=>Bp,eventCard:()=>Ep,floatingMenu:()=>Wp,foundation:()=>l,link:()=>Ip,modal:()=>Fp,notice:()=>Xp,notification:()=>Jp,pageDesigner:()=>Yp,pageFooter:()=>Mp,pageHeader:()=>Dp,pageLayout:()=>$p,popover:()=>jp,radio:()=>Ap,reorderableList:()=>Up,resolveFamilyClass:()=>Ri,resolveSizeClass:()=>Ti,semantic:()=>u,setVariable:()=>I,switch_:()=>Zp,table:()=>_p,tabs:()=>zp,textArea:()=>Vp,textInput:()=>Hp,titleBreadcrumb:()=>Np,toc:()=>Op,toggle:()=>vp,tooltip:()=>Qp,treeList:()=>Cp,typographies:()=>yp,typographyBody1Medium:()=>Vl,typographyBody1Regular:()=>Hl,typographyBody1Semibold:()=>Wl,typographyBody2Medium:()=>jl,typographyBody2MediumUnderline:()=>Kl,typographyBody2Regular:()=>Gl,typographyBody2Semibold:()=>Zl,typographyCaption1Medium:()=>ql,typographyCaption1Semibold:()=>Yl,typographyCaption2Bold:()=>Ql,typographyCaption2Medium:()=>Xl,typographyCaption2Semibold:()=>Jl,typographyDisplay:()=>Fl,typographyTitle1:()=>Ul,typographyTitle2:()=>Bl,typographyTitle3:()=>zl,typographyVariants:()=>bp});var mt=t=>typeof t=="string"?kr(t):t,o=class{static create(e,r,n,i){let s=c=>mt(c??i),a=T`var(${mt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>I(a,c??s(i)),a.get=c=>T`var(${mt(e)}, ${s(c)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=c=>n.get(c??i),a=T`var(${mt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>I(a,c??s(i)),a.get=c=>T`var(${mt(e)}, ${s(c)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=T`var(${mt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.set=s=>e.set(s),i.get=s=>T`var(${mt(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function I(t,e){return mt(`${t.name}: ${e}`)}var l={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)")},Fl={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")},Ul={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")},Bl={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")},zl={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")},Hl={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")},Vl={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")},Wl={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")},Gl={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")},jl={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")},Kl={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")},Zl={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")},ql={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")},Yl={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")},Xl={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")},Jl={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")},Ql={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")},yp={display:Fl,"title-1":Ul,"title-2":Bl,"title-3":zl,"body-1-regular":Hl,"body-1-medium":Vl,"body-1-semibold":Wl,"body-2-regular":Gl,"body-2-medium":jl,"body-2-medium-underline":Kl,"body-2-semibold":Zl,"caption-1-medium":ql,"caption-1-semibold":Yl,"caption-2-medium":Xl,"caption-2-semibold":Jl,"caption-2-bold":Ql},bp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var xp={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.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","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.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","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var vp={iconSize:o.extend("--ftds-toggle-icon-size","",l.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var Sp={borderRadius:o.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.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","",l.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Ep={borderRadius:o.extend("--ftds-event-card-border-radius","",l.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",l.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",l.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",l.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",l.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var Cp={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.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","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Op={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",l.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",l.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",l.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",l.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",l.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",l.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",l.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",l.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",l.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",l.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",l.opacity8)};var wp={iconSize:o.extend("--ftds-checkbox-icon-size","",l.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","",l.spacing2),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),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","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var Ap={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var _p={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Rp={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.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","",l.iconSize2)};var Tp={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Lp={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Ip={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",l.spacing1)};var Pp={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var kp={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Np={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Dp={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing2),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Mp={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var $p={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Fp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",l.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var Up={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",l.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Bp={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.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","",l.colorGray700)};var zp={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",l.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",l.iconSize2)};var Hp={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.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","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var Vp={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",l.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",l.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",l.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",l.spacing05)};var Wp={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var Gp={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",l.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",l.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var jp={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.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","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",l.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",l.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",l.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",l.spacing3)};var Kp={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Zp={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var qp={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200)};var Yp={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Xp={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Jp={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var Qp={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var ef={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var Kr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Kr||(Kr={}));var Zr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Zr||(Zr={}));function Ri(t){return`ftds--family-${t}`}function Ti(t){return`ftds--size-${t}`}var _={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 Pi={};V(Pi,{DynamicImporter:()=>Vo,dynamicImporter:()=>tf});var Vo=class{async import(e){if(e)return import(e)}},tf=new Vo;var Gi={};V(Gi,{computeOffsetAutoPosition:()=>eo,computeOffsetPosition:()=>Wi});var tc=["top","right","bottom","left"],ec=["start","end"],Ni=tc.reduce((t,e)=>t.concat(e,e+"-"+ec[0],e+"-"+ec[1]),[]),Rt=Math.min,rt=Math.max,qr=Math.round;var ot=t=>({x:t,y:t}),rf={left:"right",right:"left",bottom:"top",top:"bottom"};function rc(t,e,r){return rt(t,Rt(e,r))}function fr(t,e){return typeof t=="function"?t(e):t}function Tt(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function Di(t){return t==="x"?"y":"x"}function Mi(t){return t==="y"?"height":"width"}function hr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function $i(t){return Di(hr(t))}function oc(t,e,r){r===void 0&&(r=!1);let n=nt(t),i=$i(t),s=Mi(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=ki(a)),[a,ki(a)]}function nc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function ki(t){let e=Tt(t);return rf[e]+t.slice(e.length)}function of(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function ic(t){return typeof t!="number"?of(t):{top:t,right:t,bottom:t,left:t}}function Lt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function sc(t,e,r){let{reference:n,floating:i}=t,s=hr(e),a=$i(e),c=Mi(a),d=Tt(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}let S=nt(e);return S&&(x[a]+=m*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function ac(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=fr(e,t),S=ic(x),E=c[m?f==="floating"?"reference":"floating":f],L=Lt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),N=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),y=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},v=Lt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:b,strategy:d}):N);return{top:(L.top-v.top+S.top)/y.y,bottom:(v.bottom-L.bottom+S.bottom)/y.y,left:(L.left-v.left+S.left)/y.x,right:(v.right-L.right+S.right)/y.x}}var nf=50,lc=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:ac},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=sc(p,n,d),m=n,x=0,S={};for(let A=0;A<s.length;A++){let E=s[A];if(!E)continue;let{name:L,fn:N}=E,{x:b,y,data:v,reset:O}=await N({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=b??h,f=y??f,S[L]={...S[L],...v},O&&x<nf&&(x++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(p=O.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:h,y:f}=sc(p,m,d)),A=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function sf(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>Tt(i)===i)).filter(i=>t?nt(i)===t||(e?nc(i)!==i:!1):!0)}var cc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Ni,autoAlignment:x=!0,...S}=fr(t,e),A=f!==void 0||m===Ni?sf(f||null,x,m):m,E=((r=a.autoPlacement)==null?void 0:r.index)||0,L=A[E];if(L==null)return{};if(c!==L)return{reset:{placement:A[0]}};let N=await d.detectOverflow(e,S),b=oc(L,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),y=[N[Tt(L)],N[b[0]],N[b[1]]],v=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:y}],O=A[E+1];if(O)return{data:{index:E+1,overflows:v},reset:{placement:O}};let M=v.map(k=>{let K=nt(k.placement);return[k.placement,K&&h?k.overflows.slice(0,2).reduce((ie,Je)=>ie+Je,0):k.overflows[0],k.overflows]}).sort((k,K)=>k[1]-K[1]),oe=((i=M.filter(k=>k[2].slice(0,nt(k[0])?2:3).every(K=>K<=0))[0])==null?void 0:i[0])||M[0][0];return oe!==c?{data:{index:E+1,overflows:v},reset:{placement:oe}}:{}}}};var af=new Set(["left","top"]);async function lf(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Tt(r),c=nt(r),d=hr(r)==="y",p=af.has(a)?-1:1,h=s&&d?-1:1,f=fr(e,t),{mainAxis:m,crossAxis:x,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:m*p}:{x:m*p,y:x*h}}var dc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:s,placement:a,middlewareData:c}=e,d=await lf(e,t);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},uc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:N=>{let{x:b,y}=N;return{x:b,y}}},...p}=fr(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=hr(i),x=Di(m),S=h[x],A=h[m],E=(N,b)=>rc(b+f[N==="y"?"top":"left"],b,b-f[N==="y"?"bottom":"right"]);a&&(S=E(x,S)),c&&(A=E(m,A));let L=d.fn({...e,[x]:S,[m]:A});return{...L,data:{x:L.x-r,y:L.y-n,enabled:{[x]:a,[m]:c}}}}}};var pc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...c}=fr(t,e),d=await i.detectOverflow(e,c),p=Tt(r),h=nt(r),f=hr(r)==="y",{width:m,height:x}=n.floating,S,A;p==="top"||p==="bottom"?(S=p,A=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(A=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,L=m-d.left-d.right,N=Rt(x-d[S],E),b=Rt(m-d[A],L),y=e.middlewareData.shift,v=!y,O=N,M=b;y!=null&&y.enabled.x&&(M=L),y!=null&&y.enabled.y&&(O=E),v&&!h&&(f?M=m-2*rt(d.left,d.right):O=x-2*rt(d.top,d.bottom)),await a({...e,availableWidth:M,availableHeight:O});let Z=await i.getDimensions(s.floating);return m!==Z.width||x!==Z.height?{reset:{rects:!0}}:{}}}};function Go(){return typeof window<"u"}function Pt(t){return hc(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function dt(t){var e;return(e=(hc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function hc(t){return Go()?t instanceof Node||t instanceof Ae(t).Node:!1}function Ge(t){return Go()?t instanceof Element||t instanceof Ae(t).Element:!1}function ut(t){return Go()?t instanceof HTMLElement||t instanceof Ae(t).HTMLElement:!1}function fc(t){return!Go()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function Yr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=je(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function mc(t){return/^(table|td|th)$/.test(Pt(t))}function Xr(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var cf=/transform|translate|scale|rotate|perspective|filter/,df=/paint|layout|strict|content/,It=t=>!!t&&t!=="none",Fi;function mr(t){let e=Ge(t)?je(t):t;return It(e.transform)||It(e.translate)||It(e.scale)||It(e.rotate)||It(e.perspective)||!jo()&&(It(e.backdropFilter)||It(e.filter))||cf.test(e.willChange||"")||df.test(e.contain||"")}function gc(t){let e=gt(t);for(;ut(e)&&!gr(e);){if(mr(e))return e;if(Xr(e))return null;e=gt(e)}return null}function jo(){return Fi==null&&(Fi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fi}function gr(t){return/^(html|body|#document)$/.test(Pt(t))}function je(t){return Ae(t).getComputedStyle(t)}function Jr(t){return Ge(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function gt(t){if(Pt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||fc(t)&&t.host||dt(t);return fc(e)?e.host:e}function yc(t){let e=gt(t);return gr(e)?(t.ownerDocument||t).body:ut(e)&&Yr(e)?e:yc(e)}function Wo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=yc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Ae(i);if(s){let c=Ko(a);return e.concat(a,a.visualViewport||[],Yr(i)?i:[],c&&r?Wo(c):[])}else return e.concat(i,Wo(i,[],r))}function Ko(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function vc(t){let e=je(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ut(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,c=qr(r)!==s||qr(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function Sc(t){return Ge(t)?t:t.contextElement}function yr(t){let e=Sc(t);if(!ut(e))return ot(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=vc(e),a=(s?qr(r.width):r.width)/n,c=(s?qr(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var uf=ot(0);function Ec(t){let e=Ae(t);return!jo()||!e.visualViewport?uf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function pf(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Ae(t)}function Qr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=Sc(t),a=ot(1);e&&(n?Ge(n)&&(a=yr(n)):a=yr(t));let c=pf(s,r,n)?Ec(s):ot(0),d=(i.left+c.x)/a.x,p=(i.top+c.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Ae(s),x=Ge(n)?Ae(n):n,S=m,A=Ko(S);for(;A&&x!==S;){let E=yr(A),L=A.getBoundingClientRect(),N=je(A),b=L.left+(A.clientLeft+parseFloat(N.paddingLeft))*E.x,y=L.top+(A.clientTop+parseFloat(N.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=b,p+=y,S=Ae(A),A=Ko(S)}}return Lt({width:h,height:f,x:d,y:p})}function Zo(t,e){let r=Jr(t).scrollLeft;return e?e.left+r:Qr(dt(t)).left+r}function Cc(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Zo(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function ff(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=dt(n),c=e?Xr(e.floating):!1;if(n===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},p=ot(1),h=ot(0),f=ut(n);if((f||!s)&&((Pt(n)!=="body"||Yr(a))&&(d=Jr(n)),f)){let x=Qr(n);p=yr(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let m=a&&!f&&!s?Cc(a,d):ot(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+h.x+m.x,y:r.y*p.y-d.scrollTop*p.y+h.y+m.y}}function hf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function mf(t){let e=Jr(t),r=t.ownerDocument.body,n=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Zo(t),a=-e.scrollTop;return je(r).direction==="rtl"&&(s+=rt(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var gf=25;function yf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Ae(t),s=dt(t),a=i.visualViewport,c=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!jo()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(c=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Zo(s)<=0){let m=s.ownerDocument,x=m.body,S=getComputedStyle(x),A=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(s.clientWidth-x.clientWidth-A),L=getComputedStyle(s).scrollbarGutter==="stable both-edges"?E/2:E;L<=gf&&(c-=L)}return{width:c,height:d,x:p,y:h}}function bf(t,e){let r=Qr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=yr(t),a=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:c,x:d,y:p}}function bc(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=yf(t,r,e);else if(e==="document")n=mf(dt(t));else if(Ge(e))n=bf(e,r);else{let i=Ec(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Lt(n)}function xf(t,e){let r=e.get(t);if(r)return r;let n=Wo(t,[],!1).filter(c=>Ge(c)&&Pt(c)!=="body"),i=null,s=je(t).position==="fixed",a=s?gt(t):t;for(;Ge(a)&&!gr(a);){let c=je(a),d=mr(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):i=c,a=gt(a)}return e.set(t,n),n}function vf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Xr(e)?[]:xf(e,this._c):[].concat(r),n],c=bc(e,a[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){let x=bc(e,a[m],i);d=rt(x.top,d),p=Rt(x.right,p),h=Rt(x.bottom,h),f=rt(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function Sf(t){let{width:e,height:r}=vc(t);return{width:e,height:r}}function Ef(t,e,r){let n=ut(e),i=dt(e),s=r==="fixed",a=Qr(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=ot(0);if((n||!s)&&((Pt(e)!=="body"||Yr(i))&&(c=Jr(e)),n)){let m=Qr(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Zo(i));let p=i&&!n&&!s?Cc(i,c):ot(0),h=a.left+c.scrollLeft-d.x-p.x,f=a.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function Ui(t){return je(t).position==="static"}function xc(t,e){if(!ut(t)||je(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return dt(t)===r&&(r=r.ownerDocument.body),r}function Oc(t,e){let r=Ae(t);if(Xr(t))return r;if(!ut(t)){let i=gt(t);for(;i&&!gr(i);){if(Ge(i)&&!Ui(i))return i;i=gt(i)}return r}let n=xc(t,e);for(;n&&mc(n)&&Ui(n);)n=xc(n,e);return n&&gr(n)&&Ui(n)&&!mr(n)?r:n||gc(t)||r}var Cf=async function(t){let e=this.getOffsetParent||Oc,r=this.getDimensions,n=await r(t.floating);return{reference:Ef(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Of(t){return je(t).direction==="rtl"}var br={convertOffsetParentRelativeRectToViewportRelativeRect:ff,getDocumentElement:dt,getClippingRect:vf,getOffsetParent:Oc,getElementRects:Cf,getClientRects:hf,getDimensions:Sf,getScale:yr,isElement:Ge,isRTL:Of};var wc=dc,Bi=cc,Ac=uc;var _c=pc;var zi=(t,e,r)=>{let n=new Map,i=r??{},s={...br,...i.platform,_c:n};return lc(t,e,{...i,platform:s})};function Vi(t){return wf(t)}function Hi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function wf(t){for(let e=t;e;e=Hi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Hi(t);e;e=Hi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||mr(r)||e.tagName==="BODY"))return e}return null}async function Wi(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},zi(t,e,{strategy:n.strategy,platform:{...br,getOffsetParent:i=>br.getOffsetParent(i,Vi)},middleware:[Ac({crossAxis:!0}),Bi({allowedPlacements:[n.placement]})]})}async function eo(t,e,r,n,i,s,a){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):c=r,zi(t,e,{placement:c,strategy:i,platform:{...br,getOffsetParent:p=>br.getOffsetParent(p,Vi)},middleware:[wc(a??4),Bi({allowedPlacements:n}),_c({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var ji={};V(ji,{isSlotEmptyOrWithoutContent:()=>to});var to=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var Ji={};V(Ji,{FtdsBase:()=>Xi,toFtdsBase:()=>Nc});var Yi={};V(Yi,{ExportpartsUpdatedEvent:()=>kt,FtLitElement:()=>W});var Ki={};V(Ki,{ScopedRegistryLitElement:()=>ro});var ro=class extends He{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},n=this.renderOptions.creationScope=this.attachShadow(r);return Nr(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){Wr(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 qi={};V(qi,{shadowQuerySelector:()=>Zi,shadowQuerySelectorAll:()=>Af});function Zi(t,e,...r){var n;let i=t.querySelector(e);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function Af(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,c;return[...(c=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var xr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ic,Rc=Symbol("constructorPrototype"),Tc=Symbol("constructorName"),Pc=Symbol("exportpartsDebouncer"),Lc=Symbol("dynamicDependenciesLoaded"),kt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};kt.eventName="exportparts-updated";var W=class extends ro{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ic]=new we(5),this.scheduleExportpartsUpdate=()=>{var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Pc].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Tc]=this.constructor.name,this[Rc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Tc]&&Object.setPrototypeOf(this,this[Rc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Lc]||(r[Lc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(kt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(kt.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 kt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Zi(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,n,i,s,a,c;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[],A=[...x,...S].filter(d).map(E=>E.trim());for(let E of A)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Ic=Pc;xr([g()],W.prototype,"exportpartsPrefix",void 0);xr([he([])],W.prototype,"exportpartsPrefixes",void 0);xr([g({reflect:!0})],W.prototype,"exportparts",void 0);xr([g()],W.prototype,"customStylesheet",void 0);xr([g()],W.prototype,"elementToFocus",void 0);xr([D()],W.prototype,"useAdoptedStyleSheets",void 0);var kc=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Nc=me(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Zr.medium,this.family=Kr.neutral}getDesignSystemBaseClasses(){return{[Ri(this.family)]:!0,[Ti(this.size)]:!0}}}return kc([g()],e.prototype,"size",void 0),kc([g()],e.prototype,"family",void 0),e}),Xi=class extends Nc(W){};var Dc={};var ts={};V(ts,{highlightHtml:()=>es,highlightHtmlColorCssVariable:()=>Mc,highlightHtmlStyles:()=>Rf});var Nt=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(c)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let a=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(a&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let s=!1,a=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,a=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let a=this.createIterator(r,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var oo=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 Nt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[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,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let a=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.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",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),i.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(c=>{a+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.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=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=a-s,r.push(i),n=a)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,a=n.length,c=r-a,d=parseInt(e.start,10)-c;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Nt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(a.node))return!1;let p=r-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,e.nodes.forEach((x,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),n-=h,s(a.node.previousSibling,a.start),n>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,c,s.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,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 n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,c)=>this.opt.filter(c,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,x)=>this.opt.filter(x,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,a,c,d)=>this.opt.filter(s,a,c,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{this.opt.done(n)})):this.opt.done(n)}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,n=>{this.unwrapMatches(n)},n=>{let i=Nt.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Qi(t){let e=new oo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var _f=Qi,Mc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rf=T`
|
|
1
|
+
"use strict";(()=>{var Nu=Object.defineProperty;var V=(t,e)=>{for(var r in e)Nu(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,a=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,y){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(y)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let v=y.prototype.attributeChangedCallback,O=new Set(y.observedAttributes||[]);m(y,O,v);let $={elementClass:y,connectedCallback:y.prototype.connectedCallback,disconnectedCallback:y.prototype.disconnectedCallback,adoptedCallback:y.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:y.formAssociated,formAssociatedCallback:y.prototype.formAssociatedCallback,formDisabledCallback:y.prototype.formDisabledCallback,formResetCallback:y.prototype.formResetCallback,formStateRestoreCallback:y.prototype.formStateRestoreCallback,observedAttributes:O};this._definitionsByTag.set(b,$),this._definitionsByClass.set(y,$);let Z=r.call(n,b);Z||(Z=f(b),e.call(n,b,Z)),this===window.customElements&&(a.set(y,$),$.standInClass=Z);let oe=this._awaitingUpgrade.get(b);if(oe){this._awaitingUpgrade.delete(b);for(let K of oe)s.delete(K),S(K,$,!0)}let k=this._whenDefinedPromises.get(b);return k!==void 0&&(k.resolve(y),this._whenDefinedPromises.delete(b)),y}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let y=this._getDefinition(b);if(y!==void 0)return Promise.resolve(y.elementClass);let v=this._whenDefinedPromises.get(b);return v===void 0&&(v={},v.promise=new Promise(O=>v.resolve=O),this._whenDefinedPromises.set(b,v)),v.promise}_upgradeWhenDefined(b,y,v){let O=this._awaitingUpgrade.get(y);O||this._awaitingUpgrade.set(y,O=new Set),v?O.add(b):O.delete(b)}};let d;window.HTMLElement=function(){let y=d;if(y)return d=void 0,y;let v=a.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return y=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(y,this.constructor.prototype),i.set(y,v),y},window.HTMLElement.prototype=t.prototype;let p=b=>b===document||b instanceof ShadowRoot,h=b=>{let y=b.getRootNode();if(!p(y)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;y=v.getRootNode(),p(y)||(y=c.get(y)?.getRootNode()||document)}return y.customElements},f=b=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let O=h(v)||window.customElements,$=O._getDefinition(b);return $?S(v,$):s.set(v,O),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let v=i.get(this);v&&v.formAssociated&&v?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let v=i.get(this);v?.formAssociated&&v?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let v=i.get(this);v?.formAssociated&&v?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let v=i.get(this);v?.formAssociated&&v?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,y,v)=>{if(y.size===0||v===void 0)return;let O=b.prototype.setAttribute;O&&(b.prototype.setAttribute=function(oe,k){let K=oe.toLowerCase();if(y.has(K)){let ie=this.getAttribute(K);O.call(this,K,k),v.call(this,K,ie,k)}else O.call(this,K,k)});let $=b.prototype.removeAttribute;$&&(b.prototype.removeAttribute=function(oe){let k=oe.toLowerCase();if(y.has(k)){let K=this.getAttribute(k);$.call(this,k),v.call(this,k,K,null)}else $.call(this,k)});let Z=b.prototype.toggleAttribute;Z&&(b.prototype.toggleAttribute=function(oe,k){let K=oe.toLowerCase();if(y.has(K)){let ie=this.getAttribute(K);Z.call(this,K,k);let Je=this.getAttribute(K);v.call(this,K,ie,Je)}else Z.call(this,K,k)})},x=b=>{let y=Object.getPrototypeOf(b);if(y!==window.HTMLElement)return y===t?Object.setPrototypeOf(b,window.HTMLElement):x(y)},S=(b,y,v=!1)=>{Object.setPrototypeOf(b,y.elementClass.prototype),i.set(b,y),d=b;try{new y.elementClass}catch{x(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(O=>{b.hasAttribute(O)&&y.attributeChangedCallback.call(b,O,null,b.getAttribute(O))}),v&&y.connectedCallback&&b.isConnected&&y.connectedCallback.call(b)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let y=A.apply(this,arguments);return b.customElements&&(y.customElements=b.customElements),y};let E=[document],I=(b,y,v=void 0)=>{let O=(v?Object.getPrototypeOf(v):b.prototype)[y];b.prototype[y]=function(){E.push(this);let $=O.apply(v||this,arguments);return $!==void 0&&c.set($,this),E.pop(),$}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let D=(b,y)=>{let v=Object.getOwnPropertyDescriptor(b.prototype,y);Object.defineProperty(b.prototype,y,{...v,set(O){E.push(this),v.set.call(this,O),E.pop()}})};if(D(Element,"innerHTML"),D(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,y=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...oe){let k=y.call(this,...oe);return b.set(k,this),k},v.forEach(oe=>{let k=window.ElementInternals.prototype,K=k[oe];k[oe]=function(...ie){let Je=b.get(this);if(i.get(Je).formAssociated===!0)return K?.call(this,...ie);throw new DOMException(`Failed to execute ${K} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class O extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class ${constructor(k){let K=new Map;k.forEach((ie,Je)=>{let Vn=ie.getAttribute("name"),Ea=K.get(Vn)||[];this[+Je]=ie,Ea.push(ie),K.set(Vn,Ea)}),this.length=k.length,K.forEach((ie,Je)=>{ie&&(ie.length===1?this[Je]=ie[0]:this[Je]=new O(ie))})}namedItem(k){return this[k]}}let Z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let oe=Z.get.call(this,[]),k=[];for(let K of oe){let ie=i.get(K);(!ie||ie.formAssociated===!0)&&k.push(K)}return new $(k)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,a)}}}var ri={};V(ri,{CSSResult:()=>nr,LitElement:()=>He,ReactiveElement:()=>Fe,_$LE:()=>ju,_$LH:()=>Qn,adoptStyles:()=>Dr,css:()=>T,defaultConverter:()=>ir,getCompatibleStyle:()=>Lo,html:()=>w,isServer:()=>gm,mathml:()=>Jn,noChange:()=>se,notEqual:()=>$r,nothing:()=>P,render:()=>ei,supportsAdoptingStyleSheets:()=>kr,svg:()=>Xn,unsafeCSS:()=>Nr});var To=globalThis,kr=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wn=Symbol(),Ca=new WeakMap,nr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Wn)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(kr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ca.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ca.set(r,e))}return e}toString(){return this.cssText}},Nr=t=>new nr(typeof t=="string"?t:t+"",void 0,Wn),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new nr(r,t,Wn)},Dr=(t,e)=>{if(kr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Lo=kr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Nr(r)})(t):t;var{is:Du,defineProperty:Mu,getOwnPropertyDescriptor:$u,getOwnPropertyNames:Fu,getOwnPropertySymbols:Uu,getPrototypeOf:Bu}=Object,Io=globalThis,Oa=Io.trustedTypes,zu=Oa?Oa.emptyScript:"",Hu=Io.reactiveElementPolyfillSupport,Mr=(t,e)=>t,ir={toAttribute(t,e){switch(e){case Boolean:t=t?zu: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}},$r=(t,e)=>!Du(t,e),wa={attribute:!0,type:String,converter:ir,reflect:!1,useDefault:!1,hasChanged:$r};Symbol.metadata??=Symbol("metadata"),Io.litPropertyMetadata??=new WeakMap;var Fe=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=wa){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 n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Mu(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=$u(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let c=i?.call(this);s?.call(this,a),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??wa}static _$Ei(){if(this.hasOwnProperty(Mr("elementProperties")))return;let e=Bu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Mr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Mr("properties"))){let r=this.properties,n=[...Fu(r),...Uu(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Lo(i))}else e!==void 0&&r.push(Lo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Dr(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,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:ir).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:ir;this._$Em=i;let c=a.fromAttribute(r,s.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??$r)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!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[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,c=this[i];a!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,s,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}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){}};Fe.elementStyles=[],Fe.shadowRootOptions={mode:"open"},Fe[Mr("elementProperties")]=new Map,Fe[Mr("finalized")]=new Map,Hu?.({ReactiveElement:Fe}),(Io.reactiveElementVersions??=[]).push("2.1.2");var jn=globalThis,Aa=t=>t,Po=jn.trustedTypes,_a=Po?Po.createPolicy("lit-html",{createHTML:t=>t}):void 0,Kn="$lit$",lt=`lit$${Math.random().toFixed(9).slice(2)}$`,Zn="?"+lt,Vu=`<${Zn}>`,Ct=document,Ur=()=>Ct.createComment(""),Br=t=>t===null||typeof t!="object"&&typeof t!="function",qn=Array.isArray,ka=t=>qn(t)||typeof t?.[Symbol.iterator]=="function",Gn=`[
|
|
2
|
+
\f\r]`,Fr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ra=/-->/g,Ta=/>/g,St=RegExp(`>|${Gn}(?:([^\\s"'>=/]+)(${Gn}*=${Gn}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),La=/'/g,Ia=/"/g,Na=/^(?:script|style|textarea|title)$/i,Yn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=Yn(1),Xn=Yn(2),Jn=Yn(3),se=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),Pa=new WeakMap,Et=Ct.createTreeWalker(Ct,129);function Da(t,e){if(!qn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return _a!==void 0?_a.createHTML(e):e}var Ma=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=Fr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===Fr?h[1]==="!--"?a=Ra:h[1]!==void 0?a=Ta:h[2]!==void 0?(Na.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=St):h[3]!==void 0&&(a=St):a===St?h[0]===">"?(a=i??Fr,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?St:h[3]==='"'?Ia:La):a===Ia||a===La?a=St:a===Ra||a===Ta?a=Fr:(a=St,i=void 0);let x=a===St&&t[c+1].startsWith("/>")?" ":"";s+=a===Fr?d+Vu:f>=0?(n.push(p),d.slice(0,f)+Kn+d.slice(f)+lt+x):d+lt+(f===-2?c:x)}return[Da(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},zr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,c=e.length-1,d=this.parts,[p,h]=Ma(e,r);if(this.el=t.createElement(p,n),Et.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Et.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Kn)){let m=h[a++],x=i.getAttribute(f).split(lt),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:x,ctor:S[1]==="."?No:S[1]==="?"?Do:S[1]==="@"?Mo:wt}),i.removeAttribute(f)}else f.startsWith(lt)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(Na.test(i.tagName)){let f=i.textContent.split(lt),m=f.length-1;if(m>0){i.textContent=Po?Po.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Ur()),Et.nextNode(),d.push({type:2,index:++s});i.append(f[m],Ur())}}}else if(i.nodeType===8)if(i.data===Zn)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(lt,f+1))!==-1;)d.push({type:7,index:s}),f+=lt.length-1}s++}}static createElement(e,r){let n=Ct.createElement("template");return n.innerHTML=e,n}};function Ot(t,e,r=t,n){if(e===se)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Br(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Ot(t,i._$AS(t,e.values),i,n)),e}var ko=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:n}=this._$AD,i=(e?.creationScope??Ct).importNode(r,!0);Et.currentNode=i;let s=Et.nextNode(),a=0,c=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new sr(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new $o(s,this,e)),this._$AV.push(p),d=n[++c]}a!==d?.index&&(s=Et.nextNode(),a++)}return Et.currentNode=Ct,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},sr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=Ot(this,e,r),Br(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==se&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ka(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==P&&Br(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ct.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=zr.createElement(Da(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new ko(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Pa.get(e.strings);return r===void 0&&Pa.set(e.strings,r=new zr(e)),r}k(e){qn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.O(Ur()),this.O(Ur()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){let n=Aa(e).nextSibling;Aa(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},wt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=P,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=P}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Ot(this,e,r,0),a=!Br(e)||e!==this._$AH&&e!==se,a&&(this._$AH=e);else{let c=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Ot(this,c[n+d],r,d),p===se&&(p=this._$AH[d]),a||=!Br(p)||p!==this._$AH[d],p===P?e=P:e!==P&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},No=class extends wt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},Do=class extends wt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},Mo=class extends wt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Ot(this,e,r,0)??P)===se)return;let n=this._$AH,i=e===P&&n!==P||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==P&&(n===P||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},$o=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ot(this,e)}},Qn={M:Kn,P:lt,A:Zn,C:1,L:Ma,R:ko,D:ka,V:Ot,I:sr,H:wt,N:Do,U:Mo,B:No,F:$o},Wu=jn.litHtmlPolyfillSupport;Wu?.(zr,sr),(jn.litHtmlVersions??=[]).push("3.3.3");var ei=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new sr(e.insertBefore(Ur(),s),s,void 0,r??{})}return i._$AI(t),i};var ti=globalThis,He=class extends Fe{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=ei(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};He._$litElement$=!0,He.finalized=!0,ti.litElementHydrateSupport?.({LitElement:He});var Gu=ti.litElementPolyfillSupport;Gu?.({LitElement:He});var ju={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(ti.litElementVersions??=[]).push("4.2.2");var gm=!1;var ii={};V(ii,{customElement:()=>Ku,eventOptions:()=>qu,property:()=>g,query:()=>q,queryAll:()=>oi,queryAssignedElements:()=>ni,queryAssignedNodes:()=>Hr,queryAsync:()=>Xu,standardProperty:()=>$a,state:()=>N});var Ku=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Zu={attribute:!0,type:String,converter:ir,reflect:!1,hasChanged:$r},$a=(t=Zu,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),n==="accessor"){let{name:a}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(a,d,t,!0,c)},init(c){return c!==void 0&&this.C(a,void 0,t,c),c}}}if(n==="setter"){let{name:a}=r;return function(c){let d=this[a];e.call(this,c),this.requestUpdate(a,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function g(t){return(e,r)=>typeof r=="object"?$a(t,e,r):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function N(t){return g({...t,state:!0,attribute:!1})}function qu(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Ve=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function q(t,e){return(r,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ve(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ve(r,n,{get(){return s(this)}})}}var Yu;function oi(t){return(e,r)=>Ve(e,r,{get(){return(this.renderRoot??(Yu??=document.createDocumentFragment())).querySelectorAll(t)}})}function Xu(t){return(e,r)=>Ve(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ni(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return Ve(e,r,{get(){let a=this.renderRoot?.querySelector(s),c=a?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Hr(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ve(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var si={};V(si,{repeat:()=>Oe});var Qe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ie=t=>(...e)=>({_$litDirective$:t,values:e}),Ue=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Ju}=Qn,Fa=t=>t;var Ba=t=>t.strings===void 0,Ua=()=>document.createComment(""),ar=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(Ua(),i),a=n.insertBefore(Ua(),i);r=new Ju(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let p=Fa(d).nextSibling;Fa(n).insertBefore(d,i),d=p}}}return r},mt=(t,e,r=t)=>(t._$AI(e,r),t),Qu={},za=(t,e=Qu)=>t._$AH=e,Ha=t=>t._$AH,Fo=t=>{t._$AR(),t._$AA.remove()};var Va=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Oe=Ie(class extends Ue{constructor(t){if(super(t),t.type!==Qe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],s=[],a=0;for(let c of t)i[a]=n?n(c,a):a,s[a]=r(c,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Ha(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let c=this.ut??=[],d=[],p,h,f=0,m=i.length-1,x=0,S=s.length-1;for(;f<=m&&x<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===a[x])d[x]=mt(i[f],s[x]),f++,x++;else if(c[m]===a[S])d[S]=mt(i[m],s[S]),m--,S--;else if(c[f]===a[S])d[S]=mt(i[f],s[S]),ar(t,d[S+1],i[f]),f++,S--;else if(c[m]===a[x])d[x]=mt(i[m],s[x]),ar(t,i[f],i[m]),m--,x++;else if(p===void 0&&(p=Va(a,x,S),h=Va(c,f,m)),p.has(c[f]))if(p.has(c[m])){let A=h.get(a[x]),E=A!==void 0?i[A]:null;if(E===null){let I=ar(t,i[f]);mt(I,s[x]),d[x]=I}else d[x]=mt(E,s[x]),ar(t,i[f],E),i[A]=null;x++}else Fo(i[m]),m--;else Fo(i[f]),f++;for(;x<=S;){let A=ar(t,d[S+1]);mt(A,s[x]),d[x++]=A}for(;f<=m;){let A=i[f++];A!==null&&Fo(A)}return this.ut=a,za(t,d),se}});var ai={};V(ai,{classMap:()=>ae});var ae=Ie(class extends Ue{constructor(t){if(super(t),t.type!==Qe.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return se}});var li={};V(li,{styleMap:()=>tp});var Wa="important",ep=" !"+Wa,tp=Ie(class extends Ue{constructor(t){if(super(t),t.type!==Qe.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 n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}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 n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let s=typeof i=="string"&&i.endsWith(ep);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?Wa:""):r[n]=i}}return se}});var ci={};V(ci,{UnsafeHTMLDirective:()=>lr,unsafeHTML:()=>Vr});var lr=class extends Ue{constructor(e){if(super(e),this.it=P,e.type!==Qe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===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:[]}}};lr.directiveName="unsafeHTML",lr.resultType=1;var Vr=Ie(lr);var di={};V(di,{splitBreadcrumbForMenu:()=>rp});function rp(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var Si={};V(Si,{CacheRegistry:()=>tt,ClearCacheEvent:()=>Kr});var ui={};V(ui,{CancelablePromise:()=>Uo,CanceledPromiseError:()=>At,cancelable:()=>Wr});var At=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Uo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new At("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new At("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Wr=t=>new Uo((e,r)=>t.then(e).catch(r));var vi={};V(vi,{FtContextRegistrationEvent:()=>xi,FtNotificationEvent:()=>jr,PostResizeEvent:()=>bi,PreResizeEvent:()=>yi,WithEventBus:()=>ct,withEventBus:()=>Ho});var gi={};V(gi,{AbstractRegistry:()=>dr,applyMixinOnce:()=>me,customElements:()=>J,dateReviver:()=>ap,deepCopy:()=>We,deepEqual:()=>le,delay:()=>Bo,eventPathContainsMatchingElement:()=>fi,everyDeep:()=>sp,flatDeep:()=>Za,forEachDeep:()=>qa,getComposedPathTo:()=>mi,groupBy:()=>dp,hasChanged:()=>et,ignoreComposingEvents:()=>zo,last:()=>hi,minmax:()=>_t,parseDate:()=>Xa,randomId:()=>cp,someDeep:()=>Ya,unslotText:()=>Ja,waitFor:()=>Ka,waitUntil:()=>ip});var pi={};V(pi,{customElement:()=>Gr,dateProperty:()=>np,isNumber:()=>ja,jsonProperty:()=>he,jsonPropertyConverter:()=>Ga,numberProperty:()=>cr,optionalNumberProperty:()=>op});var Gr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Ga=t=>({fromAttribute:e=>{if(e==null)return We(t);try{return JSON.parse(e)}catch{return We(t)}},toAttribute:e=>JSON.stringify(e)});function he(t,e){return g({type:Object,converter:Ga(t),hasChanged:et,...e??{}})}function op(t){return cr(t)}function cr(t){return g({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return ja(e)?_t(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function ja(t){return!isNaN(parseFloat(t))}function np(t){return g({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 Bo=t=>new Promise(e=>setTimeout(e,t));async function ip(t,e=10,r=2e4){await Ka(async()=>await t()||void 0,e,r)}async function Ka(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await Bo(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Za(t,e){return t.flatMap(r=>[r,...Za(e(r),e)])}function qa(t,e,r){let n=(i,s)=>{var a;for(let c=0;c<i.length;c++){let d=i[c];if(!(((a=r(d,c,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function Ya(t,e,r){let n=!1;return qa(t,e,(i,s,a,c)=>(n=!!r(i,s,a,c),!n)),n}function sp(t,e,r){return!Ya(t,e,(n,i,s,a)=>!r(n,i,s,a))}function ap(...t){return(e,r)=>t.includes(e)?Xa(r):r}function Xa(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,n,i)=>r+n+":"+i),new Date(t)}function lp(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,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!le(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!le(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=a=>Object.keys(a).filter(c=>a[c]!=null),s=i(t);if(r=s.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){let a=s[n];if(!le(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function le(t,e){try{return lp(t,e)}catch{return!1}}function et(t,e){return!le(t,e)}function fi(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function _t(t,e,r){return Math.min(Math.max(t,e),r)}function hi(t){return t[t.length-1]}function Ja(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Ja(e)).join(""):t?.textContent||""}function mi(t){let e=[],r=n=>{n.stopPropagation(),e=n.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 We(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function cp(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function me(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}function zo(){return function(t,e,r){let n=r.value;r.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function J(t){for(let[e,r]of Object.entries(t))Gr(e)(r)}function dp(t,e){var r,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[n=i(a)])!==null&&r!==void 0?r:s[n]=[]).push(a);return s}var dr=class{constructor(){this.knownElements=new Set}register(e){this.knownElements.add(e)}unregister(e){this.knownElements.delete(e)}list(){return Array.from(this.knownElements)}};var jr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},yi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},bi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ho=me(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),ct=class extends Ho(Object){},xi=class extends CustomEvent{constructor(e,r){super(e,{composed:!0,bubbles:!0,detail:r})}};var Kr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},tt=class extends ct{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:r,final:n,status:a}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Kr(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Kr([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=Wr(r()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var 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 Ii={};V(Ii,{ClusteringHelper:()=>Li,formatHierarchicalValues:()=>Ti});var Ri={};V(Ri,{accessBreadcrumb:()=>xp,accessResult:()=>_i,accessResultId:()=>yp,accessResultUrl:()=>bp,enrichReaderUrl:()=>Ai});var wi={};V(wi,{SearchPlaceConverter:()=>dt,SearchPlaceQueryParams:()=>F,isSearchPlaceQueryParams:()=>zl,serializeRequest:()=>mp});var up=t=>typeof t=="object"&&t!=null;var pp=t=>typeof t=="number",Vo=t=>typeof t=="string",Ci=t=>up(t)&&Vo(t.endpoint)&&Vo(t.method)&&Vo(t.statusText)&&Vo(t.body)&&pp(t.status),Qa;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Qa||(Qa={}));var el;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(el||(el={}));var tl;(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"})(tl||(tl={}));var rl;(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"})(rl||(rl={}));var ol;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ol||(ol={}));var nl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(nl||(nl={}));var il;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(il||(il={}));var sl;(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"})(sl||(sl={}));var al;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(al||(al={}));var ll;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(ll||(ll={}));var cl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER",t.DOC_DIFF="DOC_DIFF"})(cl||(cl={}));var dl;(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"})(dl||(dl={}));var ul;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ul||(ul={}));var pl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(pl||(pl={}));var fl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(fl||(fl={}));var hl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(hl||(hl={}));var ml;(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"})(ml||(ml={}));var ur;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(ur||(ur={}));var gl;(function(t){t.ASC="ASC",t.DESC="DESC"})(gl||(gl={}));var yl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(yl||(yl={}));var Ei;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ei||(Ei={}));var wl=t=>Object.keys(Ei).includes(t);var bl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(bl||(bl={}));var xl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(xl||(xl={}));var vl;(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"})(vl||(vl={}));var pr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(pr||(pr={}));var Al=t=>Object.keys(pr).includes(t);var Sl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Sl||(Sl={}));var El;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(El||(El={}));var Cl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Cl||(Cl={}));var ne;(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"})(ne||(ne={}));var Be;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Be||(Be={}));var Ol;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ol||(Ol={}));var _l;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(_l||(_l={}));var Rl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Rl||(Rl={}));var Tl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Tl||(Tl={}));var Ll;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Ll||(Ll={}));var Il;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Il||(Il={}));var Pl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Pl||(Pl={}));var kl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(kl||(kl={}));var Nl;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Nl||(Nl={}));var Dl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Dl||(Dl={}));var Ml;(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"})(Ml||(Ml={}));var $l;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})($l||($l={}));var fp={[ne.PERSONAL_BOOK_SHARE_USER]:[ne.PERSONAL_BOOK_USER],[ne.HTML_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.PDF_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.KHUB_ADMIN]:[ne.CONTENT_PUBLISHER],[ne.ADMIN]:[ne.KHUB_ADMIN,ne.USERS_ADMIN,ne.PORTAL_ADMIN,ne.BEHAVIOR_DATA_USER],[ne.GENERATIVE_AI_EXPORT_USER]:[ne.GENERATIVE_AI_USER]};function Fl(t,e){return t===e||(fp[t]??[]).some(r=>Fl(r,e))}function Oi(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(n=>Fl(n,e))}function Ul(t,...e){return t==null?!1:e.some(r=>Oi(t,r))}function hp(t){return`"${t}"`}function Bl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function mp(t,e){return new dt(t).serialize(e)}var F;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(F||(F={}));var gp=new Set(Object.values(F));function zl(t){return gp.has(t)}var dt=class t{constructor(e,r=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,s,a,c,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(F.LOCALE,e.contentLocale):m.append(F.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(F.QUERY,e.query);let x=t.serializeValueFilters(e.metadataFilters);x&&m.append(F.VALUE_FILTERS,x);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(F.NEGATIVE_VALUE_FILTERS,S);let A=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(b=>b.dateFilter))!==null&&d!==void 0?d:[];if(A.length>0){let b=A.map(y=>{var v;return`${y.key}~${(v=y.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");m.append(F.DATE_FILTERS,b)}let E=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let b=E.map(y=>{var v,O;return`${y.key}~${(v=y.rangeFilter)===null||v===void 0?void 0:v.from}_${(O=y.rangeFilter)===null||O===void 0?void 0:O.to}`}).join("*");m.append(F.RANGE_FILTERS,b)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(F.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(F.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(F.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(c=e.paging)===null||c===void 0?void 0:c.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(F.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(F.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let I=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let b in I)m.append(b,I[b]);let D=new Array;return m.forEach((b,y)=>{D.push(this.encodeQueryString(y)+"="+this.encodeQueryString(b))}),encodeURI(D.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,s,a,c,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(D){console.warn("Could not decode search request query params, fallback on raw value",D)}let p=new URLSearchParams(e),h=(n=p.get(F.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(F.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(F.SORT))===null||r===void 0?void 0:r.toLowerCase(),x=(s=p.get(F.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(F.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),A=p.get(F.KEYWORD_MATCH),E=A?A.toUpperCase()===ur.MANDATORY?ur.MANDATORY:ur.OPTIONAL:void 0,I={};for(let D of p.keys())zl(D)||(I[D]=p.get(D));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(D=>D.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(c=p.get(F.QUERY))!==null&&c!==void 0?c:"",scope:(d=this.scopeMapping[x])!==null&&d!==void 0?d:"DEFAULT",virtualField:wl(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:_t(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:E,otherQueryParams:I}}parseCompatFilters(e){var r,n,i,s,a,c,d;let p=[];return e.has(F.FILTERS)&&(p=t.parseValueFilters((r=e.get(F.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(F.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(F.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(F.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(F.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((c=e.get(F.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(F.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}static parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Bl).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:pr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}static superEscapeFilters(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(Al(e))return[{key:"ft:lastEdition",dateFilter:{type:pr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var r,n;let i=((n=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>hp(Bl(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[F.LOCALE,F.FILTERS,F.VALUE_FILTERS,F.NEGATIVE_VALUE_FILTERS,F.DATE_FILTERS,F.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(F.LOCALE),r!==void 0&&n.searchParams.append(F.LOCALE,r),n.toString()}};dt.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function _i(t){var e,r,n,i;return(i=(n=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function yp(t){var e,r,n,i,s,a,c,d,p;return(p=(d=(c=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(r=t?.topic)===null||r===void 0?void 0:r.tocId)!==null&&c!==void 0?c:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function bp(t,e){var r,n,i,s,a,c,d,p,h;return(h=(p=(d=(c=Ai((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&c!==void 0?c:Ai((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function xp(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 Ai(t,e){if(e&&t){let r=URL.parse(t),n=dt.serializeValueFilters(e);if(n&&r?.searchParams.append(F.VALUE_FILTERS,n),r)return r.toString()}return t}function Ti(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Li=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,r,n){return e?.find(i=>{var s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=_i(e.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(c=>{s.push(Ti(c)),a.push(Ti(c,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(c=d?.label)!==null&&c!==void 0?c:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>c&&(c=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Pi={};V(Pi,{Debouncer:()=>we});var we=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,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mi={};V(Mi,{designSystemVariables:()=>_});var Di={};V(Di,{DesignSystemFamily:()=>Zr,DesignSystemSize:()=>qr,FtCssVariableFactory:()=>o,badge:()=>Mp,banner:()=>Dp,button:()=>Ep,card:()=>Op,chart:()=>Jp,checkbox:()=>Rp,chip:()=>Pp,chipChoice:()=>Ip,chipGroup:()=>kp,collapsible:()=>Yp,combobox:()=>Zp,dateRangePicker:()=>of,drawer:()=>Vp,eventCard:()=>wp,floatingMenu:()=>Kp,foundation:()=>l,link:()=>Np,modal:()=>zp,notice:()=>ef,notification:()=>tf,pageDesigner:()=>Qp,pageFooter:()=>Up,pageHeader:()=>Fp,pageLayout:()=>Bp,popover:()=>qp,radio:()=>Tp,reorderableList:()=>Hp,resolveFamilyClass:()=>ki,resolveSizeClass:()=>Ni,semantic:()=>u,setVariable:()=>L,switch_:()=>Xp,table:()=>Lp,tabs:()=>Wp,textArea:()=>jp,textInput:()=>Gp,titleBreadcrumb:()=>$p,toc:()=>_p,toggle:()=>Cp,tooltip:()=>rf,treeList:()=>Ap,typographies:()=>vp,typographyBody1Medium:()=>Kl,typographyBody1Regular:()=>jl,typographyBody1Semibold:()=>Zl,typographyBody2Medium:()=>Yl,typographyBody2MediumUnderline:()=>Xl,typographyBody2Regular:()=>ql,typographyBody2Semibold:()=>Jl,typographyCaption1Medium:()=>Ql,typographyCaption1Semibold:()=>ec,typographyCaption2Bold:()=>oc,typographyCaption2Medium:()=>tc,typographyCaption2Semibold:()=>rc,typographyDisplay:()=>Hl,typographyTitle1:()=>Vl,typographyTitle2:()=>Wl,typographyTitle3:()=>Gl,typographyVariants:()=>Sp});var gt=t=>typeof t=="string"?Nr(t):t,o=class{static create(e,r,n,i){let s=c=>gt(c??i),a=T`var(${gt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>L(a,c??s(i)),a.get=c=>T`var(${gt(e)}, ${s(c)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=c=>n.get(c??i),a=T`var(${gt(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>L(a,c??s(i)),a.get=c=>T`var(${gt(e)}, ${s(c)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=T`var(${gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.set=s=>e.set(s),i.get=s=>T`var(${gt(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function L(t,e){return gt(`${t.name}: ${e}`)}var l={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)")},Hl={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")},Vl={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")},Wl={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")},Gl={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")},jl={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")},Kl={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")},Zl={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")},ql={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")},Yl={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")},Xl={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")},Jl={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")},Ql={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")},ec={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")},tc={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")},rc={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")},oc={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")},vp={display:Hl,"title-1":Vl,"title-2":Wl,"title-3":Gl,"body-1-regular":jl,"body-1-medium":Kl,"body-1-semibold":Zl,"body-2-regular":ql,"body-2-medium":Yl,"body-2-medium-underline":Xl,"body-2-semibold":Jl,"caption-1-medium":Ql,"caption-1-semibold":ec,"caption-2-medium":tc,"caption-2-semibold":rc,"caption-2-bold":oc},Sp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var Ep={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.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","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.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","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Cp={iconSize:o.extend("--ftds-toggle-icon-size","",l.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var Op={borderRadius:o.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.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","",l.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var wp={borderRadius:o.extend("--ftds-event-card-border-radius","",l.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",l.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",l.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",l.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",l.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var Ap={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.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","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var _p={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",l.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",l.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",l.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",l.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",l.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",l.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",l.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",l.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",l.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",l.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",l.opacity8)};var Rp={iconSize:o.extend("--ftds-checkbox-icon-size","",l.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","",l.spacing2),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),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","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var Tp={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Lp={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Ip={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.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","",l.iconSize2)};var Pp={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var kp={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Np={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",l.spacing1)};var Dp={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Mp={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var $p={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Fp={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing2),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Up={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Bp={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var zp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",l.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var Hp={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",l.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Vp={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.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","",l.colorGray700)};var Wp={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",l.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",l.iconSize2)};var Gp={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.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","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var jp={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",l.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",l.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",l.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",l.spacing05)};var Kp={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var Zp={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",l.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",l.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var qp={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.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","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",l.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",l.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",l.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",l.spacing3)};var Yp={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Xp={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var Jp={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200)};var Qp={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var ef={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var tf={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var rf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var of={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var Zr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Zr||(Zr={}));var qr;(function(t){t.large="large",t.medium="medium",t.small="small"})(qr||(qr={}));function ki(t){return`ftds--family-${t}`}function Ni(t){return`ftds--size-${t}`}var _={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 $i={};V($i,{DynamicImporter:()=>Wo,dynamicImporter:()=>nf});var Wo=class{async import(e){if(e)return import(e)}},nf=new Wo;var Yi={};V(Yi,{computeOffsetAutoPosition:()=>to,computeOffsetPosition:()=>qi});var ic=["top","right","bottom","left"],nc=["start","end"],Ui=ic.reduce((t,e)=>t.concat(e,e+"-"+nc[0],e+"-"+nc[1]),[]),Rt=Math.min,rt=Math.max,Yr=Math.round;var ot=t=>({x:t,y:t}),sf={left:"right",right:"left",bottom:"top",top:"bottom"};function sc(t,e,r){return rt(t,Rt(e,r))}function fr(t,e){return typeof t=="function"?t(e):t}function Tt(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function Bi(t){return t==="x"?"y":"x"}function zi(t){return t==="y"?"height":"width"}function hr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Hi(t){return Bi(hr(t))}function ac(t,e,r){r===void 0&&(r=!1);let n=nt(t),i=Hi(t),s=zi(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Fi(a)),[a,Fi(a)]}function lc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Fi(t){let e=Tt(t);return sf[e]+t.slice(e.length)}function af(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function cc(t){return typeof t!="number"?af(t):{top:t,right:t,bottom:t,left:t}}function Lt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function dc(t,e,r){let{reference:n,floating:i}=t,s=hr(e),a=Hi(e),c=zi(a),d=Tt(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}let S=nt(e);return S&&(x[a]+=m*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function uc(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=fr(e,t),S=cc(x),E=c[m?f==="floating"?"reference":"floating":f],I=Lt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),D=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),y=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},v=Lt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:D,offsetParent:b,strategy:d}):D);return{top:(I.top-v.top+S.top)/y.y,bottom:(v.bottom-I.bottom+S.bottom)/y.y,left:(I.left-v.left+S.left)/y.x,right:(v.right-I.right+S.right)/y.x}}var lf=50,pc=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:uc},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=dc(p,n,d),m=n,x=0,S={};for(let A=0;A<s.length;A++){let E=s[A];if(!E)continue;let{name:I,fn:D}=E,{x:b,y,data:v,reset:O}=await D({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=b??h,f=y??f,S[I]={...S[I],...v},O&&x<lf&&(x++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(p=O.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:h,y:f}=dc(p,m,d)),A=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function cf(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>Tt(i)===i)).filter(i=>t?nt(i)===t||(e?lc(i)!==i:!1):!0)}var fc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Ui,autoAlignment:x=!0,...S}=fr(t,e),A=f!==void 0||m===Ui?cf(f||null,x,m):m,E=((r=a.autoPlacement)==null?void 0:r.index)||0,I=A[E];if(I==null)return{};if(c!==I)return{reset:{placement:A[0]}};let D=await d.detectOverflow(e,S),b=ac(I,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),y=[D[Tt(I)],D[b[0]],D[b[1]]],v=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:y}],O=A[E+1];if(O)return{data:{index:E+1,overflows:v},reset:{placement:O}};let $=v.map(k=>{let K=nt(k.placement);return[k.placement,K&&h?k.overflows.slice(0,2).reduce((ie,Je)=>ie+Je,0):k.overflows[0],k.overflows]}).sort((k,K)=>k[1]-K[1]),oe=((i=$.filter(k=>k[2].slice(0,nt(k[0])?2:3).every(K=>K<=0))[0])==null?void 0:i[0])||$[0][0];return oe!==c?{data:{index:E+1,overflows:v},reset:{placement:oe}}:{}}}};var df=new Set(["left","top"]);async function uf(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Tt(r),c=nt(r),d=hr(r)==="y",p=df.has(a)?-1:1,h=s&&d?-1:1,f=fr(e,t),{mainAxis:m,crossAxis:x,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:m*p}:{x:m*p,y:x*h}}var hc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:s,placement:a,middlewareData:c}=e,d=await uf(e,t);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},mc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:D=>{let{x:b,y}=D;return{x:b,y}}},...p}=fr(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=hr(i),x=Bi(m),S=h[x],A=h[m],E=(D,b)=>sc(b+f[D==="y"?"top":"left"],b,b-f[D==="y"?"bottom":"right"]);a&&(S=E(x,S)),c&&(A=E(m,A));let I=d.fn({...e,[x]:S,[m]:A});return{...I,data:{x:I.x-r,y:I.y-n,enabled:{[x]:a,[m]:c}}}}}};var gc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...c}=fr(t,e),d=await i.detectOverflow(e,c),p=Tt(r),h=nt(r),f=hr(r)==="y",{width:m,height:x}=n.floating,S,A;p==="top"||p==="bottom"?(S=p,A=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(A=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,I=m-d.left-d.right,D=Rt(x-d[S],E),b=Rt(m-d[A],I),y=e.middlewareData.shift,v=!y,O=D,$=b;y!=null&&y.enabled.x&&($=I),y!=null&&y.enabled.y&&(O=E),v&&!h&&(f?$=m-2*rt(d.left,d.right):O=x-2*rt(d.top,d.bottom)),await a({...e,availableWidth:$,availableHeight:O});let Z=await i.getDimensions(s.floating);return m!==Z.width||x!==Z.height?{reset:{rects:!0}}:{}}}};function jo(){return typeof window<"u"}function Pt(t){return bc(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(bc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function bc(t){return jo()?t instanceof Node||t instanceof Ae(t).Node:!1}function Ge(t){return jo()?t instanceof Element||t instanceof Ae(t).Element:!1}function pt(t){return jo()?t instanceof HTMLElement||t instanceof Ae(t).HTMLElement:!1}function yc(t){return!jo()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function Xr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=je(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function xc(t){return/^(table|td|th)$/.test(Pt(t))}function Jr(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var pf=/transform|translate|scale|rotate|perspective|filter/,ff=/paint|layout|strict|content/,It=t=>!!t&&t!=="none",Vi;function mr(t){let e=Ge(t)?je(t):t;return It(e.transform)||It(e.translate)||It(e.scale)||It(e.rotate)||It(e.perspective)||!Ko()&&(It(e.backdropFilter)||It(e.filter))||pf.test(e.willChange||"")||ff.test(e.contain||"")}function vc(t){let e=yt(t);for(;pt(e)&&!gr(e);){if(mr(e))return e;if(Jr(e))return null;e=yt(e)}return null}function Ko(){return Vi==null&&(Vi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Vi}function gr(t){return/^(html|body|#document)$/.test(Pt(t))}function je(t){return Ae(t).getComputedStyle(t)}function Qr(t){return Ge(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function yt(t){if(Pt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||yc(t)&&t.host||ut(t);return yc(e)?e.host:e}function Sc(t){let e=yt(t);return gr(e)?(t.ownerDocument||t).body:pt(e)&&Xr(e)?e:Sc(e)}function Go(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Sc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Ae(i);if(s){let c=Zo(a);return e.concat(a,a.visualViewport||[],Xr(i)?i:[],c&&r?Go(c):[])}else return e.concat(i,Go(i,[],r))}function Zo(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Oc(t){let e=je(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=pt(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,c=Yr(r)!==s||Yr(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function wc(t){return Ge(t)?t:t.contextElement}function yr(t){let e=wc(t);if(!pt(e))return ot(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Oc(e),a=(s?Yr(r.width):r.width)/n,c=(s?Yr(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var hf=ot(0);function Ac(t){let e=Ae(t);return!Ko()||!e.visualViewport?hf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function mf(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Ae(t)}function eo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=wc(t),a=ot(1);e&&(n?Ge(n)&&(a=yr(n)):a=yr(t));let c=mf(s,r,n)?Ac(s):ot(0),d=(i.left+c.x)/a.x,p=(i.top+c.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Ae(s),x=Ge(n)?Ae(n):n,S=m,A=Zo(S);for(;A&&x!==S;){let E=yr(A),I=A.getBoundingClientRect(),D=je(A),b=I.left+(A.clientLeft+parseFloat(D.paddingLeft))*E.x,y=I.top+(A.clientTop+parseFloat(D.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=b,p+=y,S=Ae(A),A=Zo(S)}}return Lt({width:h,height:f,x:d,y:p})}function qo(t,e){let r=Qr(t).scrollLeft;return e?e.left+r:eo(ut(t)).left+r}function _c(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-qo(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function gf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=ut(n),c=e?Jr(e.floating):!1;if(n===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},p=ot(1),h=ot(0),f=pt(n);if((f||!s)&&((Pt(n)!=="body"||Xr(a))&&(d=Qr(n)),f)){let x=eo(n);p=yr(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let m=a&&!f&&!s?_c(a,d):ot(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+h.x+m.x,y:r.y*p.y-d.scrollTop*p.y+h.y+m.y}}function yf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function bf(t){let e=Qr(t),r=t.ownerDocument.body,n=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+qo(t),a=-e.scrollTop;return je(r).direction==="rtl"&&(s+=rt(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var xf=25;function vf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Ae(t),s=ut(t),a=i.visualViewport,c=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Ko()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(c=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(qo(s)<=0){let m=s.ownerDocument,x=m.body,S=getComputedStyle(x),A=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(s.clientWidth-x.clientWidth-A),I=getComputedStyle(s).scrollbarGutter==="stable both-edges"?E/2:E;I<=xf&&(c-=I)}return{width:c,height:d,x:p,y:h}}function Sf(t,e){let r=eo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=yr(t),a=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:c,x:d,y:p}}function Ec(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=vf(t,r,e);else if(e==="document")n=bf(ut(t));else if(Ge(e))n=Sf(e,r);else{let i=Ac(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Lt(n)}function Ef(t,e){let r=e.get(t);if(r)return r;let n=Go(t,[],!1).filter(c=>Ge(c)&&Pt(c)!=="body"),i=null,s=je(t).position==="fixed",a=s?yt(t):t;for(;Ge(a)&&!gr(a);){let c=je(a),d=mr(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):i=c,a=yt(a)}return e.set(t,n),n}function Cf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Jr(e)?[]:Ef(e,this._c):[].concat(r),n],c=Ec(e,a[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){let x=Ec(e,a[m],i);d=rt(x.top,d),p=Rt(x.right,p),h=Rt(x.bottom,h),f=rt(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function Of(t){let{width:e,height:r}=Oc(t);return{width:e,height:r}}function wf(t,e,r){let n=pt(e),i=ut(e),s=r==="fixed",a=eo(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=ot(0);if((n||!s)&&((Pt(e)!=="body"||Xr(i))&&(c=Qr(e)),n)){let m=eo(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=qo(i));let p=i&&!n&&!s?_c(i,c):ot(0),h=a.left+c.scrollLeft-d.x-p.x,f=a.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function Wi(t){return je(t).position==="static"}function Cc(t,e){if(!pt(t)||je(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return ut(t)===r&&(r=r.ownerDocument.body),r}function Rc(t,e){let r=Ae(t);if(Jr(t))return r;if(!pt(t)){let i=yt(t);for(;i&&!gr(i);){if(Ge(i)&&!Wi(i))return i;i=yt(i)}return r}let n=Cc(t,e);for(;n&&xc(n)&&Wi(n);)n=Cc(n,e);return n&&gr(n)&&Wi(n)&&!mr(n)?r:n||vc(t)||r}var Af=async function(t){let e=this.getOffsetParent||Rc,r=this.getDimensions,n=await r(t.floating);return{reference:wf(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function _f(t){return je(t).direction==="rtl"}var br={convertOffsetParentRelativeRectToViewportRelativeRect:gf,getDocumentElement:ut,getClippingRect:Cf,getOffsetParent:Rc,getElementRects:Af,getClientRects:yf,getDimensions:Of,getScale:yr,isElement:Ge,isRTL:_f};var Tc=hc,Gi=fc,Lc=mc;var Ic=gc;var ji=(t,e,r)=>{let n=new Map,i=r??{},s={...br,...i.platform,_c:n};return pc(t,e,{...i,platform:s})};function Zi(t){return Rf(t)}function Ki(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Rf(t){for(let e=t;e;e=Ki(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ki(t);e;e=Ki(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||mr(r)||e.tagName==="BODY"))return e}return null}async function qi(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},ji(t,e,{strategy:n.strategy,platform:{...br,getOffsetParent:i=>br.getOffsetParent(i,Zi)},middleware:[Lc({crossAxis:!0}),Gi({allowedPlacements:[n.placement]})]})}async function to(t,e,r,n,i,s,a){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):c=r,ji(t,e,{placement:c,strategy:i,platform:{...br,getOffsetParent:p=>br.getOffsetParent(p,Zi)},middleware:[Tc(a??4),Gi({allowedPlacements:n}),Ic({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Xi={};V(Xi,{isSlotEmptyOrWithoutContent:()=>ro});var ro=t=>t?t.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var os={};V(os,{FtdsBase:()=>rs,toFtdsBase:()=>Fc});var ts={};V(ts,{ExportpartsUpdatedEvent:()=>kt,FtLitElement:()=>G});var Ji={};V(Ji,{ScopedRegistryLitElement:()=>oo});var oo=class extends He{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},n=this.renderOptions.creationScope=this.attachShadow(r);return Dr(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){Gr(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 es={};V(es,{shadowQuerySelector:()=>Qi,shadowQuerySelectorAll:()=>Tf});function Qi(t,e,...r){var n;let i=t.querySelector(e);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function Tf(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,c;return[...(c=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var xr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Dc,Pc=Symbol("constructorPrototype"),kc=Symbol("constructorName"),Mc=Symbol("exportpartsDebouncer"),Nc=Symbol("dynamicDependenciesLoaded"),kt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};kt.eventName="exportparts-updated";var G=class extends oo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Dc]=new we(5),this.scheduleExportpartsUpdate=()=>{var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Mc].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[kc]=this.constructor.name,this[Pc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kc]&&Object.setPrototypeOf(this,this[Pc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Nc]||(r[Nc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(kt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(kt.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 kt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Qi(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,n,i,s,a,c;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[],A=[...x,...S].filter(d).map(E=>E.trim());for(let E of A)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Dc=Mc;xr([g()],G.prototype,"exportpartsPrefix",void 0);xr([he([])],G.prototype,"exportpartsPrefixes",void 0);xr([g({reflect:!0})],G.prototype,"exportparts",void 0);xr([g()],G.prototype,"customStylesheet",void 0);xr([g()],G.prototype,"elementToFocus",void 0);xr([N()],G.prototype,"useAdoptedStyleSheets",void 0);var $c=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Fc=me(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=qr.medium,this.family=Zr.neutral}getDesignSystemBaseClasses(){return{[ki(this.family)]:!0,[Ni(this.size)]:!0}}}return $c([g()],e.prototype,"size",void 0),$c([g()],e.prototype,"family",void 0),e}),rs=class extends Fc(G){};var Uc={};var ss={};V(ss,{highlightHtml:()=>is,highlightHtmlColorCssVariable:()=>Bc,highlightHtmlStyles:()=>If});var Nt=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(c)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let a=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(a&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let s=!1,a=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,a=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let a=this.createIterator(r,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var no=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 Nt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[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,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let a=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.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",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),i.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(c=>{a+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.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=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=a-s,r.push(i),n=a)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,a=n.length,c=r-a,d=parseInt(e.start,10)-c;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Nt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(a.node))return!1;let p=r-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,e.nodes.forEach((x,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),n-=h,s(a.node.previousSibling,a.start),n>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,c,s.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,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 n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,c)=>this.opt.filter(c,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,x)=>this.opt.filter(x,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,a,c,d)=>this.opt.filter(s,a,c,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{this.opt.done(n)})):this.opt.done(n)}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,n=>{this.unwrapMatches(n)},n=>{let i=Nt.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ns(t){let e=new no(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Lf=ns,Bc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),If=T`
|
|
5
5
|
.highlight-html-match {
|
|
6
|
-
background: ${
|
|
6
|
+
background: ${Bc};
|
|
7
7
|
}
|
|
8
|
-
`;function
|
|
8
|
+
`;function is(t,e,r){var n,i;let s=t.getAttribute("data-highlight-html-query");if((s??"")!==(e??"")){let a=new Lf(t);if(a.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(c.each=p=>{for(let h in r.attributes)p.setAttribute(h,r.attributes[h])}),a.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>a.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var cs={};V(cs,{noTextInputDefaultClearButton:()=>ls,noTextSelect:()=>io,safariEllipsisFix:()=>as,wordWrap:()=>Pf});var io=T`
|
|
9
9
|
.ft-no-text-select {
|
|
10
10
|
-webkit-touch-callout: none;
|
|
11
11
|
-webkit-user-select: none;
|
|
@@ -14,7 +14,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
14
14
|
-ms-user-select: none;
|
|
15
15
|
user-select: none;
|
|
16
16
|
}
|
|
17
|
-
`,
|
|
17
|
+
`,Pf=T`
|
|
18
18
|
.ft-word-wrap {
|
|
19
19
|
white-space: normal;
|
|
20
20
|
word-wrap: break-word;
|
|
@@ -26,7 +26,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
26
26
|
-webkit-hyphens: auto;
|
|
27
27
|
hyphens: auto
|
|
28
28
|
}
|
|
29
|
-
`,
|
|
29
|
+
`,as=T`
|
|
30
30
|
.ft-safari-ellipsis-fix {
|
|
31
31
|
margin-right: 0;
|
|
32
32
|
|
|
@@ -37,14 +37,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
37
37
|
display: inline-block;
|
|
38
38
|
width: 0;
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,ls=T`
|
|
41
41
|
input::-webkit-search-cancel-button,
|
|
42
42
|
input::-webkit-search-decoration,
|
|
43
43
|
input::-webkit-search-results-button,
|
|
44
44
|
input::-webkit-search-results-decoration {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
|
-
`;var $c={};var is={};V(is,{ParametrizedLabelResolver:()=>io});var io=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ws={};V(ws,{FtCommandQueue:()=>so,FtLitElementRedux:()=>Mt,FtReduxStore:()=>Ft,FtStateManager:()=>mo,ReduxWatcher:()=>yn,clearAllStores:()=>Ah,isFtReduxStore:()=>Sr,redux:()=>vr,reduxEventListener:()=>If,reduxReactive:()=>Lf,watch:()=>_h,withRedux:()=>Fc});var Lf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},vr=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:et,attribute:!1,...e};g(s)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(c=>c[n]),store:e.store})}},If=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var so=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==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 Sr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ao=Symbol("internalReduxEventsUnsubscribers"),yt=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores"),Fc=me(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(c=>a.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[Dt].get(a)}addStore(a,c){var d;c=(d=c??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Dt].set(c,a),this.subscribeToStore(c,a),this.updateFromStores()}removeStore(a){let c=typeof a=="string"?a:a.name;this.unsubscribeFromStore(c),this[Dt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach((a,c)=>this.subscribeToStore(c,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(a.store);p&&(a.store?this[yt].has(a.store):this[yt].size>0)&&(this[c]=a.selector(p.getState(),this))}})}subscribeToStore(a,c){var d,p;this[yt].set(a,c.subscribe(()=>this.updateFromStores())),this[ao].set(a,[]),Sr(c)&&(!((d=c.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===c&&c.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",c.name)}),c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||c.name===h.store)){let m=x=>this[f](x);c.addEventListener(h.eventName,m),this[ao].get(a).push(()=>c.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[yt].forEach((a,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(a){var c;this[yt].has(a)&&this[yt].get(a)(),this[yt].delete(a),(c=this[ao].get(a))===null||c===void 0||c.forEach(d=>d()),this[ao].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=yt,r=Dt,n=ao,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Mt=class extends Fc(W){};function ge(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 Pf=typeof Symbol=="function"&&Symbol.observable||"@@observable",Uc=Pf,ss=()=>Math.random().toString(36).substring(7).split("").join("."),kf={INIT:`@@redux/INIT${ss()}`,REPLACE:`@@redux/REPLACE${ss()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ss()}`},qo=kf;function Yo(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function as(t,e,r){if(typeof t!="function")throw new Error(ge(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ge(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ge(1));return r(as)(t,e)}let n=t,i=e,s=new Map,a=s,c=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((E,L)=>{a.set(L,E)}))}function h(){if(d)throw new Error(ge(3));return i}function f(E){if(typeof E!="function")throw new Error(ge(4));if(d)throw new Error(ge(5));let L=!0;p();let N=c++;return a.set(N,E),function(){if(L){if(d)throw new Error(ge(6));L=!1,p(),a.delete(N),s=null}}}function m(E){if(!Yo(E))throw new Error(ge(7));if(typeof E.type>"u")throw new Error(ge(8));if(typeof E.type!="string")throw new Error(ge(17));if(d)throw new Error(ge(9));try{d=!0,i=n(i,E)}finally{d=!1}return(s=a).forEach(N=>{N()}),E}function x(E){if(typeof E!="function")throw new Error(ge(10));n=E,m({type:qo.REPLACE})}function S(){let E=f;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(ge(11));function N(){let y=L;y.next&&y.next(h())}return N(),{unsubscribe:E(N)}},[Uc](){return this}}}return m({type:qo.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:x,[Uc]:S}}function Nf(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:qo.INIT})>"u")throw new Error(ge(12));if(typeof r(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ge(13))})}function ls(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let c=e[a];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,s;try{Nf(r)}catch(a){s=a}return function(c={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],x=r[m],S=c[m],A=x(S,d);if(typeof A>"u"){let E=d&&d.type;throw new Error(ge(14))}h[m]=A,p=p||A!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function lo(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function Bc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(ge(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},c=t.map(d=>d(a));return s=lo(...c)(i.dispatch),{...i,dispatch:s}}}function zc(t){return Yo(t)&&"type"in t&&typeof t.type=="string"}var Yc=Symbol.for("immer-nothing"),Hc=Symbol.for("immer-draftable"),xe=Symbol.for("immer-state");function Ke(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Pe=Object,Cr=Pe.getPrototypeOf,en="constructor",an="prototype",ps="configurable",tn="enumerable",Jo="writable",co="value",it=t=>!!t&&!!t[xe];function ke(t){return t?Xc(t)||cn(t)||!!t[Hc]||!!t[en]?.[Hc]||dn(t)||un(t):!1}var Df=Pe[an][en].toString(),Vc=new WeakMap;function Xc(t){if(!t||!vs(t))return!1;let e=Cr(t);if(e===null||e===Pe[an])return!0;let r=Pe.hasOwnProperty.call(e,en)&&e[en];if(r===Object)return!0;if(!Er(r))return!1;let n=Vc.get(r);return n===void 0&&(n=Function.toString.call(r),Vc.set(r,n)),n===Df}function ln(t,e,r=!0){fo(t)===0?(r?Reflect.ownKeys(t):Pe.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function fo(t){let e=t[xe];return e?e.type_:cn(t)?1:dn(t)?2:un(t)?3:0}var cs=(t,e,r=fo(t))=>r===2?t.has(e):Pe[an].hasOwnProperty.call(t,e),fs=(t,e,r=fo(t))=>r===2?t.get(e):t[e],rn=(t,e,r,n=fo(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Mf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var cn=Array.isArray,dn=t=>t instanceof Map,un=t=>t instanceof Set,vs=t=>typeof t=="object",Er=t=>typeof t=="function",ds=t=>typeof t=="boolean";function $f(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var pt=t=>t.copy_||t.base_;var Ss=t=>t.modified_?t.copy_:t.base_;function hs(t,e){if(dn(t))return new Map(t);if(un(t))return new Set(t);if(cn(t))return Array[an].slice.call(t);let r=Xc(t);if(e===!0||e==="class_only"&&!r){let n=Pe.getOwnPropertyDescriptors(t);delete n[xe];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],c=n[a];c[Jo]===!1&&(c[Jo]=!0,c[ps]=!0),(c.get||c.set)&&(n[a]={[ps]:!0,[Jo]:!0,[tn]:c[tn],[co]:t[a]})}return Pe.create(Cr(t),n)}else{let n=Cr(t);if(n!==null&&r)return{...t};let i=Pe.create(n);return Pe.assign(i,t)}}function pn(t,e=!1){return fn(t)||it(t)||!ke(t)||(fo(t)>1&&Pe.defineProperties(t,{set:Xo,add:Xo,clear:Xo,delete:Xo}),Pe.freeze(t),e&&ln(t,(r,n)=>{pn(n,!0)},!1)),t}function Ff(){Ke(2)}var Xo={[co]:Ff};function fn(t){return t===null||!vs(t)?!0:Pe.isFrozen(t)}var on="MapSet",ms="Patches",Wc="ArrayMethods",Jc={};function $t(t){let e=Jc[t];return e||Ke(0,t),e}var Gc=t=>!!Jc[t];var uo,Qc=()=>uo,Uf=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Gc(on)?$t(on):void 0,arrayMethodsPlugin_:Gc(Wc)?$t(Wc):void 0});function jc(t,e){e&&(t.patchPlugin_=$t(ms),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function gs(t){ys(t),t.drafts_.forEach(Bf),t.drafts_=null}function ys(t){t===uo&&(uo=t.parent_)}var Kc=t=>uo=Uf(uo,t);function Bf(t){let e=t[xe];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Zc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[xe].modified_&&(gs(e),Ke(4)),ke(t)&&(t=qc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[xe].base_,t,e)}else t=qc(e,r);return zf(e,t,!0),gs(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Yc?t:void 0}function qc(t,e){if(fn(e))return e;let r=e[xe];if(!r)return nn(e,t.handledSet_,t);if(!hn(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(t);rd(r,t)}return r.copy_}function zf(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&pn(e,r)}function ed(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var hn=(t,e)=>t.scope_===e,Hf=[];function td(t,e,r,n){let i=pt(t),s=t.type_;if(n!==void 0&&fs(i,n,s)===e){rn(i,n,r,s);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;ln(i,(d,p)=>{if(it(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let a=t.draftLocations_.get(e)??Hf;for(let c of a)rn(i,c,r,s)}function Vf(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!hn(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=Ss(s);td(t,s.draft_??s,a,r),rd(s,i)})}function rd(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}ed(t)}}function Wf(t,e,r){let{scope_:n}=t;if(it(r)){let i=r[xe];hn(i,n)&&i.callbacks_.push(function(){Qo(t);let a=Ss(i);td(t,r,a,e)})}else ke(r)&&t.callbacks_.push(function(){let s=pt(t);t.type_===3?s.has(r)&&nn(r,n.handledSet_,n):fs(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&nn(fs(t.copy_,e,t.type_),n.handledSet_,n)})}function nn(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||it(t)||e.has(t)||!ke(t)||fn(t)||(e.add(t),ln(t,(n,i)=>{if(it(i)){let s=i[xe];if(hn(s,r)){let a=Ss(s);rn(t,n,a,t.type_),ed(s)}}else ke(i)&&nn(i,e,r)})),t}function Gf(t,e){let r=cn(t),n={type_:r?1:0,scope_:e?e.scope_:Qc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=sn;r&&(i=[n],s=po);let{revoke:a,proxy:c}=Proxy.revocable(i,s);return n.draft_=c,n.revoke_=a,[c,n]}var sn={get(t,e){if(e===xe)return t;let r=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let i=pt(t);if(!cs(i,e,t.type_))return Kf(t,i,e);let s=i[e];if(t.finalized_||!ke(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&$f(e))return s;if(s===us(t.base_,e)||jf(t,e,s)){Qo(t);let a=t.type_===1?+e:e,c=xs(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,e){return e in pt(t)},ownKeys(t){return Reflect.ownKeys(pt(t))},set(t,e,r){let n=od(pt(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=us(pt(t),e),s=i?.[xe];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Mf(r,i)&&(r!==void 0||cs(t.base_,e,t.type_)))return!0;Qo(t),bs(t)}return t.copy_[e]===r&&(r!==void 0||cs(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),Wf(t,e,r)),!0},deleteProperty(t,e){return Qo(t),us(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),bs(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=pt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[Jo]:!0,[ps]:t.type_!==1||e!=="length",[tn]:n[tn],[co]:r[e]}},defineProperty(){Ke(11)},getPrototypeOf(t){return Cr(t.base_)},setPrototypeOf(){Ke(12)}},po={};for(let t in sn){let e=sn[t];po[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}po.deleteProperty=function(t,e){return po.set.call(this,t,e,void 0)};po.set=function(t,e,r){return sn.set.call(this,t[0],e,r,t[0])};function us(t,e){let r=t[xe];return(r?pt(r):t)[e]}function jf(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!ke(r)||r[xe]?!1:t.baseRefs_.has(r)}function Kf(t,e,r){let n=od(e,r);return n?co in n?n[co]:n.get?.call(t.draft_):void 0}function od(t,e){if(!(e in t))return;let r=Cr(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Cr(r)}}function bs(t){t.modified_||(t.modified_=!0,t.parent_&&bs(t.parent_))}function Qo(t){t.copy_||(t.assigned_=new Map,t.copy_=hs(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Zf=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(Er(e)&&!Er(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}Er(r)||Ke(6),n!==void 0&&!Er(n)&&Ke(7);let i;if(ke(e)){let s=Kc(this),a=xs(s,e,void 0),c=!0;try{i=r(a),c=!1}finally{c?gs(s):ys(s)}return jc(s,n),Zc(i,s)}else if(!e||!vs(e)){if(i=r(e),i===void 0&&(i=e),i===Yc&&(i=void 0),this.autoFreeze_&&pn(i,!0),n){let s=[],a=[];$t(ms).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else Ke(1,e)},this.produceWithPatches=(e,r)=>{if(Er(e))return(a,...c)=>this.produceWithPatches(a,d=>e(d,...c));let n,i;return[this.produce(e,r,(a,c)=>{n=a,i=c}),n,i]},ds(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),ds(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),ds(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){ke(t)||Ke(8),it(t)&&(t=nd(t));let e=Kc(this),r=xs(e,t,void 0);return r[xe].isManual_=!0,ys(e),r}finishDraft(t,e){let r=t&&t[xe];(!r||!r.isManual_)&&Ke(9);let{scope_:n}=r;return jc(n,e),Zc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let i=e[r];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}r>-1&&(e=e.slice(r+1));let n=$t(ms).applyPatches_;return it(t)?n(t,e):this.produce(t,i=>n(i,e))}};function xs(t,e,r,n){let[i,s]=dn(e)?$t(on).proxyMap_(e,r):un(e)?$t(on).proxySet_(e,r):Gf(e,r);return(r?.scope_??Qc()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?Vf(r,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function nd(t){return it(t)||Ke(10,t),id(t)}function id(t){if(!ke(t)||fn(t))return t;let e=t[xe],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=hs(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=hs(t,!0);return ln(r,(i,s)=>{rn(r,i,id(s))},n),e&&(e.finalized_=!1),r}var qf=globalThis.Iterator,h0=typeof qf?.from=="function";var Yf=new Zf,Es=Yf.produce;function sd(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var ad=sd(),ld=sd;var Xf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Jf=t=>t&&typeof t.match=="function";function bt(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(st(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=n=>zc(n)&&n.type===t,r}var fd=class ho extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,ho.prototype)}static get[Symbol.species](){return ho}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new ho(...e[0].concat(this)):new ho(...e.concat(this))}};function cd(t){return ke(t)?Es(t,()=>{}):t}function mn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function Qf(t){return typeof t=="boolean"}var eh=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new fd;return r&&(Qf(r)?a.push(ad):a.push(ld(r.extraArgument))),a},th="RTK_autoBatch";var dd=t=>e=>{setTimeout(e,t)},rh=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},oh=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?rh(window.requestAnimationFrame,100):dd(10):t.type==="callback"?t.queueNotification:dd(t.timeout),p=()=>{a=!1,s&&(s=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return c.add(h),()=>{m(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[th],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},nh=t=>function(r){let{autoBatch:n=!0}=r??{},i=new fd(t);return n&&i.push(oh(typeof n=="object"?n:void 0)),i};function hd(t){let e=eh(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Yo(r))d=ls(r);else throw new Error(st(1));let p;typeof n=="function"?p=n(e):p=e();let h=lo;i&&(h=Xf({trace:!1,...typeof i=="object"&&i}));let f=Bc(...p),m=nh(f),x=typeof c=="function"?c(m):m(),S=h(...x);return as(d,a,S)}function md(t){let e={},r=[],n,i={addCase(s,a){let c=typeof s=="string"?s:s.type;if(!c)throw new Error(st(28));if(c in e)throw new Error(st(29));return e[c]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return r.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,r,n]}function ih(t){return typeof t=="function"}function sh(t,e){let[r,n,i]=md(e),s;if(ih(t))s=()=>cd(t());else{let c=cd(t);s=()=>c}function a(c=s(),d){let p=[r[d.type],...n.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(it(h)){let m=f(h,d);return m===void 0?h:m}else{if(ke(h))return Es(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(st(9))}return m}}return h},c)}return a.getInitialState=s,a}var ah=(t,e)=>Jf(t)?t.match(e):t(e);function lh(...t){return e=>t.some(r=>ah(r,e))}var ch="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dh=(t=21)=>{let e="",r=t;for(;r--;)e+=ch[Math.random()*64|0];return e},uh=["name","message","stack","code"],Cs=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},ud=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},ph=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of uh)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},pd="External signal was aborted",fh=(()=>{function t(e,r,n){let i=bt(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=bt(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=bt(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||ph)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,m)=>{let x=n?.idGenerator?n.idGenerator(d):dh(),S=new AbortController,A,E;function L(b){E=b,S.abort()}p&&(p.aborted?L(pd):p.addEventListener("abort",()=>L(pd),{once:!0}));let N=(async function(){let b;try{let y=n?.condition?.(d,{getState:f,extra:m});if(mh(y)&&(y=await y),y===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let v=new Promise((O,M)=>{A=()=>{M({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",A,{once:!0})});h(s(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:m}))),b=await Promise.race([v,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:x,signal:S.signal,abort:L,rejectWithValue:((O,M)=>new Cs(O,M)),fulfillWithValue:((O,M)=>new ud(O,M))})).then(O=>{if(O instanceof Cs)throw O;return O instanceof ud?i(O.payload,x,d,O.meta):i(O,x,d)})])}catch(y){b=y instanceof Cs?a(null,x,d,y.payload,y.meta):a(y,x,d)}finally{A&&S.signal.removeEventListener("abort",A)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||h(b),b})();return Object.assign(N,{abort:L,requestId:x,arg:d,unwrap(){return N.then(hh)}})}}return Object.assign(c,{pending:s,rejected:a,fulfilled:i,settled:lh(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function hh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function mh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var gd=Symbol.for("rtk-slice-createasyncthunk"),E0={[gd]:fh};function gh(t,e){return`${t}/${e}`}function yh({creators:t}={}){let e=t?.asyncThunk?.[gd];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(st(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(xh()):n.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(b,y){let v=typeof b=="string"?b:b.type;if(!v)throw new Error(st(12));if(v in d.sliceCaseReducersByType)throw new Error(st(13));return d.sliceCaseReducersByType[v]=y,p},addMatcher(b,y){return d.sliceMatchers.push({matcher:b,reducer:y}),p},exposeAction(b,y){return d.actionCreators[b]=y,p},exposeCaseReducer(b,y){return d.sliceCaseReducersByName[b]=y,p}};c.forEach(b=>{let y=a[b],v={reducerName:b,type:gh(i,b),createNotation:typeof n.reducers=="function"};Sh(y)?Ch(v,y,p,e):vh(v,y,p)});function h(){let[b={},y=[],v=void 0]=typeof n.extraReducers=="function"?md(n.extraReducers):[n.extraReducers],O={...b,...d.sliceCaseReducersByType};return sh(n.initialState,M=>{for(let Z in O)M.addCase(Z,O[Z]);for(let Z of d.sliceMatchers)M.addMatcher(Z.matcher,Z.reducer);for(let Z of y)M.addMatcher(Z.matcher,Z.reducer);v&&M.addDefaultCase(v)})}let f=b=>b,m=new Map,x=new WeakMap,S;function A(b,y){return S||(S=h()),S(b,y)}function E(){return S||(S=h()),S.getInitialState()}function L(b,y=!1){function v(M){let Z=M[b];return typeof Z>"u"&&y&&(Z=mn(x,v,E)),Z}function O(M=f){return mn(mn(m,y,()=>new WeakMap),M,()=>{let Z={};for(let[oe,k]of Object.entries(n.selectors??{}))Z[oe]=bh(k,M,()=>mn(x,M,E),y);return Z})}return{reducerPath:b,getSelectors:O,get selectors(){return O(v)},selectSlice:v}}let N={name:i,reducer:A,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...L(s),injectInto(b,{reducerPath:y,...v}={}){let O=y??s;return b.inject({reducerPath:O,reducer:A},v),{...N,...L(O,!0)}}};return N}}function bh(t,e,r,n){function i(s,...a){let c=e(s);return typeof c>"u"&&n&&(c=r()),t(c,...a)}return i.unwrapped=t,i}var yd=yh();function xh(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function vh({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!Eh(n))throw new Error(st(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?bt(t,a):bt(t))}function Sh(t){return t._reducerDefinitionType==="asyncThunk"}function Eh(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Ch({type:t,reducerName:e},r,n,i){if(!i)throw new Error(st(18));let{payloadCreator:s,fulfilled:a,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||gn,pending:c||gn,rejected:d||gn,settled:p||gn})}function gn(){}var bd="listener",xd="completed",vd="cancelled",C0=`task-${vd}`,O0=`task-${xd}`,w0=`${bd}-${vd}`,A0=`${bd}-${xd}`;var{assign:Sd}=Object;var Os="listenerMiddleware";var Oh=Sd(bt(`${Os}/add`),{withTypes:()=>Oh}),_0=bt(`${Os}/removeAll`),wh=Sd(bt(`${Os}/remove`),{withTypes:()=>wh});function st(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Ft=class t extends lt{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Sr(s))return s;if(i==null)return;let a=yd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=hd({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=We(a.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,c,i.eventBus,i.deprecatedKeys)}constructor(e,r,n,i){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new so,this.injectInto=(a,c)=>this.reduxSlice.injectInto(a,c),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,d)=>{let p=c,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,x=this.getState()[m];le(x,f)||this.setState({[m]:s(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Ah(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Sr(e)&&e.clear()}var yn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}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);et(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 _h(t,e,r){return new yn(t,e,r).watch()}var mo=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 n of r)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Rs={};V(Rs,{scrollHelper:()=>Rh});var As,bn=new Map,_s=class{lock(e,r){if(r){let n=bn.get(r);if(n==null||n===e)return bn.set(r,e),r}}release(e,r){r&&bn.get(r)===e&&bn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of di(e)){let a=s,c=this.elementCanScroll(a);if(c&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else c&&i==null&&(i=a)}return(r=n??i)!==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 n,i;let s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return s+((i=r?.offsetTop)!==null&&i!==void 0?i: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 n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),s=i-n.clientHeight+e.clientHeight,a=i,c=_t(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,c)*(s-a)+a;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(As=window.FluidTopicsScrollHelper)!==null&&As!==void 0?As:new _s;var Rh=window.FluidTopicsScrollHelper;var Ls={};V(Ls,{toFtFormComponent:()=>go});var Ts=Symbol("elementInternals"),go=me(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ts].form}constructor(...n){super(n),this[Ts]=this.attachInternals()}setFormValue(n){this[Ts].setFormValue(n)}}return e});var Is={};V(Is,{DateFormatter:()=>Ut});var Ut=class{static format(e,r,n,i,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,r,n,i,!!s)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,s){let a=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:i?`${c} ${d}`:c}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var ks={};V(ks,{ALL_KEYS_VALUE:()=>Ps,SameWindowStorageEvent:()=>Or});var Ps="__all__",Or=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ps}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Or(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Or(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Or(Ps))}});var Ds={};V(Ds,{FocusMainContentEvent:()=>Ns});var Ns=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Ed={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Th(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Lh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Th);document.addEventListener("click",Lh);var Cd=T`
|
|
47
|
+
`;var zc={};var ds={};V(ds,{ParametrizedLabelResolver:()=>so});var so=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ls={};V(Ls,{FtCommandQueue:()=>ao,FtLitElementRedux:()=>Mt,FtReduxStore:()=>Ft,FtStateManager:()=>yo,ReduxWatcher:()=>yn,clearAllStores:()=>Th,isFtReduxStore:()=>Sr,redux:()=>vr,reduxEventListener:()=>Nf,reduxReactive:()=>kf,watch:()=>Lh,withRedux:()=>Hc});var kf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},vr=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:et,attribute:!1,...e};g(s)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(c=>c[n]),store:e.store})}},Nf=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var ao=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==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 Sr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var lo=Symbol("internalReduxEventsUnsubscribers"),bt=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores"),Hc=me(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(c=>a.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[Dt].get(a)}addStore(a,c){var d;c=(d=c??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Dt].set(c,a),this.subscribeToStore(c,a),this.updateFromStores()}removeStore(a){let c=typeof a=="string"?a:a.name;this.unsubscribeFromStore(c),this[Dt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach((a,c)=>this.subscribeToStore(c,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(a.store);p&&(a.store?this[bt].has(a.store):this[bt].size>0)&&(this[c]=a.selector(p.getState(),this))}})}subscribeToStore(a,c){var d,p;this[bt].set(a,c.subscribe(()=>this.updateFromStores())),this[lo].set(a,[]),Sr(c)&&(!((d=c.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===c&&c.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",c.name)}),c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||c.name===h.store)){let m=x=>this[f](x);c.addEventListener(h.eventName,m),this[lo].get(a).push(()=>c.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[bt].forEach((a,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(a){var c;this[bt].has(a)&&this[bt].get(a)(),this[bt].delete(a),(c=this[lo].get(a))===null||c===void 0||c.forEach(d=>d()),this[lo].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=bt,r=Dt,n=lo,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Mt=class extends Hc(G){};function ge(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 Df=typeof Symbol=="function"&&Symbol.observable||"@@observable",Vc=Df,us=()=>Math.random().toString(36).substring(7).split("").join("."),Mf={INIT:`@@redux/INIT${us()}`,REPLACE:`@@redux/REPLACE${us()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${us()}`},Yo=Mf;function Xo(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function ps(t,e,r){if(typeof t!="function")throw new Error(ge(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ge(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ge(1));return r(ps)(t,e)}let n=t,i=e,s=new Map,a=s,c=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((E,I)=>{a.set(I,E)}))}function h(){if(d)throw new Error(ge(3));return i}function f(E){if(typeof E!="function")throw new Error(ge(4));if(d)throw new Error(ge(5));let I=!0;p();let D=c++;return a.set(D,E),function(){if(I){if(d)throw new Error(ge(6));I=!1,p(),a.delete(D),s=null}}}function m(E){if(!Xo(E))throw new Error(ge(7));if(typeof E.type>"u")throw new Error(ge(8));if(typeof E.type!="string")throw new Error(ge(17));if(d)throw new Error(ge(9));try{d=!0,i=n(i,E)}finally{d=!1}return(s=a).forEach(D=>{D()}),E}function x(E){if(typeof E!="function")throw new Error(ge(10));n=E,m({type:Yo.REPLACE})}function S(){let E=f;return{subscribe(I){if(typeof I!="object"||I===null)throw new Error(ge(11));function D(){let y=I;y.next&&y.next(h())}return D(),{unsubscribe:E(D)}},[Vc](){return this}}}return m({type:Yo.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:x,[Vc]:S}}function $f(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Yo.INIT})>"u")throw new Error(ge(12));if(typeof r(void 0,{type:Yo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ge(13))})}function fs(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let c=e[a];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,s;try{$f(r)}catch(a){s=a}return function(c={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],x=r[m],S=c[m],A=x(S,d);if(typeof A>"u"){let E=d&&d.type;throw new Error(ge(14))}h[m]=A,p=p||A!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function co(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function Wc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(ge(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},c=t.map(d=>d(a));return s=co(...c)(i.dispatch),{...i,dispatch:s}}}function Gc(t){return Xo(t)&&"type"in t&&typeof t.type=="string"}var ed=Symbol.for("immer-nothing"),jc=Symbol.for("immer-draftable"),xe=Symbol.for("immer-state");function Ke(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Pe=Object,Cr=Pe.getPrototypeOf,tn="constructor",ln="prototype",ys="configurable",rn="enumerable",Qo="writable",uo="value",it=t=>!!t&&!!t[xe];function ke(t){return t?td(t)||dn(t)||!!t[jc]||!!t[tn]?.[jc]||un(t)||mo(t):!1}var Ff=Pe[ln][tn].toString(),Kc=new WeakMap;function td(t){if(!t||!ws(t))return!1;let e=Cr(t);if(e===null||e===Pe[ln])return!0;let r=Pe.hasOwnProperty.call(e,tn)&&e[tn];if(r===Object)return!0;if(!Er(r))return!1;let n=Kc.get(r);return n===void 0&&(n=Function.toString.call(r),Kc.set(r,n)),n===Ff}function cn(t,e,r=!0){ho(t)===0?(r?Reflect.ownKeys(t):Pe.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function ho(t){let e=t[xe];return e?e.type_:dn(t)?1:un(t)?2:mo(t)?3:0}var hs=(t,e,r=ho(t))=>r===2?t.has(e):Pe[ln].hasOwnProperty.call(t,e),bs=(t,e,r=ho(t))=>r===2?t.get(e):t[e],on=(t,e,r,n=ho(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Uf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var dn=Array.isArray,un=t=>t instanceof Map,mo=t=>t instanceof Set,ws=t=>typeof t=="object",Er=t=>typeof t=="function",ms=t=>typeof t=="boolean";function Bf(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ft=t=>t.copy_||t.base_;var As=t=>t.modified_?t.copy_:t.base_;function xs(t,e){if(un(t))return new Map(t);if(mo(t))return new Set(t);if(dn(t))return Array[ln].slice.call(t);let r=td(t);if(e===!0||e==="class_only"&&!r){let n=Pe.getOwnPropertyDescriptors(t);delete n[xe];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],c=n[a];c[Qo]===!1&&(c[Qo]=!0,c[ys]=!0),(c.get||c.set)&&(n[a]={[ys]:!0,[Qo]:!0,[rn]:c[rn],[uo]:t[a]})}return Pe.create(Cr(t),n)}else{let n=Cr(t);if(n!==null&&r)return{...t};let i=Pe.create(n);return Pe.assign(i,t)}}function pn(t,e=!1){return fn(t)||it(t)||!ke(t)||(ho(t)>1&&Pe.defineProperties(t,{set:Jo,add:Jo,clear:Jo,delete:Jo}),Pe.freeze(t),e&&cn(t,(r,n)=>{pn(n,!0)},!1)),t}function zf(){Ke(2)}var Jo={[uo]:zf};function fn(t){return t===null||!ws(t)?!0:Pe.isFrozen(t)}var nn="MapSet",vs="Patches",Zc="ArrayMethods",rd={};function $t(t){let e=rd[t];return e||Ke(0,t),e}var qc=t=>!!rd[t];var po,od=()=>po,Hf=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:qc(nn)?$t(nn):void 0,arrayMethodsPlugin_:qc(Zc)?$t(Zc):void 0});function Yc(t,e){e&&(t.patchPlugin_=$t(vs),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function Ss(t){Es(t),t.drafts_.forEach(Vf),t.drafts_=null}function Es(t){t===po&&(po=t.parent_)}var Xc=t=>po=Hf(po,t);function Vf(t){let e=t[xe];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Jc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[xe].modified_&&(Ss(e),Ke(4)),ke(t)&&(t=Qc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[xe].base_,t,e)}else t=Qc(e,r);return Wf(e,t,!0),Ss(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==ed?t:void 0}function Qc(t,e){if(fn(e))return e;let r=e[xe];if(!r)return sn(e,t.handledSet_,t);if(!hn(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(t);sd(r,t)}return r.copy_}function Wf(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&pn(e,r)}function nd(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var hn=(t,e)=>t.scope_===e,Gf=[];function id(t,e,r,n){let i=ft(t),s=t.type_;if(n!==void 0&&bs(i,n,s)===e){on(i,n,r,s);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;cn(i,(d,p)=>{if(it(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let a=t.draftLocations_.get(e)??Gf;for(let c of a)on(i,c,r,s)}function jf(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!hn(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=As(s);id(t,s.draft_??s,a,r),sd(s,i)})}function sd(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}nd(t)}}function Kf(t,e,r){let{scope_:n}=t;if(it(r)){let i=r[xe];hn(i,n)&&i.callbacks_.push(function(){en(t);let a=As(i);id(t,r,a,e)})}else ke(r)&&t.callbacks_.push(function(){let s=ft(t);t.type_===3?s.has(r)&&sn(r,n.handledSet_,n):bs(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&sn(bs(t.copy_,e,t.type_),n.handledSet_,n)})}function sn(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||it(t)||e.has(t)||!ke(t)||fn(t)||(e.add(t),cn(t,(n,i)=>{if(it(i)){let s=i[xe];if(hn(s,r)){let a=As(s);on(t,n,a,t.type_),nd(s)}}else ke(i)&&sn(i,e,r)})),t}function Zf(t,e){let r=dn(t),n={type_:r?1:0,scope_:e?e.scope_:od(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=an;r&&(i=[n],s=fo);let{revoke:a,proxy:c}=Proxy.revocable(i,s);return n.draft_=c,n.revoke_=a,[c,n]}var an={get(t,e){if(e===xe)return t;let r=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let i=ft(t);if(!hs(i,e,t.type_))return Yf(t,i,e);let s=i[e];if(t.finalized_||!ke(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&Bf(e))return s;if(s===gs(t.base_,e)||qf(t,e,s)){en(t);let a=t.type_===1?+e:e,c=Os(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,e){return e in ft(t)},ownKeys(t){return Reflect.ownKeys(ft(t))},set(t,e,r){let n=ad(ft(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=gs(ft(t),e),s=i?.[xe];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Uf(r,i)&&(r!==void 0||hs(t.base_,e,t.type_)))return!0;en(t),Cs(t)}return t.copy_[e]===r&&(r!==void 0||hs(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),Kf(t,e,r)),!0},deleteProperty(t,e){return en(t),gs(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Cs(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=ft(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[Qo]:!0,[ys]:t.type_!==1||e!=="length",[rn]:n[rn],[uo]:r[e]}},defineProperty(){Ke(11)},getPrototypeOf(t){return Cr(t.base_)},setPrototypeOf(){Ke(12)}},fo={};for(let t in an){let e=an[t];fo[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}fo.deleteProperty=function(t,e){return fo.set.call(this,t,e,void 0)};fo.set=function(t,e,r){return an.set.call(this,t[0],e,r,t[0])};function gs(t,e){let r=t[xe];return(r?ft(r):t)[e]}function qf(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||!ke(r)||r[xe]?!1:t.baseRefs_.has(r)}function Yf(t,e,r){let n=ad(e,r);return n?uo in n?n[uo]:n.get?.call(t.draft_):void 0}function ad(t,e){if(!(e in t))return;let r=Cr(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Cr(r)}}function Cs(t){t.modified_||(t.modified_=!0,t.parent_&&Cs(t.parent_))}function en(t){t.copy_||(t.assigned_=new Map,t.copy_=xs(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Xf=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(Er(e)&&!Er(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}Er(r)||Ke(6),n!==void 0&&!Er(n)&&Ke(7);let i;if(ke(e)){let s=Xc(this),a=Os(s,e,void 0),c=!0;try{i=r(a),c=!1}finally{c?Ss(s):Es(s)}return Yc(s,n),Jc(i,s)}else if(!e||!ws(e)){if(i=r(e),i===void 0&&(i=e),i===ed&&(i=void 0),this.autoFreeze_&&pn(i,!0),n){let s=[],a=[];$t(vs).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else Ke(1,e)},this.produceWithPatches=(e,r)=>{if(Er(e))return(a,...c)=>this.produceWithPatches(a,d=>e(d,...c));let n,i;return[this.produce(e,r,(a,c)=>{n=a,i=c}),n,i]},ms(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),ms(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),ms(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){ke(t)||Ke(8),it(t)&&(t=ld(t));let e=Xc(this),r=Os(e,t,void 0);return r[xe].isManual_=!0,Es(e),r}finishDraft(t,e){let r=t&&t[xe];(!r||!r.isManual_)&&Ke(9);let{scope_:n}=r;return Yc(n,e),Jc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let i=e[r];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}r>-1&&(e=e.slice(r+1));let n=$t(vs).applyPatches_;return it(t)?n(t,e):this.produce(t,i=>n(i,e))}};function Os(t,e,r,n){let[i,s]=un(e)?$t(nn).proxyMap_(e,r):mo(e)?$t(nn).proxySet_(e,r):Zf(e,r);return(r?.scope_??od()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?jf(r,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function ld(t){return it(t)||Ke(10,t),cd(t)}function cd(t){if(!ke(t)||fn(t))return t;let e=t[xe],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=xs(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=xs(t,!0);let i=r;return mo(r)&&(r=new Set),cn(i,(s,a)=>{on(r,s,cd(a))},n),e&&(e.finalized_=!1),r}var Jf=globalThis.Iterator,y0=typeof Jf?.from=="function";var Qf=new Xf,_s=Qf.produce;function dd(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var ud=dd(),pd=dd;var eh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?co:co.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var th=t=>t&&typeof t.match=="function";function xt(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(st(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=n=>Gc(n)&&n.type===t,r}var yd=class go extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,go.prototype)}static get[Symbol.species](){return go}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new go(...e[0].concat(this)):new go(...e.concat(this))}};function fd(t){return ke(t)?_s(t,()=>{}):t}function mn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function rh(t){return typeof t=="boolean"}var oh=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new yd;return r&&(rh(r)?a.push(ud):a.push(pd(r.extraArgument))),a},nh="RTK_autoBatch";var hd=t=>e=>{setTimeout(e,t)},ih=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},sh=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?ih(window.requestAnimationFrame,100):hd(10):t.type==="callback"?t.queueNotification:hd(t.timeout),p=()=>{a=!1,s&&(s=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return c.add(h),()=>{m(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[nh],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},ah=t=>function(r){let{autoBatch:n=!0}=r??{},i=new yd(t);return n&&i.push(sh(typeof n=="object"?n:void 0)),i};function bd(t){let e=oh(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Xo(r))d=fs(r);else throw new Error(st(1));let p;typeof n=="function"?p=n(e):p=e();let h=co;i&&(h=eh({trace:!1,...typeof i=="object"&&i}));let f=Wc(...p),m=ah(f),x=typeof c=="function"?c(m):m(),S=h(...x);return ps(d,a,S)}function xd(t){let e={},r=[],n,i={addCase(s,a){let c=typeof s=="string"?s:s.type;if(!c)throw new Error(st(28));if(c in e)throw new Error(st(29));return e[c]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return r.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,r,n]}function lh(t){return typeof t=="function"}function ch(t,e){let[r,n,i]=xd(e),s;if(lh(t))s=()=>fd(t());else{let c=fd(t);s=()=>c}function a(c=s(),d){let p=[r[d.type],...n.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(it(h)){let m=f(h,d);return m===void 0?h:m}else{if(ke(h))return _s(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(st(9))}return m}}return h},c)}return a.getInitialState=s,a}var dh=(t,e)=>th(t)?t.match(e):t(e);function uh(...t){return e=>t.some(r=>dh(r,e))}var ph="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fh=(t=21)=>{let e="",r=t;for(;r--;)e+=ph[Math.random()*64|0];return e},hh=["name","message","stack","code"],Rs=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},md=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},mh=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of hh)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},gd="External signal was aborted",gh=(()=>{function t(e,r,n){let i=xt(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=xt(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=xt(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||mh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,m)=>{let x=n?.idGenerator?n.idGenerator(d):fh(),S=new AbortController,A,E;function I(b){E=b,S.abort()}p&&(p.aborted?I(gd):p.addEventListener("abort",()=>I(gd),{once:!0}));let D=(async function(){let b;try{let y=n?.condition?.(d,{getState:f,extra:m});if(bh(y)&&(y=await y),y===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let v=new Promise((O,$)=>{A=()=>{$({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",A,{once:!0})});h(s(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:m}))),b=await Promise.race([v,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:x,signal:S.signal,abort:I,rejectWithValue:((O,$)=>new Rs(O,$)),fulfillWithValue:((O,$)=>new md(O,$))})).then(O=>{if(O instanceof Rs)throw O;return O instanceof md?i(O.payload,x,d,O.meta):i(O,x,d)})])}catch(y){b=y instanceof Rs?a(null,x,d,y.payload,y.meta):a(y,x,d)}finally{A&&S.signal.removeEventListener("abort",A)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||h(b),b})();return Object.assign(D,{abort:I,requestId:x,arg:d,unwrap(){return D.then(yh)}})}}return Object.assign(c,{pending:s,rejected:a,fulfilled:i,settled:uh(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function yh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function bh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var vd=Symbol.for("rtk-slice-createasyncthunk"),w0={[vd]:gh};function xh(t,e){return`${t}/${e}`}function vh({creators:t}={}){let e=t?.asyncThunk?.[vd];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(st(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(Eh()):n.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(b,y){let v=typeof b=="string"?b:b.type;if(!v)throw new Error(st(12));if(v in d.sliceCaseReducersByType)throw new Error(st(13));return d.sliceCaseReducersByType[v]=y,p},addMatcher(b,y){return d.sliceMatchers.push({matcher:b,reducer:y}),p},exposeAction(b,y){return d.actionCreators[b]=y,p},exposeCaseReducer(b,y){return d.sliceCaseReducersByName[b]=y,p}};c.forEach(b=>{let y=a[b],v={reducerName:b,type:xh(i,b),createNotation:typeof n.reducers=="function"};Oh(y)?Ah(v,y,p,e):Ch(v,y,p)});function h(){let[b={},y=[],v=void 0]=typeof n.extraReducers=="function"?xd(n.extraReducers):[n.extraReducers],O={...b,...d.sliceCaseReducersByType};return ch(n.initialState,$=>{for(let Z in O)$.addCase(Z,O[Z]);for(let Z of d.sliceMatchers)$.addMatcher(Z.matcher,Z.reducer);for(let Z of y)$.addMatcher(Z.matcher,Z.reducer);v&&$.addDefaultCase(v)})}let f=b=>b,m=new Map,x=new WeakMap,S;function A(b,y){return S||(S=h()),S(b,y)}function E(){return S||(S=h()),S.getInitialState()}function I(b,y=!1){function v($){let Z=$[b];return typeof Z>"u"&&y&&(Z=mn(x,v,E)),Z}function O($=f){return mn(mn(m,y,()=>new WeakMap),$,()=>{let Z={};for(let[oe,k]of Object.entries(n.selectors??{}))Z[oe]=Sh(k,$,()=>mn(x,$,E),y);return Z})}return{reducerPath:b,getSelectors:O,get selectors(){return O(v)},selectSlice:v}}let D={name:i,reducer:A,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...I(s),injectInto(b,{reducerPath:y,...v}={}){let O=y??s;return b.inject({reducerPath:O,reducer:A},v),{...D,...I(O,!0)}}};return D}}function Sh(t,e,r,n){function i(s,...a){let c=e(s);return typeof c>"u"&&n&&(c=r()),t(c,...a)}return i.unwrapped=t,i}var Sd=vh();function Eh(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function Ch({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!wh(n))throw new Error(st(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?xt(t,a):xt(t))}function Oh(t){return t._reducerDefinitionType==="asyncThunk"}function wh(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Ah({type:t,reducerName:e},r,n,i){if(!i)throw new Error(st(18));let{payloadCreator:s,fulfilled:a,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||gn,pending:c||gn,rejected:d||gn,settled:p||gn})}function gn(){}var Ed="listener",Cd="completed",Od="cancelled",A0=`task-${Od}`,_0=`task-${Cd}`,R0=`${Ed}-${Od}`,T0=`${Ed}-${Cd}`;var{assign:wd}=Object;var Ts="listenerMiddleware";var _h=wd(xt(`${Ts}/add`),{withTypes:()=>_h}),L0=xt(`${Ts}/removeAll`),Rh=wd(xt(`${Ts}/remove`),{withTypes:()=>Rh});function st(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Ft=class t extends ct{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Sr(s))return s;if(i==null)return;let a=Sd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=bd({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=We(a.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,c,i.eventBus,i.deprecatedKeys)}constructor(e,r,n,i){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new ao,this.injectInto=(a,c)=>this.reduxSlice.injectInto(a,c),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,d)=>{let p=c,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,x=this.getState()[m];le(x,f)||this.setState({[m]:s(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Th(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Sr(e)&&e.clear()}var yn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}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);et(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 Lh(t,e,r){return new yn(t,e,r).watch()}var yo=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 n of r)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var ks={};V(ks,{scrollHelper:()=>Ih});var Is,bn=new Map,Ps=class{lock(e,r){if(r){let n=bn.get(r);if(n==null||n===e)return bn.set(r,e),r}}release(e,r){r&&bn.get(r)===e&&bn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of mi(e)){let a=s,c=this.elementCanScroll(a);if(c&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else c&&i==null&&(i=a)}return(r=n??i)!==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 n,i;let s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return s+((i=r?.offsetTop)!==null&&i!==void 0?i: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 n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),s=i-n.clientHeight+e.clientHeight,a=i,c=_t(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,c)*(s-a)+a;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Is=window.FluidTopicsScrollHelper)!==null&&Is!==void 0?Is:new Ps;var Ih=window.FluidTopicsScrollHelper;var Ds={};V(Ds,{toFtFormComponent:()=>bo});var Ns=Symbol("elementInternals"),bo=me(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ns].form}constructor(...n){super(n),this[Ns]=this.attachInternals()}setFormValue(n){this[Ns].setFormValue(n)}}return e});var Ms={};V(Ms,{DateFormatter:()=>Ut});var Ut=class{static format(e,r,n,i,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,r,n,i,!!s)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,s){let a=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:i?`${c} ${d}`:c}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Fs={};V(Fs,{ALL_KEYS_VALUE:()=>$s,SameWindowStorageEvent:()=>Or});var $s="__all__",Or=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==$s}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Or(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Or(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Or($s))}});var Bs={};V(Bs,{FocusMainContentEvent:()=>Us});var Us=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Ad={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Ph(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function kh(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Ph);document.addEventListener("click",kh);var xn=T`
|
|
48
48
|
.sr-only {
|
|
49
49
|
position:absolute;
|
|
50
50
|
left:-10000px;
|
|
@@ -68,7 +68,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
68
68
|
width:auto;
|
|
69
69
|
height:auto;
|
|
70
70
|
}
|
|
71
|
-
`;var
|
|
71
|
+
`;var zs={};V(zs,{withAriaNotification:()=>Dh});var Nh={checkVisibility:!0},Dh=me(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Nh,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new jr({type:"aria",message:n})))},20)}}return e});var Hs={};V(Hs,{withConditionalVisibility:()=>Mh});var _d=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};function Mh(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return _d([g({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),_d([N()],e.prototype,"isVisible",void 0),e}var Ws={};V(Ws,{FormController:()=>Vs});function $h(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var Vs=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=$h(r),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,r){if(this.data[e]===r)return;let n={...this.data};n[e]=r,this.data=n,this.checkValidity()}bind(e){return r=>this.setValue(e,r.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,r){var n,i;let s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,r);s!==void 0&&this.errors.set(e,s)}checkValidity(e){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let r=this.config[e].selector;if(this.errors.has(e)&&r!==void 0)return r}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let r=this.host.renderRoot.querySelector(e);r instanceof HTMLElement&&r.focus()}async submit(e){var r,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=e.onInvalid)===null||r===void 0||r.call(e);return}e.onSuccess(await e.request(this.data))}catch(s){let a=Ci(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var js={};V(js,{MetadataValueLocalizer:()=>Gs});var Gs=class{constructor(e){this.contentLocales=e}localize(e){var r,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(n=>n.lang===e.value))===null||r===void 0?void 0:r.label}};function Ks(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function Bt(t,e,r){return t?e(t):r?.(t)}var ue=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},zt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(zt||(zt={}));var vt;(function(t){t.default="default",t.warning="warning",t.error="error"})(vt||(vt={}));var Zs=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var mS=me(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=zt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=vt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===zt.blur||this.validateOn===zt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==vt.default&&this.validateOn===zt.blurWithStatusResolutionOnInput||this.validateOn===zt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Ks(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Ks(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Zs(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return w`
|
|
72
72
|
<ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
|
|
73
73
|
style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
|
|
74
74
|
${Oe(this.errorMessages,n=>w`
|
|
@@ -81,7 +81,7 @@ Also for action icons.`,l.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?xt.error:this.warningMessages.length?xt.warning:xt.default}}return ue([g()],e.prototype,"warningRules",void 0),ue([g()],e.prototype,"errorRules",void 0),ue([g()],e.prototype,"validateOn",void 0),ue([g({type:Boolean})],e.prototype,"validateAtRender",void 0),ue([g()],e.prototype,"label",void 0),ue([g({type:Boolean})],e.prototype,"hideLabel",void 0),ue([g()],e.prototype,"name",void 0),ue([g({type:Boolean})],e.prototype,"disabled",void 0),ue([g()],e.prototype,"helperText",void 0),ue([g()],e.prototype,"forceStatus",void 0),ue([g({reflect:!0})],e.prototype,"value",void 0),ue([D()],e.prototype,"errorMessages",void 0),ue([D()],e.prototype,"warningMessages",void 0),ue([D()],e.prototype,"status",void 0),ue([D()],e.prototype,"focused",void 0),ue([D()],e.prototype,"additionalWarningRules",void 0),ue([D()],e.prototype,"additionalErrorRules",void 0),ue([D()],e.prototype,"forceErrorMessages",void 0),e});var yo=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),yo(n,e);return!0},xn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},wd=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),Fh(e)}};function Mh(t){this._$AN!==void 0?(xn(this),this._$AM=t,wd(this)):this._$AM=t}function $h(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let s=r;s<n.length;s++)yo(n[s],!1),xn(n[s]);else n!=null&&(yo(n,!1),xn(n));else yo(this,t)}var Fh=t=>{t.type==Qe.CHILD&&(t._$AP??=$h,t._$AQ??=Mh)},wr=class extends Fe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),wd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(yo(this,e),xn(this))}setValue(e){if(Ma(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 Ws=class extends wr{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 n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,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,n;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof $e&&await e.updateComplete}isInsideElement(e,r){for(let n=e;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},zS=Ie(Ws);var Ad;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Ad||(Ad={}));var Uh={sm:640,md:768,lg:1024,xl:1280},Gs=class extends wr{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,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),s=n??(()=>P);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:Uh[e]}},GS=Ie(Gs);var bo=class t{static isShadowRoot(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}static getShadowRoots(e){let r=[],n=e.getRootNode();for(;t.isShadowRoot(n);)r.push(n),n=n.host.getRootNode();return r}static compareDeepPosition(e,r){if(e===r)return 0;let n=t.getShadowRoots(e),i=t.getShadowRoots(r),s=n.findIndex(p=>i.includes(p)),a=s<0?-1:i.findIndex(p=>p===n[s]),c=s===0||n.length===0?e:n[(s<0?n.length:s)-1].host,d=a===0||i.length===0?r:i[(a<0?i.length:a)-1].host;return c===d?c===e?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:c.compareDocumentPosition(d)}static getDeepActiveElement(){var e;if(!document.activeElement)return null;let r=document.activeElement;for(;!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement;)r=r.shadowRoot.activeElement;return r}};var js=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Ks)return!1;let r=bo.getDeepActiveElement();if(!r)return!0;let n=bo.compareDeepPosition(r,e);return(n&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(n&Node.DOCUMENT_POSITION_CONTAINS)===0||(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=js;var Zs,qs,Ys,Xs,Js=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ys=(qs=(Zs=window.safari)===null||Zs===void 0?void 0:Zs.pushNotification)===null||qs===void 0?void 0:qs.toString())!==null&&Ys!==void 0?Ys:"")==="[object SafariRemoteNotification]",Ks="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Xs=window.ftGlobals)!==null&&Xs!==void 0?Xs:{lit:Xn,litDecorators:ei,litRepeat:ti,litClassMap:ri,litStyleMap:oi,litUnsafeHTML:ni,wcUtils:{...ii,...gi,...si,...Ai,...Is,..._i,...ai,...Ii,...mi,...Gi,...Ds,...Ed,...Rs,...ji,...Li,...Ji,...Ls,...Yi,...Ms,...$s,...Dc,...ui,...ts,...zs,...Pi,...ns,...Cd,...$c,...is,...ws,...ks,...Ki,...qi,...vi,...Ci,...Us,isSafari:Js,isTouchScreen:Ks,setVariable:I}};var _e=t=>t??P;var Rd=Symbol.for(""),Bh=t=>{if(t?.r===Rd)return t?._$litStatic$},Qs=t=>({_$litStatic$:t,r:Rd});var _d=new Map,ea=t=>(e,...r)=>{let n=r.length,i,s,a=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=r[p],(i=Bh(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=_d.get(f))===void 0&&(a.raw=a,_d.set(f,e=a)),r=c}return t(e,...r)},ta=ea(w),tC=ea(jn),rC=ea(Kn);var ve;(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"})(ve||(ve={}));var Td=o.extend("--ft-typography-font-family","",_.titleFont),ft=o.extend("--ft-typography-font-family","",_.contentFont),R={fontFamily:ft,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"),textDecoration:o.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Ht={fontFamily:o.extend("--ft-typography-title-font-family","",Td),fontSize:o.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-text-decoration","",R.textDecoration,"inherit")},Vt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Td),fontSize:o.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-dense-text-decoration","",R.textDecoration,"inherit")},Wt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",ft),fontSize:o.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle1-text-decoration","",R.textDecoration,"inherit")},Gt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",ft),fontSize:o.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle2-text-decoration","",R.textDecoration,"inherit")},Ne={fontFamily:o.extend("--ft-typography-body1-font-family","",ft),fontSize:o.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body1-text-decoration","",R.textDecoration,"inherit")},jt={fontFamily:o.extend("--ft-typography-body2-font-family","",ft),fontSize:o.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body2-text-decoration","",R.textDecoration,"inherit")},Re={fontFamily:o.extend("--ft-typography-caption-font-family","",ft),fontSize:o.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-caption-text-decoration","",R.textDecoration,"inherit")},Kt={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",ft),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-breadcrumb-text-decoration","",R.textDecoration,"inherit")},Zt={fontFamily:o.extend("--ft-typography-overline-font-family","",ft),fontSize:o.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-overline-text-decoration","",R.textDecoration,"inherit")},Ze={fontFamily:o.extend("--ft-typography-button-font-family","",ft),fontSize:o.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-button-text-decoration","",R.textDecoration,"inherit")},Ld=T`
|
|
84
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?vt.error:this.warningMessages.length?vt.warning:vt.default}}return ue([g()],e.prototype,"warningRules",void 0),ue([g()],e.prototype,"errorRules",void 0),ue([g()],e.prototype,"validateOn",void 0),ue([g({type:Boolean})],e.prototype,"validateAtRender",void 0),ue([g()],e.prototype,"label",void 0),ue([g({type:Boolean})],e.prototype,"hideLabel",void 0),ue([g()],e.prototype,"name",void 0),ue([g({type:Boolean})],e.prototype,"disabled",void 0),ue([g()],e.prototype,"helperText",void 0),ue([g()],e.prototype,"forceStatus",void 0),ue([g({reflect:!0})],e.prototype,"value",void 0),ue([N()],e.prototype,"errorMessages",void 0),ue([N()],e.prototype,"warningMessages",void 0),ue([N()],e.prototype,"status",void 0),ue([N()],e.prototype,"focused",void 0),ue([N()],e.prototype,"additionalWarningRules",void 0),ue([N()],e.prototype,"additionalErrorRules",void 0),ue([N()],e.prototype,"forceErrorMessages",void 0),e});var xo=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),xo(n,e);return!0},vn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Rd=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),zh(e)}};function Uh(t){this._$AN!==void 0?(vn(this),this._$AM=t,Rd(this)):this._$AM=t}function Bh(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let s=r;s<n.length;s++)xo(n[s],!1),vn(n[s]);else n!=null&&(xo(n,!1),vn(n));else xo(this,t)}var zh=t=>{t.type==Qe.CHILD&&(t._$AP??=Bh,t._$AQ??=Uh)},wr=class extends Ue{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Rd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(xo(this,e),vn(this))}setValue(e){if(Ba(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 qs=class extends wr{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 n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,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,n;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof Fe&&await e.updateComplete}isInsideElement(e,r){for(let n=e;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},WS=Ie(qs);var Td;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Td||(Td={}));var Hh={sm:640,md:768,lg:1024,xl:1280},Ys=class extends wr{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,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),s=n??(()=>P);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:Hh[e]}},ZS=Ie(Ys);var vo=class t{static isShadowRoot(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}static getShadowRoots(e){let r=[],n=e.getRootNode();for(;t.isShadowRoot(n);)r.push(n),n=n.host.getRootNode();return r}static compareDeepPosition(e,r){if(e===r)return 0;let n=t.getShadowRoots(e),i=t.getShadowRoots(r),s=n.findIndex(p=>i.includes(p)),a=s<0?-1:i.findIndex(p=>p===n[s]),c=s===0||n.length===0?e:n[(s<0?n.length:s)-1].host,d=a===0||i.length===0?r:i[(a<0?i.length:a)-1].host;return c===d?c===e?Node.DOCUMENT_POSITION_CONTAINED_BY:Node.DOCUMENT_POSITION_CONTAINS:c.compareDocumentPosition(d)}static getDeepActiveElement(){var e;if(!document.activeElement)return null;let r=document.activeElement;for(;!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement;)r=r.shadowRoot.activeElement;return r}};var Xs=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Js)return!1;let r=vo.getDeepActiveElement();if(!r)return!0;let n=vo.compareDeepPosition(r,e);return(n&(Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))!==0?!1:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0&&(n&Node.DOCUMENT_POSITION_CONTAINS)===0||(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}};window.FluidTopicsFocusHelper=Xs;var Qs,ea,ta,ra,oa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ta=(ea=(Qs=window.safari)===null||Qs===void 0?void 0:Qs.pushNotification)===null||ea===void 0?void 0:ea.toString())!==null&&ta!==void 0?ta:"")==="[object SafariRemoteNotification]",Js="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ra=window.ftGlobals)!==null&&ra!==void 0?ra:{lit:ri,litDecorators:ii,litRepeat:si,litClassMap:ai,litStyleMap:li,litUnsafeHTML:ci,wcUtils:{...di,...Si,...ui,...Ii,...Ms,...Pi,...pi,...Mi,...vi,...Yi,...Bs,...Ad,...ks,...Xi,...Di,...os,...Ds,...ts,...zs,...Hs,...Uc,...gi,...ss,...js,...$i,...cs,...xn,...zc,...ds,...Ls,...Fs,...Ji,...es,...wi,...Ri,...Ws,isSafari:oa,isTouchScreen:Js,setVariable:L}};var _e=t=>t??P;var Id=Symbol.for(""),Vh=t=>{if(t?.r===Id)return t?._$litStatic$},na=t=>({_$litStatic$:t,r:Id});var Ld=new Map,ia=t=>(e,...r)=>{let n=r.length,i,s,a=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=r[p],(i=Vh(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=Ld.get(f))===void 0&&(a.raw=a,Ld.set(f,e=a)),r=c}return t(e,...r)},sa=ia(w),nC=ia(Xn),iC=ia(Jn);var Se;(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"})(Se||(Se={}));var Pd=o.extend("--ft-typography-font-family","",_.titleFont),ht=o.extend("--ft-typography-font-family","",_.contentFont),R={fontFamily:ht,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"),textDecoration:o.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Ht={fontFamily:o.extend("--ft-typography-title-font-family","",Pd),fontSize:o.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-text-decoration","",R.textDecoration,"inherit")},Vt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Pd),fontSize:o.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-dense-text-decoration","",R.textDecoration,"inherit")},Wt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",ht),fontSize:o.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle1-text-decoration","",R.textDecoration,"inherit")},Gt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",ht),fontSize:o.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle2-text-decoration","",R.textDecoration,"inherit")},Ne={fontFamily:o.extend("--ft-typography-body1-font-family","",ht),fontSize:o.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body1-text-decoration","",R.textDecoration,"inherit")},jt={fontFamily:o.extend("--ft-typography-body2-font-family","",ht),fontSize:o.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body2-text-decoration","",R.textDecoration,"inherit")},Re={fontFamily:o.extend("--ft-typography-caption-font-family","",ht),fontSize:o.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-caption-text-decoration","",R.textDecoration,"inherit")},Kt={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",ht),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-breadcrumb-text-decoration","",R.textDecoration,"inherit")},Zt={fontFamily:o.extend("--ft-typography-overline-font-family","",ht),fontSize:o.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-overline-text-decoration","",R.textDecoration,"inherit")},Ze={fontFamily:o.extend("--ft-typography-button-font-family","",ht),fontSize:o.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-button-text-decoration","",R.textDecoration,"inherit")},kd=T`
|
|
85
85
|
.ft-typography--title {
|
|
86
86
|
font-family: ${Ht.fontFamily};
|
|
87
87
|
font-size: ${Ht.fontSize};
|
|
@@ -91,7 +91,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
91
91
|
text-transform: ${Ht.textTransform};
|
|
92
92
|
text-decoration: ${Ht.textDecoration};
|
|
93
93
|
}
|
|
94
|
-
`,
|
|
94
|
+
`,Nd=T`
|
|
95
95
|
.ft-typography--title-dense {
|
|
96
96
|
font-family: ${Vt.fontFamily};
|
|
97
97
|
font-size: ${Vt.fontSize};
|
|
@@ -101,7 +101,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
101
101
|
text-transform: ${Vt.textTransform};
|
|
102
102
|
text-decoration: ${Vt.textDecoration};
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,Dd=T`
|
|
105
105
|
.ft-typography--subtitle1 {
|
|
106
106
|
font-family: ${Wt.fontFamily};
|
|
107
107
|
font-size: ${Wt.fontSize};
|
|
@@ -111,7 +111,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
111
111
|
text-transform: ${Wt.textTransform};
|
|
112
112
|
text-decoration: ${Wt.textDecoration};
|
|
113
113
|
}
|
|
114
|
-
`,
|
|
114
|
+
`,Md=T`
|
|
115
115
|
.ft-typography--subtitle2 {
|
|
116
116
|
font-family: ${Gt.fontFamily};
|
|
117
117
|
font-size: ${Gt.fontSize};
|
|
@@ -122,7 +122,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
122
122
|
text-decoration: ${Gt.textDecoration};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
`,
|
|
125
|
+
`,Sn=T`
|
|
126
126
|
.ft-typography--body1 {
|
|
127
127
|
font-family: ${Ne.fontFamily};
|
|
128
128
|
font-size: ${Ne.fontSize};
|
|
@@ -132,7 +132,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
132
132
|
text-transform: ${Ne.textTransform};
|
|
133
133
|
text-decoration: ${Ne.textDecoration};
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
135
|
+
`,En=T`
|
|
136
136
|
.ft-typography--body2 {
|
|
137
137
|
font-family: ${jt.fontFamily};
|
|
138
138
|
font-size: ${jt.fontSize};
|
|
@@ -152,7 +152,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
152
152
|
text-transform: ${Re.textTransform};
|
|
153
153
|
text-decoration: ${Re.textDecoration};
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
`,$d=T`
|
|
156
156
|
.ft-typography--breadcrumb {
|
|
157
157
|
font-family: ${Kt.fontFamily};
|
|
158
158
|
font-size: ${Kt.fontSize};
|
|
@@ -162,7 +162,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
162
162
|
text-transform: ${Kt.textTransform};
|
|
163
163
|
text-decoration: ${Kt.textDecoration};
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,Fd=T`
|
|
166
166
|
.ft-typography--overline {
|
|
167
167
|
font-family: ${Zt.fontFamily};
|
|
168
168
|
font-size: ${Zt.fontSize};
|
|
@@ -172,7 +172,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
172
172
|
text-transform: ${Zt.textTransform};
|
|
173
173
|
text-decoration: ${Zt.textDecoration};
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
175
|
+
`,Ud=T`
|
|
176
176
|
.ft-typography--button {
|
|
177
177
|
font-family: ${Ze.fontFamily};
|
|
178
178
|
font-size: ${Ze.fontSize};
|
|
@@ -182,19 +182,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
182
182
|
text-transform: ${Ze.textTransform};
|
|
183
183
|
text-decoration: ${Ze.textDecoration};
|
|
184
184
|
}
|
|
185
|
-
|
|
185
|
+
`,Bd=T`
|
|
186
186
|
.ft-typography {
|
|
187
187
|
vertical-align: inherit;
|
|
188
188
|
}
|
|
189
|
-
`;var
|
|
190
|
-
<${
|
|
189
|
+
`;var zd=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ye=class extends G{constructor(){super(...arguments),this.variant=Se.body1}render(){return this.element?sa`
|
|
190
|
+
<${na(this.element)}
|
|
191
191
|
part="text"
|
|
192
192
|
class="ft-typography ft-typography--${this.variant}">
|
|
193
193
|
<slot></slot>
|
|
194
|
-
</${
|
|
195
|
-
`:
|
|
194
|
+
</${na(this.element)}>
|
|
195
|
+
`:sa`
|
|
196
196
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
197
|
-
`}};ye.styles=[
|
|
197
|
+
`}};ye.styles=[kd,Nd,Dd,Md,Sn,En,Ar,$d,Fd,Ud,Bd];zd([g()],ye.prototype,"element",void 0);zd([g()],ye.prototype,"variant",void 0);var Hd={"ft-typography":ye};J(Hd);var U={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",_.colorOutline),textColor:o.extend("--ft-input-label-text-color","",_.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",_.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",_.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",_.borderRadiusS),colorError:o.external(_.colorError,"Design system")},Vd=T`
|
|
198
198
|
.ft-input-label {
|
|
199
199
|
position: absolute;
|
|
200
200
|
inset: 0;
|
|
@@ -240,8 +240,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
240
240
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
241
241
|
max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
242
242
|
text-overflow: ellipsis;
|
|
243
|
-
${
|
|
244
|
-
${
|
|
243
|
+
${L(Re.fontSize,U.fontSize)};
|
|
244
|
+
${L(Re.lineHeight,U.fontSize)};
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -273,8 +273,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.ft-input-label--raised .ft-input-label--text {
|
|
276
|
-
${
|
|
277
|
-
${
|
|
276
|
+
${L(Re.fontSize,U.raisedFontSize)};
|
|
277
|
+
${L(Re.lineHeight,U.raisedFontSize)};
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -288,7 +288,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
288
288
|
border-radius: ${U.borderRadius};
|
|
289
289
|
top: calc((${Re.lineHeight} / -2) + 2px);
|
|
290
290
|
}
|
|
291
|
-
`;var
|
|
291
|
+
`;var Wd=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},qt=class extends G{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return w`
|
|
292
292
|
<div class="${ae(this.inputLabelClasses)}">
|
|
293
293
|
${Bt(this.text,()=>w`
|
|
294
294
|
<div class="ft-input-label--text ft-typography--caption">
|
|
@@ -297,7 +297,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
297
297
|
</div>
|
|
298
298
|
`)}
|
|
299
299
|
</div>
|
|
300
|
-
`}};qt.elementDefinitions={};
|
|
300
|
+
`}};qt.elementDefinitions={};Wd([g({type:String})],qt.prototype,"text",void 0);Wd([g({type:Boolean})],qt.prototype,"raised",void 0);var aa=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},De=class extends qt{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}}};De.elementDefinitions={};De.styles=[Ar,Vd];aa([g({type:Boolean})],De.prototype,"outlined",void 0);aa([g({type:Boolean})],De.prototype,"error",void 0);aa([g({type:Boolean})],De.prototype,"disabled",void 0);var Gd={"ft-input-label":De};J(Gd);var jd=o.extend("--ft-ripple-color","",_.colorContent),Q={color:jd,backgroundColor:o.extend("--ft-ripple-background-color","",jd),opacityContentOnSurfacePressed:o.external(_.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(_.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(_.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(_.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Kd=o.extend("--ft-ripple-color","",_.colorPrimary),Zd={color:Kd,backgroundColor:o.extend("--ft-ripple-background-color","",Kd)},qd=o.extend("--ft-ripple-color","",_.colorSecondary),Yd={color:qd,backgroundColor:o.extend("--ft-ripple-background-color","",qd)},Xd=T`
|
|
301
301
|
:host {
|
|
302
302
|
display: contents;
|
|
303
303
|
}
|
|
@@ -352,19 +352,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
355
|
-
background-color: ${
|
|
355
|
+
background-color: ${Yd.backgroundColor};
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
359
|
-
background-color: ${
|
|
359
|
+
background-color: ${Yd.color};
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
363
|
-
background-color: ${
|
|
363
|
+
background-color: ${Zd.backgroundColor};
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
367
|
-
background-color: ${
|
|
367
|
+
background-color: ${Zd.color};
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
.ft-ripple .ft-ripple--background {
|
|
@@ -409,7 +409,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
409
409
|
opacity: ${Q.opacityContentOnSurfacePressed};
|
|
410
410
|
transform: translate(-50%, -50%) scale(1);
|
|
411
411
|
}
|
|
412
|
-
`;var Te=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Y=class extends
|
|
412
|
+
`;var Te=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Y=class extends G{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new we(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new we(10),this.moveRipple=e=>{var r,n;let{x:i,y:s}=this.getCoordinates(e),a=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-a.x:a.width/2),this.originY=Math.round(s!=null?s-a.y:a.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return w`
|
|
413
413
|
<style>
|
|
414
414
|
.ft-ripple .ft-ripple--effect {
|
|
415
415
|
left: ${this.originX}px;
|
|
@@ -420,7 +420,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
420
420
|
<div class="ft-ripple--background"></div>
|
|
421
421
|
<div class="ft-ripple--effect"></div>
|
|
422
422
|
</div>
|
|
423
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),s=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",n,a),e.addEventListener("touchstart",i,a),e.addEventListener("touchmove",this.moveRipple,a),e.addEventListener("keydown",s,a),e.addEventListener("focus",this.startFocus,a),e.addEventListener("blur",this.endFocus,a),e.addEventListener("focusin",this.startFocus,a),e.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,a),e.removeEventListener("mousemove",this.moveRipple,a),e.removeEventListener("mouseleave",this.endHover,a),e.removeEventListener("mousedown",n,a),e.removeEventListener("touchstart",i,a),e.removeEventListener("touchmove",this.moveRipple,a),e.removeEventListener("keydown",s,a),e.removeEventListener("focus",this.startFocus,a),e.removeEventListener("blur",this.endFocus,a),e.removeEventListener("focusin",this.startFocus,a),e.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=
|
|
423
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),s=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",n,a),e.addEventListener("touchstart",i,a),e.addEventListener("touchmove",this.moveRipple,a),e.addEventListener("keydown",s,a),e.addEventListener("focus",this.startFocus,a),e.addEventListener("blur",this.endFocus,a),e.addEventListener("focusin",this.startFocus,a),e.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,a),e.removeEventListener("mousemove",this.moveRipple,a),e.removeEventListener("mouseleave",this.endHover,a),e.removeEventListener("mousedown",n,a),e.removeEventListener("touchstart",i,a),e.removeEventListener("touchmove",this.moveRipple,a),e.removeEventListener("keydown",s,a),e.removeEventListener("focus",this.startFocus,a),e.removeEventListener("blur",this.endFocus,a),e.removeEventListener("focusin",this.startFocus,a),e.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=Xd;Te([g({type:Boolean})],Y.prototype,"primary",void 0);Te([g({type:Boolean})],Y.prototype,"secondary",void 0);Te([g({type:Boolean})],Y.prototype,"unbounded",void 0);Te([g({type:Boolean})],Y.prototype,"activated",void 0);Te([g({type:Boolean})],Y.prototype,"selected",void 0);Te([g({type:Boolean})],Y.prototype,"disabled",void 0);Te([N()],Y.prototype,"hovered",void 0);Te([N()],Y.prototype,"focused",void 0);Te([N()],Y.prototype,"pressed",void 0);Te([N()],Y.prototype,"rippling",void 0);Te([N()],Y.prototype,"originX",void 0);Te([N()],Y.prototype,"originY",void 0);Te([q(".ft-ripple")],Y.prototype,"ripple",void 0);Te([q(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);var Jd={"ft-ripple":Y};J(Jd);var ve={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Qd=[T`
|
|
424
424
|
:host, i.ft-icon {
|
|
425
425
|
display: inline-flex;
|
|
426
426
|
align-items: center;
|
|
@@ -429,14 +429,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
:host {
|
|
432
|
-
width: ${
|
|
433
|
-
height: ${
|
|
432
|
+
width: ${ve.size};
|
|
433
|
+
height: ${ve.size};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
i.ft-icon {
|
|
437
437
|
width: 100%;
|
|
438
438
|
height: 100%;
|
|
439
|
-
font-size: ${
|
|
439
|
+
font-size: ${ve.size};
|
|
440
440
|
line-height: 1;
|
|
441
441
|
font-weight: normal;
|
|
442
442
|
text-transform: none;
|
|
@@ -447,33 +447,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
447
447
|
text-rendering: auto;
|
|
448
448
|
-webkit-font-smoothing: antialiased;
|
|
449
449
|
-moz-osx-font-smoothing: grayscale;
|
|
450
|
-
vertical-align: ${
|
|
450
|
+
vertical-align: ${ve.verticalAlign};
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
i.ft-icon.ft-icon--fluid-topics {
|
|
454
|
-
font-family: ${
|
|
454
|
+
font-family: ${ve.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
455
455
|
|
|
456
456
|
/* Ugly fix because font is broken */
|
|
457
|
-
font-size: calc(0.75 * ${
|
|
458
|
-
line-height: ${
|
|
457
|
+
font-size: calc(0.75 * ${ve.size});
|
|
458
|
+
line-height: ${ve.size};
|
|
459
459
|
position: relative;
|
|
460
460
|
top: -4%;
|
|
461
461
|
justify-content: center;
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-icon--file-format {
|
|
465
|
-
font-family: ${
|
|
465
|
+
font-family: ${ve.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
.ft-icon--material {
|
|
469
|
-
font-family: ${
|
|
469
|
+
font-family: ${ve.materialFontFamily}, "Material Icons", sans-serif;
|
|
470
470
|
}
|
|
471
|
-
`,
|
|
471
|
+
`,io];var at;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(at||(at={}));var Me;(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="󨃱"})(Me||(Me={}));var C;(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=""})(C||(C={}));var vO=new Map([...["abw"].map(t=>[t,C.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,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.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,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.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,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.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,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var SO={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var So=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ce=class extends G{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=P}render(){let e=this.variant&&Object.values(at).includes(this.variant)?this.variant:at.fluid_topics,r=e!==at.material||!!this.value;return w`
|
|
472
472
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
473
|
-
${
|
|
473
|
+
${Vr(this.resolvedIcon)}
|
|
474
474
|
<slot ?hidden=${r}></slot>
|
|
475
475
|
</i>
|
|
476
|
-
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.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 n=this.value||this.getTextContent();switch(this.variant){case
|
|
476
|
+
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.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 n=this.value||this.getTextContent();switch(this.variant){case at.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case at.material:this.resolvedIcon=this.value||P;break;default:this.resolvedIcon=(r=Me[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ce.elementDefinitions={};ce.styles=Qd;So([g()],ce.prototype,"variant",void 0);So([g()],ce.prototype,"value",void 0);So([g({reflect:!0,attribute:"aria-hidden"})],ce.prototype,"ariaHidden",void 0);So([N()],ce.prototype,"resolvedIcon",void 0);So([q("slot")],ce.prototype,"slottedContent",void 0);var eu={"ft-icon":ce};J(eu);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","",_.colorOnSurface),helperColor:o.extend("--ft-select-helper-color","",_.colorOnSurfaceMedium),optionsColor:o.extend("--ft-select-options-color","",_.colorOnSurface),optionsZIndex:o.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-select-background-color","",_.colorSurface),colorOnSurfaceDisabled:o.external(_.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(_.colorPrimary,"Design system"),borderRadiusS:o.external(_.borderRadiusS,"Design system"),elevation02:o.external(_.elevation02,"Design system"),colorError:o.external(_.colorError,"Design system")},tu=T`
|
|
477
477
|
*:focus {
|
|
478
478
|
outline: none;
|
|
479
479
|
}
|
|
@@ -488,7 +488,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
488
488
|
.ft-select--main-panel {
|
|
489
489
|
position: relative;
|
|
490
490
|
display: flex;
|
|
491
|
-
height: calc(4 * ${
|
|
491
|
+
height: calc(4 * ${H.verticalSpacing} + ${H.labelSize} + ${H.selectedOptionSize});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-select--input-panel {
|
|
@@ -497,17 +497,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
497
497
|
display: flex;
|
|
498
498
|
align-items: center;
|
|
499
499
|
overflow: hidden;
|
|
500
|
-
padding-left: ${
|
|
501
|
-
padding-right: ${
|
|
500
|
+
padding-left: ${H.horizontalSpacing};
|
|
501
|
+
padding-right: ${H.horizontalSpacing};
|
|
502
502
|
gap: 8px;
|
|
503
|
-
color: ${
|
|
504
|
-
${
|
|
503
|
+
color: ${H.selectedOptionColor};
|
|
504
|
+
${L(Q.color,H.selectedOptionColor)};
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
.ft-select--input-panel,
|
|
508
508
|
.ft-select--options {
|
|
509
|
-
${
|
|
510
|
-
${
|
|
509
|
+
${L(Q.opacityContentOnSurfaceHover,"0.08")};
|
|
510
|
+
${L(Q.opacityContentOnSurfacePressed,"0.04")};
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
.ft-select--input-panel > *:not(ft-ripple) {
|
|
@@ -516,7 +516,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
516
516
|
|
|
517
517
|
.ft-select--disabled .ft-select--input-panel,
|
|
518
518
|
.ft-select--disabled .ft-select--options {
|
|
519
|
-
color: ${
|
|
519
|
+
color: ${H.colorOnSurfaceDisabled};
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -525,21 +525,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
ft-input-label {
|
|
528
|
-
${
|
|
529
|
-
${
|
|
530
|
-
${
|
|
531
|
-
${
|
|
532
|
-
${
|
|
533
|
-
${
|
|
528
|
+
${L(U.fontSize,H.selectedOptionSize)};
|
|
529
|
+
${L(U.raisedFontSize,H.labelSize)};
|
|
530
|
+
${L(U.verticalSpacing,H.verticalSpacing)};
|
|
531
|
+
${L(U.horizontalSpacing,H.horizontalSpacing)};
|
|
532
|
+
${L(U.backgroundColor,H.backgroundColor)};
|
|
533
|
+
${L(U.labelMaxWidth,`calc(100% - ${ve.size} - 8px)`)};
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
537
|
-
color: ${
|
|
537
|
+
color: ${H.colorPrimary};
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
541
|
-
${
|
|
542
|
-
${
|
|
541
|
+
${L(U.borderColor,H.colorPrimary)};
|
|
542
|
+
${L(U.textColor,H.colorPrimary)};
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.ft-select--selected-option {
|
|
@@ -549,12 +549,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
549
549
|
overflow: hidden;
|
|
550
550
|
white-space: nowrap;
|
|
551
551
|
text-overflow: ellipsis;
|
|
552
|
-
${
|
|
553
|
-
${
|
|
552
|
+
${L(Ne.fontSize,H.selectedOptionSize)};
|
|
553
|
+
${L(Ne.lineHeight,H.selectedOptionSize)};
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
.ft-select--in-error .ft-select--selected-option {
|
|
557
|
-
color: ${
|
|
557
|
+
color: ${H.colorError};
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
ft-icon {
|
|
@@ -564,26 +564,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
564
564
|
|
|
565
565
|
|
|
566
566
|
.ft-select--filled .ft-select--input-panel {
|
|
567
|
-
border-radius: ${
|
|
567
|
+
border-radius: ${H.borderRadiusS} ${H.borderRadiusS} 0 0;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
571
571
|
align-self: stretch;
|
|
572
|
-
padding-top: calc(${
|
|
572
|
+
padding-top: calc(${H.labelSize} + 2 * ${H.verticalSpacing});
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
.ft-select--outlined .ft-select--input-panel {
|
|
576
|
-
border-radius: ${
|
|
576
|
+
border-radius: ${H.borderRadiusS};
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
.ft-select--options {
|
|
580
580
|
display: none;
|
|
581
581
|
position: absolute;
|
|
582
582
|
top: 100%;
|
|
583
|
-
color: ${
|
|
584
|
-
background: ${
|
|
585
|
-
z-index: ${
|
|
586
|
-
box-shadow: ${
|
|
583
|
+
color: ${H.optionsColor};
|
|
584
|
+
background: ${H.backgroundColor};
|
|
585
|
+
z-index: ${H.optionsZIndex};
|
|
586
|
+
box-shadow: ${H.elevation02};
|
|
587
587
|
width: max-content;
|
|
588
588
|
}
|
|
589
589
|
|
|
@@ -593,26 +593,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
593
593
|
|
|
594
594
|
.ft-select--options-displayed .ft-select--options {
|
|
595
595
|
display: block;
|
|
596
|
-
max-height: ${
|
|
596
|
+
max-height: ${H.optionsHeight};
|
|
597
597
|
overflow-y: auto;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
.ft-select--helper-text {
|
|
601
|
-
padding: 0 ${
|
|
602
|
-
color: ${
|
|
601
|
+
padding: 0 ${H.horizontalSpacing};
|
|
602
|
+
color: ${H.helperColor};
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
.ft-select--in-error .ft-select--helper-text {
|
|
606
|
-
color: ${
|
|
606
|
+
color: ${H.colorError};
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
.ft-select:not(.ft-select--has-option-selected) .ft-select--selected-option {
|
|
610
610
|
opacity: 0;
|
|
611
611
|
}
|
|
612
|
-
`;var
|
|
612
|
+
`;var ru=T`
|
|
613
613
|
.ft-select--option {
|
|
614
|
-
${
|
|
615
|
-
${
|
|
614
|
+
${L(Q.opacityContentOnSurfaceHover,"0.08")};
|
|
615
|
+
${L(Q.opacityContentOnSurfacePressed,"0.04")};
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
.ft-select--option > *:not(ft-ripple) {
|
|
@@ -621,14 +621,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
621
621
|
|
|
622
622
|
.ft-select--option {
|
|
623
623
|
position: relative;
|
|
624
|
-
padding: 4px ${
|
|
624
|
+
padding: 4px ${H.horizontalSpacing};
|
|
625
625
|
min-height: 32px;
|
|
626
626
|
display: flex;
|
|
627
627
|
align-items: center;
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
.ft-select--option:hover {
|
|
631
|
-
border-left: 2px ${
|
|
631
|
+
border-left: 2px ${H.colorPrimary} solid;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
.ft-select--option span {
|
|
@@ -636,7 +636,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
636
636
|
overflow: hidden;
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
`;var
|
|
639
|
+
`;var Eo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Le=class extends G{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var e,r;let n={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return w`
|
|
640
640
|
<div class="${ae(n)}"
|
|
641
641
|
part="option option-${(r=(e=this.value)===null||e===void 0?void 0:e.toString())===null||r===void 0?void 0:r.replace(/[^\w-]/g,"")}"
|
|
642
642
|
tabindex="0"
|
|
@@ -648,7 +648,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
648
648
|
</slot>
|
|
649
649
|
${this.isSlotEmpty?w`<span>${this.label}</span>`:w``}
|
|
650
650
|
</div>
|
|
651
|
-
`}onSlotChange(){this.isSlotEmpty=
|
|
651
|
+
`}onSlotChange(){this.isSlotEmpty=ro(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}))}};Le.elementDefinitions={"ft-ripple":Y};Le.shadowRootOptions={...He.shadowRootOptions,delegatesFocus:!0};Le.styles=[ru,En];Eo([g({type:String})],Le.prototype,"label",void 0);Eo([g({type:Object,converter:t=>t})],Le.prototype,"value",void 0);Eo([g({type:Boolean,reflect:!0})],Le.prototype,"selected",void 0);Eo([q("slot")],Le.prototype,"slotElement",void 0);Eo([N()],Le.prototype,"isSlotEmpty",void 0);var be=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};var ee=class t extends G{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 hi(this.optionsList)}render(){var e,r,n,i,s;let a=this.hasOptionsMenuOpen,c=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,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":a,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return w`
|
|
652
652
|
<div class="${ae(p)}" part="container">
|
|
653
653
|
<div class="ft-select--main-panel" part="main-panel">
|
|
654
654
|
<ft-input-label text="${this.label}"
|
|
@@ -672,13 +672,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
672
672
|
role="combobox">
|
|
673
673
|
<ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
|
|
674
674
|
<slot name="input-value">
|
|
675
|
-
<ft-typography variant="${
|
|
675
|
+
<ft-typography variant="${Se.body1}"
|
|
676
676
|
aria-hidden="${d?"false":"true"}"
|
|
677
677
|
class="ft-select--selected-option">
|
|
678
678
|
${(s=(n=this.selectedOption)===null||n===void 0?void 0:n.label)!==null&&s!==void 0?s:this.label}
|
|
679
679
|
</ft-typography>
|
|
680
680
|
</slot>
|
|
681
|
-
<ft-icon aria-hidden="true" .value=${a?
|
|
681
|
+
<ft-icon aria-hidden="true" .value=${a?Me.THIN_ARROW_UP:Me.THIN_ARROW}></ft-icon>
|
|
682
682
|
</div>
|
|
683
683
|
<div class="ft-select--options"
|
|
684
684
|
part="options"
|
|
@@ -694,7 +694,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
694
694
|
</div>
|
|
695
695
|
<slot name="helper" part="helper">
|
|
696
696
|
${this.helper?w`
|
|
697
|
-
<ft-typography class="ft-select--helper-text" variant="${
|
|
697
|
+
<ft-typography class="ft-select--helper-text" variant="${Se.caption}">${this.helper}
|
|
698
698
|
</ft-typography>`:P}
|
|
699
699
|
</slot>
|
|
700
700
|
</div>
|
|
@@ -704,7 +704,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
704
704
|
label="${e.label}"
|
|
705
705
|
.value=${e.value}
|
|
706
706
|
></ft-select-option>
|
|
707
|
-
`}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,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(n=this.selectedOptionElement)!==null&&n!==void 0?n:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];eo(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",z.optionsHeight,0).then(({x:s,y:a})=>{this.optionsMenu.style.left=`${s}px`,this.optionsMenu.style.top=`${a}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=to(this.optionsSlot);let n=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,n;let i,s=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),i=this.optionsList[(s-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),i=this.optionsList[(s+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(i=this.handleAlphanumericPress(e.key));break}i?.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 n=this.options.find(i=>{var s;return((s=i.label)===null||s===void 0?void 0:s.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,n&&this.optionsList.find(i=>i.value===n.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(n=>le(n.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let n=this.options.find(i=>le(i.value,e));n&&this.selectOption(n,r)}selectOption(e,r=!0){var n,i;if(!le((n=this.selectedOption)===null||n===void 0?void 0:n.value,e?.value)){this.selectedOption=e;for(let s of this.options)s.selected=s===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}};ee.elementDefinitions={"ft-input-label":De,"ft-typography":ye,"ft-ripple":Y,"ft-icon":ce,"ft-select-option":Le};ee.searchTimeoutMilliseconds=2e3;ee.styles=[Ar,Jd];be([g({type:String})],ee.prototype,"label",void 0);be([g({type:String})],ee.prototype,"ariaLabel",void 0);be([g({type:String})],ee.prototype,"helper",void 0);be([g({type:Boolean})],ee.prototype,"outlined",void 0);be([g({type:Boolean})],ee.prototype,"disabled",void 0);be([g({type:Boolean})],ee.prototype,"error",void 0);be([g({type:Boolean})],ee.prototype,"fixedMenuPosition",void 0);be([g({type:Array})],ee.prototype,"options",void 0);be([D()],ee.prototype,"selectedOption",void 0);be([D()],ee.prototype,"optionsDisplayed",void 0);be([D()],ee.prototype,"focusOptions",void 0);be([D()],ee.prototype,"currentSearch",void 0);be([D()],ee.prototype,"lastSearchInputDate",void 0);be([q(".ft-select")],ee.prototype,"container",void 0);be([q(".ft-select--options")],ee.prototype,"optionsMenu",void 0);be([q(".ft-select--input-panel")],ee.prototype,"mainPanel",void 0);be([q("slot:not([name])")],ee.prototype,"optionsSlot",void 0);var eu={"ft-select":ee,"ft-select-option":Le};J(eu);var H={fontSize:o.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.extend("--ft-text-field-helper-color","",_.colorOnSurfaceMedium),colorPrimary:o.external(_.colorPrimary,"Design system"),colorOnSurface:o.external(_.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.external(_.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.external(_.borderRadiusS,"Design system"),colorError:o.external(_.colorError,"Design system"),prefixColor:o.extend("--ft-text-field-prefix-color","",_.colorOnSurfaceMedium),iconColor:o.extend("--ft-text-field-icon-color","",_.colorOnSurfaceMedium),floatingZIndex:o.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-text-field-background-color","",_.colorSurface),colorOutline:o.external(_.colorOutline,"Design system"),elevation02:o.external(_.elevation02,"Design system"),suggestSize:o.create("--ft-text-field-suggest-size","","SIZE","300px")},tu=T`
|
|
707
|
+
`}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,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(n=this.selectedOptionElement)!==null&&n!==void 0?n:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];to(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",H.optionsHeight,0).then(({x:s,y:a})=>{this.optionsMenu.style.left=`${s}px`,this.optionsMenu.style.top=`${a}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=ro(this.optionsSlot);let n=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,n;let i,s=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),i=this.optionsList[(s-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),i=this.optionsList[(s+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(i=this.handleAlphanumericPress(e.key));break}i?.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 n=this.options.find(i=>{var s;return((s=i.label)===null||s===void 0?void 0:s.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,n&&this.optionsList.find(i=>i.value===n.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(n=>le(n.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let n=this.options.find(i=>le(i.value,e));n&&this.selectOption(n,r)}selectOption(e,r=!0){var n,i;if(!le((n=this.selectedOption)===null||n===void 0?void 0:n.value,e?.value)){this.selectedOption=e;for(let s of this.options)s.selected=s===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}};ee.elementDefinitions={"ft-input-label":De,"ft-typography":ye,"ft-ripple":Y,"ft-icon":ce,"ft-select-option":Le};ee.searchTimeoutMilliseconds=2e3;ee.styles=[Ar,tu];be([g({type:String})],ee.prototype,"label",void 0);be([g({type:String})],ee.prototype,"ariaLabel",void 0);be([g({type:String})],ee.prototype,"helper",void 0);be([g({type:Boolean})],ee.prototype,"outlined",void 0);be([g({type:Boolean})],ee.prototype,"disabled",void 0);be([g({type:Boolean})],ee.prototype,"error",void 0);be([g({type:Boolean})],ee.prototype,"fixedMenuPosition",void 0);be([g({type:Array})],ee.prototype,"options",void 0);be([N()],ee.prototype,"selectedOption",void 0);be([N()],ee.prototype,"optionsDisplayed",void 0);be([N()],ee.prototype,"focusOptions",void 0);be([N()],ee.prototype,"currentSearch",void 0);be([N()],ee.prototype,"lastSearchInputDate",void 0);be([q(".ft-select")],ee.prototype,"container",void 0);be([q(".ft-select--options")],ee.prototype,"optionsMenu",void 0);be([q(".ft-select--input-panel")],ee.prototype,"mainPanel",void 0);be([q("slot:not([name])")],ee.prototype,"optionsSlot",void 0);var ou={"ft-select":ee,"ft-select-option":Le};J(ou);var Wh="ft-app-info",Yt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Yt.eventName="authentication-change";var Co=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Co.eventName="ui-locale-changed";var Gh={session:(t,e)=>{le(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>z.dispatchEvent(new Yt(e.payload)),0))}},z=Ft.get({name:Wh,reducers:Gh,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var Cn=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Pw=me(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?c=>Ut.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Cn([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Cn([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Cn([vr({store:z.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Cn([vr({store:z.name})],e.prototype,"uiLocale",void 0),e});var Xt=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=z.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=z.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var _r=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Xt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Xt.await()}};var $e=class extends _r{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new tt,this.cache=e?i.commonCache:new tt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var On=class extends $e{async listMySearches(){let{session:e}=z.getState();return Oi(e,ne.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var wn=class extends $e{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 An=class extends $e{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 _n=class extends $e{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 jh="ft-user-assets",Kh={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Be).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:n,asset:i}=e.payload;ca(t,r,[...la(t,r),i]),nu(t,r,1,n),iu(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;ca(t,r,la(t,r).map(i=>i.id===n.id?n:i)),iu(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;ca(t,r,la(t,r).filter(s=>s.id!==i)),nu(t,r,-1,n)}},su={[Be.SEARCHES]:"savedSearches",[Be.BOOKMARKS]:"bookmarks",[Be.BOOKS]:void 0,[Be.COLLECTIONS]:void 0},la=(t,e)=>{var r;let n=su[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},ca=(t,e,r)=>{let n=su[e];n&&(t[n]=r)},nu=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Be.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},iu=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},Ee=Ft.get({name:jh,reducers:Kh,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Be).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),da=class{constructor(e=new An,r=new _n){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wn,this.savedSearchesService=new On,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=z.getState();le((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Ee.actions.clearAssetCount(),Ee.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ee.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ee.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ee.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Ee.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Ee.getState().assetCounts.allAsset[e]!==r.count&&Ee.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Ee.getState().assetCounts.bookmarkByMap[e]!==r.count&&Ee.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Ee.getState().assetCounts.bookmarkByMap).length!==0;e===Be.BOOKMARKS&&r&&Ee.actions.clearBookmarkCountByMap(),Ee.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;Ee.actions.bookmarks(r)}}},Zh=new da;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Zh);var ua=class{addCommand(e,r=!1){z.commands.add(e,r)}consumeCommand(e){return z.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ua;var au,Rr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},qh=Symbol("clearAfterUnitTest"),Rn=class extends Ho($e){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[au]=()=>{this.defaultMessages={},this.cache=new tt,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 n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};le(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let s=e.toLowerCase(),a=this.resolveContext(s);return new so((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof At)&&r&&console.error(i)}return n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Rr({loadedContexts:e})),this.dispatchEvent(new Rr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Rr({loadedContexts:[e]})),this.dispatchEvent(new Rr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Bo(0).then(()=>n()).catch(()=>null)))}};au=qh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Rn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Rn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Tr=window.FluidTopicsI18nService,Tn=window.FluidTopicsCustomI18nService;var pa=class{highlightHtml(e,r,n){is(e,r,n)}};window.FluidTopicsHighlightHtmlService=new pa;var fa=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=z.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s,a;if(e==null)return"";try{return Ut.format(e,(n=r?.locale)!==null&&n!==void 0?n:z.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new fa;var Oo=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=z.getState()){var a;if(!r||s.length>0&&!s.some(c=>c.lang===r)){let c=i?.defaultLocales.defaultContentLocale;r=c?`${c.lang}-${c.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new dt(n,e??20,i?.allLanguagesAllowed,r,s)}};var ha=class{urlToSearchRequest(e){return Oo.get().parse(e)}searchRequestToUrl(e){return Oo.get().serialize(e)}};window.FluidTopicsUrlService=new ha;var Jt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};Jt.eventName="before-location-change";var Qt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Qt.eventName="change";var ma=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))}},lu=new ma;var Ln=class t extends ct{static build(){return new t(window.history,lu,()=>window.location,!1)}constructor(e,r,n,i){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),le(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new Qt(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,c])=>{let d=new Jt(new URL(typeof c=="string"?c:(c??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=r(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!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 n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(e){this.addEventListener(Jt.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(Jt.eventName,e)}addHistoryChangeListener(e){this.addEventListener(Qt.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Qt.eventName,e)}currentItem(){return We(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 We(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return We(r.find(n=>e(n)))}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 We(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 n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}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 n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ln.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var cu=T`
|
|
708
|
+
`;function du(t,e){let{authenticationRequired:r,session:n}=z.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var In=class extends _r{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var ga=class t extends yo{static build(e){return new t(z,e)}constructor(e,r){super(),this.store=e,this.cache=new tt,this.withManualResources=!0,this.userLocaleService=new In,this.knownContexts=new dr,this.knownCustomComponents=new dr,this.cleanSessionDebouncer=new we,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new we(500),this.apiProvider=r??(()=>Xt.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(Yt.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(Yt.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>du(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new Co(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}userHasAnyRole(...e){return Ul(z.getState().session,...e)}},uu=ga.build();var er=class extends Event{constructor(e,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var wo=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:n}=r;for(let{elementRef:i,callbackRef:s}of n){let a=i.deref(),c=s.deref();a===void 0||c===void 0||a.dispatchEvent(new er(e.context,a,c,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}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 pe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},te=class extends Mt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=uu,this.contextRoot=new wo}render(){return w`
|
|
709
|
+
<slot></slot>
|
|
710
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Tr.addContext(n)),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())}};te.elementDefinitions={};te.styles=cu;pe([g()],te.prototype,"baseUrl",void 0);pe([g()],te.prototype,"tenantId",void 0);pe([g()],te.prototype,"apiIntegrationIdentifier",void 0);pe([g()],te.prototype,"apiIntegrationAppVersion",void 0);pe([g()],te.prototype,"uiLocale",void 0);pe([he(null)],te.prototype,"availableUiLocales",void 0);pe([he(null)],te.prototype,"metadataConfiguration",void 0);pe([g({type:Boolean})],te.prototype,"editorMode",void 0);pe([g({type:Boolean})],te.prototype,"noCustom",void 0);pe([g({type:Boolean})],te.prototype,"openExternalDocumentInNewTab",void 0);pe([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],te.prototype,"noCustomComponent",void 0);pe([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],te.prototype,"noCustomCode",void 0);pe([g({type:Boolean})],te.prototype,"withManualResources",void 0);pe([g({type:Boolean})],te.prototype,"navigatorOnline",void 0);pe([g({type:Boolean})],te.prototype,"forcedOffline",void 0);pe([g({type:Boolean})],te.prototype,"authenticationRequired",void 0);pe([he([])],te.prototype,"messageContexts",void 0);pe([he(void 0)],te.prototype,"session",void 0);var pu={"ft-app-context":te};J(pu);var Pn=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Tn:Tr}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var ya=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,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Lr=new ya;var Jh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},_o=Symbol("i18nAttributes"),fu=Symbol("i18nListAttributes"),hu=Symbol("i18nProperties"),kn=Symbol("i18nContexts"),Ao=Symbol("i18nUnsubs"),Mn=me(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Tn:Tr}i18n(s){let{context:a,key:c,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&c){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,c,...m)}return d}async awaitI18n(s){let{context:a,custom:c}=s;return a&&await this.getI18nService(c).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Lr.isI18nKey(s)){let[c,d]=s.split(".");return this.i18n({custom:!0,context:c,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,c,d)=>s.has(c)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,c;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[_o])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[fu])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(x=>p(h,f,x))})}updateI18nProperties(s){var a;(a=this[hu])===null||a===void 0||a.forEach((c,d)=>{s(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(s,a,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,c)}addI18nContext(s,a,c){let d=(typeof s=="string"?s:s.name).toLowerCase();c=typeof s=="string"?c:s.custom,this[kn].set(d,{isCustomContext:c}),this[Ao].has(d)||this[Ao].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,a)}hasI18nContext(s){return this[kn].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[kn].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Ao].forEach(s=>s()),this[Ao].clear()}}return e=kn,r=Ao,Jh([g({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Nn=class extends Mn(G){},Dn=class extends Mn(Mt){};var mu=T`
|
|
711
|
+
`;var Ir=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ze=class extends Dn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(z)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:P:w`
|
|
712
|
+
<span class="ft-i18n">
|
|
713
|
+
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
714
|
+
</span>
|
|
715
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};ze.elementDefinitions={};ze.styles=mu;Ir([vr()],ze.prototype,"editorMode",void 0);Ir([g()],ze.prototype,"context",void 0);Ir([g()],ze.prototype,"key",void 0);Ir([he([])],ze.prototype,"args",void 0);Ir([g()],ze.prototype,"defaultMessage",void 0);Ir([N()],ze.prototype,"editorMessage",void 0);var gu={"ft-i18n":ze};J(gu);var $n=Pn.build("ftTextField"),yu={clear:"Clear",cleared:"Input cleared"};var B={fontSize:o.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.extend("--ft-text-field-helper-color","",_.colorOnSurfaceMedium),colorPrimary:o.external(_.colorPrimary,"Design system"),colorOnSurface:o.external(_.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.external(_.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.external(_.borderRadiusS,"Design system"),colorError:o.external(_.colorError,"Design system"),prefixColor:o.extend("--ft-text-field-prefix-color","",_.colorOnSurfaceMedium),iconColor:o.extend("--ft-text-field-icon-color","",_.colorOnSurfaceMedium),floatingZIndex:o.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-text-field-background-color","",_.colorSurface),colorOutline:o.external(_.colorOutline,"Design system"),elevation02:o.external(_.elevation02,"Design system"),suggestSize:o.create("--ft-text-field-suggest-size","","SIZE","300px")},bu=T`
|
|
708
716
|
*:focus {
|
|
709
717
|
outline: none;
|
|
710
718
|
}
|
|
@@ -714,21 +722,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
714
722
|
flex-direction: column;
|
|
715
723
|
align-items: stretch;
|
|
716
724
|
position: relative;
|
|
717
|
-
--text-field-internal-suggest-size: ${
|
|
725
|
+
--text-field-internal-suggest-size: ${B.suggestSize};
|
|
718
726
|
}
|
|
719
727
|
|
|
720
728
|
ft-input-label {
|
|
721
|
-
${
|
|
722
|
-
${
|
|
723
|
-
${
|
|
724
|
-
${
|
|
725
|
-
${
|
|
729
|
+
${L(U.fontSize,B.fontSize)};
|
|
730
|
+
${L(U.raisedFontSize,B.labelSize)};
|
|
731
|
+
${L(U.verticalSpacing,B.verticalSpacing)};
|
|
732
|
+
${L(U.horizontalSpacing,B.horizontalSpacing)};
|
|
733
|
+
${L(U.backgroundColor,B.backgroundColor)};
|
|
726
734
|
}
|
|
727
735
|
|
|
728
736
|
.ft-text-field--main-panel {
|
|
729
737
|
position: relative;
|
|
730
738
|
display: flex;
|
|
731
|
-
height: calc(4 * ${
|
|
739
|
+
height: calc(4 * ${B.verticalSpacing} + ${B.labelSize} + ${B.fontSize});
|
|
732
740
|
}
|
|
733
741
|
|
|
734
742
|
.ft-text-field--input-panel {
|
|
@@ -737,24 +745,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
737
745
|
display: flex;
|
|
738
746
|
align-items: center;
|
|
739
747
|
overflow: hidden;
|
|
740
|
-
padding: 0 ${
|
|
748
|
+
padding: 0 ${B.horizontalSpacing};
|
|
741
749
|
|
|
742
|
-
${
|
|
743
|
-
${
|
|
750
|
+
${L(Ne.fontSize,B.fontSize)};
|
|
751
|
+
${L(Ne.lineHeight,B.fontSize)};
|
|
744
752
|
}
|
|
745
753
|
|
|
746
754
|
.ft-text-field--input-panel ft-ripple {
|
|
747
|
-
${
|
|
748
|
-
${
|
|
755
|
+
${L(Q.opacityContentOnSurfaceHover,"0.08")};
|
|
756
|
+
${L(Q.opacityContentOnSurfacePressed,"0.04")};
|
|
749
757
|
}
|
|
750
758
|
|
|
751
759
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
752
760
|
align-items: flex-end;
|
|
753
|
-
padding: 0 ${
|
|
761
|
+
padding: 0 ${B.horizontalSpacing} ${B.verticalSpacing} ${B.horizontalSpacing};
|
|
754
762
|
}
|
|
755
763
|
|
|
756
764
|
.ft-text-field--prefix {
|
|
757
|
-
color: ${
|
|
765
|
+
color: ${B.prefixColor};
|
|
758
766
|
margin-right: 2px;
|
|
759
767
|
flex-shrink: 1;
|
|
760
768
|
overflow: hidden;
|
|
@@ -773,22 +781,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
773
781
|
flex-shrink: 1;
|
|
774
782
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
775
783
|
|
|
776
|
-
color: ${
|
|
777
|
-
padding: calc(2 * ${
|
|
784
|
+
color: ${B.colorOnSurface};
|
|
785
|
+
padding: calc(2 * ${B.verticalSpacing}) 0;
|
|
778
786
|
border: none;
|
|
779
787
|
background: none;
|
|
780
788
|
|
|
781
789
|
&:-webkit-autofill,
|
|
782
790
|
&:-webkit-autofill:hover,
|
|
783
791
|
&:-webkit-autofill:focus {
|
|
784
|
-
-webkit-text-fill-color: ${
|
|
792
|
+
-webkit-text-fill-color: ${B.colorOnSurface};
|
|
785
793
|
transition: background-color 50000000s ease-in-out 100000s;
|
|
786
794
|
}
|
|
787
795
|
}
|
|
788
796
|
|
|
789
797
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
790
798
|
padding-bottom: 0;
|
|
791
|
-
padding-top: calc(${
|
|
799
|
+
padding-top: calc(${B.labelSize} + 2 * ${B.verticalSpacing});
|
|
792
800
|
}
|
|
793
801
|
|
|
794
802
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -797,37 +805,57 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
797
805
|
}
|
|
798
806
|
|
|
799
807
|
.ft-text-field--disabled .ft-text-field--input {
|
|
800
|
-
color: ${
|
|
808
|
+
color: ${B.colorOnSurfaceDisabled};
|
|
801
809
|
}
|
|
802
810
|
|
|
803
811
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
804
|
-
${
|
|
805
|
-
${
|
|
812
|
+
${L(U.borderColor,B.colorPrimary)};
|
|
813
|
+
${L(U.textColor,B.colorPrimary)};
|
|
806
814
|
}
|
|
807
815
|
|
|
808
816
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
809
|
-
border-radius: ${
|
|
817
|
+
border-radius: ${B.borderRadiusS} ${B.borderRadiusS} 0 0;
|
|
810
818
|
}
|
|
811
819
|
|
|
812
820
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
813
|
-
border-radius: ${
|
|
821
|
+
border-radius: ${B.borderRadiusS};
|
|
814
822
|
}
|
|
815
823
|
|
|
816
824
|
.ft-text-field--helper-text {
|
|
817
|
-
padding: 0 12px 0 ${
|
|
818
|
-
color: ${
|
|
825
|
+
padding: 0 12px 0 ${B.horizontalSpacing};
|
|
826
|
+
color: ${B.helperColor};
|
|
819
827
|
}
|
|
820
828
|
|
|
821
829
|
.ft-text-field--in-error .ft-text-field--input,
|
|
822
830
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
823
831
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
824
|
-
color: ${
|
|
832
|
+
color: ${B.colorError};
|
|
825
833
|
}
|
|
826
834
|
|
|
827
835
|
.ft-text-field--icon {
|
|
828
836
|
align-self: center;
|
|
829
837
|
margin-left: 8px;
|
|
830
|
-
color: ${
|
|
838
|
+
color: ${B.iconColor};
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.ft-text-field--clear-button {
|
|
842
|
+
align-self: center;
|
|
843
|
+
display: flex;
|
|
844
|
+
align-items: center;
|
|
845
|
+
justify-content: center;
|
|
846
|
+
flex-shrink: 0;
|
|
847
|
+
margin-left: 4px;
|
|
848
|
+
padding: 4px;
|
|
849
|
+
border: none;
|
|
850
|
+
border-radius: 50%;
|
|
851
|
+
background: none;
|
|
852
|
+
cursor: pointer;
|
|
853
|
+
color: ${B.iconColor};
|
|
854
|
+
${L(ve.size,"18px")}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.ft-text-field--clear-button:focus-visible {
|
|
858
|
+
outline: 2px solid ${B.colorPrimary};
|
|
831
859
|
}
|
|
832
860
|
|
|
833
861
|
.ft-text-field--container {
|
|
@@ -838,11 +866,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
838
866
|
display: none;
|
|
839
867
|
flex-direction: column;
|
|
840
868
|
position: absolute;
|
|
841
|
-
z-index: ${
|
|
842
|
-
background: ${
|
|
843
|
-
border: 1px solid ${
|
|
844
|
-
border-radius: 0 0 ${
|
|
845
|
-
box-shadow: ${
|
|
869
|
+
z-index: ${B.floatingZIndex};
|
|
870
|
+
background: ${B.backgroundColor};
|
|
871
|
+
border: 1px solid ${B.colorOutline};
|
|
872
|
+
border-radius: 0 0 ${B.borderRadiusS} ${B.borderRadiusS};
|
|
873
|
+
box-shadow: ${B.elevation02};
|
|
846
874
|
outline: none;
|
|
847
875
|
max-height: var(--text-field-internal-suggest-size);
|
|
848
876
|
overflow-y: auto;
|
|
@@ -857,13 +885,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
857
885
|
}
|
|
858
886
|
|
|
859
887
|
.ft-text-field--with-icon {
|
|
860
|
-
${
|
|
888
|
+
${L(U.labelMaxWidth,`calc(100% - ${ve.size} - ${U.horizontalSpacing})`)};
|
|
861
889
|
}
|
|
862
890
|
|
|
863
891
|
.ft-text-field--with-password ft-icon:hover {
|
|
864
892
|
cursor: pointer;
|
|
865
893
|
}
|
|
866
|
-
`;var
|
|
894
|
+
`;var xu=T`
|
|
867
895
|
.ft-text-field-suggestion--suggestion {
|
|
868
896
|
position: relative;
|
|
869
897
|
padding: 8px 16px;
|
|
@@ -903,13 +931,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
903
931
|
}
|
|
904
932
|
|
|
905
933
|
.ft-text-field-suggestion--helper-text {
|
|
906
|
-
color: ${
|
|
934
|
+
color: ${B.helperColor};
|
|
907
935
|
}
|
|
908
936
|
|
|
909
937
|
slot {
|
|
910
938
|
pointer-events: none;
|
|
911
939
|
}
|
|
912
|
-
`;var
|
|
940
|
+
`;var Ro={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:o.extend("--ft-tooltip-border-radius","",_.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},vu=T`
|
|
913
941
|
.ft-tooltip--container {
|
|
914
942
|
display: block;
|
|
915
943
|
}
|
|
@@ -927,28 +955,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
927
955
|
box-sizing: border-box;
|
|
928
956
|
overflow: hidden;
|
|
929
957
|
width: max-content;
|
|
930
|
-
max-width: ${
|
|
958
|
+
max-width: ${Ro.maxWidth};
|
|
931
959
|
text-align: center;
|
|
932
|
-
padding: ${
|
|
960
|
+
padding: ${Ro.distance};
|
|
933
961
|
}
|
|
934
962
|
|
|
935
963
|
.ft-tooltip--content {
|
|
936
964
|
padding: 4px 8px;
|
|
937
|
-
border-radius: ${
|
|
938
|
-
background-color: ${
|
|
939
|
-
color: ${
|
|
965
|
+
border-radius: ${Ro.borderRadiusS};
|
|
966
|
+
background-color: ${Ro.backgroundColor};
|
|
967
|
+
color: ${Ro.color};
|
|
940
968
|
position: relative;
|
|
941
969
|
word-break: break-word;
|
|
942
970
|
}
|
|
943
|
-
`;var zh="ft-app-info",Yt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Yt.eventName="authentication-change";var Eo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Eo.eventName="ui-locale-changed";var Hh={session:(t,e)=>{le(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>B.dispatchEvent(new Yt(e.payload)),0))}},B=Ft.get({name:zh,reducers:Hh,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var En=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Hw=me(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(B)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?c=>Ut.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return En([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),En([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),En([vr({store:B.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),En([vr({store:B.name})],e.prototype,"uiLocale",void 0),e});var Xt=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=B.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=B.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var _r=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Xt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Xt.await()}};var Me=class extends _r{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new tt,this.cache=e?i.commonCache:new tt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Cn=class extends Me{async listMySearches(){let{session:e}=B.getState();return xi(e,ne.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var On=class extends Me{async listMyBookmarks(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var wn=class extends Me{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=B.getState().session;return!!e?.sessionAuthenticated}};var An=class extends Me{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=B.getState().session;return!!e?.sessionAuthenticated}};var Vh="ft-user-assets",Wh={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Ue).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:n,asset:i}=e.payload;na(t,r,[...oa(t,r),i]),nu(t,r,1,n),iu(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;na(t,r,oa(t,r).map(i=>i.id===n.id?n:i)),iu(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;na(t,r,oa(t,r).filter(s=>s.id!==i)),nu(t,r,-1,n)}},su={[Ue.SEARCHES]:"savedSearches",[Ue.BOOKMARKS]:"bookmarks",[Ue.BOOKS]:void 0,[Ue.COLLECTIONS]:void 0},oa=(t,e)=>{var r;let n=su[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},na=(t,e,r)=>{let n=su[e];n&&(t[n]=r)},nu=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Ue.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},iu=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},Ee=Ft.get({name:Vh,reducers:Wh,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ue).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ia=class{constructor(e=new wn,r=new An){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new On,this.savedSearchesService=new Cn,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=B.getState();le((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Ee.actions.clearAssetCount(),Ee.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ee.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ee.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ee.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Ee.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Ee.getState().assetCounts.allAsset[e]!==r.count&&Ee.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Ee.getState().assetCounts.bookmarkByMap[e]!==r.count&&Ee.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Ee.getState().assetCounts.bookmarkByMap).length!==0;e===Ue.BOOKMARKS&&r&&Ee.actions.clearBookmarkCountByMap(),Ee.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;Ee.actions.bookmarks(r)}}},Gh=new ia;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Gh);var sa=class{addCommand(e,r=!1){B.commands.add(e,r)}consumeCommand(e){return B.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new sa;var au,Rr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},jh=Symbol("clearAfterUnitTest"),_n=class extends zo(Me){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[au]=()=>{this.defaultMessages={},this.cache=new tt,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=B.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 n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};le(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let s=e.toLowerCase(),a=this.resolveContext(s);return new io((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof At)&&r&&console.error(i)}return n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Rr({loadedContexts:e})),this.dispatchEvent(new Rr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Rr({loadedContexts:[e]})),this.dispatchEvent(new Rr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Uo(0).then(()=>n()).catch(()=>null)))}};au=jh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends _n{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends _n{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Co=window.FluidTopicsI18nService,aa=window.FluidTopicsCustomI18nService;var la=class{highlightHtml(e,r,n){es(e,r,n)}};window.FluidTopicsHighlightHtmlService=new la;var ca=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=B.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s,a;if(e==null)return"";try{return Ut.format(e,(n=r?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new ca;var Oo=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=B.getState()){var a;if(!r||s.length>0&&!s.some(c=>c.lang===r)){let c=i?.defaultLocales.defaultContentLocale;r=c?`${c.lang}-${c.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new ct(n,e??20,i?.allLanguagesAllowed,r,s)}};var da=class{urlToSearchRequest(e){return Oo.get().parse(e)}searchRequestToUrl(e){return Oo.get().serialize(e)}};window.FluidTopicsUrlService=new da;var Jt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};Jt.eventName="before-location-change";var Qt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Qt.eventName="change";var ua=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))}},lu=new ua;var Rn=class t extends lt{static build(){return new t(window.history,lu,()=>window.location,!1)}constructor(e,r,n,i){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),le(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new Qt(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,c])=>{let d=new Jt(new URL(typeof c=="string"?c:(c??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=r(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!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 n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(e){this.addEventListener(Jt.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(Jt.eventName,e)}addHistoryChangeListener(e){this.addEventListener(Qt.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Qt.eventName,e)}currentItem(){return We(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 We(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return We(r.find(n=>e(n)))}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 We(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 n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}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 n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Rn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var cu=T`
|
|
944
|
-
`;function du(t,e){let{authenticationRequired:r,session:n}=B.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Tn=class extends _r{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var pa=class t extends mo{static build(e){return new t(B,e)}constructor(e,r){super(),this.store=e,this.cache=new tt,this.withManualResources=!0,this.userLocaleService=new Tn,this.knownContexts=new dr,this.knownCustomComponents=new dr,this.cleanSessionDebouncer=new we,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new we(500),this.apiProvider=r??(()=>Xt.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(Yt.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(Yt.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>du(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new Eo(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}userHasAnyRole(...e){return Dl(B.getState().session,...e)}},uu=pa.build();var er=class extends Event{constructor(e,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var wo=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:n}=r;for(let{elementRef:i,callbackRef:s}of n){let a=i.deref(),c=s.deref();a===void 0||c===void 0||a.dispatchEvent(new er(e.context,a,c,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}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 pe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},te=class extends Mt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=uu,this.contextRoot=new wo}render(){return w`
|
|
945
|
-
<slot></slot>
|
|
946
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Co.addContext(n)),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())}};te.elementDefinitions={};te.styles=cu;pe([g()],te.prototype,"baseUrl",void 0);pe([g()],te.prototype,"tenantId",void 0);pe([g()],te.prototype,"apiIntegrationIdentifier",void 0);pe([g()],te.prototype,"apiIntegrationAppVersion",void 0);pe([g()],te.prototype,"uiLocale",void 0);pe([he(null)],te.prototype,"availableUiLocales",void 0);pe([he(null)],te.prototype,"metadataConfiguration",void 0);pe([g({type:Boolean})],te.prototype,"editorMode",void 0);pe([g({type:Boolean})],te.prototype,"noCustom",void 0);pe([g({type:Boolean})],te.prototype,"openExternalDocumentInNewTab",void 0);pe([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],te.prototype,"noCustomComponent",void 0);pe([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],te.prototype,"noCustomCode",void 0);pe([g({type:Boolean})],te.prototype,"withManualResources",void 0);pe([g({type:Boolean})],te.prototype,"navigatorOnline",void 0);pe([g({type:Boolean})],te.prototype,"forcedOffline",void 0);pe([g({type:Boolean})],te.prototype,"authenticationRequired",void 0);pe([he([])],te.prototype,"messageContexts",void 0);pe([he(void 0)],te.prototype,"session",void 0);var pu={"ft-app-context":te};J(pu);var fa=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,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Tr=new fa;var qh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},_o=Symbol("i18nAttributes"),fu=Symbol("i18nListAttributes"),hu=Symbol("i18nProperties"),Ln=Symbol("i18nContexts"),Ao=Symbol("i18nUnsubs"),mu=me(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?aa:Co}i18n(s){let{context:a,key:c,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&c){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,c,...m)}return d}async awaitI18n(s){let{context:a,custom:c}=s;return a&&await this.getI18nService(c).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Tr.isI18nKey(s)){let[c,d]=s.split(".");return this.i18n({custom:!0,context:c,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,c,d)=>s.has(c)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,c;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[_o])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[fu])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(x=>p(h,f,x))})}updateI18nProperties(s){var a;(a=this[hu])===null||a===void 0||a.forEach((c,d)=>{s(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(s,a,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,c)}addI18nContext(s,a,c){let d=(typeof s=="string"?s:s.name).toLowerCase();c=typeof s=="string"?c:s.custom,this[Ln].set(d,{isCustomContext:c}),this[Ao].has(d)||this[Ao].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,a)}hasI18nContext(s){return this[Ln].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ln].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Ao].forEach(s=>s()),this[Ao].clear()}}return e=Ln,r=Ao,qh([g({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),In=class extends mu(W){},Pn=class extends mu(Mt){};var ha=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Tr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},Yh=new ha;var gu=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:et,converter:Tr,...e}),r[_o]=(i=r[_o])!==null&&i!==void 0?i:new Map,r[_o].set(n,t??{})};var yu=T`
|
|
947
|
-
`;var Lr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ze=class extends Pn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:P:w`
|
|
948
|
-
<span class="ft-i18n">
|
|
949
|
-
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
950
|
-
</span>
|
|
951
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};ze.elementDefinitions={};ze.styles=yu;Lr([vr()],ze.prototype,"editorMode",void 0);Lr([g()],ze.prototype,"context",void 0);Lr([g()],ze.prototype,"key",void 0);Lr([he([])],ze.prototype,"args",void 0);Lr([g()],ze.prototype,"defaultMessage",void 0);Lr([D()],ze.prototype,"editorMessage",void 0);var bu={"ft-i18n":ze};J(bu);var qe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},de=class extends In{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 we,this.revealDebouncer=new we,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return w`
|
|
971
|
+
`;var ba=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Lr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},Qh=new ba;var Su=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:et,converter:Lr,...e}),r[_o]=(i=r[_o])!==null&&i!==void 0?i:new Map,r[_o].set(n,t??{})};var qe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},de=class extends Nn{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 we,this.revealDebouncer=new we,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return w`
|
|
952
972
|
<div part="container"
|
|
953
973
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
954
974
|
<slot part="slot"></slot>
|
|
@@ -957,13 +977,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
957
977
|
popover="manual">
|
|
958
978
|
<div part="tooltip-content" class="ft-tooltip--content">
|
|
959
979
|
<slot name="text"></slot>
|
|
960
|
-
<ft-typography variant="${
|
|
980
|
+
<ft-typography variant="${Se.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
|
|
961
981
|
${(r=this.text)===null||r===void 0?void 0:r.message}
|
|
962
982
|
</ft-typography>
|
|
963
983
|
</div>
|
|
964
984
|
</div>
|
|
965
985
|
</div>
|
|
966
|
-
`}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,n;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.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 n=this.manual;this.manual=!0;let i=this.text;this.text={message:e},await this.show(r),this.text=i,this.manual=n}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&&
|
|
986
|
+
`}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,n;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.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 n=this.manual;this.manual=!0;let i=this.text;this.text={message:e},await this.show(r),this.text=i,this.manual=n}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&&qi(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 ${_.transitionDuration}, left ${_.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(e){return fi(e,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(e){return this.manual||this.matchesIgnored(e)}};de.elementDefinitions={"ft-typography":ye};de.styles=vu;qe([Su()],de.prototype,"text",void 0);qe([g({type:Boolean})],de.prototype,"manual",void 0);qe([g({type:Boolean})],de.prototype,"inline",void 0);qe([cr()],de.prototype,"delay",void 0);qe([g()],de.prototype,"position",void 0);qe([he([])],de.prototype,"ignoreMatchingElements",void 0);qe([Hr()],de.prototype,"slotNodes",void 0);qe([q(".ft-tooltip--container")],de.prototype,"container",void 0);qe([q(".ft-tooltip")],de.prototype,"tooltip",void 0);qe([q(".ft-tooltip--content")],de.prototype,"tooltipContent",void 0);qe([N()],de.prototype,"visible",void 0);var Eu={"ft-tooltip":de};J(Eu);var tr={color:o.extend("--ft-loader-color","",_.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Cu=T`
|
|
967
987
|
:host {
|
|
968
988
|
line-height: 0;
|
|
969
989
|
}
|
|
@@ -1032,14 +1052,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1032
1052
|
transform: translate(calc(0.35 * ${tr.size}), 0);
|
|
1033
1053
|
}
|
|
1034
1054
|
}
|
|
1035
|
-
`;var rr=class extends
|
|
1055
|
+
`;var rr=class extends G{render(){return w`
|
|
1036
1056
|
<div class="ft-loader">
|
|
1037
1057
|
<div></div>
|
|
1038
1058
|
<div></div>
|
|
1039
1059
|
<div></div>
|
|
1040
1060
|
<div></div>
|
|
1041
1061
|
</div>
|
|
1042
|
-
`}};rr.styles=
|
|
1062
|
+
`}};rr.styles=Cu;var Ou={"ft-loader":rr};J(Ou);var wu=o.extend("--ft-button-color","",_.colorPrimary),re={backgroundColor:o.extend("--ft-button-background-color","",_.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",_.borderRadiusL),color:wu,fontSize:o.extend("--ft-button-font-size","",Ze.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",wu),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(_.colorOpacityDisabled,"Design system")},Au=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",_.colorOnPrimary)),xa={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",_.colorPrimary)),color:Au,rippleColor:o.extend("--ft-button-primary-ripple-color","",Au)},Ye={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",_.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")},_u=T`
|
|
1043
1063
|
:host {
|
|
1044
1064
|
display: inline-block;
|
|
1045
1065
|
max-width: 100%;
|
|
@@ -1062,9 +1082,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1062
1082
|
|
|
1063
1083
|
--button-internal-line-height: max(calc(${re.fontSize} + 2px), ${re.iconSize});
|
|
1064
1084
|
--button-internal-color: ${re.color};
|
|
1065
|
-
${
|
|
1066
|
-
${
|
|
1067
|
-
${
|
|
1085
|
+
${L(ve.size,re.iconSize)};
|
|
1086
|
+
${L(Q.color,re.rippleColor)};
|
|
1087
|
+
${L(Q.borderRadius,re.borderRadius)};
|
|
1068
1088
|
|
|
1069
1089
|
border-radius: ${re.borderRadius};
|
|
1070
1090
|
padding: ${re.verticalPadding} ${re.horizontalPadding};
|
|
@@ -1078,8 +1098,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1078
1098
|
text-overflow: ellipsis;
|
|
1079
1099
|
display: block;
|
|
1080
1100
|
margin: 0 ${re.iconPadding};
|
|
1081
|
-
${
|
|
1082
|
-
${
|
|
1101
|
+
${L(Ze.fontSize,"1em")};
|
|
1102
|
+
${L(Ze.lineHeight,"var(--button-internal-line-height)")};
|
|
1083
1103
|
}
|
|
1084
1104
|
|
|
1085
1105
|
[part="icon"] {
|
|
@@ -1118,9 +1138,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1118
1138
|
}
|
|
1119
1139
|
|
|
1120
1140
|
&.ft-button--primary {
|
|
1121
|
-
background-color: ${
|
|
1122
|
-
--button-internal-color: ${
|
|
1123
|
-
${
|
|
1141
|
+
background-color: ${xa.backgroundColor};
|
|
1142
|
+
--button-internal-color: ${xa.color};
|
|
1143
|
+
${L(Q.color,xa.rippleColor)};
|
|
1124
1144
|
}
|
|
1125
1145
|
|
|
1126
1146
|
&.ft-button--outlined {
|
|
@@ -1131,7 +1151,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1131
1151
|
&.ft-button--dense {
|
|
1132
1152
|
padding: ${Ye.verticalPadding} ${Ye.horizontalPadding};
|
|
1133
1153
|
border-radius: ${Ye.borderRadius};
|
|
1134
|
-
${
|
|
1154
|
+
${L(Q.borderRadius,Ye.borderRadius)};
|
|
1135
1155
|
|
|
1136
1156
|
.ft-button--label {
|
|
1137
1157
|
margin: 0 ${Ye.iconPadding};
|
|
@@ -1144,12 +1164,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1144
1164
|
|
|
1145
1165
|
&.ft-button--round {
|
|
1146
1166
|
border-radius: calc(var(--button-internal-line-height) / 2 + ${re.verticalPadding});
|
|
1147
|
-
${
|
|
1167
|
+
${L(Q.borderRadius,T`calc(var(--button-internal-line-height) / 2 + ${re.verticalPadding})`)};
|
|
1148
1168
|
}
|
|
1149
1169
|
|
|
1150
1170
|
&.ft-button--round.ft-button--dense {
|
|
1151
1171
|
border-radius: calc(var(--button-internal-line-height) / 2 + ${Ye.verticalPadding});
|
|
1152
|
-
${
|
|
1172
|
+
${L(Q.borderRadius,T`calc(var(--button-internal-line-height) / 2 + ${Ye.verticalPadding})`)};
|
|
1153
1173
|
}
|
|
1154
1174
|
|
|
1155
1175
|
&.ft-button--no-text {
|
|
@@ -1178,16 +1198,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1178
1198
|
}
|
|
1179
1199
|
|
|
1180
1200
|
ft-loader {
|
|
1181
|
-
${
|
|
1182
|
-
${
|
|
1201
|
+
${L(tr.size,re.iconSize)};
|
|
1202
|
+
${L(tr.color,"var(--button-internal-color)")};
|
|
1183
1203
|
}
|
|
1184
|
-
`;var X=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},
|
|
1204
|
+
`;var X=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},j=class t extends bo(G){get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.ariaExpanded=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i={"ft-button--label":!0,"ft-safari-ellipsis-fix":oa},s=w`
|
|
1185
1205
|
<ft-ripple part="ripple"
|
|
1186
1206
|
?disabled=${this.isDisabled()}
|
|
1187
1207
|
?activated=${this.activated}
|
|
1188
1208
|
></ft-ripple>
|
|
1189
1209
|
<ft-typography part="label"
|
|
1190
|
-
variant="${
|
|
1210
|
+
variant="${Se.button}"
|
|
1191
1211
|
element="span"
|
|
1192
1212
|
class="${ae(i)}">
|
|
1193
1213
|
<slot></slot>
|
|
@@ -1223,7 +1243,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1223
1243
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1224
1244
|
`:w`
|
|
1225
1245
|
<slot part="icon" name="icon"></slot>
|
|
1226
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};
|
|
1246
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};j.elementDefinitions={"ft-ripple":Y,"ft-tooltip":de,"ft-icon":ce,"ft-loader":rr,"ft-typography":ye};j.styles=[as,_u,io];j.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:j.labelsObserver.unobserve(e.target)}});X([g({type:Boolean})],j.prototype,"primary",void 0);X([g({type:Boolean})],j.prototype,"outlined",void 0);X([g({type:Boolean})],j.prototype,"dense",void 0);X([g({type:Boolean})],j.prototype,"round",void 0);X([g({type:Boolean})],j.prototype,"disabled",void 0);X([g()],j.prototype,"icon",void 0);X([g()],j.prototype,"iconVariant",void 0);X([g({type:Boolean})],j.prototype,"trailingIcon",void 0);X([g()],j.prototype,"label",void 0);X([g()],j.prototype,"type",void 0);X([g()],j.prototype,"href",void 0);X([g()],j.prototype,"target",void 0);X([g({type:Boolean})],j.prototype,"loading",void 0);X([g({attribute:"aria-label"})],j.prototype,"ariaLabel",void 0);X([g()],j.prototype,"ariaHasPopup",void 0);X([g({attribute:"aria-pressed"})],j.prototype,"ariaPressed",void 0);X([g({attribute:"aria-expanded"})],j.prototype,"ariaExpanded",void 0);X([g()],j.prototype,"tooltipPosition",void 0);X([g({type:Boolean})],j.prototype,"hideTooltip",void 0);X([g({type:Boolean})],j.prototype,"forceTooltip",void 0);X([g({type:Boolean})],j.prototype,"activated",void 0);X([q(".ft-button")],j.prototype,"button",void 0);X([q(".ft-button--label")],j.prototype,"labelContainer",void 0);X([N()],j.prototype,"hasTextContent",void 0);X([q(".ft-button--label slot")],j.prototype,"slottedContent",void 0);X([q("[part=tooltip]")],j.prototype,"tooltip",void 0);var Ru={"ft-button":j};J(Ru);var or=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},va=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Sa=class extends CustomEvent{constructor(e){super("suggestion-removed",{detail:e,bubbles:!0,composed:!0})}},Ce=class extends G{constructor(){super(...arguments),this.removable=!1}render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return w`
|
|
1227
1247
|
<div class="${ae(e)}">
|
|
1228
1248
|
<div
|
|
1229
1249
|
class="ft-text-field-suggestion--suggestion"
|
|
@@ -1237,13 +1257,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1237
1257
|
${this.helper}
|
|
1238
1258
|
</ft-typography>`:P}
|
|
1239
1259
|
<ft-typography part="label"
|
|
1240
|
-
variant="${
|
|
1260
|
+
variant="${Se.body1}"
|
|
1241
1261
|
class="ft-text-field-suggestion--label">
|
|
1242
1262
|
<slot></slot>
|
|
1243
1263
|
</ft-typography>
|
|
1244
1264
|
</div>
|
|
1245
1265
|
${this.removable?w`
|
|
1246
|
-
<ft-button icon="${
|
|
1266
|
+
<ft-button icon="${Me.CLOSE}"
|
|
1247
1267
|
part="remove-button"
|
|
1248
1268
|
class="ft-text-field-suggestion--remove"
|
|
1249
1269
|
round
|
|
@@ -1255,7 +1275,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1255
1275
|
</ft-button>
|
|
1256
1276
|
`:P}
|
|
1257
1277
|
</div>
|
|
1258
|
-
`}focus(e,r){var n,i;r&&this.removable?(n=this.removeButton)===null||n===void 0||n.focus():(i=this.suggestion)===null||i===void 0||i.focus(e)}click(e){var r;(r=e?this.removeButton:this.suggestion)===null||r===void 0||r.click()}isRemoveButtonFocused(){var e,r;return(r=(e=this.removeButton)===null||e===void 0?void 0:e.matches(":focus-within"))!==null&&r!==void 0?r:!1}selectSuggestion(){this.dispatchEvent(new
|
|
1278
|
+
`}focus(e,r){var n,i;r&&this.removable?(n=this.removeButton)===null||n===void 0||n.focus():(i=this.suggestion)===null||i===void 0||i.focus(e)}click(e){var r;(r=e?this.removeButton:this.suggestion)===null||r===void 0||r.click()}isRemoveButtonFocused(){var e,r;return(r=(e=this.removeButton)===null||e===void 0?void 0:e.matches(":focus-within"))!==null&&r!==void 0?r:!1}selectSuggestion(){this.dispatchEvent(new va(this.getValue()))}removeSuggestion(){this.dispatchEvent(new Sa(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}suggestionKeyDown(e){var r;switch(e.key){case"Enter":case" ":e.preventDefault(),e.stopPropagation(),this.selectSuggestion();break;case"ArrowRight":this.removable&&(e.preventDefault(),e.stopPropagation(),(r=this.removeButton)===null||r===void 0||r.focus());break}}removeButtonKeyDown(e){var r;switch(e.key){case"Enter":case" ":e.preventDefault(),e.stopPropagation(),this.removeSuggestion();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),(r=this.suggestion)===null||r===void 0||r.focus();break}}};Ce.elementDefinitions={"ft-ripple":Y,"ft-typography":ye,"ft-icon":ce,"ft-button":j};Ce.styles=xu;or([g()],Ce.prototype,"value",void 0);or([g()],Ce.prototype,"helper",void 0);or([g({type:Boolean})],Ce.prototype,"removable",void 0);or([g()],Ce.prototype,"removeButtonLabel",void 0);or([q(".ft-text-field-suggestion--suggestion")],Ce.prototype,"suggestion",void 0);or([q(".ft-text-field-suggestion--remove")],Ce.prototype,"removeButton",void 0);or([Hr()],Ce.prototype,"assignedNodes",void 0);var Fn=class extends CustomEvent{constructor(e){super("live-change",{detail:e})}},Un=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Bn=class extends CustomEvent{constructor(e){super("invalid",{detail:e})}};var W=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},M=class extends Mn(bo(G)){get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let r=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",r)}focusWithoutSuggestions(){this.showSuggestionsOnFocus=!1,this.focus(),this.showSuggestionsOnFocus=!0}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){var e;let r={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":!this.inputValid||this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},n=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(c=>c.label).includes(this.value),s=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||n,a=this.inputValid?this.helper:(e=this.input)===null||e===void 0?void 0:e.validationMessage;return w`
|
|
1259
1279
|
<div class="${ae(r)}">
|
|
1260
1280
|
<div class="ft-text-field--main-panel"
|
|
1261
1281
|
@keydown=${this.handleKeyboardNavigation}
|
|
@@ -1290,10 +1310,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1290
1310
|
@keydown=${this.catchComposingEvents}
|
|
1291
1311
|
@focus=${this.onFocus}
|
|
1292
1312
|
/>
|
|
1313
|
+
${this.renderClearButton()}
|
|
1293
1314
|
${this.renderIcon()}
|
|
1315
|
+
<div class="sr-only" aria-live="polite" aria-atomic="true">${this.clearedAnnouncement}</div>
|
|
1294
1316
|
</div>
|
|
1295
1317
|
<div class="ft-text-field--suggestions"
|
|
1296
1318
|
part="suggestions"
|
|
1319
|
+
@mousedown=${this.keepFocusOnSuggestionsScrollbar}
|
|
1297
1320
|
@suggestion-selected=${this.onSuggestionSelected}
|
|
1298
1321
|
@suggestion-removed=${this.onSuggestionRemoved}
|
|
1299
1322
|
>
|
|
@@ -1309,7 +1332,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1309
1332
|
</div>
|
|
1310
1333
|
</div>
|
|
1311
1334
|
${a?w`
|
|
1312
|
-
<ft-typography class="ft-text-field--helper-text" variant="${
|
|
1335
|
+
<ft-typography class="ft-text-field--helper-text" variant="${Se.caption}" id="helper" role="alert">
|
|
1313
1336
|
${a}
|
|
1314
1337
|
</ft-typography>
|
|
1315
1338
|
`:P}
|
|
@@ -1329,7 +1352,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1329
1352
|
`})}
|
|
1330
1353
|
`:w`
|
|
1331
1354
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
1332
|
-
`}
|
|
1355
|
+
`}get canClear(){return this.clearable&&!this.disabled&&!this.isPasswordField()&&!!this.value}renderClearButton(){return this.canClear?w`
|
|
1356
|
+
<button type="button"
|
|
1357
|
+
class="ft-text-field--clear-button"
|
|
1358
|
+
part="clear-button"
|
|
1359
|
+
aria-label="${$n.messages.clear()}"
|
|
1360
|
+
@pointerdown=${e=>e.preventDefault()}
|
|
1361
|
+
@click=${this.onClearClick}>
|
|
1362
|
+
<ft-icon .variant=${at.fluid_topics}
|
|
1363
|
+
.value=${Me.CLOSE}></ft-icon>
|
|
1364
|
+
</button>
|
|
1365
|
+
`:P}onClearClick(){var e;this.setValue("",!0),this.clearedAnnouncement=$n.messages.cleared(),(e=this.input)===null||e===void 0||e.focus()}renderPasswordIcon(){return w`
|
|
1333
1366
|
<ft-icon class="ft-text-field--icon"
|
|
1334
1367
|
.variant=${this.iconVariant}
|
|
1335
1368
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
@@ -1339,7 +1372,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1339
1372
|
.variant=${this.iconVariant}
|
|
1340
1373
|
.value=${this.icon}
|
|
1341
1374
|
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
1342
|
-
`:P}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&this.value&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&(this.hideSuggestions=!0)}async updateSuggestions(){var e;if(this.suggestionsProvider){(e=this.cancelableSuggest)===null||e===void 0||e.cancel();let r=this.suggestionsProvider(this.value);r instanceof Promise?(this.cancelableSuggest=
|
|
1375
|
+
`:P}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&this.value&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&(this.hideSuggestions=!0)}async updateSuggestions(){var e;if(this.suggestionsProvider){(e=this.cancelableSuggest)===null||e===void 0||e.cancel();let r=this.suggestionsProvider(this.value);r instanceof Promise?(this.cancelableSuggest=Wr(r),this.providedSuggestions=await this.cancelableSuggest):(this.cancelableSuggest=void 0,this.providedSuggestions=r)}else this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion])}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("providedSuggestions")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var r,n,i;!((r=this.input)===null||r===void 0)&&r.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}constructor(){super(),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Me.EYE_SLASH,this.passwordRevealedIcon=Me.EYE,this.filterSuggestions=!1,this.clearable=!1,this.clearedAnnouncement="",this.password=!1,this.hideCurrentValueSuggestion=!1,this.focused=!1,this.inputValid=!0,this.hidePassword=!0,this.hideSuggestions=!0,this.visibleSuggestions=[],this.providedSuggestions=[],this.showSuggestionsOnFocus=!0,this.addI18nContext($n,yu)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,r=!1){var n,i;this.value!==e&&(this.inputValid=!0,this.setInternalValue(e),this.dispatchEvent(new Fn(e))),r&&this.dispatchedValue!==e&&(this.inputValid=(i=(n=this.input)===null||n===void 0?void 0:n.checkValidity())!==null&&i!==void 0?i:!0,this.inputValid?(this.dispatchedValue=e,this.dispatchEvent(new Un(e))):this.dispatchEvent(new Bn(this.input.validationMessage)))}handleInput(e){var r;let n=((r=this.input)===null||r===void 0?void 0:r.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}catchComposingEvents(e){}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var r,n;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let i=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),s;e.key==="ArrowDown"?s=i<this.visibleSuggestions.length-1?i+1:0:s=i>0?i-1:this.visibleSuggestions.length-1,(r=this.visibleSuggestions[s])===null||r===void 0||r.focus(void 0,(n=this.visibleSuggestions[i])===null||n===void 0?void 0:n.isRemoveButtonFocused())}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){this.setValue(e.detail,!0),this.focusWithoutSuggestions(),this.hideSuggestions=!0}onSuggestionRemoved(){setTimeout(()=>this.updateSuggestions())}onFocus(){this.focused=!0,this.showSuggestionsOnFocus&&(this.hideSuggestions=!1)}keepFocusOnSuggestionsScrollbar(e){e.target===e.currentTarget&&e.preventDefault()}onMainPanelBlur(){var e,r;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((r=this.input)===null||r===void 0?void 0:r.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];to(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:r,y:n})=>{this.suggestionsContainer.style.left=`${r}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};M.elementDefinitions={"ft-input-label":De,"ft-ripple":Y,"ft-typography":ye,"ft-icon":ce,"ft-text-field-suggestion":Ce};M.styles=[Sn,ls,bu,xn];W([g()],M.prototype,"label",void 0);W([g({noAccessor:!0})],M.prototype,"value",null);W([N()],M.prototype,"dispatchedValue",void 0);W([g()],M.prototype,"helper",void 0);W([g()],M.prototype,"suggestionsHelper",void 0);W([g({type:Boolean})],M.prototype,"outlined",void 0);W([g({type:Boolean})],M.prototype,"disabled",void 0);W([g({type:Boolean})],M.prototype,"error",void 0);W([g({type:Boolean})],M.prototype,"fixedMenuPosition",void 0);W([g()],M.prototype,"prefix",void 0);W([g()],M.prototype,"icon",void 0);W([g()],M.prototype,"name",void 0);W([g()],M.prototype,"type",void 0);W([g()],M.prototype,"passwordHiddenIcon",void 0);W([g()],M.prototype,"passwordRevealedIcon",void 0);W([g()],M.prototype,"iconVariant",void 0);W([g({type:Boolean})],M.prototype,"filterSuggestions",void 0);W([g({type:Boolean})],M.prototype,"clearable",void 0);W([N()],M.prototype,"clearedAnnouncement",void 0);W([cr()],M.prototype,"maxLength",void 0);W([g({type:Boolean})],M.prototype,"password",void 0);W([g({type:String})],M.prototype,"autocomplete",void 0);W([g({attribute:!1})],M.prototype,"suggestionsProvider",void 0);W([g({type:Boolean})],M.prototype,"hideCurrentValueSuggestion",void 0);W([N()],M.prototype,"focused",void 0);W([N()],M.prototype,"inputValid",void 0);W([N()],M.prototype,"hidePassword",void 0);W([N()],M.prototype,"hideSuggestions",void 0);W([N()],M.prototype,"visibleSuggestions",void 0);W([N()],M.prototype,"providedSuggestions",void 0);W([q(".ft-text-field--main-panel")],M.prototype,"mainPanel",void 0);W([q(".ft-text-field--input")],M.prototype,"input",void 0);W([q(".ft-text-field-suggestion--new-value")],M.prototype,"newValueSuggestion",void 0);W([q(".ft-text-field--suggestions")],M.prototype,"suggestionsContainer",void 0);W([oi("ft-text-field-suggestion")],M.prototype,"providedSuggestionsInDom",void 0);W([ni({selector:"ft-text-field-suggestion"})],M.prototype,"slottedSuggestions",void 0);W([zo()],M.prototype,"handleInput",null);W([zo()],M.prototype,"catchComposingEvents",null);var Tu={"ft-text-field":M,"ft-text-field-suggestion":Ce};J(Tu);var zn=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},Hn=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var fe={headerBackground:o.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:o.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:o.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:o.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:o.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:o.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:o.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:o.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:o.external(_.colorOnSurfaceHigh,"Design system"),titleFont:o.external(_.titleFont,"Design system"),contentFont:o.external(_.contentFont,"Design system")},Lu=T`
|
|
1343
1376
|
:host {
|
|
1344
1377
|
display: block;
|
|
1345
1378
|
}
|
|
@@ -1390,8 +1423,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1390
1423
|
}
|
|
1391
1424
|
|
|
1392
1425
|
.column-title-container ft-button {
|
|
1393
|
-
${
|
|
1394
|
-
${
|
|
1426
|
+
${L(re.backgroundColor,fe.headerBackground)};
|
|
1427
|
+
${L(re.color,fe.colorOnSurfaceHigh)};
|
|
1395
1428
|
}
|
|
1396
1429
|
|
|
1397
1430
|
.column-title {
|
|
@@ -1409,7 +1442,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1409
1442
|
.column-filter {
|
|
1410
1443
|
flex-grow: 1;
|
|
1411
1444
|
flex-shrink: 0;
|
|
1412
|
-
${
|
|
1445
|
+
${L(H.optionsHeight,"300px")};
|
|
1413
1446
|
}
|
|
1414
1447
|
|
|
1415
1448
|
.column-filter:not(:empty) {
|
|
@@ -1458,7 +1491,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1458
1491
|
.row:last-of-type .cell:last-of-type {
|
|
1459
1492
|
border-radius: 0 0 .5rem 0;
|
|
1460
1493
|
}
|
|
1461
|
-
`;var
|
|
1494
|
+
`;var Pr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},em=t=>w`${t}`,Iu=(t,e)=>t-e,Pu=t=>""+t,Xe=class extends G{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,r,n){this.data=e,this.columns=r,this.sort=n}render(){let e=this.sortData(this.filterData());return w`
|
|
1462
1495
|
<style>
|
|
1463
1496
|
.table {
|
|
1464
1497
|
grid-template-columns: ${this.columns.map(r=>{var n;return(n=r.gridTemplateColumn)!==null&&n!==void 0?n:"minmax(min-content, auto)"}).join(" ")};
|
|
@@ -1470,12 +1503,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1470
1503
|
</div>
|
|
1471
1504
|
${Oe(e,(r,n)=>"row-"+n,(r,n)=>w`
|
|
1472
1505
|
<div class="row"
|
|
1473
|
-
@click=${()=>this.dispatchEvent(new
|
|
1506
|
+
@click=${()=>this.dispatchEvent(new zn(r))}>
|
|
1474
1507
|
${Oe(this.columns,(i,s)=>"cell-"+s+"-"+n,(i,s)=>this.renderCell(i,s,r,n))}
|
|
1475
1508
|
</div>
|
|
1476
1509
|
`)}
|
|
1477
1510
|
</div>
|
|
1478
|
-
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,r,n)=>{var i;let s=this.columns[n];if(r&&r.value)switch((i=s.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(a=>this.getValueAsString(s,a,n).toLowerCase().includes(r.value.toLowerCase()));case"select":return e.filter(a=>this.getValue(s,a)===r.value)}return e},this.data)}sortData(e){var r;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(r=n.comparator)!==null&&r!==void 0?r:
|
|
1511
|
+
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,r,n)=>{var i;let s=this.columns[n];if(r&&r.value)switch((i=s.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(a=>this.getValueAsString(s,a,n).toLowerCase().includes(r.value.toLowerCase()));case"select":return e.filter(a=>this.getValue(s,a)===r.value)}return e},this.data)}sortData(e){var r;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(r=n.comparator)!==null&&r!==void 0?r:Iu,s=this.currentSort.order==="asc"?i:(a,c)=>-i(a,c);return[...e].sort((a,c)=>s(this.getValue(n,a),this.getValue(n,c)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,r,n;this.filterOptions=[];let i=this.data,s=this.columns;for(let a in s){let c=s[a],d=(e=c.filter)!==null&&e!==void 0?e:"text";(d==="text"||d==="select")&&(this.filterOptions[a]=((r=c.options)!==null&&r!==void 0?r:[...new Set(i.map(p=>this.getValue(c,p)))]).sort((n=c.comparator)!==null&&n!==void 0?n:Iu),d==="text"&&(this.filterOptions[a]=this.filterOptions[a].map(p=>this.stringifyValue(c,p,0))))}this.requestUpdate()}renderHeader(e,r){let n={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return w`
|
|
1479
1512
|
<div class="${ae(n)}"
|
|
1480
1513
|
part="${this.columnPart("header-cell",r)}">
|
|
1481
1514
|
<div class="column-title-container"
|
|
@@ -1498,7 +1531,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1498
1531
|
@click=${c}
|
|
1499
1532
|
part="${this.columnPart("sort-button",r)}"
|
|
1500
1533
|
></ft-button>
|
|
1501
|
-
`:P}getSortOrderText(e,r){return e?this.currentSort.order==="asc"?"descending":"ascending":r.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new
|
|
1534
|
+
`:P}getSortOrderText(e,r){return e?this.currentSort.order==="asc"?"descending":"ascending":r.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new Hn({filters:this.filters.map((e,r)=>({column:r,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,r){var n,i,s,a,c;let d=h=>{this.filters[r]={value:h.detail},this.requestUpdate(),this.dispatchChangeEvent()},p=(n=this.filterOptions[r])!==null&&n!==void 0?n:[];switch((i=e.filter)!==null&&i!==void 0?i:"text"){case"text":return w`
|
|
1502
1535
|
<div class="column-filter" part="${this.columnPart("filter-container",r)}">
|
|
1503
1536
|
<ft-text-field
|
|
1504
1537
|
label="Search ${(s=e.titleText)!==null&&s!==void 0?s:e.title}"
|
|
@@ -1521,12 +1554,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1521
1554
|
`)}
|
|
1522
1555
|
</ft-select>
|
|
1523
1556
|
</div>
|
|
1524
|
-
`:P}return P}columnPart(e,r){return`${e} ${e}-column-${r}`}renderCell(e,r,n,i){var s;let a=(s=e.render)!==null&&s!==void 0?s:
|
|
1557
|
+
`:P}return P}columnPart(e,r){return`${e} ${e}-column-${r}`}renderCell(e,r,n,i){var s;let a=(s=e.render)!==null&&s!==void 0?s:em,c=d=>{let p=a(d,i);return typeof p=="string"?Vr(p):p};return w`
|
|
1525
1558
|
<div class="cell"
|
|
1526
1559
|
part="${this.columnPart("cell",r)} cell-row-${i} cell-column-${r}-row-${i}">
|
|
1527
1560
|
${c(this.getValue(e,n))}
|
|
1528
1561
|
</div>
|
|
1529
|
-
`}getValue(e,r){return typeof e.getter=="string"?r[e.getter]:e.getter(r)}getValueAsString(e,r,n){let i=this.getValue(e,r);return typeof e.stringify=="function"?e.stringify(i,n):
|
|
1562
|
+
`}getValue(e,r){return typeof e.getter=="string"?r[e.getter]:e.getter(r)}getValueAsString(e,r,n){let i=this.getValue(e,r);return typeof e.stringify=="function"?e.stringify(i,n):Pu(i)}stringifyValue(e,r,n){return typeof e.stringify=="function"?e.stringify(r,n):Pu(r)}};Xe.styles=Lu;Pr([he([])],Xe.prototype,"data",void 0);Pr([he([])],Xe.prototype,"columns",void 0);Pr([he(void 0)],Xe.prototype,"sort",void 0);Pr([g({type:Boolean})],Xe.prototype,"stickyHeaders",void 0);Pr([g({type:Boolean})],Xe.prototype,"disableDataManipulation",void 0);Pr([N()],Xe.prototype,"currentSort",void 0);var ku={"ft-filterable-table":Xe};J(ku);})();
|
|
1530
1563
|
/*! Bundled license information:
|
|
1531
1564
|
|
|
1532
1565
|
.store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js:
|