@fluid-topics/ft-combobox 1.3.35 → 1.3.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/ComboboxMessages.d.ts +4 -0
- package/build/ComboboxMessages.js +5 -0
- package/build/ComboboxSuggestionProvider.d.ts +1 -1
- package/build/ComboboxSuggestionProvider.js +4 -7
- package/build/ft-combobox.d.ts +10 -0
- package/build/ft-combobox.js +146 -37
- package/build/ft-combobox.light.js +1458 -305
- package/build/ft-combobox.min.js +1460 -307
- package/build/ft-combobox.properties.d.ts +3 -0
- package/build/ft-combobox.styles.d.ts +3 -1
- package/build/ft-combobox.styles.js +20 -4
- package/package.json +4 -4
package/build/ft-combobox.min.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?Z.substr(1,Z.length):Z}).forEach(function(Z){var ee=Z.split(":"),G=ee.shift().trim();if(G){var oo=ee.join(":").trim();try{v.append(G,oo)}catch(Qo){console.warn("Response "+Qo.message)}}}),v}_.call(E.prototype);function j(m,v){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new f(v.headers),this.url=v.url||"",this._initBody(m)}_.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},j.error=function(){var m=new j(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var V=[301,302,303,307,308];j.redirect=function(m,v){if(V.indexOf(v)===-1)throw new RangeError("Invalid status code");return new j(null,{status:v,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,T){this.message=v,this.name=T;var Z=Error(v);this.stack=Z.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function I(m,v){return new Promise(function(T,Z){var ee=new E(m,v);if(ee.signal&&ee.signal.aborted)return Z(new o.DOMException("Aborted","AbortError"));var G=new XMLHttpRequest;function oo(){G.abort()}G.onload=function(){var ce={statusText:G.statusText,headers:$(G.getAllResponseHeaders()||"")};ee.url.indexOf("file://")===0&&(G.status<200||G.status>599)?ce.status=200:ce.status=G.status,ce.url="responseURL"in G?G.responseURL:ce.headers.get("X-Request-URL");var mt="response"in G?G.response:G.responseText;setTimeout(function(){T(new j(mt,ce))},0)},G.onerror=function(){setTimeout(function(){Z(new TypeError("Network request failed"))},0)},G.ontimeout=function(){setTimeout(function(){Z(new TypeError("Network request timed out"))},0)},G.onabort=function(){setTimeout(function(){Z(new o.DOMException("Aborted","AbortError"))},0)};function Qo(ce){try{return ce===""&&n.location.href?n.location.href:ce}catch{return ce}}if(G.open(ee.method,Qo(ee.url),!0),ee.credentials==="include"?G.withCredentials=!0:ee.credentials==="omit"&&(G.withCredentials=!1),"responseType"in G&&(i.blob?G.responseType="blob":i.arrayBuffer&&(G.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof f||n.Headers&&v.headers instanceof n.Headers)){var Ha=[];Object.getOwnPropertyNames(v.headers).forEach(function(ce){Ha.push(d(ce)),G.setRequestHeader(ce,p(v.headers[ce]))}),ee.headers.forEach(function(ce,mt){Ha.indexOf(mt)===-1&&G.setRequestHeader(mt,ce)})}else ee.headers.forEach(function(ce,mt){G.setRequestHeader(mt,ce)});ee.signal&&(ee.signal.addEventListener("abort",oo),G.onreadystatechange=function(){G.readyState===4&&ee.signal.removeEventListener("abort",oo)}),G.send(typeof ee._bodyInit>"u"?null:ee._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=f,n.Request=E,n.Response=j),o.Headers=f,o.Request=E,o.Response=j,o.fetch=I,o}({})})(Do);Do.fetch.ponyfill=!0;delete Do.fetch.polyfill;var ir=ko.fetch?ko:Do;ht=ir.fetch;ht.default=ir.fetch;ht.fetch=ir.fetch;ht.Headers=ir.Headers;ht.Request=ir.Request;ht.Response=ir.Response;Cl.exports=ht});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,x){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=x.prototype.attributeChangedCallback,L=new Set(x.observedAttributes||[]);g(x,L,E);let $={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:L};this._definitionsByTag.set(O,$),this._definitionsByClass.set(x,$);let j=o.call(n,O);j||(j=f(O),e.call(n,O,j)),this===window.customElements&&(s.set(x,$),$.standInClass=j);let V=this._awaitingUpgrade.get(O);if(V){this._awaitingUpgrade.delete(O);for(let m of V)a.delete(m),y(m,$,!0)}let I=this._whenDefinedPromises.get(O);return I!==void 0&&(I.resolve(x),this._whenDefinedPromises.delete(O)),x}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let x=this._getDefinition(O);if(x!==void 0)return Promise.resolve(x.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(L=>E.resolve=L),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,x,E){let L=this._awaitingUpgrade.get(x);L||this._awaitingUpgrade.set(x,L=new Set),E?L.add(O):L.delete(O)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,E),x},window.HTMLElement.prototype=t.prototype;let p=O=>O===document||O instanceof ShadowRoot,h=O=>{let x=O.getRootNode();if(!p(x)){let E=R[R.length-1];if(E instanceof CustomElementRegistry)return E;x=E.getRootNode(),p(x)||(x=c.get(x)?.getRootNode()||document)}return x.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let L=h(E)||window.customElements,$=L._getDefinition(O);return $?y(E,$):a.set(E,L),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,x,E)=>{if(x.size===0||E===void 0)return;let L=O.prototype.setAttribute;L&&(O.prototype.setAttribute=function(V,I){let m=V.toLowerCase();if(x.has(m)){let v=this.getAttribute(m);L.call(this,m,I),E.call(this,m,v,I)}else L.call(this,m,I)});let $=O.prototype.removeAttribute;$&&(O.prototype.removeAttribute=function(V){let I=V.toLowerCase();if(x.has(I)){let m=this.getAttribute(I);$.call(this,I),E.call(this,I,m,null)}else $.call(this,I)});let j=O.prototype.toggleAttribute;j&&(O.prototype.toggleAttribute=function(V,I){let m=V.toLowerCase();if(x.has(m)){let v=this.getAttribute(m);j.call(this,m,I);let T=this.getAttribute(m);E.call(this,m,v,T)}else j.call(this,m,I)})},b=O=>{let x=Object.getPrototypeOf(O);if(x!==window.HTMLElement)return x===t?Object.setPrototypeOf(O,window.HTMLElement):b(x)},y=(O,x,E=!1)=>{Object.setPrototypeOf(O,x.elementClass.prototype),i.set(O,x),d=O;try{new x.elementClass}catch{b(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(L=>{O.hasAttribute(L)&&x.attributeChangedCallback.call(O,L,null,O.getAttribute(L))}),E&&x.connectedCallback&&O.isConnected&&x.connectedCallback.call(O)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let x=S.apply(this,arguments);return O.customElements&&(x.customElements=O.customElements),x};let R=[document],A=(O,x,E=void 0)=>{let L=(E?Object.getPrototypeOf(E):O.prototype)[x];O.prototype[x]=function(){R.push(this);let $=L.apply(E||this,arguments);return $!==void 0&&c.set($,this),R.pop(),$}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let _=(O,x)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,x);Object.defineProperty(O.prototype,x,{...E,set(L){R.push(this),E.set.call(this,L),R.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,x=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...V){let I=x.call(this,...V);return O.set(I,this),I},E.forEach(V=>{let I=window.ElementInternals.prototype,m=I[V];I[V]=function(...v){let T=O.get(this);if(i.get(T).formAssociated===!0)return m?.call(this,...v);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class L extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class ${constructor(I){let m=new Map;I.forEach((v,T)=>{let Z=v.getAttribute("name"),ee=m.get(Z)||[];this[+T]=v,ee.push(v),m.set(Z,ee)}),this.length=I.length,m.forEach((v,T)=>{v&&(v.length===1?this[T]=v[0]:this[T]=new L(v))})}namedItem(I){return this[I]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let V=j.get.call(this,[]),I=[];for(let m of V){let v=i.get(m);(!v||v.formAssociated===!0)&&I.push(m)}return new $(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var hn={};q(hn,{CSSResult:()=>Ht,LitElement:()=>Ke,ReactiveElement:()=>Be,_$LE:()=>dd,_$LH:()=>un,adoptStyles:()=>Er,css:()=>P,defaultConverter:()=>zt,getCompatibleStyle:()=>io,html:()=>U,isServer:()=>lf,mathml:()=>dn,noChange:()=>fe,notEqual:()=>wr,nothing:()=>M,render:()=>pn,supportsAdoptingStyleSheets:()=>Or,svg:()=>cn,unsafeCSS:()=>rt});var no=globalThis,Or=no.ShadowRoot&&(no.ShadyCSS===void 0||no.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,tn=Symbol(),za=new WeakMap,Ht=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==tn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Or&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=za.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&za.set(o,e))}return e}toString(){return this.cssText}},rt=t=>new Ht(typeof t=="string"?t:t+"",void 0,tn),P=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new Ht(o,t,tn)},Er=(t,e)=>{if(Or)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=no.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},io=Or?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return rt(o)})(t):t;var{is:Qc,defineProperty:ed,getOwnPropertyDescriptor:td,getOwnPropertyNames:rd,getOwnPropertySymbols:od,getPrototypeOf:nd}=Object,ao=globalThis,Wa=ao.trustedTypes,id=Wa?Wa.emptyScript:"",ad=ao.reactiveElementPolyfillSupport,Cr=(t,e)=>t,zt={toAttribute(t,e){switch(e){case Boolean:t=t?id:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},wr=(t,e)=>!Qc(t,e),Va={attribute:!0,type:String,converter:zt,reflect:!1,useDefault:!1,hasChanged:wr};Symbol.metadata??=Symbol("metadata"),ao.litPropertyMetadata??=new WeakMap;var Be=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Va){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&ed(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=td(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let c=i?.call(this);a?.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Va}static _$Ei(){if(this.hasOwnProperty(Cr("elementProperties")))return;let e=nd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Cr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Cr("properties"))){let o=this.properties,n=[...rd(o),...od(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(io(i))}else e!==void 0&&o.push(io(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Er(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:zt).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:zt;this._$Em=i,this[i]=s.fromAttribute(o,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??wr)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,c=this[i];s!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,a,c)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};Be.elementStyles=[],Be.shadowRootOptions={mode:"open"},Be[Cr("elementProperties")]=new Map,Be[Cr("finalized")]=new Map,ad?.({ReactiveElement:Be}),(ao.reactiveElementVersions??=[]).push("2.1.0");var on=globalThis,so=on.trustedTypes,Ga=so?so.createPolicy("lit-html",{createHTML:t=>t}):void 0,nn="$lit$",je=`lit$${Math.random().toFixed(9).slice(2)}$`,an="?"+je,sd=`<${an}>`,xt=document,Rr=()=>xt.createComment(""),_r=t=>t===null||typeof t!="object"&&typeof t!="function",sn=Array.isArray,Xa=t=>sn(t)||typeof t?.[Symbol.iterator]=="function",rn=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Za=/'/g,qa=/"/g,Ja=/^(?:script|style|textarea|title)$/i,ln=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),U=ln(1),cn=ln(2),dn=ln(3),fe=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Ya=new WeakMap,bt=xt.createTreeWalker(xt,129);function Qa(t,e){if(!sn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ga!==void 0?Ga.createHTML(e):e}var es=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Ar;for(let c=0;c<o;c++){let d=t[c],p,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Ar?h[1]==="!--"?s=ja:h[1]!==void 0?s=Ka:h[2]!==void 0?(Ja.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=yt):h[3]!==void 0&&(s=yt):s===yt?h[0]===">"?(s=i??Ar,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?yt:h[3]==='"'?qa:Za):s===qa||s===Za?s=yt:s===ja||s===Ka?s=Ar:(s=yt,i=void 0);let b=s===yt&&t[c+1].startsWith("/>")?" ":"";a+=s===Ar?d+sd:f>=0?(n.push(p),d.slice(0,f)+nn+d.slice(f)+je+b):d+je+(f===-2?c:b)}return[Qa(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Tr=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[p,h]=es(e,o);if(this.el=t.createElement(p,n),bt.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=bt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(nn)){let g=h[s++],b=i.getAttribute(f).split(je),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:y[2],strings:b,ctor:y[1]==="."?co:y[1]==="?"?uo:y[1]==="@"?po:St}),i.removeAttribute(f)}else f.startsWith(je)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Ja.test(i.tagName)){let f=i.textContent.split(je),g=f.length-1;if(g>0){i.textContent=so?so.emptyScript:"";for(let b=0;b<g;b++)i.append(f[b],Rr()),bt.nextNode(),d.push({type:2,index:++a});i.append(f[g],Rr())}}}else if(i.nodeType===8)if(i.data===an)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(je,f+1))!==-1;)d.push({type:7,index:a}),f+=je.length-1}a++}}static createElement(e,o){let n=xt.createElement("template");return n.innerHTML=e,n}};function vt(t,e,o=t,n){if(e===fe)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=_r(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=vt(t,i._$AS(t,e.values),i,n)),e}var lo=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??xt).importNode(o,!0);bt.currentNode=i;let a=bt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Wt(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new fo(a,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=bt.nextNode(),s++)}return bt.currentNode=xt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Wt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=vt(this,e,o),_r(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==fe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Xa(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!==M&&_r(this._$AH)?this._$AA.nextSibling.data=e:this.T(xt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Tr.createElement(Qa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new lo(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Ya.get(e.strings);return o===void 0&&Ya.set(e.strings,o=new Tr(e)),o}k(e){sn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(Rr()),this.O(Rr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},St=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=vt(this,e,o,0),s=!_r(e)||e!==this._$AH&&e!==fe,s&&(this._$AH=e);else{let c=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=vt(this,c[n+d],o,d),p===fe&&(p=this._$AH[d]),s||=!_r(p)||p!==this._$AH[d],p===M?e=M:e!==M&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.j(e)}j(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},co=class extends St{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===M?void 0:e}},uo=class extends St{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},po=class extends St{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=vt(this,e,o,0)??M)===fe)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},fo=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){vt(this,e)}},un={M:nn,P:je,A:an,C:1,L:es,R:lo,D:Xa,V:vt,I:Wt,H:St,N:uo,U:po,B:co,F:fo},ld=on.litHtmlPolyfillSupport;ld?.(Tr,Wt),(on.litHtmlVersions??=[]).push("3.3.0");var pn=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Wt(e.insertBefore(Rr(),a),a,void 0,o??{})}return i._$AI(t),i};var fn=globalThis,Ke=class extends Be{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=pn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return fe}};Ke._$litElement$=!0,Ke.finalized=!0,fn.litElementHydrateSupport?.({LitElement:Ke});var cd=fn.litElementPolyfillSupport;cd?.({LitElement:Ke});var dd={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(fn.litElementVersions??=[]).push("4.2.0");var lf=!1;var bn={};q(bn,{customElement:()=>ud,eventOptions:()=>fd,property:()=>C,query:()=>he,queryAll:()=>gn,queryAssignedElements:()=>mn,queryAssignedNodes:()=>yn,queryAsync:()=>gd,standardProperty:()=>ts,state:()=>W});var ud=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var pd={attribute:!0,type:String,converter:zt,reflect:!1,hasChanged:wr},ts=(t=pd,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function C(t){return(e,o)=>typeof o=="object"?ts(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function W(t){return C({...t,state:!0,attribute:!1})}function fd(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Pe=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function he(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Pe(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Pe(o,n,{get(){return a(this)}})}}var hd;function gn(t){return(e,o)=>Pe(e,o,{get(){return(this.renderRoot??(hd??=document.createDocumentFragment())).querySelectorAll(t)}})}function gd(t){return(e,o)=>Pe(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function mn(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Pe(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function yn(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Pe(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var xn={};q(xn,{repeat:()=>nt});var $e={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ke=t=>(...e)=>({_$litDirective$:t,values:e}),Te=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:md}=un;var os=t=>t.strings===void 0,rs=()=>document.createComment(""),Vt=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(rs(),i),s=n.insertBefore(rs(),i);o=new md(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||c){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},ot=(t,e,o=t)=>(t._$AI(e,o),t),yd={},ns=(t,e=yd)=>t._$AH=e,is=t=>t._$AH,ho=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var as=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},nt=ke(class extends Te{constructor(t){if(super(t),t.type!==$e.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=is(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let c=this.ut??=[],d=[],p,h,f=0,g=i.length-1,b=0,y=a.length-1;for(;f<=g&&b<=y;)if(i[f]===null)f++;else if(i[g]===null)g--;else if(c[f]===s[b])d[b]=ot(i[f],a[b]),f++,b++;else if(c[g]===s[y])d[y]=ot(i[g],a[y]),g--,y--;else if(c[f]===s[y])d[y]=ot(i[f],a[y]),Vt(t,d[y+1],i[f]),f++,y--;else if(c[g]===s[b])d[b]=ot(i[g],a[b]),Vt(t,i[f],i[g]),g--,b++;else if(p===void 0&&(p=as(s,b,y),h=as(c,f,g)),p.has(c[f]))if(p.has(c[g])){let S=h.get(s[b]),R=S!==void 0?i[S]:null;if(R===null){let A=Vt(t,i[f]);ot(A,a[b]),d[b]=A}else d[b]=ot(R,a[b]),Vt(t,i[f],R),i[S]=null;b++}else ho(i[g]),g--;else ho(i[f]),f++;for(;b<=y;){let S=Vt(t,d[y+1]);ot(S,a[b]),d[b++]=S}for(;f<=g;){let S=i[f++];S!==null&&ho(S)}return this.ut=s,ns(t,d),fe}});var vn={};q(vn,{classMap:()=>xe});var xe=ke(class extends Te{constructor(t){if(super(t),t.type!==$e.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return fe}});var Sn={};q(Sn,{styleMap:()=>xd});var ss="important",bd=" !"+ss,xd=ke(class extends Te{constructor(t){if(super(t),t.type!==$e.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(bd);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ss:""):o[n]=i}}return fe}});var En={};q(En,{UnsafeHTMLDirective:()=>Gt,unsafeHTML:()=>On});var Gt=class extends Te{constructor(e){if(super(e),this.it=M,e.type!==$e.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this._t=void 0,this.it=e;if(e===fe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Gt.directiveName="unsafeHTML",Gt.resultType=1;var On=ke(Gt);var Ln={};q(Ln,{CacheRegistry:()=>Fe,ClearCacheEvent:()=>Pr});var wn={};q(wn,{CancelablePromise:()=>go,CanceledPromiseError:()=>Ot,cancelable:()=>Cn});var Ot=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},go=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Ot("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Ot("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Cn=t=>new go((e,o)=>t.then(e).catch(o));var Nn={};q(Nn,{FtNotificationEvent:()=>Ir,PostResizeEvent:()=>Tn,PreResizeEvent:()=>_n,WithEventBus:()=>Ze,withEventBus:()=>yo});var Rn={};q(Rn,{applyMixinOnce:()=>de,dateReviver:()=>Od,deepCopy:()=>Lr,deepEqual:()=>ve,delay:()=>mo,eventPathContainsMatchingElement:()=>Cd,everyDeep:()=>Sd,flatDeep:()=>cs,forEachDeep:()=>ds,getComposedPathTo:()=>An,hasChanged:()=>Et,last:()=>wd,minmax:()=>Nr,parseDate:()=>ps,randomId:()=>Ad,someDeep:()=>us,unslotText:()=>fs,waitFor:()=>ls,waitUntil:()=>vd});var mo=t=>new Promise(e=>setTimeout(e,t));async function vd(t,e=10,o=2e4){await ls(async()=>await t()||void 0,e,o)}async function ls(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await mo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function cs(t,e){return t.flatMap(o=>[o,...cs(e(o),e)])}function ds(t,e,o){let n=(i,a)=>{var s;for(let c=0;c<i.length;c++){let d=i[c];if(!(((s=o(d,c,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function us(t,e,o){let n=!1;return ds(t,e,(i,a,s,c)=>(n=!!o(i,a,s,c),!n)),n}function Sd(t,e,o){return!us(t,e,(n,i,a,s)=>!o(n,i,a,s))}function Od(...t){return(e,o)=>t.includes(e)?ps(o):o}function ps(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function Ed(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!ve(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(!ve(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 a=s=>Object.keys(s).filter(c=>s[c]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!ve(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ve(t,e){try{return Ed(t,e)}catch{return!1}}function Et(t,e){return!ve(t,e)}function Cd(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Nr(t,e,o){return Math.min(Math.max(t,e),o)}function wd(t){return t[t.length-1]}function fs(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>fs(e)).join(""):t?.textContent||""}function An(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function Lr(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Ad(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function de(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var Ir=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},_n=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Tn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},yo=de(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Ze=class extends yo(Object){};var Pr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Fe=class extends Ze{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new Pr(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Pr([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Cn(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var kn={};q(kn,{ClusteringHelper:()=>Pn,formatHierarchicalValues:()=>In});function In(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Pn=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var o,n,i,a,s;let c=((a=(n=(o=e.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(c=>{a.push(In(c)),s.push(In(c,o))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,b)=>b.findIndex(y=>y.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>c&&(c=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Dn={};q(Dn,{Debouncer:()=>Ne});var Ne=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mn={};q(Mn,{customElement:()=>ie,dateProperty:()=>_d,isNumber:()=>hs,jsonProperty:()=>He,numberProperty:()=>bo,optionalNumberProperty:()=>Rd});var ie=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function He(t,e){let o=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Et,...e??{}})}function Rd(t){return bo(t)}function bo(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return hs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function hs(t){return!isNaN(parseFloat(t))}function _d(t){return C({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var ci={};q(ci,{designSystemVariables:()=>Y});var li={};q(li,{DesignSystemFamily:()=>Dr,DesignSystemSize:()=>Mr,FtCssVariableFactory:()=>r,badge:()=>$d,banner:()=>Bd,button:()=>Nd,chart:()=>tu,checkbox:()=>Id,chip:()=>Md,chipChoice:()=>Dd,collapsible:()=>Qd,comboboxMultiSelect:()=>Xd,comboboxSingleSelect:()=>Yd,dateRangePicker:()=>lu,drawer:()=>Gd,floatingMenu:()=>qd,foundation:()=>l,link:()=>Ud,modal:()=>Vd,notice:()=>ou,notification:()=>iu,pageDesigner:()=>ru,pageFooter:()=>zd,pageHeader:()=>Hd,pageLayout:()=>Wd,popover:()=>Jd,radio:()=>Pd,reorderableList:()=>su,resolveFamilyClass:()=>ai,resolveSizeClass:()=>si,semantic:()=>u,setVariable:()=>H,switch_:()=>eu,table:()=>kd,tabs:()=>jd,textArea:()=>Zd,textInput:()=>Kd,titleBreadcrumb:()=>Fd,toggle:()=>nu,tooltip:()=>au,treeList:()=>Ld,typographies:()=>kr,typographyBody1Medium:()=>zn,typographyBody1Regular:()=>Hn,typographyBody1Semibold:()=>Wn,typographyBody2Medium:()=>Ct,typographyBody2MediumUnderline:()=>gs,typographyBody2Regular:()=>Vn,typographyBody2Semibold:()=>Gn,typographyCaption1Bold:()=>ei,typographyCaption1Medium:()=>Jn,typographyCaption1Semibold:()=>Qn,typographyCaption2Bold:()=>ri,typographyCaption2Medium:()=>at,typographyCaption2Semibold:()=>ti,typographyCaption3Bold:()=>ii,typographyCaption3Medium:()=>oi,typographyCaption3Semibold:()=>ni,typographyDisplay:()=>Un,typographyLabel1Bold:()=>Zn,typographyLabel1Medium:()=>jn,typographyLabel1Semibold:()=>Kn,typographyLabel2Bold:()=>Xn,typographyLabel2Medium:()=>qn,typographyLabel2Semibold:()=>Yn,typographyTitle1:()=>Bn,typographyTitle2:()=>$n,typographyTitle3:()=>Fn,typographyVariants:()=>Td});var it=t=>typeof t=="string"?rt(t):t,r=class{static create(e,o,n,i){let a=c=>it(c??i),s=P`var(${it(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>H(s,c??a(i)),s.get=c=>P`var(${it(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=P`var(${it(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>H(s,c??a(i)),s.get=c=>P`var(${it(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=P`var(${it(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>P`var(${it(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function H(t,e){return it(`${t.name}: ${e}`)}var l={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Un={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Bn={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},$n={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Fn={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Hn={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},zn={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Wn={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Vn={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ct={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},gs={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Gn={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},jn={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},at={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},ii={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},kr={display:Un,"title-1":Bn,"title-2":$n,"title-3":Fn,"body-1-regular":Hn,"body-1-medium":zn,"body-1-semibold":Wn,"body-2-regular":Vn,"body-2-medium":Ct,"body-2-medium-underline":gs,"body-2-semibold":Gn,"label-1-medium":jn,"label-1-semibold":Kn,"label-1-bold":Zn,"label-2-medium":qn,"label-2-semibold":Yn,"label-2-bold":Xn,"caption-1-medium":Jn,"caption-1-semibold":Qn,"caption-1-bold":ei,"caption-2-medium":at,"caption-2-semibold":ti,"caption-2-bold":ri,"caption-3-medium":oi,"caption-3-semibold":ni,"caption-3-bold":ii},Td=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var Nd={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Ld={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Id={iconSize:r.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",l.spacing2)};var Pd={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var kd={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Dd={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var Md={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Ud={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var Bd={iconSize:r.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var $d={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Fd={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Hd={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var zd={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Wd={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Vd={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var Gd={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var jd={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Kd={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var Zd={backgroundColor:r.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var qd={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var Yd={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Xd={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var Jd={backgroundColor:r.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",l.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var Qd={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var eu={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var tu={color1Light:r.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var ru={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var ou={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ftds-notice-gap","",l.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var nu={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",l.spacing3)};var iu={iconSize:r.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",l.spacing8)};var au={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",l.spacing05)};var su={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var lu={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var Dr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Dr||(Dr={}));var Mr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Mr||(Mr={}));function ai(t){return`ftds--family-${t}`}function si(t){return`ftds--size-${t}`}var Y={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var di={};q(di,{DynamicImporter:()=>xo,dynamicImporter:()=>cu});var xo=class{async import(e){if(e)return import(e)}},cu=new xo;var wi={};q(wi,{computeOffsetAutoPosition:()=>Ci,computeOffsetPosition:()=>Tu});var ys=["top","right","bottom","left"],ms=["start","end"],pi=ys.reduce((t,e)=>t.concat(e,e+"-"+ms[0],e+"-"+ms[1]),[]),vo=Math.min,st=Math.max;var du={left:"right",right:"left",bottom:"top",top:"bottom"},uu={start:"end",end:"start"};function fi(t,e,o){return st(t,vo(e,o))}function jt(t,e){return typeof t=="function"?t(e):t}function lt(t){return t.split("-")[0]}function ze(t){return t.split("-")[1]}function hi(t){return t==="x"?"y":"x"}function gi(t){return t==="y"?"height":"width"}function Kt(t){return["top","bottom"].includes(lt(t))?"y":"x"}function mi(t){return hi(Kt(t))}function bs(t,e,o){o===void 0&&(o=!1);let n=ze(t),i=mi(t),a=gi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ui(s)),[s,ui(s)]}function xs(t){return t.replace(/start|end/g,e=>uu[e])}function ui(t){return t.replace(/left|right|bottom|top/g,e=>du[e])}function pu(t){return{top:0,right:0,bottom:0,left:0,...t}}function vs(t){return typeof t!="number"?pu(t):{top:t,right:t,bottom:t,left:t}}function wt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Ss(t,e,o){let{reference:n,floating:i}=t,a=Kt(e),s=mi(e),c=gi(s),d=lt(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}switch(ze(e)){case"start":b[s]-=g*(o&&p?-1:1);break;case"end":b[s]+=g*(o&&p?-1:1);break}return b}var Os=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Ss(p,n,d),g=n,b={},y=0;for(let S=0;S<c.length;S++){let{name:R,fn:A}=c[S],{x:_,y:O,data:x,reset:E}=await A({x:h,y:f,initialPlacement:n,placement:g,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});h=_??h,f=O??f,b={...b,[R]:{...b[R],...x}},E&&y<=50&&(y++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=Ss(p,g,d)),S=-1)}return{x:h,y:f,placement:g,strategy:i,middlewareData:b}};async function So(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:b=0}=jt(e,t),y=vs(b),R=c[g?f==="floating"?"reference":"floating":f],A=wt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(R)))==null||o?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),_=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),x=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},E=wt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:_,offsetParent:O,strategy:d}):_);return{top:(A.top-E.top+y.top)/x.y,bottom:(E.bottom-A.bottom+y.bottom)/x.y,left:(A.left-E.left+y.left)/x.x,right:(E.right-A.right+y.right)/x.x}}function fu(t,e,o){return(t?[...o.filter(i=>ze(i)===t),...o.filter(i=>ze(i)!==t)]:o.filter(i=>lt(i)===i)).filter(i=>t?ze(i)===t||(e?xs(i)!==i:!1):!0)}var Oo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:g=pi,autoAlignment:b=!0,...y}=jt(t,e),S=f!==void 0||g===pi?fu(f||null,b,g):g,R=await So(e,y),A=((o=s.autoPlacement)==null?void 0:o.index)||0,_=S[A];if(_==null)return{};let O=bs(_,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==_)return{reset:{placement:S[0]}};let x=[R[lt(_)],R[O[0]],R[O[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:x}],L=S[A+1];if(L)return{data:{index:A+1,overflows:E},reset:{placement:L}};let $=E.map(I=>{let m=ze(I.placement);return[I.placement,m&&h?I.overflows.slice(0,2).reduce((v,T)=>v+T,0):I.overflows[0],I.overflows]}).sort((I,m)=>I[1]-m[1]),V=((i=$.filter(I=>I[2].slice(0,ze(I[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||$[0][0];return V!==c?{data:{index:A+1,overflows:E},reset:{placement:V}}:{}}}};async function hu(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=lt(o),c=ze(o),d=Kt(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=jt(e,t),{mainAxis:g,crossAxis:b,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof y=="number"&&(b=c==="end"?y*-1:y),d?{x:b*h,y:g*p}:{x:g*p,y:b*h}}var yi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await hu(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},bi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:R=>{let{x:A,y:_}=R;return{x:A,y:_}}},...d}=jt(t,e),p={x:o,y:n},h=await So(e,d),f=Kt(lt(i)),g=hi(f),b=p[g],y=p[f];if(a){let R=g==="y"?"top":"left",A=g==="y"?"bottom":"right",_=b+h[R],O=b-h[A];b=fi(_,b,O)}if(s){let R=f==="y"?"top":"left",A=f==="y"?"bottom":"right",_=y+h[R],O=y-h[A];y=fi(_,y,O)}let S=c.fn({...e,[g]:b,[f]:y});return{...S,data:{x:S.x-o,y:S.y-n,enabled:{[g]:a,[f]:s}}}}}};var xi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:i,rects:a,platform:s,elements:c}=e,{apply:d=()=>{},...p}=jt(t,e),h=await So(e,p),f=lt(i),g=ze(i),b=Kt(i)==="y",{width:y,height:S}=a.floating,R,A;f==="top"||f==="bottom"?(R=f,A=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(A=f,R=g==="end"?"top":"bottom");let _=S-h.top-h.bottom,O=y-h.left-h.right,x=vo(S-h[R],_),E=vo(y-h[A],O),L=!e.middlewareData.shift,$=x,j=E;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(j=O),(n=e.middlewareData.shift)!=null&&n.enabled.y&&($=_),L&&!g){let I=st(h.left,0),m=st(h.right,0),v=st(h.top,0),T=st(h.bottom,0);b?j=y-2*(I!==0||m!==0?I+m:st(h.left,h.right)):$=S-2*(v!==0||T!==0?v+T:st(h.top,h.bottom))}await d({...e,availableWidth:j,availableHeight:$});let V=await s.getDimensions(c.floating);return y!==V.width||S!==V.height?{reset:{rects:!0}}:{}}}};var vi=Math.min,Zt=Math.max,Ur=Math.round;var qe=t=>({x:t,y:t});function Ye(t){return Cs(t)?(t.nodeName||"").toLowerCase():"#document"}function ye(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Xe(t){var e;return(e=(Cs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Cs(t){return t instanceof Node||t instanceof ye(t).Node}function We(t){return t instanceof Element||t instanceof ye(t).Element}function De(t){return t instanceof HTMLElement||t instanceof ye(t).HTMLElement}function Es(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ye(t).ShadowRoot}function qt(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Se(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ws(t){return["table","td","th"].includes(Ye(t))}function Co(t){let e=wo(),o=Se(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function As(t){let e=At(t);for(;De(e)&&!Br(e);){if(Co(e))return e;e=At(e)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Br(t){return["html","body","#document"].includes(Ye(t))}function Se(t){return ye(t).getComputedStyle(t)}function $r(t){return We(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function At(t){if(Ye(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Es(t)&&t.host||Xe(t);return Es(e)?e.host:e}function Rs(t){let e=At(t);return Br(e)?t.ownerDocument?t.ownerDocument.body:t.body:De(e)&&qt(e)?e:Rs(e)}function Eo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Rs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=ye(i);return a?e.concat(s,s.visualViewport||[],qt(i)?i:[],s.frameElement&&o?Eo(s.frameElement):[]):e.concat(i,Eo(i,[],o))}function Ns(t){let e=Se(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=De(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=Ur(o)!==a||Ur(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Ls(t){return We(t)?t:t.contextElement}function Yt(t){let e=Ls(t);if(!De(e))return qe(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ns(e),s=(a?Ur(o.width):o.width)/n,c=(a?Ur(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var gu=qe(0);function Is(t){let e=ye(t);return!wo()||!e.visualViewport?gu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function mu(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ye(t)?!1:e}function Fr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Ls(t),s=qe(1);e&&(n?We(n)&&(s=Yt(n)):s=Yt(t));let c=mu(a,o,n)?Is(a):qe(0),d=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let g=ye(a),b=n&&We(n)?ye(n):n,y=g.frameElement;for(;y&&n&&b!==g;){let S=Yt(y),R=y.getBoundingClientRect(),A=Se(y),_=R.left+(y.clientLeft+parseFloat(A.paddingLeft))*S.x,O=R.top+(y.clientTop+parseFloat(A.paddingTop))*S.y;d*=S.x,p*=S.y,h*=S.x,f*=S.y,d+=_,p+=O,y=ye(y).frameElement}}return wt({width:h,height:f,x:d,y:p})}function yu(t){let{rect:e,offsetParent:o,strategy:n}=t,i=De(o),a=Xe(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=qe(1),d=qe(0);if((i||!i&&n!=="fixed")&&((Ye(o)!=="body"||qt(a))&&(s=$r(o)),De(o))){let p=Fr(o);c=Yt(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function bu(t){return Array.from(t.getClientRects())}function Ps(t){return Fr(Xe(t)).left+$r(t).scrollLeft}function xu(t){let e=Xe(t),o=$r(t),n=t.ownerDocument.body,i=Zt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Zt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ps(t),c=-o.scrollTop;return Se(n).direction==="rtl"&&(s+=Zt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function vu(t,e){let o=ye(t),n=Xe(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let p=wo();(!p||p&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function Su(t,e){let o=Fr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=De(t)?Yt(t):qe(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:c,x:d,y:p}}function _s(t,e,o){let n;if(e==="viewport")n=vu(t,o);else if(e==="document")n=xu(Xe(t));else if(We(e))n=Su(e,o);else{let i=Is(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return wt(n)}function ks(t,e){let o=At(t);return o===e||!We(o)||Br(o)?!1:Se(o).position==="fixed"||ks(o,e)}function Ou(t,e){let o=e.get(t);if(o)return o;let n=Eo(t,[],!1).filter(c=>We(c)&&Ye(c)!=="body"),i=null,a=Se(t).position==="fixed",s=a?At(t):t;for(;We(s)&&!Br(s);){let c=Se(s),d=Co(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||qt(s)&&!d&&ks(t,s))?n=n.filter(h=>h!==s):i=c,s=At(s)}return e.set(t,n),n}function Eu(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Ou(e,this._c):[].concat(o),n],c=s[0],d=s.reduce((p,h)=>{let f=_s(e,h,i);return p.top=Zt(f.top,p.top),p.right=vi(f.right,p.right),p.bottom=vi(f.bottom,p.bottom),p.left=Zt(f.left,p.left),p},_s(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Cu(t){return Ns(t)}function wu(t,e,o){let n=De(e),i=Xe(e),a=o==="fixed",s=Fr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=qe(0);if(n||!n&&!a)if((Ye(e)!=="body"||qt(i))&&(c=$r(e)),n){let p=Fr(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=Ps(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Ts(t,e){return!De(t)||Se(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ds(t,e){let o=ye(t);if(!De(t))return o;let n=Ts(t,e);for(;n&&ws(n)&&Se(n).position==="static";)n=Ts(n,e);return n&&(Ye(n)==="html"||Ye(n)==="body"&&Se(n).position==="static"&&!Co(n))?o:n||As(t)||o}var Au=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Ds,a=this.getDimensions;return{reference:wu(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Ru(t){return Se(t).direction==="rtl"}var Xt={convertOffsetParentRelativeRectToViewportRelativeRect:yu,getDocumentElement:Xe,getClippingRect:Eu,getOffsetParent:Ds,getElementRects:Au,getClientRects:bu,getDimensions:Cu,getScale:Yt,isElement:We,isRTL:Ru};var Si=(t,e,o)=>{let n=new Map,i={platform:Xt,...o},a={...i.platform,_c:n};return Os(t,e,{...i,platform:a})};function Ei(t){return _u(t)}function Oi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function _u(t){for(let e=t;e;e=Oi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Oi(t);e;e=Oi(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Tu(t,e,o){return Si(t,e,{platform:{...Xt,getOffsetParent:n=>Xt.getOffsetParent(n,Ei)},middleware:[bi({crossAxis:!0}),Oo({allowedPlacements:[o]})]})}async function Ci(t,e,o,n,i,a,s=4){return Si(t,e,{placement:o,strategy:i,platform:{...Xt,getOffsetParent:c=>Xt.getOffsetParent(c,Ei)},middleware:[yi(s),Oo({allowedPlacements:n}),xi({apply({availableHeight:c,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var Li={};q(Li,{FtdsBase:()=>Ni,toFtdsBase:()=>Ao});var Ti={};q(Ti,{FtLitElement:()=>X});var Ai={};q(Ai,{ScopedRegistryLitElement:()=>Hr});var Hr=class extends Ke{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Er(n,e.elementStyles),n}};var _i={};q(_i,{shadowQuerySelector:()=>Ri,shadowQuerySelectorAll:()=>Nu});function Ri(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Nu(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var zr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},$s,Ms=Symbol("constructorPrototype"),Us=Symbol("constructorName"),Fs=Symbol("exportpartsDebouncer"),Bs=Symbol("dynamicDependenciesLoaded"),X=class extends Hr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$s]=new Ne(5),this[Us]=this.constructor.name,this[Ms]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Us]&&Object.setPrototypeOf(this,this[Ms])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Bs]||(e[Bs]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Ri(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Fs].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...b,...y).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>p.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};$s=Fs;zr([C()],X.prototype,"exportpartsPrefix",void 0);zr([He([])],X.prototype,"exportpartsPrefixes",void 0);zr([C()],X.prototype,"customStylesheet",void 0);zr([C()],X.prototype,"elementToFocus",void 0);zr([W()],X.prototype,"useAdoptedStyleSheets",void 0);var Hs=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ao=de(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Mr.medium,this.family=Dr.neutral}getDesignSystemBaseClasses(){return{[ai(this.family)]:!0,[si(this.size)]:!0}}}return Hs([C()],e.prototype,"size",void 0),Hs([C()],e.prototype,"family",void 0),e}),Ni=class extends Ao(X){};var zs={};var ki={};q(ki,{highlightHtml:()=>Pi,highlightHtmlColorCssVariable:()=>Ws,highlightHtmlStyles:()=>Iu});var Rt=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(c++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(p,h,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>d.push(b),i)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var Wr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Rt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);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,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,c=o-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Rt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+g,e.nodes.forEach((b,y)=>{y>=c&&(e.nodes[y].start>0&&y!==c&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,g=>o(g,c,a.value.substring(p,h),d),g=>{n(g,c)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),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,(g,b)=>this.opt.filter(b,p,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Rt.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ii(t){let e=new Wr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var Lu=Ii,Ws=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Iu=P`
|
|
1
|
+
"use strict";(()=>{var _d=Object.create;var Ln=Object.defineProperty;var Nd=Object.getOwnPropertyDescriptor;var Pd=Object.getOwnPropertyNames;var kd=Object.getPrototypeOf,$d=Object.prototype.hasOwnProperty;var Dd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),te=(t,e)=>{for(var o in e)Ln(t,o,{get:e[o],enumerable:!0})},Md=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pd(e))!$d.call(t,i)&&i!==o&&Ln(t,i,{get:()=>e[i],enumerable:!(n=Nd(e,i))||n.enumerable});return t};var Bd=(t,e,o)=>(o=t!=null?_d(kd(t)):{},Md(e||!t||!t.__esModule?Ln(o,"default",{value:t,enumerable:!0}):o,t));var ec=Dd((Ft,Ql)=>{var sn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ln=function(){function t(){this.fetch=!1,this.DOMException=sn.DOMException}return t.prototype=sn,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function d(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function p(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var O={next:function(){var k=g.shift();return{done:k===void 0,value:k}}};return i.iterable&&(O[Symbol.iterator]=function(){return O}),O}function f(g){this.map={},g instanceof f?g.forEach(function(O,k){this.append(k,O)},this):Array.isArray(g)?g.forEach(function(O){if(O.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+O.length);this.append(O[0],O[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(O){this.append(O,g[O])},this)}f.prototype.append=function(g,O){g=d(g),O=p(O);var k=this.map[g];this.map[g]=k?k+", "+O:O},f.prototype.delete=function(g){delete this.map[d(g)]},f.prototype.get=function(g){return g=d(g),this.has(g)?this.map[g]:null},f.prototype.has=function(g){return this.map.hasOwnProperty(d(g))},f.prototype.set=function(g,O){this.map[d(g)]=p(O)},f.prototype.forEach=function(g,O){for(var k in this.map)this.map.hasOwnProperty(k)&&g.call(O,this.map[k],k,this)},f.prototype.keys=function(){var g=[];return this.forEach(function(O,k){g.push(k)}),h(g)},f.prototype.values=function(){var g=[];return this.forEach(function(O){g.push(O)}),h(g)},f.prototype.entries=function(){var g=[];return this.forEach(function(O,k){g.push([k,O])}),h(g)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function S(g){return new Promise(function(O,k){g.onload=function(){O(g.result)},g.onerror=function(){k(g.error)}})}function x(g){var O=new FileReader,k=S(O);return O.readAsArrayBuffer(g),k}function E(g){var O=new FileReader,k=S(O),ee=/charset=([A-Za-z0-9_-]+)/.exec(g.type),se=ee?ee[1]:"utf-8";return O.readAsText(g,se),k}function L(g){for(var O=new Uint8Array(g),k=new Array(O.length),ee=0;ee<O.length;ee++)k[ee]=String.fromCharCode(O[ee]);return k.join("")}function T(g){if(g.slice)return g.slice(0);var O=new Uint8Array(g.byteLength);return O.set(new Uint8Array(g)),O.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:i.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:i.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():i.arrayBuffer&&i.blob&&a(g)?(this._bodyArrayBuffer=T(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(g))?this._bodyArrayBuffer=T(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var g=m(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(L(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(D)}),this.json=function(){return this.text().then(JSON.parse)},this}var w=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(g){var O=g.toUpperCase();return w.indexOf(O)>-1?O:g}function A(g,O){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O=O||{};var k=O.body;if(g instanceof A){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,O.headers||(this.headers=new f(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!k&&g._bodyInit!=null&&(k=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new f(O.headers)),this.method=C(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal||function(){if("AbortController"in n){var X=new AbortController;return X.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(O.cache==="no-store"||O.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function D(g){var O=new FormData;return g.trim().split("&").forEach(function(k){if(k){var ee=k.split("="),se=ee.shift().replace(/\+/g," "),X=ee.join("=").replace(/\+/g," ");O.append(decodeURIComponent(se),decodeURIComponent(X))}}),O}function j(g){var O=new f,k=g.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(ee){return ee.indexOf(`
|
|
2
|
+
`)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var se=ee.split(":"),X=se.shift().trim();if(X){var No=se.join(":").trim();try{O.append(X,No)}catch(Tn){console.warn("Response "+Tn.message)}}}),O}_.call(A.prototype);function J(g,O){if(!(this instanceof J))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new f(O.headers),this.url=O.url||"",this._initBody(g)}_.call(J.prototype),J.prototype.clone=function(){return new J(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},J.error=function(){var g=new J(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Y=[301,302,303,307,308];J.redirect=function(g,O){if(Y.indexOf(O)===-1)throw new RangeError("Invalid status code");return new J(null,{status:O,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(O,k){this.message=O,this.name=k;var ee=Error(O);this.stack=ee.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(g,O){return new Promise(function(k,ee){var se=new A(g,O);if(se.signal&&se.signal.aborted)return ee(new o.DOMException("Aborted","AbortError"));var X=new XMLHttpRequest;function No(){X.abort()}X.onload=function(){var Ee={statusText:X.statusText,headers:j(X.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(X.status<200||X.status>599)?Ee.status=200:Ee.status=X.status,Ee.url="responseURL"in X?X.responseURL:Ee.headers.get("X-Request-URL");var Ut="response"in X?X.response:X.responseText;setTimeout(function(){k(new J(Ut,Ee))},0)},X.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},X.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},X.onabort=function(){setTimeout(function(){ee(new o.DOMException("Aborted","AbortError"))},0)};function Tn(Ee){try{return Ee===""&&n.location.href?n.location.href:Ee}catch{return Ee}}if(X.open(se.method,Tn(se.url),!0),se.credentials==="include"?X.withCredentials=!0:se.credentials==="omit"&&(X.withCredentials=!1),"responseType"in X&&(i.blob?X.responseType="blob":i.arrayBuffer&&(X.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof f||n.Headers&&O.headers instanceof n.Headers)){var ys=[];Object.getOwnPropertyNames(O.headers).forEach(function(Ee){ys.push(d(Ee)),X.setRequestHeader(Ee,p(O.headers[Ee]))}),se.headers.forEach(function(Ee,Ut){ys.indexOf(Ut)===-1&&X.setRequestHeader(Ut,Ee)})}else se.headers.forEach(function(Ee,Ut){X.setRequestHeader(Ut,Ee)});se.signal&&(se.signal.addEventListener("abort",No),X.onreadystatechange=function(){X.readyState===4&&se.signal.removeEventListener("abort",No)}),X.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return M.polyfill=!0,n.fetch||(n.fetch=M,n.Headers=f,n.Request=A,n.Response=J),o.Headers=f,o.Request=A,o.Response=J,o.fetch=M,o}({})})(ln);ln.fetch.ponyfill=!0;delete ln.fetch.polyfill;var _r=sn.fetch?sn:ln;Ft=_r.fetch;Ft.default=_r.fetch;Ft.fetch=_r.fetch;Ft.Headers=_r.Headers;Ft.Request=_r.Request;Ft.Response=_r.Response;Ql.exports=Ft});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(w,C){if(w=w.toLowerCase(),this._getDefinition(w)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${w}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=C.prototype.attributeChangedCallback,D=new Set(C.observedAttributes||[]);m(C,D,A);let j={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(w,j),this._definitionsByClass.set(C,j);let J=o.call(n,w);J||(J=f(w),e.call(n,w,J)),this===window.customElements&&(s.set(C,j),j.standInClass=J);let Y=this._awaitingUpgrade.get(w);if(Y){this._awaitingUpgrade.delete(w);for(let g of Y)a.delete(g),x(g,j,!0)}let M=this._whenDefinedPromises.get(w);return M!==void 0&&(M.resolve(C),this._whenDefinedPromises.delete(w)),C}upgrade(){L.push(this),n.upgrade.apply(n,arguments),L.pop()}get(w){return this._definitionsByTag.get(w)?.elementClass}_getDefinition(w){return this._definitionsByTag.get(w)}whenDefined(w){let C=this._getDefinition(w);if(C!==void 0)return Promise.resolve(C.elementClass);let A=this._whenDefinedPromises.get(w);return A===void 0&&(A={},A.promise=new Promise(D=>A.resolve=D),this._whenDefinedPromises.set(w,A)),A.promise}_upgradeWhenDefined(w,C,A){let D=this._awaitingUpgrade.get(C);D||this._awaitingUpgrade.set(C,D=new Set),A?D.add(w):D.delete(w)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],A.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,A),C},window.HTMLElement.prototype=t.prototype;let p=w=>w===document||w instanceof ShadowRoot,h=w=>{let C=w.getRootNode();if(!p(C)){let A=L[L.length-1];if(A instanceof CustomElementRegistry)return A;C=A.getRootNode(),p(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},f=w=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let D=h(A)||window.customElements,j=D._getDefinition(w);return j?x(A,j):a.set(A,D),A}connectedCallback(){let A=i.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,w,!0)}disconnectedCallback(){let A=i.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,w,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=i.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=i.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=i.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=i.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},m=(w,C,A)=>{if(C.size===0||A===void 0)return;let D=w.prototype.setAttribute;D&&(w.prototype.setAttribute=function(Y,M){let g=Y.toLowerCase();if(C.has(g)){let O=this.getAttribute(g);D.call(this,g,M),A.call(this,g,O,M)}else D.call(this,g,M)});let j=w.prototype.removeAttribute;j&&(w.prototype.removeAttribute=function(Y){let M=Y.toLowerCase();if(C.has(M)){let g=this.getAttribute(M);j.call(this,M),A.call(this,M,g,null)}else j.call(this,M)});let J=w.prototype.toggleAttribute;J&&(w.prototype.toggleAttribute=function(Y,M){let g=Y.toLowerCase();if(C.has(g)){let O=this.getAttribute(g);J.call(this,g,M);let k=this.getAttribute(g);A.call(this,g,O,k)}else J.call(this,g,M)})},S=w=>{let C=Object.getPrototypeOf(w);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(w,window.HTMLElement):S(C)},x=(w,C,A=!1)=>{Object.setPrototypeOf(w,C.elementClass.prototype),i.set(w,C),d=w;try{new C.elementClass}catch{S(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(D=>{w.hasAttribute(D)&&C.attributeChangedCallback.call(w,D,null,w.getAttribute(D))}),A&&C.connectedCallback&&w.isConnected&&C.connectedCallback.call(w)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(w){let C=E.apply(this,arguments);return w.customElements&&(C.customElements=w.customElements),C};let L=[document],T=(w,C,A=void 0)=>{let D=(A?Object.getPrototypeOf(A):w.prototype)[C];w.prototype[C]=function(){L.push(this);let j=D.apply(A||this,arguments);return j!==void 0&&l.set(j,this),L.pop(),j}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let _=(w,C)=>{let A=Object.getOwnPropertyDescriptor(w.prototype,C);Object.defineProperty(w.prototype,C,{...A,set(D){L.push(this),A.set.call(this,D),L.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let w=new WeakMap,C=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Y){let M=C.call(this,...Y);return w.set(M,this),M},A.forEach(Y=>{let M=window.ElementInternals.prototype,g=M[Y];M[Y]=function(...O){let k=w.get(this);if(i.get(k).formAssociated===!0)return g?.call(this,...O);throw new DOMException(`Failed to execute ${g} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class j{constructor(M){let g=new Map;M.forEach((O,k)=>{let ee=O.getAttribute("name"),se=g.get(ee)||[];this[+k]=O,se.push(O),g.set(ee,se)}),this.length=M.length,g.forEach((O,k)=>{O&&(O.length===1?this[k]=O[0]:this[k]=new D(O))})}namedItem(M){return this[M]}}let J=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Y=J.get.call(this,[]),M=[];for(let g of Y){let O=i.get(g);(!O||O.formAssociated===!0)&&M.push(g)}return new j(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Wn={};te(Wn,{CSSResult:()=>ur,LitElement:()=>mt,ReactiveElement:()=>at,_$LE:()=>Yd,_$LH:()=>Un,adoptStyles:()=>Zr,css:()=>P,defaultConverter:()=>pr,getCompatibleStyle:()=>ko,html:()=>N,isServer:()=>Hf,mathml:()=>Fn,noChange:()=>Re,notEqual:()=>Yr,nothing:()=>z,render:()=>zn,supportsAdoptingStyleSheets:()=>Kr,svg:()=>Bn,unsafeCSS:()=>it});var Po=globalThis,Kr=Po.ShadowRoot&&(Po.ShadyCSS===void 0||Po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_n=Symbol(),bs=new WeakMap,ur=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==_n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Kr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=bs.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&bs.set(o,e))}return e}toString(){return this.cssText}},it=t=>new ur(typeof t=="string"?t:t+"",void 0,_n),P=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new ur(o,t,_n)},Zr=(t,e)=>{if(Kr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Po.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},ko=Kr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return it(o)})(t):t;var{is:Fd,defineProperty:Ud,getOwnPropertyDescriptor:zd,getOwnPropertyNames:Hd,getOwnPropertySymbols:Wd,getPrototypeOf:Vd}=Object,$o=globalThis,xs=$o.trustedTypes,Gd=xs?xs.emptyScript:"",jd=$o.reactiveElementPolyfillSupport,qr=(t,e)=>t,pr={toAttribute(t,e){switch(e){case Boolean:t=t?Gd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Yr=(t,e)=>!Fd(t,e),vs={attribute:!0,type:String,converter:pr,reflect:!1,useDefault:!1,hasChanged:Yr};Symbol.metadata??=Symbol("metadata"),$o.litPropertyMetadata??=new WeakMap;var at=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=vs){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Ud(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=zd(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??vs}static _$Ei(){if(this.hasOwnProperty(qr("elementProperties")))return;let e=Vd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(qr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(qr("properties"))){let o=this.properties,n=[...Hd(o),...Wd(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(ko(i))}else e!==void 0&&o.push(ko(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Zr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:pr).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:pr;this._$Em=i,this[i]=s.fromAttribute(o,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??Yr)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[qr("elementProperties")]=new Map,at[qr("finalized")]=new Map,jd?.({ReactiveElement:at}),($o.reactiveElementVersions??=[]).push("2.1.0");var Pn=globalThis,Do=Pn.trustedTypes,Ss=Do?Do.createPolicy("lit-html",{createHTML:t=>t}):void 0,kn="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,$n="?"+ht,Kd=`<${$n}>`,Wt=document,Jr=()=>Wt.createComment(""),Qr=t=>t===null||typeof t!="object"&&typeof t!="function",Dn=Array.isArray,Rs=t=>Dn(t)||typeof t?.[Symbol.iterator]=="function",Nn=`[
|
|
3
|
+
\f\r]`,Xr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Cs=/-->/g,Os=/>/g,zt=RegExp(`>|${Nn}(?:([^\\s"'>=/]+)(${Nn}*=${Nn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Es=/'/g,ws=/"/g,Is=/^(?:script|style|textarea|title)$/i,Mn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),N=Mn(1),Bn=Mn(2),Fn=Mn(3),Re=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),As=new WeakMap,Ht=Wt.createTreeWalker(Wt,129);function Ts(t,e){if(!Dn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ss!==void 0?Ss.createHTML(e):e}var Ls=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Xr;for(let l=0;l<o;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Xr?h[1]==="!--"?s=Cs:h[1]!==void 0?s=Os:h[2]!==void 0?(Is.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=zt):h[3]!==void 0&&(s=zt):s===zt?h[0]===">"?(s=i??Xr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?zt:h[3]==='"'?ws:Es):s===ws||s===Es?s=zt:s===Cs||s===Os?s=Xr:(s=zt,i=void 0);let S=s===zt&&t[l+1].startsWith("/>")?" ":"";a+=s===Xr?d+Kd:f>=0?(n.push(p),d.slice(0,f)+kn+d.slice(f)+ht+S):d+ht+(f===-2?l:S)}return[Ts(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},eo=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=Ls(e,o);if(this.el=t.createElement(p,n),Ht.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ht.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(kn)){let m=h[s++],S=i.getAttribute(f).split(ht),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:S,ctor:x[1]==="."?Bo:x[1]==="?"?Fo:x[1]==="@"?Uo:Gt}),i.removeAttribute(f)}else f.startsWith(ht)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Is.test(i.tagName)){let f=i.textContent.split(ht),m=f.length-1;if(m>0){i.textContent=Do?Do.emptyScript:"";for(let S=0;S<m;S++)i.append(f[S],Jr()),Ht.nextNode(),d.push({type:2,index:++a});i.append(f[m],Jr())}}}else if(i.nodeType===8)if(i.data===$n)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ht,f+1))!==-1;)d.push({type:7,index:a}),f+=ht.length-1}a++}}static createElement(e,o){let n=Wt.createElement("template");return n.innerHTML=e,n}};function Vt(t,e,o=t,n){if(e===Re)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Qr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Vt(t,i._$AS(t,e.values),i,n)),e}var Mo=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Wt).importNode(o,!0);Ht.currentNode=i;let a=Ht.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new fr(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new zo(a,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Ht.nextNode(),s++)}return Ht.currentNode=Wt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},fr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Vt(this,e,o),Qr(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Re&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Rs(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!==z&&Qr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Wt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=eo.createElement(Ts(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Mo(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=As.get(e.strings);return o===void 0&&As.set(e.strings,o=new eo(e)),o}k(e){Dn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(Jr()),this.O(Jr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Vt(this,e,o,0),s=!Qr(e)||e!==this._$AH&&e!==Re,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=Vt(this,l[n+d],o,d),p===Re&&(p=this._$AH[d]),s||=!Qr(p)||p!==this._$AH[d],p===z?e=z:e!==z&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.j(e)}j(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bo=class extends Gt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===z?void 0:e}},Fo=class extends Gt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Uo=class extends Gt{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Vt(this,e,o,0)??z)===Re)return;let n=this._$AH,i=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==z&&(n===z||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zo=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Vt(this,e)}},Un={M:kn,P:ht,A:$n,C:1,L:Ls,R:Mo,D:Rs,V:Vt,I:fr,H:Gt,N:Fo,U:Uo,B:Bo,F:zo},Zd=Pn.litHtmlPolyfillSupport;Zd?.(eo,fr),(Pn.litHtmlVersions??=[]).push("3.3.0");var zn=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new fr(e.insertBefore(Jr(),a),a,void 0,o??{})}return i._$AI(t),i};var Hn=globalThis,mt=class extends at{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=zn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Re}};mt._$litElement$=!0,mt.finalized=!0,Hn.litElementHydrateSupport?.({LitElement:mt});var qd=Hn.litElementPolyfillSupport;qd?.({LitElement:mt});var Yd={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(Hn.litElementVersions??=[]).push("4.2.0");var Hf=!1;var jn={};te(jn,{customElement:()=>Xd,eventOptions:()=>Qd,property:()=>b,query:()=>ie,queryAll:()=>Vn,queryAssignedElements:()=>Gn,queryAssignedNodes:()=>to,queryAsync:()=>tu,standardProperty:()=>_s,state:()=>W});var Xd=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Jd={attribute:!0,type:String,converter:pr,reflect:!1,hasChanged:Yr},_s=(t=Jd,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function b(t){return(e,o)=>typeof o=="object"?_s(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function W(t){return b({...t,state:!0,attribute:!1})}function Qd(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Ye=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function ie(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ye(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ye(o,n,{get(){return a(this)}})}}var eu;function Vn(t){return(e,o)=>Ye(e,o,{get(){return(this.renderRoot??(eu??=document.createDocumentFragment())).querySelectorAll(t)}})}function tu(t){return(e,o)=>Ye(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Gn(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ye(e,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function to(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ye(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Kn={};te(Kn,{repeat:()=>gt});var st={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Xe=t=>(...e)=>({_$litDirective$:t,values:e}),We=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:ru}=Un;var Ps=t=>t.strings===void 0,Ns=()=>document.createComment(""),hr=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(Ns(),i),s=n.insertBefore(Ns(),i);o=new ru(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==t;if(l){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},It=(t,e,o=t)=>(t._$AI(e,o),t),ou={},ks=(t,e=ou)=>t._$AH=e,$s=t=>t._$AH,Ho=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var Ds=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},gt=Xe(class extends We{constructor(t){if(super(t),t.type!==st.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=$s(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,S=0,x=a.length-1;for(;f<=m&&S<=x;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[S])d[S]=It(i[f],a[S]),f++,S++;else if(l[m]===s[x])d[x]=It(i[m],a[x]),m--,x--;else if(l[f]===s[x])d[x]=It(i[f],a[x]),hr(t,d[x+1],i[f]),f++,x--;else if(l[m]===s[S])d[S]=It(i[m],a[S]),hr(t,i[f],i[m]),m--,S++;else if(p===void 0&&(p=Ds(s,S,x),h=Ds(l,f,m)),p.has(l[f]))if(p.has(l[m])){let E=h.get(s[S]),L=E!==void 0?i[E]:null;if(L===null){let T=hr(t,i[f]);It(T,a[S]),d[S]=T}else d[S]=It(L,a[S]),hr(t,i[f],L),i[E]=null;S++}else Ho(i[m]),m--;else Ho(i[f]),f++;for(;S<=x;){let E=hr(t,d[x+1]);It(E,a[S]),d[S++]=E}for(;f<=m;){let E=i[f++];E!==null&&Ho(E)}return this.ut=s,ks(t,d),Re}});var Zn={};te(Zn,{classMap:()=>ye});var ye=Xe(class extends We{constructor(t){if(super(t),t.type!==st.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return Re}});var qn={};te(qn,{styleMap:()=>iu});var Ms="important",nu=" !"+Ms,iu=Xe(class extends We{constructor(t){if(super(t),t.type!==st.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(nu);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Ms:""):o[n]=i}}return Re}});var Xn={};te(Xn,{UnsafeHTMLDirective:()=>mr,unsafeHTML:()=>Yn});var mr=class extends We{constructor(e){if(super(e),this.it=z,e.type!==st.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this._t=void 0,this.it=e;if(e===Re)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};mr.directiveName="unsafeHTML",mr.resultType=1;var Yn=Xe(mr);var ai={};te(ai,{CacheRegistry:()=>lt,ClearCacheEvent:()=>io});var Qn={};te(Qn,{CancelablePromise:()=>Wo,CanceledPromiseError:()=>jt,cancelable:()=>Jn});var jt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Wo=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new jt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new jt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Jn=t=>new Wo((e,o)=>t.then(e).catch(o));var ii={};te(ii,{FtNotificationEvent:()=>no,PostResizeEvent:()=>ni,PreResizeEvent:()=>oi,WithEventBus:()=>yt,withEventBus:()=>Go});var ri={};te(ri,{applyMixinOnce:()=>we,dateReviver:()=>lu,deepCopy:()=>oo,deepEqual:()=>De,delay:()=>Vo,eventPathContainsMatchingElement:()=>ei,everyDeep:()=>su,flatDeep:()=>Fs,forEachDeep:()=>Us,getComposedPathTo:()=>ti,hasChanged:()=>Kt,last:()=>du,minmax:()=>ro,parseDate:()=>Hs,randomId:()=>uu,someDeep:()=>zs,unslotText:()=>gr,waitFor:()=>Bs,waitUntil:()=>au});var Vo=t=>new Promise(e=>setTimeout(e,t));async function au(t,e=10,o=2e4){await Bs(async()=>await t()||void 0,e,o)}async function Bs(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Vo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Fs(t,e){return t.flatMap(o=>[o,...Fs(e(o),e)])}function Us(t,e,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=o(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function zs(t,e,o){let n=!1;return Us(t,e,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function su(t,e,o){return!zs(t,e,(n,i,a,s)=>!o(n,i,a,s))}function lu(...t){return(e,o)=>t.includes(e)?Hs(o):o}function Hs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function cu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!De(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(!De(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 a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!De(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function De(t,e){try{return cu(t,e)}catch{return!1}}function Kt(t,e){return!De(t,e)}function ei(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ro(t,e,o){return Math.min(Math.max(t,e),o)}function du(t){return t[t.length-1]}function gr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>gr(e)).join(""):t?.textContent||""}function ti(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function oo(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function uu(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function we(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var no=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},oi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ni=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Go=we(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),yt=class extends Go(Object){};var io=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},lt=class extends yt{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new io(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new io([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Jn(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var ci={};te(ci,{ClusteringHelper:()=>li,formatHierarchicalValues:()=>si});function si(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var li=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var o,n,i,a,s;let l=((a=(n=(o=e.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(si(l)),s.push(si(l,o))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,S)=>S.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var di={};te(di,{Debouncer:()=>Le});var Le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ui={};te(ui,{customElement:()=>ne,dateProperty:()=>fu,isNumber:()=>Ws,jsonProperty:()=>Ve,numberProperty:()=>Tt,optionalNumberProperty:()=>pu});var ne=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ve(t,e){let o=()=>JSON.parse(JSON.stringify(t));return b({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Kt,...e??{}})}function pu(t){return Tt(t)}function Tt(t){return b({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ws(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ws(t){return!isNaN(parseFloat(t))}function fu(t){return b({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Bi={};te(Bi,{designSystemVariables:()=>B});var Mi={};te(Mi,{DesignSystemFamily:()=>bt,DesignSystemSize:()=>Se,FtCssVariableFactory:()=>r,badge:()=>Cu,banner:()=>Su,button:()=>y,chart:()=>Bu,checkbox:()=>gu,chip:()=>H,chipChoice:()=>xu,collapsible:()=>Du,comboboxMultiSelect:()=>ku,comboboxSingleSelect:()=>Pu,dateRangePicker:()=>Gu,drawer:()=>Iu,floatingMenu:()=>Nu,foundation:()=>c,link:()=>vu,modal:()=>Ru,notice:()=>Uu,notification:()=>Hu,pageDesigner:()=>Fu,pageFooter:()=>wu,pageHeader:()=>Eu,pageLayout:()=>Au,popover:()=>$u,radio:()=>yu,reorderableList:()=>Vu,resolveFamilyClass:()=>$i,resolveSizeClass:()=>Di,semantic:()=>u,setVariable:()=>v,switch_:()=>Mu,table:()=>bu,tabs:()=>Tu,textArea:()=>_u,textInput:()=>Lu,titleBreadcrumb:()=>Ou,toggle:()=>zu,tooltip:()=>Wu,treeList:()=>mu,typographies:()=>ao,typographyBody1Medium:()=>yi,typographyBody1Regular:()=>gi,typographyBody1Semibold:()=>bi,typographyBody2Medium:()=>Zt,typographyBody2MediumUnderline:()=>Vs,typographyBody2Regular:()=>xi,typographyBody2Semibold:()=>vi,typographyCaption1Bold:()=>Ti,typographyCaption1Medium:()=>Ri,typographyCaption1Semibold:()=>Ii,typographyCaption2Bold:()=>_i,typographyCaption2Medium:()=>_t,typographyCaption2Semibold:()=>Li,typographyCaption3Bold:()=>ki,typographyCaption3Medium:()=>Ni,typographyCaption3Semibold:()=>Pi,typographyDisplay:()=>pi,typographyLabel1Bold:()=>Oi,typographyLabel1Medium:()=>Si,typographyLabel1Semibold:()=>Ci,typographyLabel2Bold:()=>Ai,typographyLabel2Medium:()=>Ei,typographyLabel2Semibold:()=>wi,typographyTitle1:()=>fi,typographyTitle2:()=>hi,typographyTitle3:()=>mi,typographyVariants:()=>hu});var Lt=t=>typeof t=="string"?it(t):t,r=class{static create(e,o,n,i){let a=l=>Lt(l??i),s=P`var(${Lt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>v(s,l??a(i)),s.get=l=>P`var(${Lt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=l=>n.get(l??i),s=P`var(${Lt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>v(s,l??a(i)),s.get=l=>P`var(${Lt(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=P`var(${Lt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>P`var(${Lt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function v(t,e){return Lt(`${t.name}: ${e}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},pi={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},fi={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},hi={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},mi={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},gi={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},yi={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},bi={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},xi={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Zt={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Vs={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},vi={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Si={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},_t={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},ki={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},ao={display:pi,"title-1":fi,"title-2":hi,"title-3":mi,"body-1-regular":gi,"body-1-medium":yi,"body-1-semibold":bi,"body-2-regular":xi,"body-2-medium":Zt,"body-2-medium-underline":Vs,"body-2-semibold":vi,"label-1-medium":Si,"label-1-semibold":Ci,"label-1-bold":Oi,"label-2-medium":Ei,"label-2-semibold":wi,"label-2-bold":Ai,"caption-1-medium":Ri,"caption-1-semibold":Ii,"caption-1-bold":Ti,"caption-2-medium":_t,"caption-2-semibold":Li,"caption-2-bold":_i,"caption-3-medium":Ni,"caption-3-semibold":Pi,"caption-3-bold":ki},hu=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var y={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var mu={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var gu={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",c.spacing2)};var yu={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var bu={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var xu={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var H={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var vu={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Su={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Cu={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Ou={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Eu={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var wu={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Au={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Ru={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Iu={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Tu={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Lu={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var _u={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Nu={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var Pu={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var ku={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var $u={backgroundColor:r.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var Du={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Mu={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Bu={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Fu={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Uu={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var zu={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3)};var Hu={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Wu={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Vu={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Gu={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var bt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(bt||(bt={}));var Se;(function(t){t.large="large",t.medium="medium",t.small="small"})(Se||(Se={}));function $i(t){return`ftds--family-${t}`}function Di(t){return`ftds--size-${t}`}var B={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Fi={};te(Fi,{DynamicImporter:()=>jo,dynamicImporter:()=>ju});var jo=class{async import(e){if(e)return import(e)}},ju=new jo;var ta={};te(ta,{computeOffsetAutoPosition:()=>ea,computeOffsetPosition:()=>Qi});var js=["top","right","bottom","left"],Gs=["start","end"],zi=js.reduce((t,e)=>t.concat(e,e+"-"+Gs[0],e+"-"+Gs[1]),[]),Ko=Math.min,Nt=Math.max;var Ku={left:"right",right:"left",bottom:"top",top:"bottom"},Zu={start:"end",end:"start"};function Hi(t,e,o){return Nt(t,Ko(e,o))}function yr(t,e){return typeof t=="function"?t(e):t}function Pt(t){return t.split("-")[0]}function ct(t){return t.split("-")[1]}function Wi(t){return t==="x"?"y":"x"}function Vi(t){return t==="y"?"height":"width"}function br(t){return["top","bottom"].includes(Pt(t))?"y":"x"}function Gi(t){return Wi(br(t))}function Ks(t,e,o){o===void 0&&(o=!1);let n=ct(t),i=Gi(t),a=Vi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ui(s)),[s,Ui(s)]}function Zs(t){return t.replace(/start|end/g,e=>Zu[e])}function Ui(t){return t.replace(/left|right|bottom|top/g,e=>Ku[e])}function qu(t){return{top:0,right:0,bottom:0,left:0,...t}}function qs(t){return typeof t!="number"?qu(t):{top:t,right:t,bottom:t,left:t}}function qt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Ys(t,e,o){let{reference:n,floating:i}=t,a=br(e),s=Gi(e),l=Vi(s),d=Pt(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,S;switch(d){case"top":S={x:h,y:n.y-i.height};break;case"bottom":S={x:h,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:f};break;case"left":S={x:n.x-i.width,y:f};break;default:S={x:n.x,y:n.y}}switch(ct(e)){case"start":S[s]-=m*(o&&p?-1:1);break;case"end":S[s]+=m*(o&&p?-1:1);break}return S}var Xs=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Ys(p,n,d),m=n,S={},x=0;for(let E=0;E<l.length;E++){let{name:L,fn:T}=l[E],{x:_,y:w,data:C,reset:A}=await T({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:s,elements:{reference:t,floating:e}});h=_??h,f=w??f,S={...S,[L]:{...S[L],...C}},A&&x<=50&&(x++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(p=A.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:h,y:f}=Ys(p,m,d)),E=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};async function Zo(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:S=0}=yr(e,t),x=qs(S),L=l[m?f==="floating"?"reference":"floating":f],T=qt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(L)))==null||o?L:L.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),_=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),C=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},A=qt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:w,strategy:d}):_);return{top:(T.top-A.top+x.top)/C.y,bottom:(A.bottom-T.bottom+x.bottom)/C.y,left:(T.left-A.left+x.left)/C.x,right:(A.right-T.right+x.right)/C.x}}function Yu(t,e,o){return(t?[...o.filter(i=>ct(i)===t),...o.filter(i=>ct(i)!==t)]:o.filter(i=>Pt(i)===i)).filter(i=>t?ct(i)===t||(e?Zs(i)!==i:!1):!0)}var qo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=zi,autoAlignment:S=!0,...x}=yr(t,e),E=f!==void 0||m===zi?Yu(f||null,S,m):m,L=await Zo(e,x),T=((o=s.autoPlacement)==null?void 0:o.index)||0,_=E[T];if(_==null)return{};let w=Ks(_,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==_)return{reset:{placement:E[0]}};let C=[L[Pt(_)],L[w[0]],L[w[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:C}],D=E[T+1];if(D)return{data:{index:T+1,overflows:A},reset:{placement:D}};let j=A.map(M=>{let g=ct(M.placement);return[M.placement,g&&h?M.overflows.slice(0,2).reduce((O,k)=>O+k,0):M.overflows[0],M.overflows]}).sort((M,g)=>M[1]-g[1]),Y=((i=j.filter(M=>M[2].slice(0,ct(M[0])?2:3).every(g=>g<=0))[0])==null?void 0:i[0])||j[0][0];return Y!==l?{data:{index:T+1,overflows:A},reset:{placement:Y}}:{}}}};async function Xu(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Pt(o),l=ct(o),d=br(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=yr(e,t),{mainAxis:m,crossAxis:S,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof x=="number"&&(S=l==="end"?x*-1:x),d?{x:S*h,y:m*p}:{x:m*p,y:S*h}}var ji=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=e,d=await Xu(e,t);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Ki=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:L=>{let{x:T,y:_}=L;return{x:T,y:_}}},...d}=yr(t,e),p={x:o,y:n},h=await Zo(e,d),f=br(Pt(i)),m=Wi(f),S=p[m],x=p[f];if(a){let L=m==="y"?"top":"left",T=m==="y"?"bottom":"right",_=S+h[L],w=S-h[T];S=Hi(_,S,w)}if(s){let L=f==="y"?"top":"left",T=f==="y"?"bottom":"right",_=x+h[L],w=x-h[T];x=Hi(_,x,w)}let E=l.fn({...e,[m]:S,[f]:x});return{...E,data:{x:E.x-o,y:E.y-n,enabled:{[m]:a,[f]:s}}}}}};var Zi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:i,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...p}=yr(t,e),h=await Zo(e,p),f=Pt(i),m=ct(i),S=br(i)==="y",{width:x,height:E}=a.floating,L,T;f==="top"||f==="bottom"?(L=f,T=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(T=f,L=m==="end"?"top":"bottom");let _=E-h.top-h.bottom,w=x-h.left-h.right,C=Ko(E-h[L],_),A=Ko(x-h[T],w),D=!e.middlewareData.shift,j=C,J=A;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(J=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(j=_),D&&!m){let M=Nt(h.left,0),g=Nt(h.right,0),O=Nt(h.top,0),k=Nt(h.bottom,0);S?J=x-2*(M!==0||g!==0?M+g:Nt(h.left,h.right)):j=E-2*(O!==0||k!==0?O+k:Nt(h.top,h.bottom))}await d({...e,availableWidth:J,availableHeight:j});let Y=await s.getDimensions(l.floating);return x!==Y.width||E!==Y.height?{reset:{rects:!0}}:{}}}};var qi=Math.min,xr=Math.max,so=Math.round;var xt=t=>({x:t,y:t});function vt(t){return Qs(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Qs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Qs(t){return t instanceof Node||t instanceof _e(t).Node}function dt(t){return t instanceof Element||t instanceof _e(t).Element}function Je(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Js(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function vr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function el(t){return["table","td","th"].includes(vt(t))}function Xo(t){let e=Jo(),o=Me(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function tl(t){let e=Yt(t);for(;Je(e)&&!lo(e);){if(Xo(e))return e;e=Yt(e)}return null}function Jo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lo(t){return["html","body","#document"].includes(vt(t))}function Me(t){return _e(t).getComputedStyle(t)}function co(t){return dt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yt(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Js(t)&&t.host||St(t);return Js(e)?e.host:e}function rl(t){let e=Yt(t);return lo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Je(e)&&vr(e)?e:rl(e)}function Yo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=rl(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],vr(i)?i:[],s.frameElement&&o?Yo(s.frameElement):[]):e.concat(i,Yo(i,[],o))}function il(t){let e=Me(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Je(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=so(o)!==a||so(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function al(t){return dt(t)?t:t.contextElement}function Sr(t){let e=al(t);if(!Je(e))return xt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=il(e),s=(a?so(o.width):o.width)/n,l=(a?so(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Ju=xt(0);function sl(t){let e=_e(t);return!Jo()||!e.visualViewport?Ju:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qu(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==_e(t)?!1:e}function uo(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=al(t),s=xt(1);e&&(n?dt(n)&&(s=Sr(n)):s=Sr(t));let l=Qu(a,o,n)?sl(a):xt(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let m=_e(a),S=n&&dt(n)?_e(n):n,x=m.frameElement;for(;x&&n&&S!==m;){let E=Sr(x),L=x.getBoundingClientRect(),T=Me(x),_=L.left+(x.clientLeft+parseFloat(T.paddingLeft))*E.x,w=L.top+(x.clientTop+parseFloat(T.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=_,p+=w,x=_e(x).frameElement}}return qt({width:h,height:f,x:d,y:p})}function ep(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Je(o),a=St(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},l=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(o)!=="body"||vr(a))&&(s=co(o)),Je(o))){let p=uo(o);l=Sr(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function tp(t){return Array.from(t.getClientRects())}function ll(t){return uo(St(t)).left+co(t).scrollLeft}function rp(t){let e=St(t),o=co(t),n=t.ownerDocument.body,i=xr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=xr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+ll(t),l=-o.scrollTop;return Me(n).direction==="rtl"&&(s+=xr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function op(t,e){let o=_e(t),n=St(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=Jo();(!p||p&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function np(t,e){let o=uo(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Je(t)?Sr(t):xt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function ol(t,e,o){let n;if(e==="viewport")n=op(t,o);else if(e==="document")n=rp(St(t));else if(dt(e))n=np(e,o);else{let i=sl(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return qt(n)}function cl(t,e){let o=Yt(t);return o===e||!dt(o)||lo(o)?!1:Me(o).position==="fixed"||cl(o,e)}function ip(t,e){let o=e.get(t);if(o)return o;let n=Yo(t,[],!1).filter(l=>dt(l)&&vt(l)!=="body"),i=null,a=Me(t).position==="fixed",s=a?Yt(t):t;for(;dt(s)&&!lo(s);){let l=Me(s),d=Xo(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||vr(s)&&!d&&cl(t,s))?n=n.filter(h=>h!==s):i=l,s=Yt(s)}return e.set(t,n),n}function ap(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?ip(e,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,h)=>{let f=ol(e,h,i);return p.top=xr(f.top,p.top),p.right=qi(f.right,p.right),p.bottom=qi(f.bottom,p.bottom),p.left=xr(f.left,p.left),p},ol(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function sp(t){return il(t)}function lp(t,e,o){let n=Je(e),i=St(e),a=o==="fixed",s=uo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||vr(i))&&(l=co(e)),n){let p=uo(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=ll(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function nl(t,e){return!Je(t)||Me(t).position==="fixed"?null:e?e(t):t.offsetParent}function dl(t,e){let o=_e(t);if(!Je(t))return o;let n=nl(t,e);for(;n&&el(n)&&Me(n).position==="static";)n=nl(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Me(n).position==="static"&&!Xo(n))?o:n||tl(t)||o}var cp=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||dl,a=this.getDimensions;return{reference:lp(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function dp(t){return Me(t).direction==="rtl"}var Cr={convertOffsetParentRelativeRectToViewportRelativeRect:ep,getDocumentElement:St,getClippingRect:ap,getOffsetParent:dl,getElementRects:cp,getClientRects:tp,getDimensions:sp,getScale:Sr,isElement:dt,isRTL:dp};var Yi=(t,e,o)=>{let n=new Map,i={platform:Cr,...o},a={...i.platform,_c:n};return Xs(t,e,{...i,platform:a})};function Ji(t){return up(t)}function Xi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function up(t){for(let e=t;e;e=Xi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Xi(t);e;e=Xi(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Qi(t,e,o){return Yi(t,e,{platform:{...Cr,getOffsetParent:n=>Cr.getOffsetParent(n,Ji)},middleware:[Ki({crossAxis:!0}),qo({allowedPlacements:[o]})]})}async function ea(t,e,o,n,i,a,s=4){return Yi(t,e,{placement:o,strategy:i,platform:{...Cr,getOffsetParent:l=>Cr.getOffsetParent(l,Ji)},middleware:[ji(s),qo({allowedPlacements:n}),Zi({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var aa={};te(aa,{FtdsBase:()=>ho,toFtdsBase:()=>Or});var ia={};te(ia,{FtLitElement:()=>K});var ra={};te(ra,{ScopedRegistryLitElement:()=>po});var po=class extends mt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Zr(n,e.elementStyles),n}};var na={};te(na,{shadowQuerySelector:()=>oa,shadowQuerySelectorAll:()=>pp});function oa(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function pp(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var fo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},hl,ul=Symbol("constructorPrototype"),pl=Symbol("constructorName"),ml=Symbol("exportpartsDebouncer"),fl=Symbol("dynamicDependenciesLoaded"),K=class extends po{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[hl]=new Le(5),this[pl]=this.constructor.name,this[ul]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[pl]&&Object.setPrototypeOf(this,this[ul])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[fl]||(e[fl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=oa(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ml].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...x).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(m=>p.map(S=>`${m}:${S}--${m}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};hl=ml;fo([b()],K.prototype,"exportpartsPrefix",void 0);fo([Ve([])],K.prototype,"exportpartsPrefixes",void 0);fo([b()],K.prototype,"customStylesheet",void 0);fo([b()],K.prototype,"elementToFocus",void 0);fo([W()],K.prototype,"useAdoptedStyleSheets",void 0);var gl=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Or=we(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Se.medium,this.family=bt.neutral}getDesignSystemBaseClasses(){return{[$i(this.family)]:!0,[Di(this.size)]:!0}}}return gl([b()],e.prototype,"size",void 0),gl([b()],e.prototype,"family",void 0),e}),ho=class extends Or(K){};var yl={};var ca={};te(ca,{highlightHtml:()=>la,highlightHtmlColorCssVariable:()=>bl,highlightHtmlStyles:()=>hp});var Xt=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,S=>d.push(S),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var mo=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Xt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${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,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Xt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+m,e.nodes.forEach((S,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,l,a.value.substring(p,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,S)=>this.opt.filter(S,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Xt.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function sa(t){let e=new mo(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var fp=sa,bl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hp=P`
|
|
6
6
|
.highlight-html-match {
|
|
7
|
-
background: ${
|
|
7
|
+
background: ${bl};
|
|
8
8
|
}
|
|
9
|
-
`;function
|
|
9
|
+
`;function la(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new fp(t);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ua={};te(ua,{noTextInputDefaultClearButton:()=>da,noTextSelect:()=>Ct,safariEllipsisFix:()=>go,wordWrap:()=>mp});var Ct=P`
|
|
10
10
|
.ft-no-text-select {
|
|
11
11
|
-webkit-touch-callout: none;
|
|
12
12
|
-webkit-user-select: none;
|
|
@@ -15,7 +15,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
15
15
|
-ms-user-select: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`,mp=P`
|
|
19
19
|
.ft-word-wrap {
|
|
20
20
|
white-space: normal;
|
|
21
21
|
word-wrap: break-word;
|
|
@@ -27,7 +27,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
27
27
|
-webkit-hyphens: auto;
|
|
28
28
|
hyphens: auto
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,go=P`
|
|
31
31
|
.ft-safari-ellipsis-fix {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
|
|
@@ -38,14 +38,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
38
38
|
display: inline-block;
|
|
39
39
|
width: 0;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,da=P`
|
|
42
42
|
input::-webkit-search-cancel-button,
|
|
43
43
|
input::-webkit-search-decoration,
|
|
44
44
|
input::-webkit-search-results-button,
|
|
45
45
|
input::-webkit-search-results-decoration {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
`;var Vs={};var Bi={};q(Bi,{ParametrizedLabelResolver:()=>Vr});var Vr=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var la={};q(la,{FtCommandQueue:()=>Gr,FtLitElementRedux:()=>Kr,FtReduxStore:()=>Lt,ReduxWatcher:()=>Io,clearAllStores:()=>xp,isFtReduxStore:()=>Qt,redux:()=>Jt,reduxEventListener:()=>Mu,reduxReactive:()=>Du,watch:()=>vp,withRedux:()=>Gs});var Du=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Jt=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Et,attribute:!1,...e};C(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},Mu=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Gr=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Qt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var jr=Symbol("internalReduxEventsUnsubscribers"),ct=Symbol("internalStoresUnsubscribers"),_t=Symbol("internalStores"),Gs=de(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[_t].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_t].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[_t].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[_t].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[_t].delete(c)}setupStores(){this.unsubscribeFromStores(),this[_t].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(s.store);p&&(s.store?this[ct].has(s.store):this[ct].size>0)&&(this[c]=s.selector(p.getState(),this))}})}subscribeToStore(s,c){var d;this[ct].set(s,c.subscribe(()=>this.updateFromStores())),this[jr].set(s,[]),Qt(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||c.name===p.store)){let f=g=>this[h](g);c.addEventListener(p.eventName,f),this[jr].get(s).push(()=>c.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ct].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[ct].has(s)&&this[ct].get(s)(),this[ct].delete(s),(c=this[jr].get(s))===null||c===void 0||c.forEach(d=>d()),this[jr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=ct,o=_t,n=jr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Kr=class extends Gs(X){};function Le(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(t){return!!t&&!!t[oe]}function Me(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Vu}(t)||Array.isArray(t)||!!t[Js]||!!(!((e=t.constructor)===null||e===void 0)&&e[Js])||Ki(t)||Zi(t))}function Tt(t,e,o){o===void 0&&(o=!1),rr(t)===0?(o?Object.keys:tr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function rr(t){var e=t[oe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ki(t)?2:Zi(t)?3:0}function er(t,e){return rr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Uu(t,e){return rr(t)===2?t.get(e):t[e]}function Qs(t,e,o){var n=rr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function el(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ki(t){return zu&&t instanceof Map}function Zi(t){return Wu&&t instanceof Set}function dt(t){return t.o||t.t}function qi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ol(t);delete e[oe];for(var o=tr(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Yi(t,e){return e===void 0&&(e=!1),Xi(t)||Je(t)||!Me(t)||(rr(t)>1&&(t.set=t.add=t.clear=t.delete=Bu),Object.freeze(t),e&&Tt(t,function(o,n){return Yi(n,!0)},!0)),t}function Bu(){Le(2)}function Xi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ve(t){var e=ji[t];return e||Le(18,t),e}function $u(t,e){ji[t]||(ji[t]=e)}function Wi(){return qr}function $i(t,e){e&&(Ve("Patches"),t.u=[],t.s=[],t.v=e)}function Ro(t){Vi(t),t.p.forEach(Fu),t.p=null}function Vi(t){t===qr&&(qr=t.l)}function js(t){return qr={p:[],l:qr,h:t,m:!0,_:0}}function Fu(t){var e=t[oe];e.i===0||e.i===1?e.j():e.g=!0}function Fi(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Ve("ES5").S(e,t,n),n?(o[oe].P&&(Ro(e),Le(4)),Me(t)&&(t=_o(e,t),e.l||To(e,t)),e.u&&Ve("Patches").M(o[oe].t,t,e.u,e.s)):t=_o(e,o,[]),Ro(e),e.u&&e.v(e.u,e.s),t!==rl?t:void 0}function _o(t,e,o){if(Xi(e))return e;var n=e[oe];if(!n)return Tt(e,function(c,d){return Ks(t,n,e,c,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return To(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=qi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Tt(a,function(c,d){return Ks(t,n,i,c,d,o,s)}),To(t,i,!1),o&&t.u&&Ve("Patches").N(n,o,t.u,t.s)}return n.o}function Ks(t,e,o,n,i,a,s){if(Je(i)){var c=_o(t,i,a&&e&&e.i!==3&&!er(e.R,n)?a.concat(n):void 0);if(Qs(o,n,c),!Je(c))return;t.m=!1}else s&&o.add(i);if(Me(i)&&!Xi(i)){if(!t.h.D&&t._<1)return;_o(t,i),e&&e.A.l||To(t,i)}}function To(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Yi(e,o)}function Hi(t,e){var o=t[oe];return(o?dt(o):t)[e]}function Zs(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function ut(t){t.P||(t.P=!0,t.l&&ut(t.l))}function zi(t){t.o||(t.o=qi(t.t))}function Gi(t,e,o){var n=Ki(e)?Ve("MapSet").F(e,o):Zi(e)?Ve("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Wi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,p=Yr;s&&(d=[c],p=Zr);var h=Proxy.revocable(d,p),f=h.revoke,g=h.proxy;return c.k=g,c.j=f,g}(e,o):Ve("ES5").J(e,o);return(o?o.A:Wi()).p.push(n),n}function Hu(t){return Je(t)||Le(22,t),function e(o){if(!Me(o))return o;var n,i=o[oe],a=rr(o);if(i){if(!i.P&&(i.i<4||!Ve("ES5").K(i)))return i.t;i.I=!0,n=qs(o,a),i.I=!1}else n=qs(o,a);return Tt(n,function(s,c){i&&Uu(i.t,s)===c||Qs(n,s,e(c))}),a===3?new Set(n):n}(t)}function qs(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return qi(t)}function tl(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var p=this[oe];return Yr.get(p,s)},set:function(p){var h=this[oe];Yr.set(h,s,p)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][oe];if(!d.P)switch(d.i){case 5:n(d)&&ut(d);break;case 4:o(d)&&ut(d)}}}function o(s){for(var c=s.t,d=s.k,p=tr(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==oe){var g=c[f];if(g===void 0&&!er(c,f))return!0;var b=d[f],y=b&&b[oe];if(y?y.t!==g:!el(b,g))return!0}}var S=!!c[oe];return p.length!==tr(c).length+(S?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Le(3,JSON.stringify(dt(s)))}var a={};$u("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(f,g){if(f){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var S=ol(g);delete S[oe];for(var R=tr(S),A=0;A<R.length;A++){var _=R[A];S[_]=t(_,f||!!S[_].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),h={i:d?5:4,A:c?c.A:Wi(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,oe,{value:h,writable:!0}),p},S:function(s,c,d){d?Je(c)&&c[oe].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[oe];if(f){var g=f.t,b=f.k,y=f.R,S=f.i;if(S===4)Tt(b,function(x){x!==oe&&(g[x]!==void 0||er(g,x)?y[x]||p(b[x]):(y[x]=!0,ut(f)))}),Tt(g,function(x){b[x]!==void 0||er(b,x)||(y[x]=!1,ut(f))});else if(S===5){if(n(f)&&(ut(f),y.length=!0),b.length<g.length)for(var R=b.length;R<g.length;R++)y[R]=!1;else for(var A=g.length;A<b.length;A++)y[A]=!0;for(var _=Math.min(b.length,g.length),O=0;O<_;O++)b.hasOwnProperty(O)||(y[O]=!0),y[O]===void 0&&p(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ys,qr,Ji=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",zu=typeof Map<"u",Wu=typeof Set<"u",Xs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",rl=Ji?Symbol.for("immer-nothing"):((Ys={})["immer-nothing"]=!0,Ys),Js=Ji?Symbol.for("immer-draftable"):"__$immer_draftable",oe=Ji?Symbol.for("immer-state"):"__$immer_state";var Vu=""+Object.prototype.constructor,tr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ol=Object.getOwnPropertyDescriptors||function(t){var e={};return tr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},ji={},Yr={get:function(t,e){if(e===oe)return t;var o=dt(t);if(!er(o,e))return function(i,a,s){var c,d=Zs(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Me(n)?n:n===Hi(t.t,e)?(zi(t),t.o[e]=Gi(t.A.h,n,t)):n},has:function(t,e){return e in dt(t)},ownKeys:function(t){return Reflect.ownKeys(dt(t))},set:function(t,e,o){var n=Zs(dt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Hi(dt(t),e),a=i?.[oe];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(el(o,i)&&(o!==void 0||er(t.t,e)))return!0;zi(t),ut(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Hi(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,zi(t),ut(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=dt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Le(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Le(12)}},Zr={};Tt(Yr,function(t,e){Zr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Zr.deleteProperty=function(t,e){return Zr.set.call(this,t,e,void 0)},Zr.set=function(t,e,o){return Yr.set.call(this,t[0],e,o,t[0])};var Gu=function(){function t(o){var n=this;this.O=Xs,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(S){var R=this;S===void 0&&(S=c);for(var A=arguments.length,_=Array(A>1?A-1:0),O=1;O<A;O++)_[O-1]=arguments[O];return d.produce(S,function(x){var E;return(E=a).call.apply(E,[R,x].concat(_))})}}var p;if(typeof a!="function"&&Le(6),s!==void 0&&typeof s!="function"&&Le(7),Me(i)){var h=js(n),f=Gi(n,i,void 0),g=!0;try{p=a(f),g=!1}finally{g?Ro(h):Vi(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(S){return $i(h,s),Fi(S,h)},function(S){throw Ro(h),S}):($i(h,s),Fi(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===rl&&(p=void 0),n.D&&Yi(p,!0),s){var b=[],y=[];Ve("Patches").M(i,p,b,y),s(b,y)}return p}Le(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(f))})};var s,c,d=n.produce(i,a,function(p,h){s=p,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,c]}):[d,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Me(o)||Le(8),Je(o)&&(o=Hu(o));var n=js(this),i=Gi(this,o,void 0);return i[oe].C=!0,Vi(n),i},e.finishDraft=function(o,n){var i=o&&o[oe],a=i.A;return $i(a,n),Fi(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Xs&&Le(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Ve("Patches").$;return Je(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),Oe=new Gu,ju=Oe.produce,_b=Oe.produceWithPatches.bind(Oe),Tb=Oe.setAutoFreeze.bind(Oe),Nb=Oe.setUseProxies.bind(Oe),Lb=Oe.applyPatches.bind(Oe),Ib=Oe.createDraft.bind(Oe),Pb=Oe.finishDraft.bind(Oe),No=ju;function Nt(t){"@babel/helpers - typeof";return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nt(t)}function nl(t,e){if(Nt(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Nt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function il(t){var e=nl(t,"string");return Nt(e)=="symbol"?e:e+""}function al(t,e,o){return(e=il(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function sl(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Qi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?sl(Object(o),!0).forEach(function(n){al(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):sl(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}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 ll=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},Lo={INIT:"@@redux/INIT"+ea(),REPLACE:"@@redux/REPLACE"+ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ea()}};function Ku(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ta(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ge(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ge(1));return o(ta)(t,e)}if(typeof t!="function")throw new Error(ge(2));var i=t,a=e,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(ge(3));return a}function f(S){if(typeof S!="function")throw new Error(ge(4));if(d)throw new Error(ge(5));var R=!0;return p(),c.push(S),function(){if(R){if(d)throw new Error(ge(6));R=!1,p();var _=c.indexOf(S);c.splice(_,1),s=null}}}function g(S){if(!Ku(S))throw new Error(ge(7));if(typeof S.type>"u")throw new Error(ge(8));if(d)throw new Error(ge(9));try{d=!0,a=i(a,S)}finally{d=!1}for(var R=s=c,A=0;A<R.length;A++){var _=R[A];_()}return S}function b(S){if(typeof S!="function")throw new Error(ge(10));i=S,g({type:Lo.REPLACE})}function y(){var S,R=f;return S={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(ge(11));function O(){_.next&&_.next(h())}O();var x=R(O);return{unsubscribe:x}}},S[ll]=function(){return this},S}return g({type:Lo.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:b},n[ll]=y,n}function Zu(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Lo.INIT});if(typeof n>"u")throw new Error(ge(12));if(typeof o(void 0,{type:Lo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ge(13))})}function cl(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{Zu(o)}catch(d){c=d}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var f;for(var g=!1,b={},y=0;y<a.length;y++){var S=a[y],R=o[S],A=p[S],_=R(A,h);if(typeof _>"u"){var O=h&&h.type;throw new Error(ge(14))}b[S]=_,g=g||_!==A}return g=g||a.length!==Object.keys(p).length,g?b:p}}function or(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function dl(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(ge(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=or.apply(void 0,c)(i.dispatch),Qi(Qi({},i),{},{dispatch:a})}}}function ul(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var pl=ul();pl.withExtraArgument=ul;var ra=pl;var yl=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),qu=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},nr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Yu=Object.defineProperty,Xu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,fl=Object.getOwnPropertySymbols,Qu=Object.prototype.hasOwnProperty,ep=Object.prototype.propertyIsEnumerable,hl=function(t,e,o){return e in t?Yu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},pt=function(t,e){for(var o in e||(e={}))Qu.call(e,o)&&hl(t,o,e[o]);if(fl)for(var n=0,i=fl(e);n<i.length;n++){var o=i[n];ep.call(e,o)&&hl(t,o,e[o])}return t},oa=function(t,e){return Xu(t,Ju(e))},tp=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{c(o.next(d))}catch(p){i(p)}},s=function(d){try{c(o.throw(d))}catch(p){i(p)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((o=o.apply(t,e)).next())})};var rp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?or:or.apply(null,arguments)},Xb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function op(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var np=function(t){yl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,nr([void 0],o[0].concat(this)))):new(e.bind.apply(e,nr([void 0],o.concat(this))))},e}(Array),ip=function(t){yl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,nr([void 0],o[0].concat(this)))):new(e.bind.apply(e,nr([void 0],o.concat(this))))},e}(Array);function aa(t){return Me(t)?No(t,function(){}):t}function ap(t){return typeof t=="boolean"}function sp(){return function(e){return lp(e)}}function lp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new np;if(o&&(ap(o)?c.push(ra):c.push(ra.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return c}var na=!0;function bl(t){var e=sp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,d=c===void 0?!0:c,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,g=f===void 0?void 0:f,b;if(typeof i=="function")b=i;else if(op(i))b=cl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!na&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!na&&y.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=dl.apply(void 0,y),R=or;d&&(R=rp(pt({trace:!na},typeof d=="object"&&d)));var A=new ip(S),_=A;Array.isArray(g)?_=nr([S],g):typeof g=="function"&&(_=g(A));var O=R.apply(void 0,_);return ta(b,h,O)}function ft(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return pt(pt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function xl(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function cp(t){return typeof t=="function"}function dp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?xl(e):[e,o,n],a=i[0],s=i[1],c=i[2],d;if(cp(t))d=function(){return aa(t())};else{var p=aa(t);d=function(){return p}}function h(f,g){f===void 0&&(f=d());var b=nr([a[g.type]],s.filter(function(y){var S=y.matcher;return S(g)}).map(function(y){var S=y.reducer;return S}));return b.filter(function(y){return!!y}).length===0&&(b=[c]),b.reduce(function(y,S){if(S)if(Je(y)){var R=y,A=S(R,g);return A===void 0?y:A}else{if(Me(y))return No(y,function(_){return S(_,g)});var A=S(y,g);if(A===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return y},f)}return h.getInitialState=d,h}function up(t,e){return t+"/"+e}function vl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:aa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],g=up(e,h),b,y;"reducer"in f?(b=f.reducer,y=f.prepare):b=f,a[h]=b,s[g]=b,c[h]=y?ft(g,y):ft(g)});function d(){var h=typeof t.extraReducers=="function"?xl(t.extraReducers):[t.extraReducers],f=h[0],g=f===void 0?{}:f,b=h[1],y=b===void 0?[]:b,S=h[2],R=S===void 0?void 0:S,A=pt(pt({},g),s);return dp(o,function(_){for(var O in A)_.addCase(O,A[O]);for(var x=0,E=y;x<E.length;x++){var L=E[x];_.addMatcher(L.matcher,L.reducer)}R&&_.addDefaultCase(R)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var pp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=pp[Math.random()*64|0];return e},hp=["name","message","stack","code"],ia=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),gl=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),gp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=hp;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},tx=function(){function t(e,o,n){var i=ft(e+"/fulfilled",function(h,f,g,b){return{payload:h,meta:oa(pt({},b||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),a=ft(e+"/pending",function(h,f,g){return{payload:void 0,meta:oa(pt({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=ft(e+"/rejected",function(h,f,g,b,y){return{payload:b,error:(n&&n.serializeError||gp)(h||"Rejected"),meta:oa(pt({},y||{}),{arg:g,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,g,b){var y=n?.idGenerator?n.idGenerator(h):fp(),S=new d,R,A=!1;function _(x){R=x,S.abort()}var O=function(){return tp(this,null,function(){var x,E,L,$,j,V,I;return qu(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),$=(x=n?.condition)==null?void 0:x.call(n,h,{getState:g,extra:b}),yp($)?[4,$]:[3,2];case 1:$=m.sent(),m.label=2;case 2:if($===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,j=new Promise(function(v,T){return S.signal.addEventListener("abort",function(){return T({name:"AbortError",message:R||"Aborted"})})}),f(a(y,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:y,arg:h},{getState:g,extra:b}))),[4,Promise.race([j,Promise.resolve(o(h,{dispatch:f,getState:g,extra:b,requestId:y,signal:S.signal,abort:_,rejectWithValue:function(v,T){return new ia(v,T)},fulfillWithValue:function(v,T){return new gl(v,T)}})).then(function(v){if(v instanceof ia)throw v;return v instanceof gl?i(v.payload,y,h,v.meta):i(v,y,h)})])];case 3:return L=m.sent(),[3,5];case 4:return V=m.sent(),L=V instanceof ia?s(null,y,h,V.payload,V.meta):s(V,y,h),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,I||f(L),[2,L]}})})}();return Object.assign(O,{abort:_,requestId:y,arg:h,unwrap:function(){return O.then(mp)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function mp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function yp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Sl="listener",Ol="completed",El="cancelled",rx="task-"+El,ox="task-"+Ol,nx=Sl+"-"+El,ix=Sl+"-"+Ol;var sa="listenerMiddleware";var ax=ft(sa+"/add"),sx=ft(sa+"/removeAll"),lx=ft(sa+"/remove");var ml,cx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ml||(ml=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},bp=function(t){return function(e){setTimeout(e,t)}},dx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bp(10);tl();window.ftReduxStores||(window.ftReduxStores={});var Lt=class t extends Ze{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Qt(a))return a;if(i==null)return;let s=vl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=bl({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new t(s,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Gr;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function xp(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Qt(e)&&e.clear()}var Io=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);Et(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function vp(t,e,o){return new Io(t,e,o).watch()}var ua={};q(ua,{scrollHelper:()=>Sp});var ca,Po=new Map,da=class{lock(e,o){if(o){let n=Po.get(o);if(n==null||n===e)return Po.set(o,e),o}}release(e,o){o&&Po.get(o)===e&&Po.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of An(e)){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=Nr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.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=(ca=window.FluidTopicsScrollHelper)!==null&&ca!==void 0?ca:new da;var Sp=window.FluidTopicsScrollHelper;var fa={};q(fa,{SearchPlaceConverter:()=>sr,SearchPlaceQueryParams:()=>Q,isSearchPlaceQueryParams:()=>oc,serializeRequest:()=>wp});var Ep=Jc(wl(),1);var Al;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Al||(Al={}));var Rl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Rl||(Rl={}));var _l;(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"})(_l||(_l={}));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 Nl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Nl||(Nl={}));var Ll;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ll||(Ll={}));var Il;(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.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",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__DISPLAY="TOPIC__DISPLAY",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"})(Il||(Il={}));var Pl;(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"})(Pl||(Pl={}));var kl;(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"})(kl||(kl={}));var Dl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Dl||(Dl={}));var Ml;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Ml||(Ml={}));var Ul;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ul||(Ul={}));var Bl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Bl||(Bl={}));var $l;(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"})($l||($l={}));var Fl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Fl||(Fl={}));var Hl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Hl||(Hl={}));var pa;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(pa||(pa={}));var Zl=t=>Object.keys(pa).includes(t);var zl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(zl||(zl={}));var Wl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Wl||(Wl={}));var Vl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Vl||(Vl={}));var ar;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ar||(ar={}));var ql=t=>Object.keys(ar).includes(t);var Gl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Gl||(Gl={}));var jl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(jl||(jl={}));var Kl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Kl||(Kl={}));var ae;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(ae||(ae={}));var Ee;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ee||(Ee={}));var Yl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Yl||(Yl={}));var Xl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Xl||(Xl={}));var Jl;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(Jl||(Jl={}));var Ql;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ql||(Ql={}));var Op={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN],[ae.GENERATIVE_AI_EXPORT_USER]:[ae.GENERATIVE_AI_USER]};function ec(t,e){return t===e||(Op[t]??[]).some(o=>ec(o,e))}function tc(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=>ec(n,e))}function Cp(t){return`"${t}"`}function rc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function wp(t,e){return new sr(t).serialize(e)}var Q;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(Q||(Q={}));var Ap=new Set(Object.values(Q));function oc(t){return Ap.has(t)}var sr=class{constructor(e,o=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,c,d,p,h,f,g,b;let y=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&y.append(Q.LOCALE,e.contentLocale):y.append(Q.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append(Q.QUERY,e.query);let S=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(x=>x.valueFilter&&!x.valueFilter.negative))!==null&&a!==void 0?a:[];if(S.length>0){let x=S.map(E=>{var L,$;let j=(($=(L=E.valueFilter)===null||L===void 0?void 0:L.values)!==null&&$!==void 0?$:[]).map(V=>this.escapeFilters(V)).map(V=>Cp(rc(V))).join("_");return`${E.key}~${j}`}).join("*");y.append(Q.VALUE_FILTERS,x)}let R=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(x=>x.dateFilter))!==null&&c!==void 0?c:[];if(R.length>0){let x=R.map(E=>{var L;return`${E.key}~${(L=E.dateFilter)===null||L===void 0?void 0:L.type.toLowerCase()}`}).join("*");y.append(Q.DATE_FILTERS,x)}let A=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(x=>x.rangeFilter))!==null&&p!==void 0?p:[];if(A.length>0){let x=A.map(E=>{var L,$;return`${E.key}~${(L=E.rangeFilter)===null||L===void 0?void 0:L.from}_${($=E.rangeFilter)===null||$===void 0?void 0:$.to}`}).join("*");y.append(Q.RANGE_FILTERS,x)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(Q.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&y.append(Q.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&y.append(Q.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((g=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&y.append(Q.PER_PAGE,String(e.paging.perPage));let _=(b=e.otherQueryParams)!==null&&b!==void 0?b:{};for(let x in _)y.append(x,_[x]);let O=new Array;return y.forEach((x,E)=>{O.push(this.encodeQueryString(E)+"="+this.encodeQueryString(x))}),encodeURI(O.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(S){console.warn("Could not decode search request query params, fallback on raw value",S)}let d=new URLSearchParams(e),p=d.get(Q.LOCALE)==="all"?void 0:d.get(Q.LOCALE),h=((o=d.get(Q.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=(n=d.get(Q.SORT))===null||n===void 0?void 0:n.toLowerCase(),g=(i=d.get(Q.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=d.get(Q.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),y={};for(let S of d.keys())oc(S)||(y[S]=d.get(S));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(Q.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:Zl(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Nr(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:y}}parseCompatFilters(e){var o,n,i,a,s,c;let d=[];return e.has(Q.FILTERS)&&(d=this.parseValueFilters((o=e.get(Q.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(Q.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(Q.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(Q.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(Q.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(Q.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(rc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:ar[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(ql(e))return[{key:"ft:lastEdition",dateFilter:{type:ar[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var ma={};q(ma,{toFtFormComponent:()=>ga});var ha=Symbol("elementInternals"),ga=de(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ha].form}constructor(...n){super(n),this[ha]=this.attachInternals()}setFormValue(n){this[ha].setFormValue(n)}}return e});var ya={};q(ya,{DateFormatter:()=>It});var It=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return s;let c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${c}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var xa={};q(xa,{ALL_KEYS_VALUE:()=>ba,SameWindowStorageEvent:()=>lr});var ba="__all__",lr=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ba}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new lr(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new lr(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new lr(ba))}});var Sa={};q(Sa,{FocusMainContentEvent:()=>va});var va=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var nc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Rp(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function _p(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Rp);document.addEventListener("click",_p);var Mo=P`
|
|
48
|
+
`;var xl={};var pa={};te(pa,{ParametrizedLabelResolver:()=>yo});var yo=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Da={};te(Da,{FtCommandQueue:()=>bo,FtLitElementRedux:()=>vo,FtReduxStore:()=>tr,ReduxWatcher:()=>nn,clearAllStores:()=>ef,isFtReduxStore:()=>wr,redux:()=>Er,reduxEventListener:()=>yp,reduxReactive:()=>gp,watch:()=>tf,withRedux:()=>vl});var gp=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Er=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Kt,attribute:!1,...e};b(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},yp=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var bo=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function wr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var xo=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),Jt=Symbol("internalStores"),vl=we(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Jt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Jt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Jt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Jt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Jt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[kt].has(s.store):this[kt].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[kt].set(s,l.subscribe(()=>this.updateFromStores())),this[xo].set(s,[]),wr(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[xo].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[kt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[kt].has(s)&&this[kt].get(s)(),this[kt].delete(s),(l=this[xo].get(s))===null||l===void 0||l.forEach(d=>d()),this[xo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=kt,o=Jt,n=xo,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),vo=class extends vl(K){};function Ge(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[ue]}function Qe(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===wp}(t)||Array.isArray(t)||!!t[Rl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Rl])||Sa(t)||Ca(t))}function Qt(t,e,o){o===void 0&&(o=!1),Ir(t)===0?(o?Object.keys:Rr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ir(t){var e=t[ue];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Sa(t)?2:Ca(t)?3:0}function Ar(t,e){return Ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function bp(t,e){return Ir(t)===2?t.get(e):t[e]}function Il(t,e,o){var n=Ir(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Tl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Sa(t){return Op&&t instanceof Map}function Ca(t){return Ep&&t instanceof Set}function $t(t){return t.o||t.t}function Oa(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Nl(t);delete e[ue];for(var o=Rr(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ea(t,e){return e===void 0&&(e=!1),wa(t)||Ot(t)||!Qe(t)||(Ir(t)>1&&(t.set=t.add=t.clear=t.delete=xp),Object.freeze(t),e&&Qt(t,function(o,n){return Ea(n,!0)},!0)),t}function xp(){Ge(2)}function wa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ut(t){var e=va[t];return e||Ge(18,t),e}function vp(t,e){va[t]||(va[t]=e)}function ya(){return Co}function fa(t,e){e&&(ut("Patches"),t.u=[],t.s=[],t.v=e)}function Qo(t){ba(t),t.p.forEach(Sp),t.p=null}function ba(t){t===Co&&(Co=t.l)}function Sl(t){return Co={p:[],l:Co,h:t,m:!0,_:0}}function Sp(t){var e=t[ue];e.i===0||e.i===1?e.j():e.g=!0}function ha(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ut("ES5").S(e,t,n),n?(o[ue].P&&(Qo(e),Ge(4)),Qe(t)&&(t=en(e,t),e.l||tn(e,t)),e.u&&ut("Patches").M(o[ue].t,t,e.u,e.s)):t=en(e,o,[]),Qo(e),e.u&&e.v(e.u,e.s),t!==_l?t:void 0}function en(t,e,o){if(wa(e))return e;var n=e[ue];if(!n)return Qt(e,function(l,d){return Cl(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return tn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Oa(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Qt(a,function(l,d){return Cl(t,n,i,l,d,o,s)}),tn(t,i,!1),o&&t.u&&ut("Patches").N(n,o,t.u,t.s)}return n.o}function Cl(t,e,o,n,i,a,s){if(Ot(i)){var l=en(t,i,a&&e&&e.i!==3&&!Ar(e.R,n)?a.concat(n):void 0);if(Il(o,n,l),!Ot(l))return;t.m=!1}else s&&o.add(i);if(Qe(i)&&!wa(i)){if(!t.h.D&&t._<1)return;en(t,i),e&&e.A.l||tn(t,i)}}function tn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Ea(e,o)}function ma(t,e){var o=t[ue];return(o?$t(o):t)[e]}function Ol(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function ga(t){t.o||(t.o=Oa(t.t))}function xa(t,e,o){var n=Sa(e)?ut("MapSet").F(e,o):Ca(e)?ut("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:ya(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=Oo;s&&(d=[l],p=So);var h=Proxy.revocable(d,p),f=h.revoke,m=h.proxy;return l.k=m,l.j=f,m}(e,o):ut("ES5").J(e,o);return(o?o.A:ya()).p.push(n),n}function Cp(t){return Ot(t)||Ge(22,t),function e(o){if(!Qe(o))return o;var n,i=o[ue],a=Ir(o);if(i){if(!i.P&&(i.i<4||!ut("ES5").K(i)))return i.t;i.I=!0,n=El(o,a),i.I=!1}else n=El(o,a);return Qt(n,function(s,l){i&&bp(i.t,s)===l||Il(n,s,e(l))}),a===3?new Set(n):n}(t)}function El(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Oa(t)}function Ll(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[ue];return Oo.get(p,s)},set:function(p){var h=this[ue];Oo.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][ue];if(!d.P)switch(d.i){case 5:n(d)&&Dt(d);break;case 4:o(d)&&Dt(d)}}}function o(s){for(var l=s.t,d=s.k,p=Rr(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==ue){var m=l[f];if(m===void 0&&!Ar(l,f))return!0;var S=d[f],x=S&&S[ue];if(x?x.t!==m:!Tl(S,m))return!0}}var E=!!l[ue];return p.length!==Rr(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Ge(3,JSON.stringify($t(s)))}var a={};vp("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,m){if(f){for(var S=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(S,""+x,t(x,!0));return S}var E=Nl(m);delete E[ue];for(var L=Rr(E),T=0;T<L.length;T++){var _=L[T];E[_]=t(_,f||!!E[_].enumerable)}return Object.create(Object.getPrototypeOf(m),E)}(d,s),h={i:d?5:4,A:l?l.A:ya(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ue,{value:h,writable:!0}),p},S:function(s,l,d){d?Ot(l)&&l[ue].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[ue];if(f){var m=f.t,S=f.k,x=f.R,E=f.i;if(E===4)Qt(S,function(C){C!==ue&&(m[C]!==void 0||Ar(m,C)?x[C]||p(S[C]):(x[C]=!0,Dt(f)))}),Qt(m,function(C){S[C]!==void 0||Ar(S,C)||(x[C]=!1,Dt(f))});else if(E===5){if(n(f)&&(Dt(f),x.length=!0),S.length<m.length)for(var L=S.length;L<m.length;L++)x[L]=!1;else for(var T=m.length;T<S.length;T++)x[T]=!0;for(var _=Math.min(S.length,m.length),w=0;w<_;w++)S.hasOwnProperty(w)||(x[w]=!0),x[w]===void 0&&p(S[w])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var wl,Co,Aa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Op=typeof Map<"u",Ep=typeof Set<"u",Al=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_l=Aa?Symbol.for("immer-nothing"):((wl={})["immer-nothing"]=!0,wl),Rl=Aa?Symbol.for("immer-draftable"):"__$immer_draftable",ue=Aa?Symbol.for("immer-state"):"__$immer_state";var wp=""+Object.prototype.constructor,Rr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Nl=Object.getOwnPropertyDescriptors||function(t){var e={};return Rr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},va={},Oo={get:function(t,e){if(e===ue)return t;var o=$t(t);if(!Ar(o,e))return function(i,a,s){var l,d=Ol(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Qe(n)?n:n===ma(t.t,e)?(ga(t),t.o[e]=xa(t.A.h,n,t)):n},has:function(t,e){return e in $t(t)},ownKeys:function(t){return Reflect.ownKeys($t(t))},set:function(t,e,o){var n=Ol($t(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=ma($t(t),e),a=i?.[ue];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Tl(o,i)&&(o!==void 0||Ar(t.t,e)))return!0;ga(t),Dt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return ma(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ga(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=$t(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ge(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ge(12)}},So={};Qt(Oo,function(t,e){So[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),So.deleteProperty=function(t,e){return So.set.call(this,t,e,void 0)},So.set=function(t,e,o){return Oo.set.call(this,t[0],e,o,t[0])};var Ap=function(){function t(o){var n=this;this.O=Al,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(E){var L=this;E===void 0&&(E=l);for(var T=arguments.length,_=Array(T>1?T-1:0),w=1;w<T;w++)_[w-1]=arguments[w];return d.produce(E,function(C){var A;return(A=a).call.apply(A,[L,C].concat(_))})}}var p;if(typeof a!="function"&&Ge(6),s!==void 0&&typeof s!="function"&&Ge(7),Qe(i)){var h=Sl(n),f=xa(n,i,void 0),m=!0;try{p=a(f),m=!1}finally{m?Qo(h):ba(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(E){return fa(h,s),ha(E,h)},function(E){throw Qo(h),E}):(fa(h,s),ha(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===_l&&(p=void 0),n.D&&Ea(p,!0),s){var S=[],x=[];ut("Patches").M(i,p,S,x),s(S,x)}return p}Ge(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(S){return i.apply(void 0,[S].concat(f))})};var s,l,d=n.produce(i,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Qe(o)||Ge(8),Ot(o)&&(o=Cp(o));var n=Sl(this),i=xa(this,o,void 0);return i[ue].C=!0,ba(n),i},e.finishDraft=function(o,n){var i=o&&o[ue],a=i.A;return fa(a,n),ha(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Al&&Ge(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ut("Patches").$;return Ot(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),Be=new Ap,Rp=Be.produce,lx=Be.produceWithPatches.bind(Be),cx=Be.setAutoFreeze.bind(Be),dx=Be.setUseProxies.bind(Be),ux=Be.applyPatches.bind(Be),px=Be.createDraft.bind(Be),fx=Be.finishDraft.bind(Be),rn=Rp;function er(t){"@babel/helpers - typeof";return er=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},er(t)}function Pl(t,e){if(er(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(er(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function kl(t){var e=Pl(t,"string");return er(e)=="symbol"?e:e+""}function $l(t,e,o){return(e=kl(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Dl(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Ra(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Dl(Object(o),!0).forEach(function(n){$l(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Dl(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Ie(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 Ml=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},on={INIT:"@@redux/INIT"+Ia(),REPLACE:"@@redux/REPLACE"+Ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ia()}};function Ip(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ta(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ie(1));return o(Ta)(t,e)}if(typeof t!="function")throw new Error(Ie(2));var i=t,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ie(3));return a}function f(E){if(typeof E!="function")throw new Error(Ie(4));if(d)throw new Error(Ie(5));var L=!0;return p(),l.push(E),function(){if(L){if(d)throw new Error(Ie(6));L=!1,p();var _=l.indexOf(E);l.splice(_,1),s=null}}}function m(E){if(!Ip(E))throw new Error(Ie(7));if(typeof E.type>"u")throw new Error(Ie(8));if(d)throw new Error(Ie(9));try{d=!0,a=i(a,E)}finally{d=!1}for(var L=s=l,T=0;T<L.length;T++){var _=L[T];_()}return E}function S(E){if(typeof E!="function")throw new Error(Ie(10));i=E,m({type:on.REPLACE})}function x(){var E,L=f;return E={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(Ie(11));function w(){_.next&&_.next(h())}w();var C=L(w);return{unsubscribe:C}}},E[Ml]=function(){return this},E}return m({type:on.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:S},n[Ml]=x,n}function Tp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:on.INIT});if(typeof n>"u")throw new Error(Ie(12));if(typeof o(void 0,{type:on.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function Bl(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,l;try{Tp(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,S={},x=0;x<a.length;x++){var E=a[x],L=o[E],T=p[E],_=L(T,h);if(typeof _>"u"){var w=h&&h.type;throw new Error(Ie(14))}S[E]=_,m=m||_!==T}return m=m||a.length!==Object.keys(p).length,m?S:p}}function Tr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Fl(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=Tr.apply(void 0,l)(i.dispatch),Ra(Ra({},i),{},{dispatch:a})}}}function Ul(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var zl=Ul();zl.withExtraArgument=Ul;var La=zl;var jl=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Lp=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Lr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},_p=Object.defineProperty,Np=Object.defineProperties,Pp=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,kp=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable,Wl=function(t,e,o){return e in t?_p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Mt=function(t,e){for(var o in e||(e={}))kp.call(e,o)&&Wl(t,o,e[o]);if(Hl)for(var n=0,i=Hl(e);n<i.length;n++){var o=i[n];$p.call(e,o)&&Wl(t,o,e[o])}return t},_a=function(t,e){return Np(t,Pp(e))},Dp=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(t,e)).next())})};var Mp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Tr:Tr.apply(null,arguments)},_x=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Bp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Fp=function(t){jl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Lr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Lr([void 0],o.concat(this))))},e}(Array),Up=function(t){jl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Lr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Lr([void 0],o.concat(this))))},e}(Array);function ka(t){return Qe(t)?rn(t,function(){}):t}function zp(t){return typeof t=="boolean"}function Hp(){return function(e){return Wp(e)}}function Wp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Fp;if(o&&(zp(o)?l.push(La):l.push(La.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var Na=!0;function Kl(t){var e=Hp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,m=f===void 0?void 0:f,S;if(typeof i=="function")S=i;else if(Bp(i))S=Bl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!Na&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Na&&x.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Fl.apply(void 0,x),L=Tr;d&&(L=Mp(Mt({trace:!Na},typeof d=="object"&&d)));var T=new Up(E),_=T;Array.isArray(m)?_=Lr([E],m):typeof m=="function"&&(_=m(T));var w=L.apply(void 0,_);return Ta(S,h,w)}function Bt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Mt(Mt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Zl(t){var e={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function Vp(t){return typeof t=="function"}function Gp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?Zl(e):[e,o,n],a=i[0],s=i[1],l=i[2],d;if(Vp(t))d=function(){return ka(t())};else{var p=ka(t);d=function(){return p}}function h(f,m){f===void 0&&(f=d());var S=Lr([a[m.type]],s.filter(function(x){var E=x.matcher;return E(m)}).map(function(x){var E=x.reducer;return E}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,E){if(E)if(Ot(x)){var L=x,T=E(L,m);return T===void 0?x:T}else{if(Qe(x))return rn(x,function(_){return E(_,m)});var T=E(x,m);if(T===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return x},f)}return h.getInitialState=d,h}function jp(t,e){return t+"/"+e}function ql(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:ka(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var f=n[h],m=jp(e,h),S,x;"reducer"in f?(S=f.reducer,x=f.prepare):S=f,a[h]=S,s[m]=S,l[h]=x?Bt(m,x):Bt(m)});function d(){var h=typeof t.extraReducers=="function"?Zl(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,S=h[1],x=S===void 0?[]:S,E=h[2],L=E===void 0?void 0:E,T=Mt(Mt({},m),s);return Gp(o,function(_){for(var w in T)_.addCase(w,T[w]);for(var C=0,A=x;C<A.length;C++){var D=A[C];_.addMatcher(D.matcher,D.reducer)}L&&_.addDefaultCase(L)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Kp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Zp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Kp[Math.random()*64|0];return e},qp=["name","message","stack","code"],Pa=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Vl=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Yp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=qp;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},$x=function(){function t(e,o,n){var i=Bt(e+"/fulfilled",function(h,f,m,S){return{payload:h,meta:_a(Mt({},S||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=Bt(e+"/pending",function(h,f,m){return{payload:void 0,meta:_a(Mt({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Bt(e+"/rejected",function(h,f,m,S,x){return{payload:S,error:(n&&n.serializeError||Yp)(h||"Rejected"),meta:_a(Mt({},x||{}),{arg:m,requestId:f,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,m,S){var x=n?.idGenerator?n.idGenerator(h):Zp(),E=new d,L,T=!1;function _(C){L=C,E.abort()}var w=function(){return Dp(this,null,function(){var C,A,D,j,J,Y,M;return Lp(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),j=(C=n?.condition)==null?void 0:C.call(n,h,{getState:m,extra:S}),Jp(j)?[4,j]:[3,2];case 1:j=g.sent(),g.label=2;case 2:if(j===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,J=new Promise(function(O,k){return E.signal.addEventListener("abort",function(){return k({name:"AbortError",message:L||"Aborted"})})}),f(a(x,h,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:x,arg:h},{getState:m,extra:S}))),[4,Promise.race([J,Promise.resolve(o(h,{dispatch:f,getState:m,extra:S,requestId:x,signal:E.signal,abort:_,rejectWithValue:function(O,k){return new Pa(O,k)},fulfillWithValue:function(O,k){return new Vl(O,k)}})).then(function(O){if(O instanceof Pa)throw O;return O instanceof Vl?i(O.payload,x,h,O.meta):i(O,x,h)})])];case 3:return D=g.sent(),[3,5];case 4:return Y=g.sent(),D=Y instanceof Pa?s(null,x,h,Y.payload,Y.meta):s(Y,x,h),[3,5];case 5:return M=n&&!n.dispatchConditionRejection&&s.match(D)&&D.meta.condition,M||f(D),[2,D]}})})}();return Object.assign(w,{abort:_,requestId:x,arg:h,unwrap:function(){return w.then(Xp)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Xp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Jp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Yl="listener",Xl="completed",Jl="cancelled",Dx="task-"+Jl,Mx="task-"+Xl,Bx=Yl+"-"+Jl,Fx=Yl+"-"+Xl;var $a="listenerMiddleware";var Ux=Bt($a+"/add"),zx=Bt($a+"/removeAll"),Hx=Bt($a+"/remove");var Gl,Wx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Gl||(Gl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Qp=function(t){return function(e){setTimeout(e,t)}},Vx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Qp(10);Ll();window.ftReduxStores||(window.ftReduxStores={});var tr=class t extends yt{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(wr(a))return a;if(i==null)return;let s=ql({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Kl({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new bo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function ef(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))wr(e)&&e.clear()}var nn=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);Kt(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function tf(t,e,o){return new nn(t,e,o).watch()}var Fa={};te(Fa,{scrollHelper:()=>rf});var Ma,an=new Map,Ba=class{lock(e,o){if(o){let n=an.get(o);if(n==null||n===e)return an.set(o,e),o}}release(e,o){o&&an.get(o)===e&&an.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of ti(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=ro(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.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=(Ma=window.FluidTopicsScrollHelper)!==null&&Ma!==void 0?Ma:new Ba;var rf=window.FluidTopicsScrollHelper;var za={};te(za,{SearchPlaceConverter:()=>Pr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>Nc,serializeRequest:()=>sf});var nf=Bd(ec(),1);var tc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(tc||(tc={}));var rc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(rc||(rc={}));var oc;(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"})(oc||(oc={}));var nc;(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"})(nc||(nc={}));var ic;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ic||(ic={}));var ac;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(ac||(ac={}));var sc;(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.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",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__DISPLAY="TOPIC__DISPLAY",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"})(sc||(sc={}));var lc;(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"})(lc||(lc={}));var cc;(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"})(cc||(cc={}));var dc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(dc||(dc={}));var uc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(uc||(uc={}));var pc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(pc||(pc={}));var fc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(fc||(fc={}));var hc;(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"})(hc||(hc={}));var mc;(function(t){t.ASC="ASC",t.DESC="DESC"})(mc||(mc={}));var gc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(gc||(gc={}));var Ua;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ua||(Ua={}));var Oc=t=>Object.keys(Ua).includes(t);var yc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(yc||(yc={}));var bc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(bc||(bc={}));var xc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(xc||(xc={}));var Nr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Nr||(Nr={}));var Ec=t=>Object.keys(Nr).includes(t);var vc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(vc||(vc={}));var Sc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Sc||(Sc={}));var Cc;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Cc||(Cc={}));var be;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(be||(be={}));var Fe;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Fe||(Fe={}));var wc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(wc||(wc={}));var Ac;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ac||(Ac={}));var Rc;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(Rc||(Rc={}));var Ic;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ic||(Ic={}));var of={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function Tc(t,e){return t===e||(of[t]??[]).some(o=>Tc(o,e))}function Lc(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=>Tc(n,e))}function af(t){return`"${t}"`}function _c(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function sf(t,e){return new Pr(t).serialize(e)}var ae;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));var lf=new Set(Object.values(ae));function Nc(t){return lf.has(t)}var Pr=class{constructor(e,o=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,l,d,p,h,f,m,S;let x=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&x.append(ae.LOCALE,e.contentLocale):x.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&x.append(ae.QUERY,e.query);let E=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&a!==void 0?a:[];if(E.length>0){let C=E.map(A=>{var D,j;let J=((j=(D=A.valueFilter)===null||D===void 0?void 0:D.values)!==null&&j!==void 0?j:[]).map(Y=>this.escapeFilters(Y)).map(Y=>af(_c(Y))).join("_");return`${A.key}~${J}`}).join("*");x.append(ae.VALUE_FILTERS,C)}let L=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&l!==void 0?l:[];if(L.length>0){let C=L.map(A=>{var D;return`${A.key}~${(D=A.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");x.append(ae.DATE_FILTERS,C)}let T=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&p!==void 0?p:[];if(T.length>0){let C=T.map(A=>{var D,j;return`${A.key}~${(D=A.rangeFilter)===null||D===void 0?void 0:D.from}_${(j=A.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");x.append(ae.RANGE_FILTERS,C)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&x.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&x.append(ae.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&x.append(ae.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((m=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&x.append(ae.PER_PAGE,String(e.paging.perPage));let _=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let C in _)x.append(C,_[C]);let w=new Array;return x.forEach((C,A)=>{w.push(this.encodeQueryString(A)+"="+this.encodeQueryString(C))}),encodeURI(w.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(E){console.warn("Could not decode search request query params, fallback on raw value",E)}let d=new URLSearchParams(e),p=d.get(ae.LOCALE)==="all"?void 0:d.get(ae.LOCALE),h=((o=d.get(ae.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=(n=d.get(ae.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(i=d.get(ae.SCOPE))!==null&&i!==void 0?i:"default",S=+((a=d.get(ae.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),x={};for(let E of d.keys())Nc(E)||(x[E]=d.get(E));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ae.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Oc(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:ro(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:x}}parseCompatFilters(e){var o,n,i,a,s,l;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((o=e.get(ae.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ae.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ae.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ae.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(_c).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Nr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(Ec(e))return[{key:"ft:lastEdition",dateFilter:{type:Nr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Wa={};te(Wa,{toFtFormComponent:()=>Eo});var Ha=Symbol("elementInternals"),Eo=we(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ha].form}constructor(...n){super(n),this[Ha]=this.attachInternals()}setFormValue(n){this[Ha].setFormValue(n)}}return e});var Va={};te(Va,{DateFormatter:()=>rr});var rr=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return s;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var ja={};te(ja,{ALL_KEYS_VALUE:()=>Ga,SameWindowStorageEvent:()=>kr});var Ga="__all__",kr=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ga}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new kr(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new kr(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new kr(Ga))}});var Za={};te(Za,{FocusMainContentEvent:()=>Ka});var Ka=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Pc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function cf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function df(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",cf);document.addEventListener("click",df);var cn=P`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -69,21 +69,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
69
69
|
width:auto;
|
|
70
70
|
height:auto;
|
|
71
71
|
}
|
|
72
|
-
`;var
|
|
72
|
+
`;var uf={checkVisibility:!0},Iv=we(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...uf,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new no({type:"aria",message:n})))},20)}}return e});function or(t,e,o){return t?e(t):o?.(t)}var Ae=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},nr;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(nr||(nr={}));var ir;(function(t){t.default="default",t.warning="warning",t.error="error"})(ir||(ir={}));var qa=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},Bv=we(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=nr.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=ir.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===nr.blur||this.validateOn===nr.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==ir.default&&this.validateOn===nr.blurWithStatusResolutionOnInput||this.validateOn===nr.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new qa(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return N`
|
|
73
73
|
<ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
|
|
74
74
|
style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
|
|
75
|
-
${
|
|
75
|
+
${gt(this.errorMessages,n=>N`
|
|
76
76
|
<li>${n}</li>
|
|
77
77
|
`)}
|
|
78
|
-
${
|
|
78
|
+
${gt(this.warningMessages,n=>N`
|
|
79
79
|
<li>${n}</li>
|
|
80
80
|
`)}
|
|
81
|
-
${
|
|
81
|
+
${or(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>N`
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?
|
|
86
|
-
${e?
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?ir.error:this.warningMessages.length?ir.warning:ir.default}processRules(n){return n.map(i=>i(this.value)).filter(i=>i!==!0).map(i=>i)}}return Ae([b()],e.prototype,"warningRules",void 0),Ae([b()],e.prototype,"errorRules",void 0),Ae([b()],e.prototype,"validateOn",void 0),Ae([b({type:Boolean})],e.prototype,"validateAtRender",void 0),Ae([b()],e.prototype,"label",void 0),Ae([b({type:Boolean})],e.prototype,"hideLabel",void 0),Ae([b()],e.prototype,"name",void 0),Ae([b({type:Boolean})],e.prototype,"disabled",void 0),Ae([b()],e.prototype,"helperText",void 0),Ae([b()],e.prototype,"forceStatus",void 0),Ae([b({reflect:!0})],e.prototype,"value",void 0),Ae([W()],e.prototype,"errorMessages",void 0),Ae([W()],e.prototype,"warningMessages",void 0),Ae([W()],e.prototype,"status",void 0),Ae([W()],e.prototype,"focused",void 0),Ae([W()],e.prototype,"additionalWarningRules",void 0),Ae([W()],e.prototype,"additionalErrorRules",void 0),e});var wo=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),wo(n,e);return!0},dn=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},kc=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),hf(e)}};function pf(t){this._$AN!==void 0?(dn(this),this._$AM=t,kc(this)):this._$AM=t}function ff(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=o;a<n.length;a++)wo(n[a],!1),dn(n[a]);else n!=null&&(wo(n,!1),dn(n));else wo(this,t)}var hf=t=>{t.type==st.CHILD&&(t._$AP??=ff,t._$AQ??=pf)},un=class extends We{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),kc(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(wo(this,e),dn(this))}setValue(e){if(Ps(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var $c;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})($c||($c={}));var mf={sm:640,md:768,lg:1024,xl:1280},Ya=class extends un{constructor(e){super(e),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),a=n??(()=>z);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:mf[e]}},Jv=Xe(Ya);var Xa,Ja,Qa,es,Ao=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qa=(Ja=(Xa=window.safari)===null||Xa===void 0?void 0:Xa.pushNotification)===null||Ja===void 0?void 0:Ja.toString())!==null&&Qa!==void 0?Qa:"")==="[object SafariRemoteNotification]",gf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(es=window.ftGlobals)!==null&&es!==void 0?es:{lit:Wn,litDecorators:jn,litRepeat:Kn,litClassMap:Zn,litStyleMap:qn,litUnsafeHTML:Xn,wcUtils:{...ai,...Qn,...ci,...Va,...di,...ui,...Bi,...ii,...ta,...Za,...Pc,...Fa,...Mi,...aa,...Wa,...ia,...yl,...ri,...ca,...Fi,...ua,...cn,...xl,...pa,...Da,...ja,...ra,...na,...za,isSafari:Ao,isTouchScreen:gf,setVariable:v}};var et=t=>t??z;function Dc(t,e){let o=ao[t];return P`
|
|
86
|
+
${e?it(e):P`.ft-typography--${it(t)}`} {
|
|
87
87
|
font-family: ${o.fontFamily};
|
|
88
88
|
font-size: ${o.fontSize};
|
|
89
89
|
font-weight: ${o.fontWeight};
|
|
@@ -92,120 +92,120 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
92
92
|
text-decoration: ${o.textDecoration};
|
|
93
93
|
text-transform: ${o.textCase};
|
|
94
94
|
}
|
|
95
|
-
`}var
|
|
95
|
+
`}var Mc=r.extend("--ft-typography-font-family","",B.titleFont),wt=r.extend("--ft-typography-font-family","",B.contentFont),F={fontFamily:wt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},$r={fontFamily:r.extend("--ft-typography-title-font-family","",Mc),fontSize:r.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Dr={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Mc),fontSize:r.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},Mr={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",wt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},Br={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",wt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},Et={fontFamily:r.extend("--ft-typography-body1-font-family","",wt),fontSize:r.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},je={fontFamily:r.extend("--ft-typography-body2-font-family","",wt),fontSize:r.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},Ce={fontFamily:r.extend("--ft-typography-caption-font-family","",wt),fontSize:r.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},Fr={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",wt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},Ur={fontFamily:r.extend("--ft-typography-overline-font-family","",wt),fontSize:r.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},pt={fontFamily:r.extend("--ft-typography-button-font-family","",wt),fontSize:r.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},Bc=P`
|
|
96
96
|
.ft-typography--title {
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
100
|
-
letter-spacing: ${
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
103
|
-
}
|
|
104
|
-
`,
|
|
97
|
+
font-family: ${$r.fontFamily};
|
|
98
|
+
font-size: ${$r.fontSize};
|
|
99
|
+
font-weight: ${$r.fontWeight};
|
|
100
|
+
letter-spacing: ${$r.letterSpacing};
|
|
101
|
+
line-height: ${$r.lineHeight};
|
|
102
|
+
text-transform: ${$r.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,Fc=P`
|
|
105
105
|
.ft-typography--title-dense {
|
|
106
|
-
font-family: ${
|
|
107
|
-
font-size: ${
|
|
108
|
-
font-weight: ${
|
|
109
|
-
letter-spacing: ${
|
|
110
|
-
line-height: ${
|
|
111
|
-
text-transform: ${
|
|
112
|
-
}
|
|
113
|
-
`,
|
|
106
|
+
font-family: ${Dr.fontFamily};
|
|
107
|
+
font-size: ${Dr.fontSize};
|
|
108
|
+
font-weight: ${Dr.fontWeight};
|
|
109
|
+
letter-spacing: ${Dr.letterSpacing};
|
|
110
|
+
line-height: ${Dr.lineHeight};
|
|
111
|
+
text-transform: ${Dr.textTransform};
|
|
112
|
+
}
|
|
113
|
+
`,Uc=P`
|
|
114
114
|
.ft-typography--subtitle1 {
|
|
115
|
-
font-family: ${
|
|
116
|
-
font-size: ${
|
|
117
|
-
font-weight: ${
|
|
118
|
-
letter-spacing: ${
|
|
119
|
-
line-height: ${
|
|
120
|
-
text-transform: ${
|
|
121
|
-
}
|
|
122
|
-
`,
|
|
115
|
+
font-family: ${Mr.fontFamily};
|
|
116
|
+
font-size: ${Mr.fontSize};
|
|
117
|
+
font-weight: ${Mr.fontWeight};
|
|
118
|
+
letter-spacing: ${Mr.letterSpacing};
|
|
119
|
+
line-height: ${Mr.lineHeight};
|
|
120
|
+
text-transform: ${Mr.textTransform};
|
|
121
|
+
}
|
|
122
|
+
`,zc=P`
|
|
123
123
|
.ft-typography--subtitle2 {
|
|
124
|
-
font-family: ${
|
|
125
|
-
font-size: ${
|
|
126
|
-
font-weight: ${
|
|
127
|
-
letter-spacing: ${
|
|
128
|
-
line-height: ${
|
|
129
|
-
text-transform: ${
|
|
124
|
+
font-family: ${Br.fontFamily};
|
|
125
|
+
font-size: ${Br.fontSize};
|
|
126
|
+
font-weight: ${Br.fontWeight};
|
|
127
|
+
letter-spacing: ${Br.letterSpacing};
|
|
128
|
+
line-height: ${Br.lineHeight};
|
|
129
|
+
text-transform: ${Br.textTransform};
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
`,
|
|
132
|
+
`,zr=P`
|
|
133
133
|
.ft-typography--body1 {
|
|
134
|
-
font-family: ${
|
|
135
|
-
font-size: ${
|
|
136
|
-
font-weight: ${
|
|
137
|
-
letter-spacing: ${
|
|
138
|
-
line-height: ${
|
|
139
|
-
text-transform: ${
|
|
140
|
-
}
|
|
141
|
-
`,
|
|
134
|
+
font-family: ${Et.fontFamily};
|
|
135
|
+
font-size: ${Et.fontSize};
|
|
136
|
+
font-weight: ${Et.fontWeight};
|
|
137
|
+
letter-spacing: ${Et.letterSpacing};
|
|
138
|
+
line-height: ${Et.lineHeight};
|
|
139
|
+
text-transform: ${Et.textTransform};
|
|
140
|
+
}
|
|
141
|
+
`,Hc=P`
|
|
142
142
|
.ft-typography--body2 {
|
|
143
|
-
font-family: ${
|
|
144
|
-
font-size: ${
|
|
145
|
-
font-weight: ${
|
|
146
|
-
letter-spacing: ${
|
|
147
|
-
line-height: ${
|
|
148
|
-
text-transform: ${
|
|
149
|
-
}
|
|
150
|
-
`,
|
|
143
|
+
font-family: ${je.fontFamily};
|
|
144
|
+
font-size: ${je.fontSize};
|
|
145
|
+
font-weight: ${je.fontWeight};
|
|
146
|
+
letter-spacing: ${je.letterSpacing};
|
|
147
|
+
line-height: ${je.lineHeight};
|
|
148
|
+
text-transform: ${je.textTransform};
|
|
149
|
+
}
|
|
150
|
+
`,Hr=P`
|
|
151
151
|
.ft-typography--caption {
|
|
152
|
-
font-family: ${
|
|
153
|
-
font-size: ${
|
|
154
|
-
font-weight: ${
|
|
155
|
-
letter-spacing: ${
|
|
156
|
-
line-height: ${
|
|
157
|
-
text-transform: ${
|
|
158
|
-
}
|
|
159
|
-
`,
|
|
152
|
+
font-family: ${Ce.fontFamily};
|
|
153
|
+
font-size: ${Ce.fontSize};
|
|
154
|
+
font-weight: ${Ce.fontWeight};
|
|
155
|
+
letter-spacing: ${Ce.letterSpacing};
|
|
156
|
+
line-height: ${Ce.lineHeight};
|
|
157
|
+
text-transform: ${Ce.textTransform};
|
|
158
|
+
}
|
|
159
|
+
`,Wc=P`
|
|
160
160
|
.ft-typography--breadcrumb {
|
|
161
|
-
font-family: ${
|
|
162
|
-
font-size: ${
|
|
163
|
-
font-weight: ${
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
166
|
-
text-transform: ${
|
|
167
|
-
}
|
|
168
|
-
`,
|
|
161
|
+
font-family: ${Fr.fontFamily};
|
|
162
|
+
font-size: ${Fr.fontSize};
|
|
163
|
+
font-weight: ${Fr.fontWeight};
|
|
164
|
+
letter-spacing: ${Fr.letterSpacing};
|
|
165
|
+
line-height: ${Fr.lineHeight};
|
|
166
|
+
text-transform: ${Fr.textTransform};
|
|
167
|
+
}
|
|
168
|
+
`,Vc=P`
|
|
169
169
|
.ft-typography--overline {
|
|
170
|
-
font-family: ${
|
|
171
|
-
font-size: ${
|
|
172
|
-
font-weight: ${
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
176
|
-
}
|
|
177
|
-
`,
|
|
170
|
+
font-family: ${Ur.fontFamily};
|
|
171
|
+
font-size: ${Ur.fontSize};
|
|
172
|
+
font-weight: ${Ur.fontWeight};
|
|
173
|
+
letter-spacing: ${Ur.letterSpacing};
|
|
174
|
+
line-height: ${Ur.lineHeight};
|
|
175
|
+
text-transform: ${Ur.textTransform};
|
|
176
|
+
}
|
|
177
|
+
`,Gc=P`
|
|
178
178
|
.ft-typography--button {
|
|
179
|
-
font-family: ${
|
|
180
|
-
font-size: ${
|
|
181
|
-
font-weight: ${
|
|
182
|
-
letter-spacing: ${
|
|
183
|
-
line-height: ${
|
|
184
|
-
text-transform: ${
|
|
185
|
-
}
|
|
186
|
-
`,
|
|
179
|
+
font-family: ${pt.fontFamily};
|
|
180
|
+
font-size: ${pt.fontSize};
|
|
181
|
+
font-weight: ${pt.fontWeight};
|
|
182
|
+
letter-spacing: ${pt.letterSpacing};
|
|
183
|
+
line-height: ${pt.lineHeight};
|
|
184
|
+
text-transform: ${pt.textTransform};
|
|
185
|
+
}
|
|
186
|
+
`,jc=P`
|
|
187
187
|
.ft-typography {
|
|
188
188
|
vertical-align: inherit;
|
|
189
189
|
}
|
|
190
|
-
`,
|
|
190
|
+
`,Kc=[Object.keys(ao).map(t=>Dc(t))];var U={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",B.colorOutline),textColor:r.extend("--ft-input-label-text-color","",B.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",B.colorOnSurfaceDisabled),backgroundColor:r.extend("--ft-input-label-background-color","",B.colorSurface),borderRadius:r.extend("--ft-input-label-border-radius","",B.borderRadiusS),colorError:r.external(B.colorError,"Design system")},Zc=P`
|
|
191
191
|
.ft-input-label {
|
|
192
192
|
position: absolute;
|
|
193
193
|
inset: 0;
|
|
194
194
|
display: flex;
|
|
195
|
-
background-color: ${
|
|
196
|
-
border-radius: ${
|
|
195
|
+
background-color: ${U.backgroundColor};
|
|
196
|
+
border-radius: ${U.borderRadius} ${U.borderRadius} 0 0;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.ft-input-label--outlined {
|
|
200
|
-
border-radius: ${
|
|
200
|
+
border-radius: ${U.borderRadius};
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
.ft-input-label {
|
|
204
|
-
border-color: ${
|
|
204
|
+
border-color: ${U.borderColor};
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.ft-input-label.ft-input-label--in-error {
|
|
208
|
-
border-color: ${
|
|
208
|
+
border-color: ${U.colorError}
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.ft-input-label:before,
|
|
@@ -218,7 +218,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.ft-input-label:before {
|
|
221
|
-
width: calc(${
|
|
221
|
+
width: calc(${U.horizontalSpacing} - 4px);
|
|
222
222
|
flex-shrink: 0;
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -234,20 +234,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
234
234
|
border-bottom-width: 1px;
|
|
235
235
|
border-bottom-style: solid;
|
|
236
236
|
border-color: inherit;
|
|
237
|
-
color: ${
|
|
237
|
+
color: ${U.textColor};
|
|
238
238
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
239
|
-
max-width: calc(${
|
|
239
|
+
max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
240
240
|
text-overflow: ellipsis;
|
|
241
|
-
${
|
|
242
|
-
${
|
|
241
|
+
${v(Ce.fontSize,U.fontSize)};
|
|
242
|
+
${v(Ce.lineHeight,U.fontSize)};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.ft-input-label--in-error .ft-input-label--text {
|
|
246
|
-
color: ${
|
|
246
|
+
color: ${U.colorError}
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.ft-input-label--disabled .ft-input-label--text {
|
|
250
|
-
color: ${
|
|
250
|
+
color: ${U.disabledTextColor};
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.ft-input-label--hidden-text {
|
|
@@ -259,24 +259,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
259
259
|
|
|
260
260
|
.ft-input-label--floating-text {
|
|
261
261
|
position: absolute;
|
|
262
|
-
top: calc(50% - ${
|
|
262
|
+
top: calc(50% - ${Ce.lineHeight} / 2);
|
|
263
263
|
transition: top 250ms;
|
|
264
264
|
overflow: hidden;
|
|
265
265
|
white-space: nowrap;
|
|
266
266
|
text-overflow: ellipsis;
|
|
267
|
-
padding: ${
|
|
268
|
-
margin: calc(${
|
|
267
|
+
padding: ${U.verticalSpacing} 4px;
|
|
268
|
+
margin: calc(${U.verticalSpacing} * -1) 0;
|
|
269
269
|
max-width: 100%;
|
|
270
270
|
box-sizing: border-box;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.ft-input-label--raised .ft-input-label--text {
|
|
274
|
-
${
|
|
275
|
-
${
|
|
274
|
+
${v(Ce.fontSize,U.raisedFontSize)};
|
|
275
|
+
${v(Ce.lineHeight,U.raisedFontSize)};
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
279
|
-
top: ${
|
|
279
|
+
top: ${U.verticalSpacing};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -289,52 +289,52 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
289
289
|
.ft-input-label--outlined:before {
|
|
290
290
|
border-left-width: 1px;
|
|
291
291
|
border-left-style: solid;
|
|
292
|
-
border-radius: ${
|
|
292
|
+
border-radius: ${U.borderRadius} 0 0 ${U.borderRadius};
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.ft-input-label--outlined:after {
|
|
296
296
|
border-right-width: 1px;
|
|
297
297
|
border-right-style: solid;
|
|
298
|
-
border-radius: 0 ${
|
|
298
|
+
border-radius: 0 ${U.borderRadius} ${U.borderRadius} 0;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
302
302
|
padding: 2px 4px;
|
|
303
|
-
z-index: ${
|
|
304
|
-
background-color: ${
|
|
305
|
-
border-radius: ${
|
|
306
|
-
top: calc((${
|
|
303
|
+
z-index: ${U.raisedZIndex};
|
|
304
|
+
background-color: ${U.backgroundColor};
|
|
305
|
+
border-radius: ${U.borderRadius};
|
|
306
|
+
top: calc((${Ce.lineHeight} / -2) + 2px);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
310
310
|
border-top: none;
|
|
311
311
|
}
|
|
312
|
-
`;var
|
|
313
|
-
<${
|
|
312
|
+
`;var Yc=Symbol.for(""),yf=t=>{if(t?.r===Yc)return t?._$litStatic$},ts=t=>({_$litStatic$:t,r:Yc});var qc=new Map,rs=t=>(e,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(a=o[p],(i=yf(a))!==void 0);)d+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=qc.get(f))===void 0&&(s.raw=s,qc.set(f,e=s)),o=l}return t(e,...o)},os=rs(N),RS=rs(Bn),IS=rs(Fn);var Ne;(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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ne||(Ne={}));var Xc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ge=class extends K{constructor(){super(...arguments),this.variant=Ne.body1}render(){return this.element?os`
|
|
313
|
+
<${ts(this.element)}
|
|
314
314
|
part="text"
|
|
315
315
|
class="ft-typography ft-typography--${this.variant}">
|
|
316
316
|
<slot></slot>
|
|
317
|
-
</${
|
|
318
|
-
`:
|
|
317
|
+
</${ts(this.element)}>
|
|
318
|
+
`:os`
|
|
319
319
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
320
|
-
`}};
|
|
321
|
-
<div class="${
|
|
322
|
-
${
|
|
320
|
+
`}};ge.styles=[Bc,Fc,Uc,zc,zr,Hc,Hr,Wc,Vc,Gc,jc,...Kc];Xc([b()],ge.prototype,"element",void 0);Xc([b()],ge.prototype,"variant",void 0);ne("ft-typography")(ge);var Jc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},At=class extends K{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return N`
|
|
321
|
+
<div class="${ye(this.inputLabelClasses)}">
|
|
322
|
+
${or(this.text,()=>N`
|
|
323
323
|
<div class="ft-input-label--text ft-typography--caption">
|
|
324
324
|
<label class="ft-input-label--floating-text">${this.text}</label>
|
|
325
325
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
326
326
|
</div>
|
|
327
327
|
`)}
|
|
328
328
|
</div>
|
|
329
|
-
`}};
|
|
329
|
+
`}};At.elementDefinitions={};Jc([b({type:String})],At.prototype,"text",void 0);Jc([b({type:Boolean})],At.prototype,"raised",void 0);var ns=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ue=class extends At{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}}};Ue.elementDefinitions={};Ue.styles=[Hr,Zc];ns([b({type:Boolean})],Ue.prototype,"outlined",void 0);ns([b({type:Boolean})],Ue.prototype,"error",void 0);ns([b({type:Boolean})],Ue.prototype,"disabled",void 0);var Te={fontSize:r.extend("--ft-input-label-font-size","",Zt.fontSize),fontSizeRaised:r.extend("--ft-input-label-font-size-raised","",_t.fontSize),lineHeight:r.extend("--ft-input-label-line-height","",_t.lineHeight),color:r.extend("--ft-input-label-color","",u.contentGlobalSubtle),largeFieldHeight:r.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:r.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:r.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:r.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:r.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:r.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:r.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:r.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Qc=[P`
|
|
330
330
|
|
|
331
331
|
:root {
|
|
332
|
-
--field-height: ${
|
|
333
|
-
--field-vertical-gap: ${
|
|
334
|
-
--field-horizontal-padding: ${
|
|
332
|
+
--field-height: ${Te.largeFieldHeight};
|
|
333
|
+
--field-vertical-gap: ${Te.largeFieldVerticalGap};
|
|
334
|
+
--field-horizontal-padding: ${Te.largeFieldHorizontalPadding};
|
|
335
335
|
|
|
336
|
-
--typo-caption-height: calc(${
|
|
337
|
-
--typo-body-height: calc(${
|
|
336
|
+
--typo-caption-height: calc(${_t.lineHeight} * ${_t.fontSize});
|
|
337
|
+
--typo-body-height: calc(${Zt.lineHeight} * ${Zt.fontSize});
|
|
338
338
|
--caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
|
|
339
339
|
--input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
|
|
340
340
|
}
|
|
@@ -349,15 +349,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
.ft-input-label.ftds--size-large {
|
|
352
|
-
--field-height: ${
|
|
353
|
-
--field-vertical-gap: ${
|
|
354
|
-
--field-horizontal-padding: ${
|
|
352
|
+
--field-height: ${Te.largeFieldHeight};
|
|
353
|
+
--field-vertical-gap: ${Te.largeFieldVerticalGap};
|
|
354
|
+
--field-horizontal-padding: ${Te.largeFieldHorizontalPadding};
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
.ft-input-label.ftds--size-medium {
|
|
358
|
-
--field-height: ${
|
|
359
|
-
--field-vertical-gap: ${
|
|
360
|
-
--field-horizontal-padding: ${
|
|
358
|
+
--field-height: ${Te.mediumFieldHeight};
|
|
359
|
+
--field-vertical-gap: ${Te.mediumFieldVerticalGap};
|
|
360
|
+
--field-horizontal-padding: ${Te.mediumFieldHorizontalPadding};
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.ft-input-label--text {
|
|
@@ -368,8 +368,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
368
368
|
z-index: 10;
|
|
369
369
|
width: 100%;
|
|
370
370
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
371
|
-
${
|
|
372
|
-
${
|
|
371
|
+
${v(Ce.fontSize,Te.fontSize)};
|
|
372
|
+
${v(Ce.lineHeight,Te.lineHeight)};
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
.ft-input-label--hidden-text {
|
|
@@ -390,25 +390,25 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
390
390
|
white-space: nowrap;
|
|
391
391
|
text-overflow: ellipsis;
|
|
392
392
|
|
|
393
|
-
padding-top: ${
|
|
394
|
-
padding-bottom: ${
|
|
395
|
-
padding-left: calc(var(--field-horizontal-padding) + ${
|
|
396
|
-
padding-right: calc(var(--field-horizontal-padding) + ${
|
|
393
|
+
padding-top: ${U.verticalSpacing};
|
|
394
|
+
padding-bottom: ${U.verticalSpacing};
|
|
395
|
+
padding-left: calc(var(--field-horizontal-padding) + ${Te.additionalPaddingLeft});
|
|
396
|
+
padding-right: calc(var(--field-horizontal-padding) + ${Te.additionalPaddingRight});
|
|
397
397
|
|
|
398
|
-
margin: calc(${
|
|
399
|
-
color: ${
|
|
398
|
+
margin: calc(${U.verticalSpacing} * -1) 0;
|
|
399
|
+
color: ${Te.color};
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ft-input-label--raised .ft-input-label--text {
|
|
403
|
-
${
|
|
404
|
-
${
|
|
403
|
+
${v(Ce.fontSize,Te.fontSizeRaised)};
|
|
404
|
+
${v(Ce.lineHeight,Te.lineHeight)};
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
408
408
|
top: var(--input-content-vertical-padding);
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
-
`];var
|
|
411
|
+
`];var Ro=class extends Or(At){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Ro.styles=[Hr,Qc];ne("ft-input-label")(Ue);ne("ftds-input-label")(Ro);var ed=r.extend("--ft-ripple-color","",B.colorContent),R={color:ed,backgroundColor:r.extend("--ft-ripple-background-color","",ed),opacityContentOnSurfacePressed:r.external(B.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(B.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(B.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(B.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},td=r.extend("--ft-ripple-color","",B.colorPrimary),rd={color:td,backgroundColor:r.extend("--ft-ripple-background-color","",td)},od=r.extend("--ft-ripple-color","",B.colorSecondary),nd={color:od,backgroundColor:r.extend("--ft-ripple-background-color","",od)},id=P`
|
|
412
412
|
:host {
|
|
413
413
|
display: contents;
|
|
414
414
|
}
|
|
@@ -421,7 +421,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
421
421
|
|
|
422
422
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
423
423
|
overflow: hidden;
|
|
424
|
-
border-radius: ${
|
|
424
|
+
border-radius: ${R.borderRadius};
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-ripple .ft-ripple--background,
|
|
@@ -455,27 +455,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
.ft-ripple .ft-ripple--background {
|
|
458
|
-
background-color: ${
|
|
458
|
+
background-color: ${R.backgroundColor};
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-ripple .ft-ripple--effect {
|
|
462
|
-
background-color: ${
|
|
462
|
+
background-color: ${R.color};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
466
|
-
background-color: ${
|
|
466
|
+
background-color: ${nd.backgroundColor};
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
470
|
-
background-color: ${
|
|
470
|
+
background-color: ${nd.color};
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
474
|
-
background-color: ${
|
|
474
|
+
background-color: ${rd.backgroundColor};
|
|
475
475
|
}
|
|
476
476
|
|
|
477
477
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
478
|
-
background-color: ${
|
|
478
|
+
background-color: ${rd.color};
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
.ft-ripple .ft-ripple--background {
|
|
@@ -505,33 +505,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
508
|
-
opacity: ${
|
|
508
|
+
opacity: ${R.opacityContentOnSurfaceHover};
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
512
|
-
opacity: ${
|
|
512
|
+
opacity: ${R.opacityContentOnSurfaceSelected};
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
516
|
-
opacity: ${
|
|
516
|
+
opacity: ${R.opacityContentOnSurfaceFocused};
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
520
|
-
opacity: ${
|
|
520
|
+
opacity: ${R.opacityContentOnSurfacePressed};
|
|
521
521
|
transform: translate(-50%, -50%) scale(1);
|
|
522
522
|
}
|
|
523
|
-
`;var
|
|
523
|
+
`;var Pe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends K{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 Le(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 Le(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return N`
|
|
524
524
|
<style>
|
|
525
525
|
.ft-ripple .ft-ripple--effect {
|
|
526
526
|
left: ${this.originX}px;
|
|
527
527
|
top: ${this.originY}px;
|
|
528
528
|
}
|
|
529
529
|
</style>
|
|
530
|
-
<div class="${
|
|
530
|
+
<div class="${ye(e)}">
|
|
531
531
|
<div class="ft-ripple--background"></div>
|
|
532
532
|
<div class="ft-ripple--effect"></div>
|
|
533
533
|
</div>
|
|
534
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};te.elementDefinitions={};te.styles=Nc;be([C({type:Boolean})],te.prototype,"primary",void 0);be([C({type:Boolean})],te.prototype,"secondary",void 0);be([C({type:Boolean})],te.prototype,"unbounded",void 0);be([C({type:Boolean})],te.prototype,"activated",void 0);be([C({type:Boolean})],te.prototype,"selected",void 0);be([C({type:Boolean})],te.prototype,"disabled",void 0);be([W()],te.prototype,"hovered",void 0);be([W()],te.prototype,"focused",void 0);be([W()],te.prototype,"pressed",void 0);be([W()],te.prototype,"rippling",void 0);be([W()],te.prototype,"originX",void 0);be([W()],te.prototype,"originY",void 0);be([he(".ft-ripple")],te.prototype,"ripple",void 0);be([he(".ft-ripple--effect")],te.prototype,"rippleEffect",void 0);ie("ft-ripple")(te);var Ut;(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.EYE="",t.SHARE="󨃱",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.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID=""})(Ut||(Ut={}));var w;(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=""})(w||(w={}));var nO=new Map([...["abw"].map(t=>[t,w.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,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.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,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.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,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.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,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]);var iO={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var Ae={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Lc=[P`
|
|
534
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};re.elementDefinitions={};re.styles=id;Pe([b({type:Boolean})],re.prototype,"primary",void 0);Pe([b({type:Boolean})],re.prototype,"secondary",void 0);Pe([b({type:Boolean})],re.prototype,"unbounded",void 0);Pe([b({type:Boolean})],re.prototype,"activated",void 0);Pe([b({type:Boolean})],re.prototype,"selected",void 0);Pe([b({type:Boolean})],re.prototype,"disabled",void 0);Pe([W()],re.prototype,"hovered",void 0);Pe([W()],re.prototype,"focused",void 0);Pe([W()],re.prototype,"pressed",void 0);Pe([W()],re.prototype,"rippling",void 0);Pe([W()],re.prototype,"originX",void 0);Pe([W()],re.prototype,"originY",void 0);Pe([ie(".ft-ripple")],re.prototype,"ripple",void 0);Pe([ie(".ft-ripple--effect")],re.prototype,"rippleEffect",void 0);ne("ft-ripple")(re);var Rt;(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.EYE="",t.SHARE="󨃱",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.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID=""})(Rt||(Rt={}));var I;(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=""})(I||(I={}));var BC=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]);var FC={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"};var le={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ad=[P`
|
|
535
535
|
:host, i.ft-icon {
|
|
536
536
|
display: inline-flex;
|
|
537
537
|
align-items: center;
|
|
@@ -540,14 +540,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
:host {
|
|
543
|
-
width: ${
|
|
544
|
-
height: ${
|
|
543
|
+
width: ${le.size};
|
|
544
|
+
height: ${le.size};
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
i.ft-icon {
|
|
548
548
|
width: 100%;
|
|
549
549
|
height: 100%;
|
|
550
|
-
font-size: ${
|
|
550
|
+
font-size: ${le.size};
|
|
551
551
|
line-height: 1;
|
|
552
552
|
font-weight: normal;
|
|
553
553
|
text-transform: none;
|
|
@@ -558,33 +558,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
558
558
|
text-rendering: auto;
|
|
559
559
|
-webkit-font-smoothing: antialiased;
|
|
560
560
|
-moz-osx-font-smoothing: grayscale;
|
|
561
|
-
vertical-align: ${
|
|
561
|
+
vertical-align: ${le.verticalAlign};
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
i.ft-icon.ft-icon--fluid-topics {
|
|
565
|
-
font-family: ${
|
|
565
|
+
font-family: ${le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
566
566
|
|
|
567
567
|
/* Ugly fix because font is broken */
|
|
568
|
-
font-size: calc(0.75 * ${
|
|
569
|
-
line-height: ${
|
|
568
|
+
font-size: calc(0.75 * ${le.size});
|
|
569
|
+
line-height: ${le.size};
|
|
570
570
|
position: relative;
|
|
571
571
|
top: -4%;
|
|
572
572
|
justify-content: center;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
.ft-icon--file-format {
|
|
576
|
-
font-family: ${
|
|
576
|
+
font-family: ${le.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
.ft-icon--material {
|
|
580
|
-
font-family: ${
|
|
580
|
+
font-family: ${le.materialFontFamily}, "Material Icons", sans-serif;
|
|
581
581
|
}
|
|
582
|
-
`,
|
|
582
|
+
`,Ct];var Ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ke||(Ke={}));var Io=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},fe=class extends K{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Ke).includes(this.variant)?this.variant:Ke.fluid_topics,o=e!==Ke.material||!!this.value;return N`
|
|
583
583
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
584
|
-
${
|
|
584
|
+
${Yn(this.resolvedIcon)}
|
|
585
585
|
<slot ?hidden=${o}></slot>
|
|
586
586
|
</i>
|
|
587
|
-
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case
|
|
587
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Ke.file_format:this.resolvedIcon=(e=I[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ke.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(o=Rt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=ad;Io([b()],fe.prototype,"variant",void 0);Io([b()],fe.prototype,"value",void 0);Io([b({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);Io([W()],fe.prototype,"resolvedIcon",void 0);Io([ie("slot")],fe.prototype,"slottedContent",void 0);ne("ft-icon")(fe);var V={fontSize:r.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:r.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-text-field-helper-color","",B.colorOnSurfaceMedium),colorPrimary:r.external(B.colorPrimary,"Design system"),colorOnSurface:r.external(B.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external(B.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external(B.borderRadiusS,"Design system"),colorError:r.external(B.colorError,"Design system"),prefixColor:r.extend("--ft-text-field-prefix-color","",B.colorOnSurfaceMedium),iconColor:r.extend("--ft-text-field-icon-color","",B.colorOnSurfaceMedium),floatingZIndex:r.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:r.extend("--ft-text-field-background-color","",B.colorSurface),colorOutline:r.external(B.colorOutline,"Design system"),elevation02:r.external(B.elevation02,"Design system"),suggestSize:r.create("--ft-text-field-suggest-size","","SIZE","300px")},sd=P`
|
|
588
588
|
*:focus {
|
|
589
589
|
outline: none;
|
|
590
590
|
}
|
|
@@ -594,21 +594,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
594
594
|
flex-direction: column;
|
|
595
595
|
align-items: stretch;
|
|
596
596
|
position: relative;
|
|
597
|
-
--text-field-internal-suggest-size: ${
|
|
597
|
+
--text-field-internal-suggest-size: ${V.suggestSize};
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
ft-input-label {
|
|
601
|
-
${
|
|
602
|
-
${
|
|
603
|
-
${
|
|
604
|
-
${
|
|
605
|
-
${
|
|
601
|
+
${v(U.fontSize,V.fontSize)};
|
|
602
|
+
${v(U.raisedFontSize,V.labelSize)};
|
|
603
|
+
${v(U.verticalSpacing,V.verticalSpacing)};
|
|
604
|
+
${v(U.horizontalSpacing,V.horizontalSpacing)};
|
|
605
|
+
${v(U.backgroundColor,V.backgroundColor)};
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
.ft-text-field--main-panel {
|
|
609
609
|
position: relative;
|
|
610
610
|
display: flex;
|
|
611
|
-
height: calc(4 * ${
|
|
611
|
+
height: calc(4 * ${V.verticalSpacing} + ${V.labelSize} + ${V.fontSize});
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
.ft-text-field--input-panel {
|
|
@@ -617,24 +617,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
617
617
|
display: flex;
|
|
618
618
|
align-items: center;
|
|
619
619
|
overflow: hidden;
|
|
620
|
-
padding: 0 ${
|
|
620
|
+
padding: 0 ${V.horizontalSpacing};
|
|
621
621
|
|
|
622
|
-
${
|
|
623
|
-
${
|
|
622
|
+
${v(Et.fontSize,V.fontSize)};
|
|
623
|
+
${v(Et.lineHeight,V.fontSize)};
|
|
624
624
|
}
|
|
625
625
|
|
|
626
626
|
.ft-text-field--input-panel ft-ripple {
|
|
627
|
-
${
|
|
628
|
-
${
|
|
627
|
+
${v(R.opacityContentOnSurfaceHover,"0.08")};
|
|
628
|
+
${v(R.opacityContentOnSurfacePressed,"0.04")};
|
|
629
629
|
}
|
|
630
630
|
|
|
631
631
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
632
632
|
align-items: flex-end;
|
|
633
|
-
padding: 0 ${
|
|
633
|
+
padding: 0 ${V.horizontalSpacing} ${V.verticalSpacing} ${V.horizontalSpacing};
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
.ft-text-field--prefix {
|
|
637
|
-
color: ${
|
|
637
|
+
color: ${V.prefixColor};
|
|
638
638
|
margin-right: 2px;
|
|
639
639
|
flex-shrink: 1;
|
|
640
640
|
overflow: hidden;
|
|
@@ -653,22 +653,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
653
653
|
flex-shrink: 1;
|
|
654
654
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
655
655
|
|
|
656
|
-
color: ${
|
|
657
|
-
padding: calc(2 * ${
|
|
656
|
+
color: ${V.colorOnSurface};
|
|
657
|
+
padding: calc(2 * ${V.verticalSpacing}) 0;
|
|
658
658
|
border: none;
|
|
659
659
|
background: none;
|
|
660
660
|
|
|
661
661
|
&:-webkit-autofill,
|
|
662
662
|
&:-webkit-autofill:hover,
|
|
663
663
|
&:-webkit-autofill:focus {
|
|
664
|
-
-webkit-text-fill-color: ${
|
|
664
|
+
-webkit-text-fill-color: ${V.colorOnSurface};
|
|
665
665
|
transition: background-color 50000000s ease-in-out 100000s;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
670
670
|
padding-bottom: 0;
|
|
671
|
-
padding-top: calc(${
|
|
671
|
+
padding-top: calc(${V.labelSize} + 2 * ${V.verticalSpacing});
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -677,37 +677,37 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
.ft-text-field--disabled .ft-text-field--input {
|
|
680
|
-
color: ${
|
|
680
|
+
color: ${V.colorOnSurfaceDisabled};
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
684
|
-
${
|
|
685
|
-
${
|
|
684
|
+
${v(U.borderColor,V.colorPrimary)};
|
|
685
|
+
${v(U.textColor,V.colorPrimary)};
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
689
|
-
border-radius: ${
|
|
689
|
+
border-radius: ${V.borderRadiusS} ${V.borderRadiusS} 0 0;
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
693
|
-
border-radius: ${
|
|
693
|
+
border-radius: ${V.borderRadiusS};
|
|
694
694
|
}
|
|
695
695
|
|
|
696
696
|
.ft-text-field--helper-text {
|
|
697
|
-
padding: 0 12px 0 ${
|
|
698
|
-
color: ${
|
|
697
|
+
padding: 0 12px 0 ${V.horizontalSpacing};
|
|
698
|
+
color: ${V.helperColor};
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
.ft-text-field--in-error .ft-text-field--input,
|
|
702
702
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
703
703
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
704
|
-
color: ${
|
|
704
|
+
color: ${V.colorError};
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
.ft-text-field--icon {
|
|
708
708
|
align-self: center;
|
|
709
709
|
margin-left: 8px;
|
|
710
|
-
color: ${
|
|
710
|
+
color: ${V.iconColor};
|
|
711
711
|
}
|
|
712
712
|
|
|
713
713
|
.ft-text-field--container {
|
|
@@ -718,11 +718,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
718
718
|
display: none;
|
|
719
719
|
flex-direction: column;
|
|
720
720
|
position: absolute;
|
|
721
|
-
z-index: ${
|
|
722
|
-
background: ${
|
|
723
|
-
border: 1px solid ${
|
|
724
|
-
border-radius: 0 0 ${
|
|
725
|
-
box-shadow: ${
|
|
721
|
+
z-index: ${V.floatingZIndex};
|
|
722
|
+
background: ${V.backgroundColor};
|
|
723
|
+
border: 1px solid ${V.colorOutline};
|
|
724
|
+
border-radius: 0 0 ${V.borderRadiusS} ${V.borderRadiusS};
|
|
725
|
+
box-shadow: ${V.elevation02};
|
|
726
726
|
outline: none;
|
|
727
727
|
max-height: var(--text-field-internal-suggest-size);
|
|
728
728
|
overflow-y: auto;
|
|
@@ -737,13 +737,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
.ft-text-field--with-icon {
|
|
740
|
-
${
|
|
740
|
+
${v(U.labelMaxWidth,`calc(100% - ${le.size} - ${U.horizontalSpacing})`)};
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
.ft-text-field--with-password ft-icon:hover {
|
|
744
744
|
cursor: pointer;
|
|
745
745
|
}
|
|
746
|
-
`;var
|
|
746
|
+
`;var ld=P`
|
|
747
747
|
.ft-text-field-suggestion {
|
|
748
748
|
position: relative;
|
|
749
749
|
padding: 8px 16px;
|
|
@@ -773,30 +773,30 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
.ft-text-field-suggestion--helper-text {
|
|
776
|
-
color: ${
|
|
776
|
+
color: ${V.helperColor};
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
slot {
|
|
780
780
|
pointer-events: none;
|
|
781
781
|
}
|
|
782
|
-
`;var
|
|
783
|
-
<div class=${
|
|
782
|
+
`;var pn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},is=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Ze=class extends K{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return N`
|
|
783
|
+
<div class=${ye(e)}
|
|
784
784
|
tabindex="-1"
|
|
785
785
|
@keydown=${this.onKeyDown}
|
|
786
786
|
@click=${this.confirmSuggestion}>
|
|
787
787
|
<ft-ripple></ft-ripple>
|
|
788
|
-
${this.helper?
|
|
788
|
+
${this.helper?N`
|
|
789
789
|
<ft-typography class="ft-text-field-suggestion--helper-text" variant="caption">
|
|
790
790
|
${this.helper}
|
|
791
|
-
</ft-typography>`:
|
|
791
|
+
</ft-typography>`:z}
|
|
792
792
|
<ft-typography part="label"
|
|
793
793
|
variant="body1"
|
|
794
794
|
class="ft-text-field-suggestion--label">
|
|
795
795
|
<slot></slot>
|
|
796
796
|
</ft-typography>
|
|
797
797
|
</div>
|
|
798
|
-
`}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new
|
|
799
|
-
<div class="${
|
|
798
|
+
`}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new is(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Ze.elementDefinitions={"ft-ripple":re,"ft-typography":ge,"ft-icon":fe};Ze.styles=ld;pn([b()],Ze.prototype,"value",void 0);pn([b()],Ze.prototype,"helper",void 0);pn([ie(".ft-text-field-suggestion")],Ze.prototype,"container",void 0);pn([to()],Ze.prototype,"assignedNodes",void 0);var Q=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Z=class extends Eo(K){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Rt.EYE_SLASH,this.passwordRevealedIcon=Rt.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}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(){let e={"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.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()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return N`
|
|
799
|
+
<div class="${ye(e)}">
|
|
800
800
|
<div class="ft-text-field--main-panel"
|
|
801
801
|
@keydown=${this.handleKeyboardNavigation}
|
|
802
802
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -806,19 +806,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
806
806
|
?raised=${this.focused||this.value!=""}
|
|
807
807
|
?error=${this.error}></ft-input-label>
|
|
808
808
|
<div class="ft-text-field--input-panel">
|
|
809
|
-
${this.outlined?
|
|
809
|
+
${this.outlined?z:N`
|
|
810
810
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
811
811
|
`}
|
|
812
|
-
${this.prefix?
|
|
812
|
+
${this.prefix?N`
|
|
813
813
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
814
814
|
${this.prefix}
|
|
815
815
|
</ft-typography>
|
|
816
|
-
`:
|
|
816
|
+
`:z}
|
|
817
817
|
<input type="${this.resolveInputType()}"
|
|
818
|
-
name="${
|
|
819
|
-
maxlength="${
|
|
818
|
+
name="${et(this.name)}"
|
|
819
|
+
maxlength="${et(this.maxLength||void 0)}"
|
|
820
820
|
aria-label="${this.label}"
|
|
821
|
-
autocomplete="${
|
|
821
|
+
autocomplete="${et(this.autocomplete)}"
|
|
822
822
|
class="ft-typography--body1 ft-text-field--input"
|
|
823
823
|
part="input"
|
|
824
824
|
?disabled=${this.disabled}
|
|
@@ -831,40 +831,40 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
831
831
|
<div class="ft-text-field--suggestions"
|
|
832
832
|
@suggestion-selected=${this.onSuggestionSelected}>
|
|
833
833
|
${this.renderSuggestions()}
|
|
834
|
-
${i?
|
|
834
|
+
${i?N`
|
|
835
835
|
<ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
|
|
836
836
|
${this.value}
|
|
837
837
|
</ft-text-field-suggestion>
|
|
838
|
-
`:
|
|
838
|
+
`:z}
|
|
839
839
|
</div>
|
|
840
840
|
</div>
|
|
841
|
-
${this.helper?
|
|
841
|
+
${this.helper?N`
|
|
842
842
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
843
843
|
${this.helper}
|
|
844
844
|
</ft-typography>
|
|
845
|
-
`:
|
|
845
|
+
`:z}
|
|
846
846
|
</div>
|
|
847
|
-
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?
|
|
848
|
-
${
|
|
847
|
+
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?N`
|
|
848
|
+
${gt(this.providedSuggestions,e=>N`
|
|
849
849
|
<ft-text-field-suggestion value="${e.value}" @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
|
|
850
|
-
${e.icon?
|
|
850
|
+
${e.icon?N`
|
|
851
851
|
<ft-icon .value=${e.icon}></ft-icon>
|
|
852
|
-
`:
|
|
852
|
+
`:z}
|
|
853
853
|
${e.label}
|
|
854
854
|
</ft-text-field-suggestion>`)}
|
|
855
|
-
`:
|
|
855
|
+
`:N`
|
|
856
856
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
857
|
-
`}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return
|
|
857
|
+
`}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return N`
|
|
858
858
|
<ft-icon class="ft-text-field--icon"
|
|
859
859
|
.variant=${this.iconVariant}
|
|
860
860
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
861
861
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
862
|
-
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?
|
|
862
|
+
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?N`
|
|
863
863
|
<ft-icon class="ft-text-field--icon"
|
|
864
864
|
.variant=${this.iconVariant}
|
|
865
865
|
.value=${this.icon}
|
|
866
866
|
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
867
|
-
`:
|
|
867
|
+
`:z}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):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]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&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 o,n,i;!((o=this.input)===null||o===void 0)&&o.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)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.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"];ea(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};Z.elementDefinitions={"ft-input-label":Ue,"ft-ripple":re,"ft-typography":ge,"ft-icon":fe,"ft-text-field-suggestion":Ze};Z.styles=[zr,da,sd];Q([b()],Z.prototype,"label",void 0);Q([b({noAccessor:!0})],Z.prototype,"value",null);Q([W()],Z.prototype,"dispatchedValue",void 0);Q([b()],Z.prototype,"helper",void 0);Q([b()],Z.prototype,"suggestionsHelper",void 0);Q([b({type:Boolean})],Z.prototype,"outlined",void 0);Q([b({type:Boolean})],Z.prototype,"disabled",void 0);Q([b({type:Boolean})],Z.prototype,"error",void 0);Q([b({type:Boolean})],Z.prototype,"fixedMenuPosition",void 0);Q([b()],Z.prototype,"prefix",void 0);Q([b()],Z.prototype,"icon",void 0);Q([b()],Z.prototype,"name",void 0);Q([b()],Z.prototype,"type",void 0);Q([b()],Z.prototype,"passwordHiddenIcon",void 0);Q([b()],Z.prototype,"passwordRevealedIcon",void 0);Q([b()],Z.prototype,"iconVariant",void 0);Q([b({type:Boolean})],Z.prototype,"filterSuggestions",void 0);Q([b({type:Number})],Z.prototype,"maxLength",void 0);Q([b({type:Boolean})],Z.prototype,"password",void 0);Q([b({type:String})],Z.prototype,"autocomplete",void 0);Q([b({attribute:!1})],Z.prototype,"suggestionsProvider",void 0);Q([W()],Z.prototype,"focused",void 0);Q([W()],Z.prototype,"hidePassword",void 0);Q([W()],Z.prototype,"hideSuggestions",void 0);Q([W()],Z.prototype,"visibleSuggestions",void 0);Q([W()],Z.prototype,"providedSuggestions",void 0);Q([ie(".ft-text-field--main-panel")],Z.prototype,"mainPanel",void 0);Q([ie(".ft-text-field--input")],Z.prototype,"input",void 0);Q([ie(".ft-text-field-suggestion--new-value")],Z.prototype,"newValueSuggestion",void 0);Q([ie(".ft-text-field--suggestions")],Z.prototype,"suggestionsContainer",void 0);Q([Vn("ft-text-field-suggestion")],Z.prototype,"providedSuggestionsInDom",void 0);Q([Gn({selector:"ft-text-field-suggestion"})],Z.prototype,"slottedSuggestions",void 0);ne("ft-text-field")(Z);ne("ft-text-field-suggestion")(Ze);var G={...V,chipGap:r.extend("--ft-combobox-chip-gap","",c.spacing1),chipsMarginTop:r.extend("--ft-combobox-chips-margin-top","",c.spacing2),suggestSize:r.create("--ft-combobox-suggest-size","","SIZE","370px")},cd=P`
|
|
868
868
|
*:focus {
|
|
869
869
|
outline: none;
|
|
870
870
|
}
|
|
@@ -874,15 +874,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
874
874
|
flex-direction: column;
|
|
875
875
|
align-items: stretch;
|
|
876
876
|
position: relative;
|
|
877
|
-
--combobox-internal-suggest-size: ${
|
|
877
|
+
--combobox-internal-suggest-size: ${G.suggestSize};
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
ft-input-label {
|
|
881
|
-
${
|
|
882
|
-
${
|
|
883
|
-
${
|
|
884
|
-
${
|
|
885
|
-
${
|
|
881
|
+
${v(U.fontSize,G.fontSize)};
|
|
882
|
+
${v(U.raisedFontSize,G.labelSize)};
|
|
883
|
+
${v(U.verticalSpacing,G.verticalSpacing)};
|
|
884
|
+
${v(U.horizontalSpacing,G.horizontalSpacing)};
|
|
885
|
+
${v(U.backgroundColor,G.backgroundColor)};
|
|
886
886
|
}
|
|
887
887
|
|
|
888
888
|
/* Ensure the floating label renders above input content and doesn't intercept events */
|
|
@@ -894,7 +894,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
894
894
|
.ft-combobox--main-panel {
|
|
895
895
|
position: relative;
|
|
896
896
|
display: flex;
|
|
897
|
-
height: calc(4 * ${
|
|
897
|
+
height: calc(4 * ${G.verticalSpacing} + ${G.labelSize} + ${G.fontSize});
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
.ft-combobox--input-panel {
|
|
@@ -903,32 +903,32 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
903
903
|
display: flex;
|
|
904
904
|
align-items: center;
|
|
905
905
|
overflow: hidden;
|
|
906
|
-
padding: 0 ${
|
|
906
|
+
padding: 0 ${G.horizontalSpacing};
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
.ft-combobox--outlined .ft-combobox--input-panel {
|
|
910
|
-
border-radius: ${
|
|
910
|
+
border-radius: ${G.borderRadiusS};
|
|
911
911
|
}
|
|
912
912
|
|
|
913
913
|
.ft-combobox--filled .ft-combobox--input-panel {
|
|
914
|
-
border-radius: ${
|
|
914
|
+
border-radius: ${G.borderRadiusS} ${G.borderRadiusS} 0 0;
|
|
915
915
|
}
|
|
916
916
|
|
|
917
917
|
/* Match text-field filled layout when there is a label: input aligns to bottom and container has bottom padding */
|
|
918
918
|
.ft-combobox--filled.ft-combobox--with-label .ft-combobox--input-panel {
|
|
919
919
|
align-items: flex-end;
|
|
920
|
-
padding: 0 ${
|
|
920
|
+
padding: 0 ${G.horizontalSpacing} ${G.verticalSpacing} ${G.horizontalSpacing};
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
/* Focus color on label when interacting */
|
|
924
924
|
.ft-combobox:not(.ft-combobox--disabled):focus-within ft-input-label {
|
|
925
|
-
${
|
|
926
|
-
${
|
|
925
|
+
${v(U.borderColor,G.colorPrimary)};
|
|
926
|
+
${v(U.textColor,G.colorPrimary)};
|
|
927
927
|
}
|
|
928
928
|
|
|
929
929
|
.ft-combobox--in-error .ft-combobox--input,
|
|
930
930
|
.ft-combobox--in-error .ft-combobox--helper-text {
|
|
931
|
-
color: ${
|
|
931
|
+
color: ${V.colorError};
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
.ft-combobox--input {
|
|
@@ -937,26 +937,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
937
937
|
flex-grow: 1;
|
|
938
938
|
flex-shrink: 1;
|
|
939
939
|
min-width: 0;
|
|
940
|
-
font-size: ${
|
|
941
|
-
color: ${
|
|
942
|
-
padding: calc(2 * ${
|
|
940
|
+
font-size: ${G.fontSize};
|
|
941
|
+
color: ${G.colorOnSurface};
|
|
942
|
+
padding: calc(2 * ${G.verticalSpacing}) 0;
|
|
943
943
|
border: none;
|
|
944
944
|
background: none;
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
.ft-combobox--with-label.ft-combobox--filled .ft-combobox--input {
|
|
948
948
|
padding-bottom: 0;
|
|
949
|
-
padding-top: calc(${
|
|
949
|
+
padding-top: calc(${G.labelSize} + 2 * ${G.verticalSpacing});
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
.ft-combobox--disabled .ft-combobox--input {
|
|
953
|
-
color: ${
|
|
953
|
+
color: ${G.colorOnSurfaceDisabled};
|
|
954
954
|
cursor: not-allowed;
|
|
955
955
|
}
|
|
956
956
|
|
|
957
957
|
.ft-combobox--helper-text {
|
|
958
|
-
padding: 0 12px 0 ${
|
|
959
|
-
color: ${
|
|
958
|
+
padding: 0 12px 0 ${G.horizontalSpacing};
|
|
959
|
+
color: ${G.helperColor};
|
|
960
960
|
}
|
|
961
961
|
|
|
962
962
|
.ft-combobox--listbox {
|
|
@@ -968,16 +968,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
968
968
|
left: -1px;
|
|
969
969
|
right: -1px;
|
|
970
970
|
list-style: none;
|
|
971
|
-
z-index: ${
|
|
972
|
-
background: ${
|
|
973
|
-
border: 1px solid ${
|
|
974
|
-
border-radius: 0 0 ${
|
|
975
|
-
box-shadow: ${
|
|
971
|
+
z-index: ${G.floatingZIndex};
|
|
972
|
+
background: ${G.backgroundColor};
|
|
973
|
+
border: 1px solid ${G.colorOutline};
|
|
974
|
+
border-radius: 0 0 ${G.borderRadiusS} ${G.borderRadiusS};
|
|
975
|
+
box-shadow: ${G.elevation02};
|
|
976
976
|
outline: none;
|
|
977
|
-
max-height: ${
|
|
977
|
+
max-height: ${G.suggestSize};
|
|
978
978
|
overflow-y: auto;
|
|
979
979
|
overflow-x: hidden;
|
|
980
|
-
font-size: ${
|
|
980
|
+
font-size: ${G.fontSize};
|
|
981
981
|
cursor: pointer;
|
|
982
982
|
}
|
|
983
983
|
|
|
@@ -990,12 +990,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
990
990
|
display: block;
|
|
991
991
|
padding: 0; /* Inner suggestion container handles padding */
|
|
992
992
|
cursor: pointer;
|
|
993
|
-
color: ${
|
|
993
|
+
color: ${G.colorOnSurface};
|
|
994
994
|
}
|
|
995
995
|
|
|
996
996
|
.ft-combobox-suggestion {
|
|
997
997
|
position: relative;
|
|
998
|
-
padding: 8px ${
|
|
998
|
+
padding: 8px ${G.horizontalSpacing};
|
|
999
999
|
cursor: pointer;
|
|
1000
1000
|
min-height: 44px;
|
|
1001
1001
|
box-sizing: border-box;
|
|
@@ -1021,37 +1021,1174 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
1023
|
.ft-combobox-suggestion--helper-text {
|
|
1024
|
-
color: ${
|
|
1024
|
+
color: ${G.helperColor};
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
|
-
.ft-combobox--option[
|
|
1028
|
-
.ft-combobox--option:hover .ft-combobox-suggestion {
|
|
1027
|
+
.ft-combobox--option[data-active="true"] .ft-combobox-suggestion,
|
|
1028
|
+
.ft-combobox--option:hover:not([data-selected="true"]) .ft-combobox-suggestion {
|
|
1029
1029
|
background-color: rgba(0, 0, 0, 0.04);
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
.ft-combobox--option-new-value {
|
|
1033
|
-
border-top: 1px solid ${
|
|
1033
|
+
border-top: 1px solid ${G.colorOutline};
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
.ft-combobox--icon {
|
|
1037
1037
|
align-self: center;
|
|
1038
1038
|
margin-left: 8px;
|
|
1039
|
-
color: ${
|
|
1039
|
+
color: ${G.iconColor};
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
1042
|
.ft-combobox--with-icon {
|
|
1043
|
-
${
|
|
1043
|
+
${v(U.labelMaxWidth,`calc(100% - ${le.size} - ${G.horizontalSpacing})`)};
|
|
1044
1044
|
}
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
`;var Up="ft-app-info",Bt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Bt.eventName="authentication-change";var Bp={session:(t,e)=>{ve(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>N.dispatchEvent(new Bt(e.payload)),0))}},N=Lt.get({name:Up,reducers:Bp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var $t=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=N.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=N.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Fo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:$t.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):$t.await()}};var Re=class extends Fo{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Fe,this.cache=e?i.commonCache:new Fe}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Ho=class extends Re{async listMyBookmarks(){let e=N.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Pa=class{addCommand(e,o=!1){N.commands.add(e,o)}consumeCommand(e){return N.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Pa;var Uc,vr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},$p=Symbol("clearAfterUnitTest"),zo=class extends yo(Re){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Uc]=()=>{this.defaultMessages={},this.cache=new Fe,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=N.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};ve(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Vr((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof Ot)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new vr({loadedContexts:e})),this.dispatchEvent(new vr({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new vr({loadedContexts:[e]})),this.dispatchEvent(new vr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>mo(0).then(()=>n()).catch(()=>null)))}};Uc=$p;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends zo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends zo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Sr=window.FluidTopicsI18nService,Wo=window.FluidTopicsCustomI18nService;var ka=class{highlightHtml(e,o,n){Pi(e,o,n)}};window.FluidTopicsHighlightHtmlService=new ka;var Vo=class extends Re{async listMySearches(){let{session:e}=N.getState();return tc(e,ae.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Da=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=N.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return It.format(e,(n=o?.locale)!==null&&n!==void 0?n:N.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Da;var eo=class{static get(e,o){var n,i;let a=N.getState(),{lang:s,region:c}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new sr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${s}-${c}`)}};var Ma=class{urlToSearchRequest(e){return eo.get().parse(e)}searchRequestToUrl(e){return eo.get().serialize(e)}};window.FluidTopicsUrlService=new Ma;var Ft=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ft.eventName="change";var Ua=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},Bc=new Ua;var Go=class t extends Ze{static build(){return new t(window.history,Bc,()=>window.location,!1)}constructor(e,o,n,i){var a,s;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&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),ve(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ft(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,s,c])=>{let d=o(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[p,s,c]),this.setCurrentState(p,!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 o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(Ft.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ft.eventName,e)}currentItem(){return Lr(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 Lr(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Lr(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 o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Go.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var $c=N;function Fc(t,e){var o;return $c.getState().authenticationRequired&&!(!((o=$c.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends X{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>$t.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Fe,this.cleanSessionDebouncer=new Ne,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return U`
|
|
1045
|
+
|
|
1046
|
+
.ft-combobox--chips-container {
|
|
1047
|
+
display: flex;
|
|
1048
|
+
flex-wrap: wrap;
|
|
1049
|
+
gap: ${G.chipGap};
|
|
1050
|
+
margin-top: ${G.chipsMarginTop};
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.ft-combobox--chips-container ft-chip {
|
|
1054
|
+
flex-shrink: 0;
|
|
1055
|
+
}
|
|
1056
|
+
`;var pe={color:r.extend("--ft-loader-color","",B.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},dd=P`
|
|
1057
|
+
:host {
|
|
1058
|
+
line-height: 0;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.ft-loader {
|
|
1062
|
+
display: inline-block;
|
|
1063
|
+
position: relative;
|
|
1064
|
+
|
|
1065
|
+
width: ${pe.size};
|
|
1066
|
+
height: ${pe.size};
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.ft-loader div {
|
|
1070
|
+
position: absolute;
|
|
1071
|
+
top: 37.5%;
|
|
1072
|
+
width: 25%;
|
|
1073
|
+
height: 25%;
|
|
1074
|
+
border-radius: 50%;
|
|
1075
|
+
background: ${pe.color};
|
|
1076
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
.ft-loader div:nth-child(1) {
|
|
1080
|
+
left: 2.5%;
|
|
1081
|
+
animation: appear 0.6s infinite;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.ft-loader div:nth-child(2) {
|
|
1085
|
+
left: 2.5%;
|
|
1086
|
+
animation: move 0.6s infinite;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.ft-loader div:nth-child(3) {
|
|
1090
|
+
left: 37.5%;
|
|
1091
|
+
animation: move 0.6s infinite;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.ft-loader div:nth-child(4) {
|
|
1095
|
+
left: 72.5%;
|
|
1096
|
+
animation: disappear 0.6s infinite;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
@keyframes appear {
|
|
1100
|
+
0% {
|
|
1101
|
+
transform: scale(0);
|
|
1102
|
+
}
|
|
1103
|
+
100% {
|
|
1104
|
+
transform: scale(1);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
@keyframes disappear {
|
|
1109
|
+
0% {
|
|
1110
|
+
transform: scale(1);
|
|
1111
|
+
}
|
|
1112
|
+
100% {
|
|
1113
|
+
transform: scale(0);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
@keyframes move {
|
|
1118
|
+
0% {
|
|
1119
|
+
transform: translate(0, 0);
|
|
1120
|
+
}
|
|
1121
|
+
100% {
|
|
1122
|
+
transform: translate(calc(0.35 * ${pe.size}), 0);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
`;var ud=r.extend("--ft-button-color","",B.colorPrimary),he={backgroundColor:r.extend("--ft-button-background-color","",B.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",B.borderRadiusL),color:ud,fontSize:r.extend("--ft-button-font-size","",pt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",ud),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(B.colorOpacityDisabled,"Design system")},pd=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",B.colorOnPrimary)),as={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",B.colorPrimary)),color:pd,rippleColor:r.extend("--ft-button-primary-ripple-color","",pd)},ft={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",B.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},fd=[P`
|
|
1126
|
+
:host {
|
|
1127
|
+
display: inline-block;
|
|
1128
|
+
max-width: 100%;
|
|
1129
|
+
pointer-events: none;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.ft-button {
|
|
1133
|
+
box-shadow: 0px 0px 0px transparent;
|
|
1134
|
+
border: 0px solid transparent;
|
|
1135
|
+
text-shadow: 0px 0px 0px transparent;
|
|
1136
|
+
font-size: ${he.fontSize};
|
|
1137
|
+
text-decoration: none;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.ft-button:hover {
|
|
1141
|
+
box-shadow: 0px 0px 0px transparent;
|
|
1142
|
+
border: 0px solid transparent;
|
|
1143
|
+
text-shadow: 0px 0px 0px transparent;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.ft-button:active {
|
|
1147
|
+
outline: none;
|
|
1148
|
+
border: none;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.ft-button:focus {
|
|
1152
|
+
outline: 0;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.ft-button {
|
|
1156
|
+
position: relative;
|
|
1157
|
+
display: flex;
|
|
1158
|
+
justify-content: center;
|
|
1159
|
+
align-items: center;
|
|
1160
|
+
width: 100%;
|
|
1161
|
+
overflow: hidden;
|
|
1162
|
+
box-sizing: border-box;
|
|
1163
|
+
border: none;
|
|
1164
|
+
pointer-events: auto;
|
|
1165
|
+
|
|
1166
|
+
--button-internal-line-height: max(calc(${he.fontSize} + 2px), ${he.iconSize});
|
|
1167
|
+
--button-internal-color: ${he.color};
|
|
1168
|
+
${v(le.size,he.iconSize)};
|
|
1169
|
+
${v(R.color,he.rippleColor)};
|
|
1170
|
+
|
|
1171
|
+
border-radius: ${he.borderRadius};
|
|
1172
|
+
padding: ${he.verticalPadding} ${he.horizontalPadding};
|
|
1173
|
+
background-color: ${he.backgroundColor};
|
|
1174
|
+
color: var(--button-internal-color);
|
|
1175
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.ft-button.ft-button--outlined {
|
|
1179
|
+
border: 1px solid var(--button-internal-color);
|
|
1180
|
+
padding: calc(${he.verticalPadding} - 1px) calc(${he.horizontalPadding} - 1px);
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.ft-button.ft-button--dense {
|
|
1184
|
+
padding: ${ft.verticalPadding} ${ft.horizontalPadding};
|
|
1185
|
+
border-radius: ${ft.borderRadius};
|
|
1186
|
+
gap: ${ft.iconPadding};
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1190
|
+
padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.ft-button:not([disabled]):hover {
|
|
1194
|
+
cursor: pointer;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.ft-button--round {
|
|
1198
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${he.verticalPadding});
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.ft-button--round.ft-button--dense {
|
|
1202
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${ft.verticalPadding});
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.ft-button[disabled] {
|
|
1206
|
+
filter: grayscale(1);
|
|
1207
|
+
opacity: ${he.opacityDisabled};
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.ft-button.ft-button--primary {
|
|
1211
|
+
background-color: ${as.backgroundColor};
|
|
1212
|
+
--button-internal-color: ${as.color};
|
|
1213
|
+
${v(R.color,as.rippleColor)};
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.ft-button:focus {
|
|
1217
|
+
outline: none;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.ft-button--label {
|
|
1221
|
+
position: relative;
|
|
1222
|
+
overflow: hidden;
|
|
1223
|
+
white-space: nowrap;
|
|
1224
|
+
text-overflow: ellipsis;
|
|
1225
|
+
display: block;
|
|
1226
|
+
margin: 0 ${he.iconPadding};
|
|
1227
|
+
${v(pt.fontSize,"1em")};
|
|
1228
|
+
${v(pt.lineHeight,"var(--button-internal-line-height)")};
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.ft-button--dense .ft-button--label {
|
|
1232
|
+
margin: 0 ${ft.iconPadding};
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.ft-button--label[hidden] {
|
|
1236
|
+
display: none;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
[part="icon"] {
|
|
1240
|
+
flex-shrink: 0;
|
|
1241
|
+
position: relative;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
1245
|
+
margin: 0 calc(${he.horizontalPadding} * -1);
|
|
1246
|
+
padding: 0 ${he.verticalPadding};
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
1250
|
+
margin: 0 calc(${ft.horizontalPadding} * -1);
|
|
1251
|
+
padding: 0 ${ft.verticalPadding};
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"] {
|
|
1255
|
+
order: 2;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
ft-loader {
|
|
1259
|
+
${v(pe.size,he.iconSize)};
|
|
1260
|
+
${v(pe.color,"var(--button-internal-color)")};
|
|
1261
|
+
}
|
|
1262
|
+
`,Ct];var Wr={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(B.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},hd=P`
|
|
1263
|
+
.ft-tooltip--container {
|
|
1264
|
+
display: block;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.ft-tooltip--inline {
|
|
1268
|
+
display: inline-block;
|
|
1269
|
+
max-width: 100%;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.ft-tooltip {
|
|
1273
|
+
position: fixed;
|
|
1274
|
+
box-sizing: border-box;
|
|
1275
|
+
overflow: hidden;
|
|
1276
|
+
width: max-content;
|
|
1277
|
+
max-width: ${Wr.maxWidth};
|
|
1278
|
+
text-align: center;
|
|
1279
|
+
padding: ${Wr.distance};
|
|
1280
|
+
z-index: ${Wr.zIndex};
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.ft-tooltip--content {
|
|
1284
|
+
padding: 4px 8px;
|
|
1285
|
+
border-radius: ${Wr.borderRadiusS};
|
|
1286
|
+
background-color: ${Wr.backgroundColor};
|
|
1287
|
+
color: ${Wr.color};
|
|
1288
|
+
position: relative;
|
|
1289
|
+
word-break: break-word;
|
|
1290
|
+
}
|
|
1291
|
+
`;var tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},xe=class extends K{constructor(){super(...arguments),this.text="",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 Le,this.revealDebouncer=new Le,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return N`
|
|
1292
|
+
<div part="container"
|
|
1293
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
1294
|
+
<slot part="slot"></slot>
|
|
1295
|
+
<div part="tooltip" role="tooltip" inert
|
|
1296
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
1297
|
+
?hidden=${!this.visible}>
|
|
1298
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
1299
|
+
<slot name="text"></slot>
|
|
1300
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
1301
|
+
</div>
|
|
1302
|
+
</div>
|
|
1303
|
+
</div>
|
|
1304
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&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,o){let n=this.manual;this.manual=!0;let i=this.text;this.text=e,await this.show(o),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(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${B.transitionDuration}, left ${B.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||ei(e,this.ignoreMatchingElements,this.eventsTarget)}};xe.elementDefinitions={"ft-typography":ge};xe.styles=hd;tt([b()],xe.prototype,"text",void 0);tt([b({type:Boolean})],xe.prototype,"manual",void 0);tt([b({type:Boolean})],xe.prototype,"inline",void 0);tt([Tt()],xe.prototype,"delay",void 0);tt([b()],xe.prototype,"position",void 0);tt([Ve([])],xe.prototype,"ignoreMatchingElements",void 0);tt([to()],xe.prototype,"slotNodes",void 0);tt([ie(".ft-tooltip--container")],xe.prototype,"container",void 0);tt([ie(".ft-tooltip")],xe.prototype,"tooltip",void 0);tt([ie(".ft-tooltip--content")],xe.prototype,"tooltipContent",void 0);tt([W()],xe.prototype,"visible",void 0);ne("ft-tooltip")(xe);var ar=class extends K{render(){return N`
|
|
1305
|
+
<div class="ft-loader">
|
|
1306
|
+
<div></div>
|
|
1307
|
+
<div></div>
|
|
1308
|
+
<div></div>
|
|
1309
|
+
<div></div>
|
|
1310
|
+
</div>
|
|
1311
|
+
`}};ar.styles=dd;ne("ft-loader")(ar);var Oe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ce=class extends Eo(K){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let i=N`
|
|
1312
|
+
<ft-ripple part="ripple"
|
|
1313
|
+
?disabled=${this.isDisabled()}
|
|
1314
|
+
?activated=${this.activated}
|
|
1315
|
+
></ft-ripple>
|
|
1316
|
+
<ft-typography part="label"
|
|
1317
|
+
variant="${this.typographyVariant}"
|
|
1318
|
+
element="span"
|
|
1319
|
+
class="ft-button--label ${Ao?"ft-safari-ellipsis-fix":""}"
|
|
1320
|
+
?hidden=${!this.hasTextContent()}>
|
|
1321
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1322
|
+
</ft-typography>
|
|
1323
|
+
${this.resolveIcon()}
|
|
1324
|
+
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?N`
|
|
1325
|
+
<a href="${a}"
|
|
1326
|
+
target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
|
|
1327
|
+
part="button"
|
|
1328
|
+
class="${ye(this.buttonClasses)}"
|
|
1329
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
1330
|
+
?disabled=${this.isDisabled()}>
|
|
1331
|
+
${i}
|
|
1332
|
+
</a>
|
|
1333
|
+
`:N`
|
|
1334
|
+
<button part="button"
|
|
1335
|
+
class="${ye(this.buttonClasses)}"
|
|
1336
|
+
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
1337
|
+
aria-haspopup="${et(this.ariaHasPopup)}"
|
|
1338
|
+
?disabled=${this.isDisabled()}>
|
|
1339
|
+
${i}
|
|
1340
|
+
</button>
|
|
1341
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?N`
|
|
1342
|
+
<ft-tooltip part="tooltip"
|
|
1343
|
+
text="${this.getLabel()}"
|
|
1344
|
+
position="${this.tooltipPosition}">
|
|
1345
|
+
${e}
|
|
1346
|
+
</ft-tooltip>
|
|
1347
|
+
`:e}resolveIcon(){return this.loading?N`
|
|
1348
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?N`
|
|
1349
|
+
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1350
|
+
`:N`
|
|
1351
|
+
<slot part="icon" name="icon"></slot>
|
|
1352
|
+
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return gr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ce.elementDefinitions={"ft-ripple":re,"ft-tooltip":xe,"ft-typography":ge,"ft-icon":fe,"ft-loader":ar};Oe([b()],ce.prototype,"href",void 0);Oe([b()],ce.prototype,"target",void 0);Oe([b()],ce.prototype,"type",void 0);Oe([b({type:Boolean})],ce.prototype,"disabled",void 0);Oe([b()],ce.prototype,"label",void 0);Oe([b()],ce.prototype,"icon",void 0);Oe([b()],ce.prototype,"iconVariant",void 0);Oe([b({type:Boolean})],ce.prototype,"trailingIcon",void 0);Oe([b({type:Boolean})],ce.prototype,"loading",void 0);Oe([b({attribute:"aria-label"})],ce.prototype,"ariaLabel",void 0);Oe([b()],ce.prototype,"ariaHasPopup",void 0);Oe([b()],ce.prototype,"tooltipPosition",void 0);Oe([b({type:Boolean})],ce.prototype,"hideTooltip",void 0);Oe([b({type:Boolean})],ce.prototype,"forceTooltip",void 0);Oe([b({type:Boolean})],ce.prototype,"activated",void 0);Oe([ie(".ft-button")],ce.prototype,"button",void 0);Oe([ie(".ft-button--label slot")],ce.prototype,"slottedContent",void 0);Oe([ie("[part=tooltip]")],ce.prototype,"tooltip",void 0);var fn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},rt=class extends ce{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};rt.styles=[go,fd];fn([b({type:Boolean})],rt.prototype,"primary",void 0);fn([b({type:Boolean})],rt.prototype,"outlined",void 0);fn([b({type:Boolean})],rt.prototype,"dense",void 0);fn([b({type:Boolean})],rt.prototype,"round",void 0);var ss={...y,iconOnlyScale:r.create("--ft-button-icon-only-scale","","NUMBER","1")},md=[P`
|
|
1353
|
+
:host {
|
|
1354
|
+
display: inline-block;
|
|
1355
|
+
max-width: 100%;
|
|
1356
|
+
pointer-events: none;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
/** Remove default button styles **/
|
|
1360
|
+
|
|
1361
|
+
.ft-button {
|
|
1362
|
+
box-shadow: 0 0 0 transparent;
|
|
1363
|
+
border: 0 solid transparent;
|
|
1364
|
+
text-shadow: 0 0 0 transparent;
|
|
1365
|
+
text-decoration: none;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
.ft-button:hover {
|
|
1369
|
+
box-shadow: 0 0 0 transparent;
|
|
1370
|
+
text-shadow: 0 0 0 transparent;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
.ft-button:active {
|
|
1374
|
+
outline: none;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
.ft-button:focus {
|
|
1378
|
+
outline: 0;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
/** Base styles **/
|
|
1382
|
+
|
|
1383
|
+
.ft-button {
|
|
1384
|
+
position: relative;
|
|
1385
|
+
display: flex;
|
|
1386
|
+
justify-content: center;
|
|
1387
|
+
align-items: center;
|
|
1388
|
+
width: 100%;
|
|
1389
|
+
overflow: hidden;
|
|
1390
|
+
box-sizing: border-box;
|
|
1391
|
+
pointer-events: auto;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
.ft-button:not([disabled]):hover {
|
|
1395
|
+
cursor: pointer;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
.ft-button:focus {
|
|
1399
|
+
outline: none;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.ft-button:focus-visible {
|
|
1403
|
+
outline-color: ${y.focusFocusRingColor};
|
|
1404
|
+
outline-style: solid;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
ft-icon {
|
|
1408
|
+
flex-shrink: 0;
|
|
1409
|
+
position: relative;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
1413
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
1414
|
+
order: -1;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
.ft-button--label {
|
|
1418
|
+
position: relative;
|
|
1419
|
+
overflow: hidden;
|
|
1420
|
+
white-space: nowrap;
|
|
1421
|
+
text-overflow: ellipsis;
|
|
1422
|
+
display: block;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
.ft-button--label[hidden] {
|
|
1426
|
+
display: none;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
.ft-button.ft-button--icon-only {
|
|
1430
|
+
padding: unset;
|
|
1431
|
+
border-radius: 50%;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.ft-button.ft-button--icon-only ft-icon {
|
|
1435
|
+
transform: scale(${ss.iconOnlyScale});
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/** Brand Primary styles **/
|
|
1439
|
+
|
|
1440
|
+
.ftds--family-brand.ft-button--primary {
|
|
1441
|
+
${v(pe.color,y.primaryBrandIconColor)};
|
|
1442
|
+
|
|
1443
|
+
${v(R.color,y.primaryBrandStateLayerColor)};
|
|
1444
|
+
${v(R.opacityContentOnSurfaceHover,y.primaryBrandHoverStateLayerOpacity)};
|
|
1445
|
+
${v(R.opacityContentOnSurfaceFocused,y.primaryBrandFocusStateLayerOpacity)};
|
|
1446
|
+
${v(R.opacityContentOnSurfaceSelected,y.primaryBrandActiveStateLayerOpacity)};
|
|
1447
|
+
${v(R.opacityContentOnSurfacePressed,y.primaryBrandActiveStateLayerOpacity)};
|
|
1448
|
+
|
|
1449
|
+
background-color: ${y.primaryBrandBackgroundColor};
|
|
1450
|
+
color: ${y.primaryBrandColor};
|
|
1451
|
+
border-style: none;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
1455
|
+
opacity: ${y.primaryBrandDisabledComponentOpacity};
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
1459
|
+
color: ${y.primaryBrandIconColor};
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
/** Brand Secondary styles **/
|
|
1463
|
+
|
|
1464
|
+
.ftds--family-brand.ft-button--secondary {
|
|
1465
|
+
${v(pe.color,y.secondaryBrandIconColor)};
|
|
1466
|
+
|
|
1467
|
+
${v(R.color,y.secondaryBrandStateLayerColor)};
|
|
1468
|
+
${v(R.opacityContentOnSurfaceHover,y.secondaryBrandHoverStateLayerOpacity)};
|
|
1469
|
+
${v(R.opacityContentOnSurfaceFocused,y.secondaryBrandFocusStateLayerOpacity)};
|
|
1470
|
+
${v(R.opacityContentOnSurfaceSelected,y.secondaryBrandActiveStateLayerOpacity)};
|
|
1471
|
+
${v(R.opacityContentOnSurfacePressed,y.secondaryBrandActiveStateLayerOpacity)};
|
|
1472
|
+
|
|
1473
|
+
background-color: ${y.secondaryBrandBackgroundColor};
|
|
1474
|
+
color: ${y.secondaryBrandColor};
|
|
1475
|
+
border-color: ${y.secondaryBrandBorderColor};
|
|
1476
|
+
border-style: solid;
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
1480
|
+
opacity: ${y.secondaryBrandDisabledComponentOpacity};
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
1484
|
+
color: ${y.secondaryBrandIconColor};
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
/** Brand Tertiary styles **/
|
|
1488
|
+
|
|
1489
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
1490
|
+
${v(pe.color,y.tertiaryBrandIconColor)};
|
|
1491
|
+
|
|
1492
|
+
${v(R.color,y.tertiaryBrandStateLayerColor)};
|
|
1493
|
+
${v(R.opacityContentOnSurfaceHover,y.tertiaryBrandHoverStateLayerOpacity)};
|
|
1494
|
+
${v(R.opacityContentOnSurfaceFocused,y.tertiaryBrandFocusStateLayerOpacity)};
|
|
1495
|
+
${v(R.opacityContentOnSurfaceSelected,y.tertiaryBrandActiveStateLayerOpacity)};
|
|
1496
|
+
${v(R.opacityContentOnSurfacePressed,y.tertiaryBrandActiveStateLayerOpacity)};
|
|
1497
|
+
|
|
1498
|
+
background-color: ${y.tertiaryBrandBackgroundColor};
|
|
1499
|
+
color: ${y.tertiaryBrandColor};
|
|
1500
|
+
border-style: none;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
1504
|
+
opacity: ${y.tertiaryBrandDisabledComponentOpacity};
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
1508
|
+
color: ${y.tertiaryBrandIconColor};
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/** Neutral Secondary styles **/
|
|
1512
|
+
|
|
1513
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
1514
|
+
${v(pe.color,y.secondaryNeutralIconColor)};
|
|
1515
|
+
|
|
1516
|
+
${v(R.backgroundColor,y.secondaryNeutralStateLayerColor)};
|
|
1517
|
+
${v(R.opacityContentOnSurfaceHover,y.secondaryNeutralHoverStateLayerOpacity)};
|
|
1518
|
+
${v(R.opacityContentOnSurfaceFocused,y.secondaryNeutralFocusStateLayerOpacity)};
|
|
1519
|
+
${v(R.opacityContentOnSurfaceSelected,y.secondaryNeutralActiveStateLayerOpacity)};
|
|
1520
|
+
${v(R.opacityContentOnSurfacePressed,y.secondaryNeutralActiveStateLayerOpacity)};
|
|
1521
|
+
|
|
1522
|
+
background-color: ${y.secondaryNeutralBackgroundColor};
|
|
1523
|
+
color: ${y.secondaryNeutralColor};
|
|
1524
|
+
border-color: ${y.secondaryNeutralBorderColor};
|
|
1525
|
+
border-style: solid;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
1529
|
+
opacity: ${y.secondaryNeutralDisabledComponentOpacity};
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
1533
|
+
color: ${y.secondaryNeutralIconColor};
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** Neutral Tertiary styles **/
|
|
1537
|
+
|
|
1538
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
1539
|
+
${v(pe.color,y.tertiaryNeutralIconColor)};
|
|
1540
|
+
|
|
1541
|
+
${v(R.backgroundColor,y.tertiaryNeutralStateLayerColor)};
|
|
1542
|
+
${v(R.opacityContentOnSurfaceHover,y.tertiaryNeutralHoverStateLayerOpacity)};
|
|
1543
|
+
${v(R.opacityContentOnSurfaceFocused,y.tertiaryNeutralFocusStateLayerOpacity)};
|
|
1544
|
+
${v(R.opacityContentOnSurfaceSelected,y.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1545
|
+
${v(R.opacityContentOnSurfacePressed,y.tertiaryNeutralActiveStateLayerOpacity)};
|
|
1546
|
+
|
|
1547
|
+
background-color: ${y.tertiaryNeutralBackgroundColor};
|
|
1548
|
+
color: ${y.tertiaryNeutralColor};
|
|
1549
|
+
border-style: none;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
1553
|
+
opacity: ${y.tertiaryNeutralDisabledComponentOpacity};
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
1557
|
+
color: ${y.tertiaryNeutralIconColor};
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/** Info Secondary styles **/
|
|
1561
|
+
|
|
1562
|
+
.ftds--family-info.ft-button--secondary {
|
|
1563
|
+
${v(pe.color,y.secondaryInfoIconColor)};
|
|
1564
|
+
|
|
1565
|
+
${v(R.backgroundColor,y.secondaryInfoStateLayerColor)};
|
|
1566
|
+
${v(R.opacityContentOnSurfaceHover,y.secondaryInfoHoverStateLayerOpacity)};
|
|
1567
|
+
${v(R.opacityContentOnSurfaceFocused,y.secondaryInfoFocusStateLayerOpacity)};
|
|
1568
|
+
${v(R.opacityContentOnSurfaceSelected,y.secondaryInfoActiveStateLayerOpacity)};
|
|
1569
|
+
${v(R.opacityContentOnSurfacePressed,y.secondaryInfoActiveStateLayerOpacity)};
|
|
1570
|
+
|
|
1571
|
+
background-color: ${y.secondaryInfoBackgroundColor};
|
|
1572
|
+
color: ${y.secondaryInfoColor};
|
|
1573
|
+
border-color: ${y.secondaryInfoBorderColor};
|
|
1574
|
+
border-style: solid;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
1578
|
+
opacity: ${y.secondaryInfoDisabledComponentOpacity};
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
1582
|
+
color: ${y.secondaryInfoIconColor};
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/** Info Tertiary styles **/
|
|
1586
|
+
|
|
1587
|
+
.ftds--family-info.ft-button--tertiary {
|
|
1588
|
+
${v(pe.color,y.tertiaryInfoIconColor)};
|
|
1589
|
+
|
|
1590
|
+
${v(R.backgroundColor,y.tertiaryInfoStateLayerColor)};
|
|
1591
|
+
${v(R.opacityContentOnSurfaceHover,y.tertiaryInfoHoverStateLayerOpacity)};
|
|
1592
|
+
${v(R.opacityContentOnSurfaceFocused,y.tertiaryInfoFocusStateLayerOpacity)};
|
|
1593
|
+
${v(R.opacityContentOnSurfaceSelected,y.tertiaryInfoActiveStateLayerOpacity)};
|
|
1594
|
+
${v(R.opacityContentOnSurfacePressed,y.tertiaryInfoActiveStateLayerOpacity)};
|
|
1595
|
+
|
|
1596
|
+
background-color: ${y.tertiaryInfoBackgroundColor};
|
|
1597
|
+
color: ${y.tertiaryInfoColor};
|
|
1598
|
+
border-style: none;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
1602
|
+
opacity: ${y.tertiaryInfoDisabledComponentOpacity};
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
1606
|
+
color: ${y.tertiaryInfoIconColor};
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/** Success Secondary styles **/
|
|
1610
|
+
|
|
1611
|
+
.ftds--family-success.ft-button--secondary {
|
|
1612
|
+
${v(pe.color,y.secondarySuccessIconColor)};
|
|
1613
|
+
|
|
1614
|
+
${v(R.backgroundColor,y.secondarySuccessStateLayerColor)};
|
|
1615
|
+
${v(R.opacityContentOnSurfaceHover,y.secondarySuccessHoverStateLayerOpacity)};
|
|
1616
|
+
${v(R.opacityContentOnSurfaceFocused,y.secondarySuccessFocusStateLayerOpacity)};
|
|
1617
|
+
${v(R.opacityContentOnSurfaceSelected,y.secondarySuccessActiveStateLayerOpacity)};
|
|
1618
|
+
${v(R.opacityContentOnSurfacePressed,y.secondarySuccessActiveStateLayerOpacity)};
|
|
1619
|
+
|
|
1620
|
+
background-color: ${y.secondarySuccessBackgroundColor};
|
|
1621
|
+
color: ${y.secondarySuccessColor};
|
|
1622
|
+
border-color: ${y.secondarySuccessBorderColor};
|
|
1623
|
+
border-style: solid;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
1627
|
+
opacity: ${y.secondarySuccessDisabledComponentOpacity};
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
1631
|
+
color: ${y.secondarySuccessIconColor};
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
/** Success Tertiary styles **/
|
|
1635
|
+
|
|
1636
|
+
.ftds--family-success.ft-button--tertiary {
|
|
1637
|
+
${v(pe.color,y.tertiarySuccessIconColor)};
|
|
1638
|
+
|
|
1639
|
+
${v(R.backgroundColor,y.tertiarySuccessStateLayerColor)};
|
|
1640
|
+
${v(R.opacityContentOnSurfaceHover,y.tertiarySuccessHoverStateLayerOpacity)};
|
|
1641
|
+
${v(R.opacityContentOnSurfaceFocused,y.tertiarySuccessFocusStateLayerOpacity)};
|
|
1642
|
+
${v(R.opacityContentOnSurfaceSelected,y.tertiarySuccessActiveStateLayerOpacity)};
|
|
1643
|
+
${v(R.opacityContentOnSurfacePressed,y.tertiarySuccessActiveStateLayerOpacity)};
|
|
1644
|
+
|
|
1645
|
+
background-color: ${y.tertiarySuccessBackgroundColor};
|
|
1646
|
+
color: ${y.tertiarySuccessColor};
|
|
1647
|
+
border-style: none;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
1651
|
+
opacity: ${y.tertiarySuccessDisabledComponentOpacity};
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
1655
|
+
color: ${y.tertiarySuccessIconColor};
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/** Warning Secondary styles **/
|
|
1659
|
+
|
|
1660
|
+
.ftds--family-warning.ft-button--secondary {
|
|
1661
|
+
${v(pe.color,y.secondaryWarningIconColor)};
|
|
1662
|
+
|
|
1663
|
+
${v(R.backgroundColor,y.secondaryWarningStateLayerColor)};
|
|
1664
|
+
${v(R.opacityContentOnSurfaceHover,y.secondaryWarningHoverStateLayerOpacity)};
|
|
1665
|
+
${v(R.opacityContentOnSurfaceFocused,y.secondaryWarningFocusStateLayerOpacity)};
|
|
1666
|
+
${v(R.opacityContentOnSurfaceSelected,y.secondaryWarningActiveStateLayerOpacity)};
|
|
1667
|
+
${v(R.opacityContentOnSurfacePressed,y.secondaryWarningActiveStateLayerOpacity)};
|
|
1668
|
+
|
|
1669
|
+
background-color: ${y.secondaryWarningBackgroundColor};
|
|
1670
|
+
color: ${y.secondaryWarningColor};
|
|
1671
|
+
border-color: ${y.secondaryWarningBorderColor};
|
|
1672
|
+
border-style: solid;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
1676
|
+
opacity: ${y.secondaryWarningDisabledComponentOpacity};
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
1680
|
+
color: ${y.secondaryWarningIconColor};
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
/** Warning Tertiary styles **/
|
|
1684
|
+
|
|
1685
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
1686
|
+
${v(pe.color,y.tertiaryWarningIconColor)};
|
|
1687
|
+
|
|
1688
|
+
${v(R.backgroundColor,y.tertiaryWarningStateLayerColor)};
|
|
1689
|
+
${v(R.opacityContentOnSurfaceHover,y.tertiaryWarningHoverStateLayerOpacity)};
|
|
1690
|
+
${v(R.opacityContentOnSurfaceFocused,y.tertiaryWarningFocusStateLayerOpacity)};
|
|
1691
|
+
${v(R.opacityContentOnSurfaceSelected,y.tertiaryWarningActiveStateLayerOpacity)};
|
|
1692
|
+
${v(R.opacityContentOnSurfacePressed,y.tertiaryWarningActiveStateLayerOpacity)};
|
|
1693
|
+
|
|
1694
|
+
background-color: ${y.tertiaryWarningBackgroundColor};
|
|
1695
|
+
color: ${y.tertiaryWarningColor};
|
|
1696
|
+
border-style: none;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
1700
|
+
opacity: ${y.tertiaryWarningDisabledComponentOpacity};
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
1704
|
+
color: ${y.tertiaryWarningIconColor};
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/** Error Secondary styles **/
|
|
1708
|
+
|
|
1709
|
+
.ftds--family-error.ft-button--secondary {
|
|
1710
|
+
${v(pe.color,y.secondaryErrorIconColor)};
|
|
1711
|
+
|
|
1712
|
+
${v(R.backgroundColor,y.secondaryErrorStateLayerColor)};
|
|
1713
|
+
${v(R.opacityContentOnSurfaceHover,y.secondaryErrorHoverStateLayerOpacity)};
|
|
1714
|
+
${v(R.opacityContentOnSurfaceFocused,y.secondaryErrorFocusStateLayerOpacity)};
|
|
1715
|
+
${v(R.opacityContentOnSurfaceSelected,y.secondaryErrorActiveStateLayerOpacity)};
|
|
1716
|
+
${v(R.opacityContentOnSurfacePressed,y.secondaryErrorActiveStateLayerOpacity)};
|
|
1717
|
+
|
|
1718
|
+
background-color: ${y.secondaryErrorBackgroundColor};
|
|
1719
|
+
color: ${y.secondaryErrorColor};
|
|
1720
|
+
border-color: ${y.secondaryErrorBorderColor};
|
|
1721
|
+
border-style: solid;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1725
|
+
opacity: ${y.secondaryErrorDisabledComponentOpacity};
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1729
|
+
color: ${y.secondaryErrorIconColor};
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
/** Error Tertiary styles **/
|
|
1733
|
+
|
|
1734
|
+
.ftds--family-error.ft-button--tertiary {
|
|
1735
|
+
${v(pe.color,y.tertiaryErrorIconColor)};
|
|
1736
|
+
|
|
1737
|
+
${v(R.backgroundColor,y.tertiaryErrorStateLayerColor)};
|
|
1738
|
+
${v(R.opacityContentOnSurfaceHover,y.tertiaryErrorHoverStateLayerOpacity)};
|
|
1739
|
+
${v(R.opacityContentOnSurfaceFocused,y.tertiaryErrorFocusStateLayerOpacity)};
|
|
1740
|
+
${v(R.opacityContentOnSurfaceSelected,y.tertiaryErrorActiveStateLayerOpacity)};
|
|
1741
|
+
${v(R.opacityContentOnSurfacePressed,y.tertiaryErrorActiveStateLayerOpacity)};
|
|
1742
|
+
|
|
1743
|
+
background-color: ${y.tertiaryErrorBackgroundColor};
|
|
1744
|
+
color: ${y.tertiaryErrorColor};
|
|
1745
|
+
border-style: none;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1749
|
+
opacity: ${y.tertiaryErrorDisabledComponentOpacity};
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1753
|
+
color: ${y.tertiaryErrorIconColor};
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
/** Large styles **/
|
|
1757
|
+
|
|
1758
|
+
.ftds--size-large {
|
|
1759
|
+
${v(le.size,y.largeIconSize)};
|
|
1760
|
+
${v(pe.size,y.largeIconSize)};
|
|
1761
|
+
|
|
1762
|
+
height: ${y.largeHeight};
|
|
1763
|
+
padding: 0 ${y.largeHorizontalPadding};
|
|
1764
|
+
gap: ${y.largeGap};
|
|
1765
|
+
border-radius: ${y.largeBorderRadius};
|
|
1766
|
+
border-width: ${y.largeBorderWidth};
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
.ftds--size-large:focus-visible {
|
|
1770
|
+
outline-width: ${y.largeFocusOutlineWidth};
|
|
1771
|
+
outline-offset: ${y.largeFocusOutlineOffset};
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
.ftds--size-large.ft-button--icon-only {
|
|
1775
|
+
width: ${y.largeIconOnlyWidth};
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
/** Small styles **/
|
|
1779
|
+
|
|
1780
|
+
.ftds--size-medium {
|
|
1781
|
+
${v(le.size,y.mediumIconSize)};
|
|
1782
|
+
${v(pe.size,y.mediumIconSize)};
|
|
1783
|
+
|
|
1784
|
+
height: ${y.mediumHeight};
|
|
1785
|
+
padding: 0 ${y.mediumHorizontalPadding};
|
|
1786
|
+
gap: ${y.mediumGap};
|
|
1787
|
+
border-radius: ${y.mediumBorderRadius};
|
|
1788
|
+
border-width: ${y.mediumBorderWidth};
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
.ftds--size-medium:focus-visible {
|
|
1792
|
+
outline-width: ${y.mediumFocusOutlineWidth};
|
|
1793
|
+
outline-offset: ${y.mediumFocusOutlineOffset};
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
1797
|
+
width: ${y.mediumIconOnlyWidth};
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
/** Small styles **/
|
|
1802
|
+
|
|
1803
|
+
.ftds--size-small {
|
|
1804
|
+
${v(le.size,y.smallIconSize)};
|
|
1805
|
+
${v(pe.size,y.smallIconSize)};
|
|
1806
|
+
|
|
1807
|
+
height: ${y.smallHeight};
|
|
1808
|
+
padding: 0 ${y.smallHorizontalPadding};
|
|
1809
|
+
gap: ${y.smallGap};
|
|
1810
|
+
border-radius: ${y.smallBorderRadius};
|
|
1811
|
+
border-width: ${y.smallBorderWidth};
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
.ftds--size-small:focus-visible {
|
|
1815
|
+
outline-width: ${y.smallFocusOutlineWidth};
|
|
1816
|
+
outline-offset: ${y.smallFocusOutlineOffset};
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
.ftds--size-small.ft-button--icon-only {
|
|
1820
|
+
width: ${y.smallIconOnlyWidth};
|
|
1821
|
+
}
|
|
1822
|
+
`,Ct];var hn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ot=class extends Or(ce){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=bt.brand,this.iconVariant=Ke.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Se.large:return Ne.body2medium;case Se.medium:return Ne.caption1medium;case Se.small:return Ne.caption2medium}}};ot.styles=[go,md];hn([b({type:Boolean})],ot.prototype,"primary",void 0);hn([b({type:Boolean})],ot.prototype,"secondary",void 0);hn([b({type:Boolean})],ot.prototype,"tertiary",void 0);hn([b({type:Boolean})],ot.prototype,"round",void 0);ne("ft-button")(rt);ne("ftds-button")(ot);var gd=r.extend("--ft-chip-color","",B.colorOnSurface),ke={backgroundColor:r.extend("--ft-chip-background-color","",B.colorSurface),color:gd,fontSize:r.extend("--ft-chip-font-size","",je.fontSize),fontWeight:r.extend("--ft-chip-font-weight","",je.fontWeight),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",gd),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:r.extend("--ft-chip-border-color","",B.colorOutline),opacityDisabled:r.external(B.colorOpacityDisabled,"Design system")},yd=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",B.colorOnPrimary)),ls={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",B.colorPrimary)),color:yd,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",yd)},bd={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},xd=[Ct,P`
|
|
1823
|
+
:host {
|
|
1824
|
+
display: inline-block;
|
|
1825
|
+
max-width: 100%;
|
|
1826
|
+
pointer-events: none;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
.ft-chip {
|
|
1830
|
+
position: relative;
|
|
1831
|
+
display: flex;
|
|
1832
|
+
justify-content: center;
|
|
1833
|
+
align-items: center;
|
|
1834
|
+
width: 100%;
|
|
1835
|
+
box-sizing: border-box;
|
|
1836
|
+
pointer-events: auto;
|
|
1837
|
+
|
|
1838
|
+
--chip-internal-font-size: ${ke.fontSize};
|
|
1839
|
+
--chip-internal-font-weight: ${ke.fontWeight};
|
|
1840
|
+
--chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
|
|
1841
|
+
${v(le.size,ke.iconSize)};
|
|
1842
|
+
--chip-internal-vertical-padding: ${ke.verticalPadding};
|
|
1843
|
+
--chip-internal-horizontal-padding: ${ke.horizontalPadding};
|
|
1844
|
+
--chip-internal-icon-padding: 3px;
|
|
1845
|
+
--chip-internal-content-height: max(var(--chip-internal-line-height), ${ke.iconSize});
|
|
1846
|
+
|
|
1847
|
+
border: 1px solid ${ke.borderColor};
|
|
1848
|
+
color: ${ke.color};
|
|
1849
|
+
${v(R.color,ke.rippleColor)};
|
|
1850
|
+
border-radius: var(${it(ke.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
|
|
1851
|
+
padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
|
|
1852
|
+
background-color: ${ke.backgroundColor};
|
|
1853
|
+
line-height: var(--chip-internal-content-height);
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
.ft-chip > *:not(ft-ripple) {
|
|
1857
|
+
position: relative;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
.ft-chip--dense {
|
|
1861
|
+
--chip-internal-icon-padding: 3px;
|
|
1862
|
+
--chip-internal-vertical-padding: ${bd.verticalPadding};
|
|
1863
|
+
--chip-internal-horizontal-padding: ${bd.horizontalPadding};
|
|
1864
|
+
--chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
.ft-chip--no-content {
|
|
1868
|
+
--chip-internal-horizontal-padding: ${ke.horizontalPadding.get(P`var(--chip-internal-vertical-padding)`)};
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
.ft-chip--disabled {
|
|
1872
|
+
cursor: default;
|
|
1873
|
+
pointer-events: none;
|
|
1874
|
+
filter: grayscale(1);
|
|
1875
|
+
opacity: ${ke.opacityDisabled};
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.ft-chip--highlighted {
|
|
1879
|
+
border: none;
|
|
1880
|
+
padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
|
|
1881
|
+
background-color: ${ls.backgroundColor};
|
|
1882
|
+
${v(R.color,ls.rippleColor)};
|
|
1883
|
+
color: ${ls.color};
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
.ft-chip--clickable {
|
|
1887
|
+
cursor: pointer;
|
|
1888
|
+
overflow: hidden
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
.ft-chip:focus {
|
|
1892
|
+
outline: 2px solid ${B.colorPrimary};
|
|
1893
|
+
outline-offset: 2px;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
.ft-chip--icon-container {
|
|
1897
|
+
display: inline-flex;
|
|
1898
|
+
position: relative;
|
|
1899
|
+
overflow: hidden;
|
|
1900
|
+
border-radius: 100%;
|
|
1901
|
+
justify-content: center;
|
|
1902
|
+
align-items: center;
|
|
1903
|
+
flex-shrink: 0;
|
|
1904
|
+
|
|
1905
|
+
padding: var(--chip-internal-icon-padding);
|
|
1906
|
+
margin: calc((-1) * var(--chip-internal-icon-padding));
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
.ft-chip--icon-container > *:not(ft-ripple) {
|
|
1910
|
+
position: relative;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
.ft-chip--icon-button {
|
|
1914
|
+
${v(he.iconSize,ke.iconSize)};
|
|
1915
|
+
${v(he.horizontalPadding,"var(--chip-internal-icon-padding)")};
|
|
1916
|
+
${v(he.verticalPadding,"var(--chip-internal-icon-padding)")};
|
|
1917
|
+
margin: calc((-1) * var(--chip-internal-icon-padding));
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
.ft-chip--label {
|
|
1921
|
+
vertical-align: bottom;
|
|
1922
|
+
display: block;
|
|
1923
|
+
margin: 0 var(--chip-internal-horizontal-padding);
|
|
1924
|
+
${v(je.fontSize,"var(--chip-internal-font-size)")};
|
|
1925
|
+
${v(je.fontWeight,"var(--chip-internal-font-weight)")};
|
|
1926
|
+
${v(je.lineHeight,"var(--chip-internal-content-height)")};
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
.ft-chip--safari-fix .ft-chip--label {
|
|
1930
|
+
margin-right: 0;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.ft-chip:not(.ft-chip--multi-line) .ft-chip--label {
|
|
1934
|
+
overflow: hidden;
|
|
1935
|
+
white-space: nowrap;
|
|
1936
|
+
text-overflow: ellipsis;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
.ft-chip--safari-fix:not(.ft-chip--multi-line) .ft-chip--label:after {
|
|
1940
|
+
content: "\\0000a0";
|
|
1941
|
+
display: inline-block;
|
|
1942
|
+
width: 0;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
.ft-chip--no-content .ft-chip--label {
|
|
1946
|
+
display: none;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
.ft-chip--no-content .ft-chip--label + .ft-chip--icon-container {
|
|
1950
|
+
width: var(--chip-internal-content-height);
|
|
1951
|
+
height: var(--chip-internal-content-height);
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
.ft-chip--icon-container:focus {
|
|
1955
|
+
outline: none;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-container,
|
|
1959
|
+
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1960
|
+
order: -1;
|
|
1961
|
+
}
|
|
1962
|
+
`];var $e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},mn=class extends CustomEvent{constructor(){super("icon-click")}},me=class extends K{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ao};return N`
|
|
1963
|
+
<div class="${ye(e)}"
|
|
1964
|
+
aria-label="${this.getLabel()}"
|
|
1965
|
+
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1966
|
+
@keyup=${this.onKeyUp}
|
|
1967
|
+
part="chip">
|
|
1968
|
+
<ft-ripple ?disabled=${!this.interactionsOnChip}></ft-ripple>
|
|
1969
|
+
<ft-typography variant="body2" element="span" class="ft-chip--label" part="label">
|
|
1970
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1971
|
+
</ft-typography>
|
|
1972
|
+
${this.internalIcon?this.renderIcon():null}
|
|
1973
|
+
</div>
|
|
1974
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?N`
|
|
1975
|
+
<ft-button round
|
|
1976
|
+
class="ft-chip--icon-button"
|
|
1977
|
+
@click=${this.onIconClick}
|
|
1978
|
+
.iconVariant=${this.iconVariant}
|
|
1979
|
+
icon="${this.internalIcon}"
|
|
1980
|
+
label="${this.iconLabel}"
|
|
1981
|
+
tooltipposition="top"
|
|
1982
|
+
part="icon-button"
|
|
1983
|
+
?hideTooltip=${this.hideIconTooltip}
|
|
1984
|
+
></ft-button>
|
|
1985
|
+
`:N`
|
|
1986
|
+
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1987
|
+
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1988
|
+
</div>
|
|
1989
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new mn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new mn))}getLabel(){return this.label||this.textContent}get textContent(){return gr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};me.elementDefinitions={"ft-ripple":re,"ft-typography":ge,"ft-icon":fe,"ft-button":rt};me.styles=xd;$e([b({type:Boolean})],me.prototype,"highlighted",void 0);$e([b({type:Boolean})],me.prototype,"removable",void 0);$e([b({type:Boolean})],me.prototype,"disabled",void 0);$e([b({type:Boolean})],me.prototype,"clickable",void 0);$e([b({type:Boolean})],me.prototype,"iconClickable",void 0);$e([b({type:Boolean})],me.prototype,"dense",void 0);$e([b({type:Boolean})],me.prototype,"multiLine",void 0);$e([b()],me.prototype,"label",void 0);$e([b()],me.prototype,"iconLabel",void 0);$e([b({type:Boolean})],me.prototype,"hideIconTooltip",void 0);$e([b()],me.prototype,"icon",void 0);$e([b()],me.prototype,"iconVariant",void 0);$e([b({type:Boolean})],me.prototype,"trailingIcon",void 0);$e([ie("ft-typography slot")],me.prototype,"slottedContent",void 0);var vd=[P`
|
|
1990
|
+
:host {
|
|
1991
|
+
display: inline-block;
|
|
1992
|
+
max-width: 100%;
|
|
1993
|
+
pointer-events: none;
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
.ftds-chip {
|
|
1997
|
+
display: flex;
|
|
1998
|
+
align-items: center;
|
|
1999
|
+
box-sizing: border-box;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
.ftds-chip--icon-container {
|
|
2003
|
+
display: inline-flex;
|
|
2004
|
+
align-items: center;
|
|
2005
|
+
flex: none;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
.ftds-chip ft-typography {
|
|
2009
|
+
display: flex; /* For typo alignment in the chip */
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
.ftds-chip--remove-button::part(icon) {
|
|
2014
|
+
transform: scale(1.35); /* Little trick to have a bigger icon inside of the button */
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
.ftds-chip--remove-button {
|
|
2018
|
+
position: relative;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
/* SMALL VARIANT */
|
|
2022
|
+
.ftds--size-small {
|
|
2023
|
+
min-height: ${H.smallMinHeight};
|
|
2024
|
+
padding: 0 ${H.smallHorizontalPadding};
|
|
2025
|
+
border-radius: ${H.smallBorderRadius};
|
|
2026
|
+
border-width: ${H.smallBorderWidth};
|
|
2027
|
+
border-style: solid;
|
|
2028
|
+
${v(le.size,H.smallIconSize)}
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
.ftds--size-small.ftds-chip--with-action {
|
|
2032
|
+
padding-right: ${H.smallButtonRightPadding};
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
.ftds--size-small ft-typography {
|
|
2036
|
+
overflow: visible;
|
|
2037
|
+
padding: 0 2px;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
.ftds--size-small .ftds-chip--icon-container {
|
|
2041
|
+
overflow: visible;
|
|
2042
|
+
height: ${H.smallIconSize};
|
|
2043
|
+
margin-right: ${H.smallButtonRightPadding};
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
/* Dirty non-variabilized tweaks to properly center the icon */
|
|
2047
|
+
.ftds--size-small .ftds-chip--remove-button {
|
|
2048
|
+
overflow: visible;
|
|
2049
|
+
top: -3px;
|
|
2050
|
+
height: ${H.smallIconSize};
|
|
2051
|
+
transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
|
|
2052
|
+
${ss.smallIconOnlyWidth.set("15px")};
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
.ftds--size-small .ftds-chip--remove-button::part(icon) {
|
|
2056
|
+
transform: scale(2); /* Same as above */
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
/* MEDIUM VARIANT */
|
|
2060
|
+
.ftds--size-medium {
|
|
2061
|
+
min-height: ${H.mediumMinHeight};
|
|
2062
|
+
padding: 0 ${H.mediumHorizontalPadding};
|
|
2063
|
+
border-radius: ${H.mediumBorderRadius};
|
|
2064
|
+
border-width: ${H.mediumBorderWidth};
|
|
2065
|
+
border-style: solid;
|
|
2066
|
+
gap: ${H.mediumGap};
|
|
2067
|
+
${v(le.size,H.mediumIconSize)}
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.ftds--size-medium.ftds-chip--with-action {
|
|
2071
|
+
padding-right: ${H.mediumButtonRightPadding};
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
.ftds--size-medium .ftds-chip--remove-button {
|
|
2075
|
+
right: -1px; /* Fixing manually the alignement of the button with the border of the chip */
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
/* LARGE VARIANT */
|
|
2079
|
+
.ftds--size-large {
|
|
2080
|
+
min-height: ${H.largeMinHeight};
|
|
2081
|
+
padding: 0 ${H.largeHorizontalPadding};
|
|
2082
|
+
border-radius: ${H.largeBorderRadius};
|
|
2083
|
+
border-width: ${H.largeBorderWidth};
|
|
2084
|
+
border-style: solid;
|
|
2085
|
+
gap: ${H.largeGap};
|
|
2086
|
+
${v(le.size,H.largeIconSize)}
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
.ftds--size-large.ftds-chip--with-action {
|
|
2090
|
+
padding-right: ${H.largeButtonRightPadding};
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
.ftds--size-large .ftds-chip--remove-button {
|
|
2094
|
+
right: -2px; /* Fixing manually the alignement of the button with the border of the chip */
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
/* NEUTRAL COLORS */
|
|
2099
|
+
.ftds--family-neutral {
|
|
2100
|
+
background-color: ${H.neutralBackgroundColor};
|
|
2101
|
+
border-color: ${H.neutralBorderColor};
|
|
2102
|
+
color: ${H.neutralColor};
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
.ftds--family-neutral .ftds-chip--icon-container {
|
|
2106
|
+
color: ${H.neutralIconColor};
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
/* INFO COLORS */
|
|
2111
|
+
.ftds--family-info {
|
|
2112
|
+
background-color: ${H.infoBackgroundColor};
|
|
2113
|
+
border-color: ${H.infoBorderColor};
|
|
2114
|
+
color: ${H.infoColor};
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
.ftds--family-info .ftds-chip--icon-container {
|
|
2118
|
+
color: ${H.infoIconColor};
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
/* SUCCESS COLORS */
|
|
2123
|
+
.ftds--family-success {
|
|
2124
|
+
background-color: ${H.successBackgroundColor};
|
|
2125
|
+
border-color: ${H.successBorderColor};
|
|
2126
|
+
color: ${H.successColor};
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
.ftds--family-success .ftds-chip--icon-container {
|
|
2130
|
+
color: ${H.successIconColor};
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
/* WARNING COLORS */
|
|
2135
|
+
.ftds--family-warning {
|
|
2136
|
+
background-color: ${H.warningBackgroundColor};
|
|
2137
|
+
border-color: ${H.warningBorderColor};
|
|
2138
|
+
color: ${H.warningColor};
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
.ftds--family-warning .ftds-chip--icon-container {
|
|
2142
|
+
color: ${H.warningIconColor};
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
/* ERROR COLORS */
|
|
2147
|
+
.ftds--family-error {
|
|
2148
|
+
background-color: ${H.errorBackgroundColor};
|
|
2149
|
+
border-color: ${H.errorBorderColor};
|
|
2150
|
+
color: ${H.errorColor};
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
.ftds--family-error .ftds-chip--icon-container {
|
|
2154
|
+
color: ${H.errorIconColor};
|
|
2155
|
+
}
|
|
2156
|
+
`];var Vr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},cs=class extends CustomEvent{constructor(){super("remove")}},qe=class extends ho{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return N`
|
|
2157
|
+
<div class="${ye(e)}"
|
|
2158
|
+
aria-label="${this.getLabel()}"
|
|
2159
|
+
part="chip">
|
|
2160
|
+
${this.renderIcon()}
|
|
2161
|
+
<ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
|
|
2162
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
2163
|
+
</ft-typography>
|
|
2164
|
+
${this.renderAction()}
|
|
2165
|
+
</div>
|
|
2166
|
+
`}renderIcon(){return this.icon?N`
|
|
2167
|
+
<div class="ftds-chip--icon-container" part="icon-container">
|
|
2168
|
+
<ft-icon .variant=${Ke.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
2169
|
+
</div>
|
|
2170
|
+
`:z}renderAction(){return this.removable?N`
|
|
2171
|
+
<ftds-button round
|
|
2172
|
+
class="ftds-chip--remove-button"
|
|
2173
|
+
@click=${this.dispatchRemoveEvent}
|
|
2174
|
+
icon=${Rt.X_MARK}
|
|
2175
|
+
label=${this.removeButtonLabel}
|
|
2176
|
+
family=${bt.neutral}
|
|
2177
|
+
size=${this.resolveButtonSize()}
|
|
2178
|
+
part="icon-button"
|
|
2179
|
+
></ftds-button>
|
|
2180
|
+
`:this.withAction?N`
|
|
2181
|
+
<slot name="action"></slot>
|
|
2182
|
+
`:z}resolveButtonSize(){switch(this.size){case Se.large:return Se.medium;case Se.medium:case Se.small:return Se.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new cs)}typographyVariant(){switch(this.size){case Se.large:return Ne.body2medium;case Se.medium:case Se.small:return Ne.caption1medium}}};qe.elementDefinitions={"ft-typography":ge,"ft-icon":fe,"ftds-button":ot};qe.styles=vd;Vr([b({type:Boolean})],qe.prototype,"withAction",void 0);Vr([b({type:Boolean})],qe.prototype,"removable",void 0);Vr([b()],qe.prototype,"removeButtonLabel",void 0);Vr([b()],qe.prototype,"label",void 0);Vr([b()],qe.prototype,"icon",void 0);Vr([ie("ft-typography slot")],qe.prototype,"slottedContent",void 0);ne("ft-chip")(me);ne("ftds-chip")(qe);var Sd=P`
|
|
2183
|
+
`;var Cd=P`
|
|
2184
|
+
`;var bf="ft-app-info",sr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};sr.eventName="authentication-change";var xf={session:(t,e)=>{De(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>$.dispatchEvent(new sr(e.payload)),0))}},$=tr.get({name:bf,reducers:xf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var lr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=$.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=$.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var gn=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:lr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):lr.await()}};var ze=class extends gn{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new lt,this.cache=e?i.commonCache:new lt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var yn=class extends ze{async listMyBookmarks(){let e=$.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var ds=class{addCommand(e,o=!1){$.commands.add(e,o)}consumeCommand(e){return $.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ds;var Od,Gr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},vf=Symbol("clearAfterUnitTest"),bn=class extends Go(ze){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Od]=()=>{this.defaultMessages={},this.cache=new lt,this.listeners={}},this.currentUiLocale=$.getState().uiLocale,$.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=$.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};De(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new yo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof jt)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Gr({loadedContexts:e})),this.dispatchEvent(new Gr({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new Gr({loadedContexts:[e]})),this.dispatchEvent(new Gr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Vo(0).then(()=>n()).catch(()=>null)))}};Od=vf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends bn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends bn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var jr=window.FluidTopicsI18nService,xn=window.FluidTopicsCustomI18nService;var us=class{highlightHtml(e,o,n){la(e,o,n)}};window.FluidTopicsHighlightHtmlService=new us;var vn=class extends ze{async listMySearches(){let{session:e}=$.getState();return Lc(e,be.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ps=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=$.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return rr.format(e,(n=o?.locale)!==null&&n!==void 0?n:$.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ps;var To=class{static get(e,o){var n,i;let a=$.getState(),{lang:s,region:l}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Pr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${s}-${l}`)}};var fs=class{urlToSearchRequest(e){return To.get().parse(e)}searchRequestToUrl(e){return To.get().serialize(e)}};window.FluidTopicsUrlService=new fs;var cr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};cr.eventName="change";var hs=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},Ed=new hs;var Sn=class t extends yt{static build(){return new t(window.history,Ed,()=>window.location,!1)}constructor(e,o,n,i){var a,s;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&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),De(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new cr(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,s,l])=>{let d=o(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(i,[p,s,l]),this.setCurrentState(p,!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 o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(cr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(cr.eventName,e)}currentItem(){return oo(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 oo(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return oo(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 o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Sn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var wd=$;function Ad(t,e){var o;return wd.getState().authenticationRequired&&!(!((o=wd.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var ve=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},de=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>lr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new lt,this.cleanSessionDebouncer=new Le,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return N`
|
|
1048
2185
|
<slot></slot>
|
|
1049
|
-
`}connectedCallback(){super.connectedCallback(),N.addEventListener(Bt.eventName,this.reloadConfiguration)}disconnectedCallback(){N.addEventListener(Bt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,s,c,d;super.update(e),e.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&N.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&N.actions.noCustom(this.noCustom),e.has("editorMode")&&N.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&N.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>Sr.addContext(p)),e.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(N.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),N.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),N.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&N.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&N.actions.availableContentLocales((d=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Fc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};re.elementDefinitions={};re.styles=Mc;se([C()],re.prototype,"baseUrl",void 0);se([C()],re.prototype,"apiIntegrationIdentifier",void 0);se([C()],re.prototype,"apiIntegrationAppVersion",void 0);se([C()],re.prototype,"uiLocale",void 0);se([He(null)],re.prototype,"availableUiLocales",void 0);se([He(null)],re.prototype,"metadataConfiguration",void 0);se([C({type:Boolean})],re.prototype,"editorMode",void 0);se([C({type:Boolean})],re.prototype,"noCustom",void 0);se([C({type:Boolean})],re.prototype,"openExternalDocumentInNewTab",void 0);se([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],re.prototype,"noCustomComponent",void 0);se([C({type:Boolean})],re.prototype,"withManualResources",void 0);se([C({type:Boolean})],re.prototype,"navigatorOnline",void 0);se([C({type:Boolean})],re.prototype,"forcedOffline",void 0);se([C({type:Object})],re.prototype,"apiProvider",void 0);se([C({type:Boolean})],re.prototype,"authenticationRequired",void 0);se([He([])],re.prototype,"messageContexts",void 0);se([He(void 0)],re.prototype,"session",void 0);se([W()],re.prototype,"localesConfiguration",void 0);se([W()],re.prototype,"availableContentLocales",void 0);var jo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},jC=de(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(N)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>It.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return jo([C({type:Boolean})],e.prototype,"useLongDateFormat",void 0),jo([C({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),jo([Jt({store:N.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),jo([Jt({store:N.name})],e.prototype,"uiLocale",void 0),e});var Ko=class extends Re{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=N.getState().session;return!!e?.sessionAuthenticated}};var Zo=class extends Re{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=N.getState().session;return!!e?.sessionAuthenticated}};var Fp="ft-user-assets",Hp={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(Ee).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;switch(o){case Ee.BOOKMARKS:t.bookmarks?t.bookmarks.push(i):t.bookmarks=[i];break;case Ee.SEARCHES:t.savedSearches?t.savedSearches.push(i):t.savedSearches=[i];break}let a=t.assetCounts.allAsset[o];if(a!==void 0&&(t.assetCounts.allAsset[o]=a+1),o===Ee.BOOKMARKS&&n!==void 0){let s=t.assetCounts.bookmarkByMap[n];s!==void 0&&(t.assetCounts.bookmarkByMap[n]=s+1)}},removeAsset:(t,e)=>{var o,n;let{assetType:i,mapId:a,assetId:s}=e.payload;switch(i){case Ee.BOOKMARKS:t.bookmarks=(o=t.bookmarks)===null||o===void 0?void 0:o.filter(d=>d.id!==s);break;case Ee.SEARCHES:t.savedSearches=(n=t.savedSearches)===null||n===void 0?void 0:n.filter(d=>d.id!==s);break}let c=t.assetCounts.allAsset[i];if(c!==void 0&&c>0&&(t.assetCounts.allAsset[i]=c-1),i===Ee.BOOKMARKS&&a!==void 0){let d=t.assetCounts.bookmarkByMap[a];d!==void 0&&d>0&&(t.assetCounts.bookmarkByMap[a]=d-1)}}},_e=Lt.get({name:Fp,reducers:Hp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ee).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ba=class{constructor(e=new Ko,o=new Zo){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ho,this.savedSearchesService=new Vo,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=N.getState();ve((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),_e.actions.clearAssetCount(),_e.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),_e.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),_e.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();_e.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();_e.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&_e.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&_e.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(_e.getState().assetCounts.bookmarkByMap).length!==0;e===Ee.BOOKMARKS&&o&&_e.actions.clearBookmarkCountByMap(),_e.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;_e.actions.bookmarks(o)}}},zp=new Ba;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=zp);ie("ft-app-context")(re);var $a=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[n,i]=e.split(".");return{context:n,key:i,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Hc=new $a;var Wp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Vp=Symbol("i18nAttributes"),Gp=Symbol("i18nListAttributes"),Wc=Symbol("i18nProperties"),qo=Symbol("i18nContexts"),to=Symbol("i18nUnsubs"),Xo=de(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Wo:Sr}i18n(a){let{context:s,key:c,message:d}=a,{custom:p,args:h,argsProvider:f}=a;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let g=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(s,c,...g)}return d}async awaitI18n(a){let{context:s,custom:c}=a;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Hc.isI18nKey(a)){let[c,d]=a.split(".");return this.i18n({custom:!0,context:c,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,d)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let d=this,p=(h,f,g)=>g?.context&&g.key&&a(h,f,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(s=this[Vp])===null||s===void 0||s.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[Gp])===null||c===void 0||c.forEach((h,f)=>{var g;return d[f]=(g=d[f])===null||g===void 0?void 0:g.map(b=>p(h,f,b))})}updateI18nProperties(a){var s;(s=this[Wc])===null||s===void 0||s.forEach((c,d)=>{a(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let d=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[qo].set(d,{isCustomContext:c}),this[to].has(d)||this[to].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(a){return this[qo].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[qo].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[to].forEach(a=>a()),this[to].clear()}}return e=qo,o=to,Wp([C({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),zc=class extends Xo(X){},Yo=class extends Xo(Kr){};var ro=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ue=class extends Yo{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":M:U`
|
|
2186
|
+
`}connectedCallback(){super.connectedCallback(),$.addEventListener(sr.eventName,this.reloadConfiguration)}disconnectedCallback(){$.addEventListener(sr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,s,l,d;super.update(e),e.has("baseUrl")&&($.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&$.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&$.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&$.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&$.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&$.actions.noCustom(this.noCustom),e.has("editorMode")&&$.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&$.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&$.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>jr.addContext(p)),e.has("openExternalDocumentInNewTab")&&$.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&$.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&$.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&($.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),$.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),$.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&$.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&$.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Ad(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};de.elementDefinitions={};de.styles=Cd;ve([b()],de.prototype,"baseUrl",void 0);ve([b()],de.prototype,"apiIntegrationIdentifier",void 0);ve([b()],de.prototype,"apiIntegrationAppVersion",void 0);ve([b()],de.prototype,"uiLocale",void 0);ve([Ve(null)],de.prototype,"availableUiLocales",void 0);ve([Ve(null)],de.prototype,"metadataConfiguration",void 0);ve([b({type:Boolean})],de.prototype,"editorMode",void 0);ve([b({type:Boolean})],de.prototype,"noCustom",void 0);ve([b({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);ve([b({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);ve([b({type:Boolean})],de.prototype,"withManualResources",void 0);ve([b({type:Boolean})],de.prototype,"navigatorOnline",void 0);ve([b({type:Boolean})],de.prototype,"forcedOffline",void 0);ve([b({type:Object})],de.prototype,"apiProvider",void 0);ve([b({type:Boolean})],de.prototype,"authenticationRequired",void 0);ve([Ve([])],de.prototype,"messageContexts",void 0);ve([Ve(void 0)],de.prototype,"session",void 0);ve([W()],de.prototype,"localesConfiguration",void 0);ve([W()],de.prototype,"availableContentLocales",void 0);var Cn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},BR=we(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($)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?l=>rr.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Cn([b({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Cn([b({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Cn([Er({store:$.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Cn([Er({store:$.name})],e.prototype,"uiLocale",void 0),e});var On=class extends ze{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}};var En=class extends ze{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}};var Sf="ft-user-assets",Cf={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(Fe).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;switch(o){case Fe.BOOKMARKS:t.bookmarks?t.bookmarks.push(i):t.bookmarks=[i];break;case Fe.SEARCHES:t.savedSearches?t.savedSearches.push(i):t.savedSearches=[i];break}let a=t.assetCounts.allAsset[o];if(a!==void 0&&(t.assetCounts.allAsset[o]=a+1),o===Fe.BOOKMARKS&&n!==void 0){let s=t.assetCounts.bookmarkByMap[n];s!==void 0&&(t.assetCounts.bookmarkByMap[n]=s+1)}},removeAsset:(t,e)=>{var o,n;let{assetType:i,mapId:a,assetId:s}=e.payload;switch(i){case Fe.BOOKMARKS:t.bookmarks=(o=t.bookmarks)===null||o===void 0?void 0:o.filter(d=>d.id!==s);break;case Fe.SEARCHES:t.savedSearches=(n=t.savedSearches)===null||n===void 0?void 0:n.filter(d=>d.id!==s);break}let l=t.assetCounts.allAsset[i];if(l!==void 0&&l>0&&(t.assetCounts.allAsset[i]=l-1),i===Fe.BOOKMARKS&&a!==void 0){let d=t.assetCounts.bookmarkByMap[a];d!==void 0&&d>0&&(t.assetCounts.bookmarkByMap[a]=d-1)}}},He=tr.get({name:Sf,reducers:Cf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Fe).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ms=class{constructor(e=new On,o=new En){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=$.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new yn,this.savedSearchesService=new vn,$.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=$.getState();De((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),He.actions.clearAssetCount(),He.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),He.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),He.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();He.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();He.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&He.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&He.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(He.getState().assetCounts.bookmarkByMap).length!==0;e===Fe.BOOKMARKS&&o&&He.actions.clearBookmarkCountByMap(),He.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 o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;He.actions.bookmarks(o)}}},Of=new ms;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Of);ne("ft-app-context")(de);var gs=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[n,i]=e.split(".");return{context:n,key:i,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Rd=new gs;var Ef=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},wf=Symbol("i18nAttributes"),Af=Symbol("i18nListAttributes"),Td=Symbol("i18nProperties"),wn=Symbol("i18nContexts"),Lo=Symbol("i18nUnsubs"),Rn=we(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?xn:jr}i18n(a){let{context:s,key:l,message:d}=a,{custom:p,args:h,argsProvider:f}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(s,l,...m)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Rd.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,p=(h,f,m)=>m?.context&&m.key&&a(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(s=this[wf])===null||s===void 0||s.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[Af])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(S=>p(h,f,S))})}updateI18nProperties(a){var s;(s=this[Td])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[wn].set(d,{isCustomContext:l}),this[Lo].has(d)||this[Lo].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[wn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[wn].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Lo].forEach(a=>a()),this[Lo].clear()}}return e=wn,o=Lo,Ef([b({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Id=class extends Rn(K){},An=class extends Rn(vo){};var _o=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},nt=class extends An{constructor(){super(),this.editorMode=!1,this.addStore($)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:N`
|
|
1050
2187
|
<span class="ft-i18n">
|
|
1051
2188
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1052
2189
|
</span>
|
|
1053
|
-
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};
|
|
1054
|
-
<div class="${
|
|
2190
|
+
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};nt.elementDefinitions={};nt.styles=Sd;_o([Er()],nt.prototype,"editorMode",void 0);_o([b()],nt.prototype,"context",void 0);_o([b()],nt.prototype,"key",void 0);_o([Ve([])],nt.prototype,"args",void 0);_o([b()],nt.prototype,"defaultMessage",void 0);var In=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?xn:jr}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),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)})})}};ne("ft-i18n")(nt);var dr=In.build("ftCombobox"),Ld={ariaLiveOptions:"{0} options","ariaLiveOptions[\\=1]":"1 option",valueAdded:"{0} added",valueRemoved:"{0} removed",maxValuesReached:"Maximum {0} values allowed","maxValuesReached[\\=1]":"Maximum 1 value allowed",removeValueLabel:"Remove {0}"};var oe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},q=class extends Rn(K){get value(){return this._value||""}set value(e){let o=this._value;this._value=e||"",this.filter=this._value,this.requestUpdate("value",o)}constructor(){super(),this.error=!1,this.filterSuggestions=!1,this.disabled=!1,this.outlined=!1,this.suggestionsProvider=()=>[],this._value="",this.canOfferNewValue=!0,this.multiValued=!1,this.labels=[],this.labelsToValues=new Map,this.filter="",this.isOpen=!1,this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1,this.providedSuggestions=[],this.visibleSuggestions=[],this.activeIndex=-1,this.ariaLiveMessage="",this.onComboboxInput=()=>{let e=this.input.value,o=this._value!==""||this.multiValued&&this.labels.length>0;this.filter=e,this.activeIndex=-1,!this.multiValued&&o&&e===""&&(this._value="",this.dispatchChangeEvent()),this.ariaLiveMessage="",this.updateSuggestions(),this.getTotalSuggestionsCount()>0?this.openListbox():this.closeListbox(!0)},this.onComboboxKeyDown=e=>{if(e.ctrlKey||e.shiftKey)return;let o=!1;switch(e.key){case"Enter":this.commitSelectionFromEnter(),o=!0;break;case"ArrowDown":case"Down":{this.moveFocusToNextSuggestion(e),o=!0;break}case"ArrowUp":case"Up":{this.moveFocusToPreviousSuggestion(e),o=!0;break}case"Escape":case"Esc":this.handleEscapeKey(),o=!0;break;case"Tab":this.handleTabKey();break;case"Home":this.moveCaretToHome(),o=!0;break;case"End":{this.moveCaretToEnd(),o=!0;break}}o&&(e.stopPropagation(),e.preventDefault())},this.onComboboxKeyUp=e=>{if(e.key==="Escape"||e.key==="Esc")return;let o=!1;switch(e.key){case"Backspace":this.setVisualFocusCombobox(),o=!0;break;case"ArrowDown":case"Down":case"ArrowUp":case"Up":o=!0;break;case"ArrowLeft":case"Enter":case"Left":case"ArrowRight":case"Right":case"Home":case"End":this.setVisualFocusCombobox(),o=!0;break;default:this.isPrintableCharacter(e.key)&&this.input.value.length&&this.setVisualFocusCombobox();break}o&&(e.stopPropagation(),e.preventDefault())},this.onComboboxClick=()=>{this.isOpen?this.closeListbox(!0):this.openListbox()},this.onComboboxFocus=()=>{this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox(),this.activeIndex=-1},this.onComboboxBlur=()=>{this.removeVisualFocusAll()},this.onBackgroundPointerUp=e=>{e.composedPath().includes(this)||(this.comboboxHasVisualFocus=!1,this.removeVisualFocusAll(),setTimeout(()=>this.closeListbox(!0),300))},this.onSuggestionClick=e=>{var o;e.kind==="new"?this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||this.value):this.setValue(e.label),this.multiValued||this.closeListbox(!0)},this.addI18nContext(dr,Ld)}willUpdate(e){e.has("suggestionsProviderDebouncerTimeout")&&(this._suggestionsProviderDebouncer=this.suggestionsProviderDebouncerTimeout&&this.suggestionsProviderDebouncerTimeout>0?new Le(this.suggestionsProviderDebouncerTimeout):void 0),(e.has("suggestionsProvider")||e.has("filter"))&&this.updateSuggestions()}render(){let e={"ft-combobox":!0,"ft-combobox--filled":!this.outlined,"ft-combobox--outlined":this.outlined,"ft-combobox--disabled":this.disabled,"ft-combobox--with-label":!!this.label,"ft-combobox--with-icon":!!this.icon,"ft-combobox--in-error":this.error,"ft-combobox--raised-label":this.comboboxHasVisualFocus||!!this.filter},o={"ft-combobox--listbox":!0,focus:this.listboxHasVisualFocus};return N`
|
|
2191
|
+
<div class="${ye(e)}">
|
|
1055
2192
|
<div class="ft-combobox--main-panel"
|
|
1056
2193
|
@focusout=${this.onComboboxBlur}>
|
|
1057
2194
|
<ft-input-label
|
|
@@ -1062,7 +2199,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1062
2199
|
?error=${this.error}>
|
|
1063
2200
|
</ft-input-label>
|
|
1064
2201
|
<div class="ft-combobox--input-panel">
|
|
1065
|
-
${this.outlined?
|
|
2202
|
+
${this.outlined?z:N`
|
|
1066
2203
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1067
2204
|
`}
|
|
1068
2205
|
<input
|
|
@@ -1076,8 +2213,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1076
2213
|
aria-expanded="${this.isOpen}"
|
|
1077
2214
|
aria-controls="combobox-listbox"
|
|
1078
2215
|
aria-activedescendant="${this.getActiveDescendantId()}"
|
|
1079
|
-
aria-label="${
|
|
1080
|
-
name="${
|
|
2216
|
+
aria-label="${et(this.label)}"
|
|
2217
|
+
name="${et(this.name)}"
|
|
2218
|
+
maxlength="${et(this.maxLength)}"
|
|
1081
2219
|
?disabled=${this.disabled}
|
|
1082
2220
|
.value=${this.value}
|
|
1083
2221
|
@input=${this.onComboboxInput}
|
|
@@ -1089,56 +2227,71 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
1089
2227
|
${this.renderIcon()}
|
|
1090
2228
|
</div>
|
|
1091
2229
|
<div class="sr-only" aria-live="polite" aria-atomic="true">
|
|
1092
|
-
${this.renderLiveText()}
|
|
2230
|
+
${this.ariaLiveMessage||this.renderLiveText()}
|
|
1093
2231
|
</div>
|
|
1094
|
-
${
|
|
2232
|
+
${or(this.visibleSuggestions.length>0,()=>N`
|
|
1095
2233
|
<ul
|
|
1096
2234
|
id="combobox-listbox"
|
|
1097
|
-
class="${
|
|
2235
|
+
class="${ye(o)}"
|
|
1098
2236
|
role="listbox"
|
|
2237
|
+
aria-multiselectable="${et(this.multiValued)}"
|
|
1099
2238
|
aria-label="${this.label||"Options"}"
|
|
1100
2239
|
data-visible="${this.isOpen}"
|
|
1101
2240
|
>
|
|
1102
|
-
${
|
|
2241
|
+
${gt(this.visibleSuggestions,n=>n.id,(n,i)=>this.renderSuggestion(n,i))}
|
|
1103
2242
|
</ul>`)}
|
|
1104
2243
|
|
|
1105
2244
|
</div>
|
|
1106
|
-
${this.helper?
|
|
2245
|
+
${this.helper?N`
|
|
1107
2246
|
<ft-typography class="ft-combobox--helper-text" variant="caption">
|
|
1108
2247
|
${this.helper}
|
|
1109
2248
|
</ft-typography>
|
|
1110
|
-
`:
|
|
2249
|
+
`:z}
|
|
2250
|
+
${or(this.multiValued&&this.labels.length>0,()=>N`
|
|
2251
|
+
<div class="ft-combobox--chips-container" role="group" aria-label="Selected values">
|
|
2252
|
+
${gt(this.labels,n=>n,n=>N`
|
|
2253
|
+
<ft-chip removable
|
|
2254
|
+
dense
|
|
2255
|
+
hideIconTooltip
|
|
2256
|
+
label="${n}"
|
|
2257
|
+
iconLabel="${dr.messages.removeValueLabel(n)}"
|
|
2258
|
+
@icon-click=${()=>this.removeFromSelection(n)}>
|
|
2259
|
+
${n}
|
|
2260
|
+
</ft-chip>
|
|
2261
|
+
`)}
|
|
2262
|
+
</div>
|
|
2263
|
+
`)}
|
|
1111
2264
|
</div>
|
|
1112
|
-
`}renderIcon(){return this.icon?
|
|
2265
|
+
`}renderIcon(){return this.icon?N`
|
|
1113
2266
|
<ft-icon class="ft-combobox--icon"
|
|
1114
2267
|
.variant=${this.iconVariant}
|
|
1115
2268
|
.value=${this.icon}
|
|
1116
2269
|
@click=${()=>{var e,o;(e=this.input)===null||e===void 0||e.click(),(o=this.input)===null||o===void 0||o.focus()}}></ft-icon>
|
|
1117
|
-
`:
|
|
2270
|
+
`:z}renderSuggestion(e,o){let n=e.kind==="new"&&!!this.suggestionsHelper,i=this.multiValued&&this.labels.includes(e.label),a=o===this.activeIndex,s={"ft-combobox-suggestion":!0,"ft-combobox-suggestion--with-helper":n};return N`
|
|
1118
2271
|
<li
|
|
1119
2272
|
id="${e.kind==="new"?"suggestion-new-value":`option-${o}`}"
|
|
1120
2273
|
class="ft-combobox--option ${e.kind==="new"?"ft-combobox--option-new-value":""}"
|
|
1121
2274
|
role="option"
|
|
1122
|
-
aria-selected="${
|
|
1123
|
-
|
|
2275
|
+
aria-selected="${this.multiValued?i:a}"
|
|
2276
|
+
data-active="${a}"
|
|
2277
|
+
data-selected="${i}"
|
|
2278
|
+
@pointerdown=${l=>l.preventDefault()}
|
|
1124
2279
|
@click=${()=>this.onSuggestionClick(e)}
|
|
1125
2280
|
>
|
|
1126
|
-
${(
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
</div>
|
|
1139
|
-
`})()}
|
|
2281
|
+
<div class="${ye(s)}" tabindex="-1">
|
|
2282
|
+
<ft-ripple ?primary=${i} ?activated=${i}></ft-ripple>
|
|
2283
|
+
${n?N`
|
|
2284
|
+
<ft-typography aria-label="${this.suggestionsHelper}," class="ft-combobox-suggestion--helper-text"
|
|
2285
|
+
variant="${Ne.caption}">
|
|
2286
|
+
${this.suggestionsHelper}
|
|
2287
|
+
</ft-typography>
|
|
2288
|
+
`:z}
|
|
2289
|
+
<ft-typography part="label" variant="${Ne.body1}" class="ft-combobox-suggestion--label">
|
|
2290
|
+
${e.label}
|
|
2291
|
+
</ft-typography>
|
|
2292
|
+
</div>
|
|
1140
2293
|
</li>
|
|
1141
|
-
`}get activeSuggestion(){return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length?this.visibleSuggestions[this.activeIndex]:null}shouldOfferNew(){var e;let o=((e=this.input)===null||e===void 0?void 0:e.value)||this.value||"";return o!==""&&!this.providedSuggestions.some(
|
|
2294
|
+
`}get activeSuggestion(){return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length?this.visibleSuggestions[this.activeIndex]:null}shouldOfferNew(){var e;let o=((e=this.input)===null||e===void 0?void 0:e.value)||this.value||"",n=this.multiValued&&this.labels.includes(o);return o!==""&&!this.providedSuggestions.some(i=>i.label===o)&&!n&&this.canOfferNewValue}getTotalSuggestionsCount(){return this.visibleSuggestions.length}isNewValueSuggestionSelected(){var e;return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length&&((e=this.visibleSuggestions[this.activeIndex])===null||e===void 0?void 0:e.kind)==="new"}connectedCallback(){super.connectedCallback(),document.body.addEventListener("pointerup",this.onBackgroundPointerUp)}disconnectedCallback(){super.disconnectedCallback(),document.body.removeEventListener("pointerup",this.onBackgroundPointerUp)}renderLiveText(){let e=this.getTotalSuggestionsCount();return this.isOpen&&e>0?dr.messages.ariaLiveOptions(e):""}getActiveDescendantId(){return this.activeIndex<0?"":this.isNewValueSuggestionSelected()?"option-new-value":`option-${this.activeIndex}`}async updateSuggestions(){var e;this._suggestionsProviderDebouncer?await((e=this._suggestionsProviderDebouncer)===null||e===void 0?void 0:e.run(()=>this.updateSuggestionsWithoutDebounce())):await this.updateSuggestionsWithoutDebounce()}async updateSuggestionsWithoutDebounce(){var e;if(this.suggestionsProvider){this.providedSuggestions=await this.suggestionsProvider(this.filter);let o=(this.filterSuggestions?this.providedSuggestions.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())):this.providedSuggestions).map((n,i)=>({id:`regular-${i}`,label:n.label,kind:"regular"}));this.visibleSuggestions=[...o,...this.shouldOfferNew()?[{id:"new",label:((e=this.input)===null||e===void 0?void 0:e.value)||this.value,kind:"new"}]:[]]}}setActiveSuggestion(e,o=!1){var n,i;let a=this.getTotalSuggestionsCount();if(e<0||e>=a)return;this.activeIndex=e;let s=this.visibleSuggestions[e];if(s){if(o){let l=s.kind==="new"?((n=this.input)===null||n===void 0?void 0:n.value)||this.value:s.label,d=this.filter.length;(i=this.input)===null||i===void 0||i.setSelectionRange(d,l.length)}this.scrollSuggestionIntoView(e)}}scrollSuggestionIntoView(e){requestAnimationFrame(()=>{var o,n;let i;this.isNewValueSuggestionSelected()?i=(o=this.listbox)===null||o===void 0?void 0:o.querySelector("#option-new-value"):i=(n=this.listbox)===null||n===void 0?void 0:n.querySelector(`#option-${e}`),i&&this.listbox&&(this.listbox.scrollTop+this.listbox.offsetHeight<i.offsetTop+i.offsetHeight?this.listbox.scrollTop=i.offsetTop+i.offsetHeight-this.listbox.offsetHeight:this.listbox.scrollTop>i.offsetTop+2&&(this.listbox.scrollTop=i.offsetTop))})}openListbox(){this.isOpen=!0}closeListbox(e=!1){(e||!this.comboboxHasVisualFocus&&!this.listboxHasVisualFocus)&&(this.isOpen=!1)}setVisualFocusCombobox(){this.comboboxHasVisualFocus=!0,this.listboxHasVisualFocus=!1}setVisualFocusListbox(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!0}removeVisualFocusAll(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1}setValue(e){this.multiValued?this.addToSelection(e):(this.filter=e,this._value=e,this.input.value=e,this.input.setSelectionRange(e.length,e.length),this.updateSuggestions(),this.dispatchChangeEvent())}dispatchChangeEvent(){var e,o;let n=(o=(e=this.providedSuggestions.find(i=>this._value===i.label))===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:this._value;this.dispatchEvent(new CustomEvent("change",{detail:n,bubbles:!0,composed:!0}))}addToSelection(e){var o,n;if(e.trim().length===0){this.clearInput(),this.closeListbox(!0);return}if(this.labels.includes(e)){this.removeFromSelection(e),this.closeListbox(!0);return}if(this.maxValues&&this.labels.length>=this.maxValues){this.ariaLiveMessage=dr.messages.maxValuesReached((o=this.maxValues)!==null&&o!==void 0?o:0),this.closeListbox(!0);return}this.labels=[...this.labels,e];let l=this.providedSuggestions.find(d=>d.label===e);this.labelsToValues.set(e,(n=l?.value)!==null&&n!==void 0?n:e),this.ariaLiveMessage=dr.messages.valueAdded(e),this.dispatchMultiValueChangeEvent(),this.clearInput(),this.closeListbox(!0)}clearInput(){this.filter="",this.input.value="",this.input.setSelectionRange(0,0),this.updateSuggestions(),this.input.focus()}removeFromSelection(e){this.labels=this.labels.filter(o=>o!==e),this.labelsToValues.delete(e),this.updateSuggestions(),this.ariaLiveMessage=dr.messages.valueRemoved(e),this.dispatchMultiValueChangeEvent(),this.input.focus()}dispatchMultiValueChangeEvent(){let e=this.labels.map(o=>{var n;return(n=this.labelsToValues.get(o))!==null&&n!==void 0?n:o});this.dispatchEvent(new CustomEvent("change",{detail:e,bubbles:!0,composed:!0}))}isPrintableCharacter(e){return e.length===1&&e.match(/\S| /)!==null}commitSelectionFromEnter(){var e,o;this.isOpen&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion?this.setValue(this.activeSuggestion.label):(((o=this.input)===null||o===void 0?void 0:o.value)||"").length>0&&this.setValue(this.input.value)),this.multiValued?this.activeIndex=-1:(this.setVisualFocusCombobox(),this.closeListbox(!0))}moveFocusToNextSuggestion(e){let o=this.getTotalSuggestionsCount();if(!(o<=0)&&(this.openListbox(),!e.altKey))if(this.listboxHasVisualFocus){let n=this.activeIndex<o-1?this.activeIndex+1:0;this.setActiveSuggestion(n)}else this.setActiveSuggestion(0,!0),this.setVisualFocusListbox()}moveFocusToPreviousSuggestion(e){let o=this.getTotalSuggestionsCount();if(!(o<=0))if(this.listboxHasVisualFocus){let n=this.activeIndex>0?this.activeIndex-1:o-1;this.setActiveSuggestion(n)}else this.openListbox(),e.altKey||(this.setActiveSuggestion(o-1,!0),this.setVisualFocusListbox())}handleEscapeKey(){this.isOpen?(this.closeListbox(!0),this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox()):this.setValue(""),this.activeIndex=-1}handleTabKey(){var e;this.closeListbox(!0),this.listboxHasVisualFocus&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion&&this.setValue(this.activeSuggestion.label))}moveCaretToHome(){this.input.setSelectionRange(0,0)}moveCaretToEnd(){let e=this.input.value.length;this.input.setSelectionRange(e,e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}};q.styles=[zr,cn,cd];q.elementDefinitions={"ft-input-label":Ue,"ft-ripple":re,"ft-typography":ge,"ft-icon":fe,"ft-chip":me};oe([b()],q.prototype,"label",void 0);oe([b()],q.prototype,"icon",void 0);oe([b()],q.prototype,"iconVariant",void 0);oe([b()],q.prototype,"name",void 0);oe([b({type:Boolean})],q.prototype,"error",void 0);oe([b({type:Boolean})],q.prototype,"filterSuggestions",void 0);oe([b()],q.prototype,"helper",void 0);oe([b({type:Boolean})],q.prototype,"disabled",void 0);oe([b({type:Boolean})],q.prototype,"outlined",void 0);oe([b()],q.prototype,"placeholder",void 0);oe([b()],q.prototype,"suggestionsHelper",void 0);oe([b({attribute:!1})],q.prototype,"suggestionsProvider",void 0);oe([Tt()],q.prototype,"suggestionsProviderDebouncerTimeout",void 0);oe([b({noAccessor:!0})],q.prototype,"value",null);oe([b({type:Boolean})],q.prototype,"canOfferNewValue",void 0);oe([b({type:Boolean})],q.prototype,"multiValued",void 0);oe([Tt()],q.prototype,"maxValues",void 0);oe([Tt()],q.prototype,"maxLength",void 0);oe([W()],q.prototype,"labels",void 0);oe([W()],q.prototype,"labelsToValues",void 0);oe([W()],q.prototype,"filter",void 0);oe([W()],q.prototype,"isOpen",void 0);oe([W()],q.prototype,"comboboxHasVisualFocus",void 0);oe([W()],q.prototype,"listboxHasVisualFocus",void 0);oe([W()],q.prototype,"providedSuggestions",void 0);oe([W()],q.prototype,"visibleSuggestions",void 0);oe([W()],q.prototype,"activeIndex",void 0);oe([W()],q.prototype,"ariaLiveMessage",void 0);oe([ie(".ft-combobox--input")],q.prototype,"input",void 0);oe([ie(".ft-combobox--listbox")],q.prototype,"listbox",void 0);function nT(t,e=20){return o=>{let n=(o||"").toLowerCase();return t.map(i=>typeof i=="string"?{value:i,label:i}:i).filter(i=>i.label.toLowerCase().includes(n)).sort((i,a)=>Rf(i.label,a.label,n)).slice(0,e)}}function Rf(t,e,o){let n=t.toLowerCase(),i=e.toLowerCase(),a=o.toLowerCase();return n.startsWith(a)&&!i.startsWith(a)?-1:i.startsWith(a)&&!n.startsWith(a)?1:n.localeCompare(i)}ne("ft-combobox")(q);})();
|
|
1142
2295
|
/*! Bundled license information:
|
|
1143
2296
|
|
|
1144
2297
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|