@fluid-topics/ft-i18n 1.1.44 → 1.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-i18n.min.js +12 -12
- package/package.json +4 -4
package/build/ft-i18n.min.js
CHANGED
|
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:u,getPrototypeOf:d}=Object,p=globalThis,h=p.trustedTypes,y=h?h.emptyScript:"",g=p.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!s(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let
|
|
25
|
+
*/,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:u,getPrototypeOf:d}=Object,p=globalThis,h=p.trustedTypes,y=h?h.emptyScript:"",g=p.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!s(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let x=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=l(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...u(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,g?.({ReactiveElement:x}),(p.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const S=globalThis,w=S.trustedTypes,N=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,U=()=>L.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,F=t=>k(t)||"function"==typeof t?.[Symbol.iterator],A="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,_=/>/g,P=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),M=/'/g,K=/"/g,j=/^(?:script|style|textarea|title)$/i,Z=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,$=L.createTreeWalker(L,129);function T(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===B?"!--"===c[1]?a=z:void 0!==c[1]?a=_:void 0!==c[2]?(j.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=P):void 0!==c[3]&&(a=P):a===P?">"===c[0]?(a=n??B,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?P:'"'===c[3]?K:M):a===K||a===M?a=P:a===z||a===_?a=B:(a=P,n=void 0);const u=a===P&&t[o+1].startsWith("/>")?" ":"";i+=a===B?e+I:l>=0?(r.push(s),e.slice(0,l)+C+e.slice(l)+E+u):e+E+(-2===l?o:u)}return[T(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let V=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=G(o,e);if(this.el=t.createElement(l,r),$.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=$.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?ot:X}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(j.test(n.tagName)){const t=n.textContent.split(E),o=t.length-1;if(o>0){n.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],U()),$.nextNode(),c.push({type:2,index:++i});n.append(t[o],U())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function q(t,o,e=t,r){if(o===Z)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=W(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=q(t,n._$AS(t,o.values),n,r)),o}let Y=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??L).importNode(o,!0);$.currentNode=r;let n=$.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new J(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new et(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=$.nextNode(),i++)}return $.currentNode=L,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},J=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=q(this,t,o),W(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):F(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==D&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=V.createElement(T(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Y(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new V(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(U()),this.k(U()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=q(this,t,o,0),i=!W(t)||t!==this._$AH&&t!==Z,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=q(this,r[e+a],o,a),s===Z&&(s=this._$AH[a]),i||=!W(s)||s!==this._$AH[a],s===D?t=D:t!==D&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},ot=class extends X{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=q(this,t,o,0)??D)===Z)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},et=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}};const rt={j:C,P:E,A:R,C:1,M:G,L:Y,R:F,V:q,D:J,I:X,H:tt,N:ot,U:Q,B:et},nt=S.litHtmlPolyfillSupport;nt?.(V,J),(S.litHtmlVersions??=[]).push("3.1.0");
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2019 Google LLC
|
|
@@ -39,7 +39,7 @@ const it=globalThis,at=it.ShadowRoot&&(void 0===it.ShadyCSS||it.ShadyCSS.nativeS
|
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2017 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:ht,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:vt}=Object,Ot=globalThis,
|
|
42
|
+
*/,{is:ht,defineProperty:yt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:vt}=Object,Ot=globalThis,xt=Ot.trustedTypes,St=xt?xt.emptyScript:"",wt=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Ct={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Et=(t,o)=>!ht(t,o),Rt={attribute:!0,type:String,converter:Ct,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Rt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=gt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=vt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...bt(t),...mt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(pt(t))}else void 0!==t&&o.push(pt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return dt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Ct).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ct;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Et)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,wt?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
@@ -55,12 +55,12 @@ const Lt=globalThis,Ut=Lt.trustedTypes,Wt=Ut?Ut.createPolicy("lit-html",{createH
|
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},
|
|
58
|
+
*/const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},xo=(t=Oo,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
|
|
59
59
|
/**
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/function
|
|
63
|
+
*/function So(t){return(o,e)=>"object"==typeof e?xo(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
@@ -88,7 +88,7 @@ let No;var Co=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?
|
|
|
88
88
|
* Copyright 2017 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
90
|
*/
|
|
91
|
-
function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:
|
|
91
|
+
function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:So,query:function(t,o){return(e,r,n)=>{const i=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:n??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return wo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=i(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return wo(0,0,{get(){return i(this)}})}},queryAll:function(t){return(o,e)=>wo(0,0,{get(){return(this.renderRoot??(No??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
92
92
|
/**
|
|
93
93
|
* @license
|
|
94
94
|
* Copyright 2017 Google LLC
|
|
@@ -104,7 +104,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
104
104
|
* @license
|
|
105
105
|
* Copyright 2017 Google LLC
|
|
106
106
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
107
|
-
*/,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return wo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(o,e)=>wo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:
|
|
107
|
+
*/,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return wo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(o,e)=>wo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:xo,state:function(t){return So({...t,state:!0,attribute:!1})}});
|
|
108
108
|
/**
|
|
109
109
|
* @license
|
|
110
110
|
* Copyright 2017 Google LLC
|
|
@@ -134,12 +134,12 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
134
134
|
* @license
|
|
135
135
|
* Copyright 2017 Google LLC
|
|
136
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/let $o=class extends Lo{constructor(t){if(super(t),this.et=D,t.type!==Ro)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};$o.directiveName="unsafeHTML",$o.resultType=1;const To=Io($o);var Go=Object.freeze({__proto__:null,UnsafeHTMLDirective:$o,unsafeHTML:To});class Vo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class qo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Vo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Vo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Yo=t=>new qo(((o,e)=>t.then(o).catch(e)));var Jo=Object.freeze({__proto__:null,CancelablePromise:qo,CanceledPromiseError:Vo,cancelable:Yo});class Xo{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof qo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Yo(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var Qo=Object.freeze({__proto__:null,CacheRegistry:Xo});class te{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>te.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=te.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>te.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>te.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=te.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return te.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var oe=Object.freeze({__proto__:null,ClusteringHelper:te});class ee{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var re=Object.freeze({__proto__:null,Debouncer:ee});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ie(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ne(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function ae(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function se(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!se(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!se(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!se(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var ce=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?ae(e):e}},deepEqual:se,delay:ne,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:ae,waitFor:ie,waitUntil:async function(t,o=10,e=2e4){await ie((async()=>await t()||void 0),o,e)}});const le=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function fe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!se(t,o),...null!=o?o:{}})}function ue(t){return!isNaN(parseFloat(t))}var de=Object.freeze({__proto__:null,customElement:le,isNumber:ue,jsonProperty:fe,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ue(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const pe=t=>"string"==typeof t?ft(t):t;class he{static create(t,o,e,r){const n=t=>pe(null!=t?t:r),i=ut`var(${pe(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${pe(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=ut`var(${pe(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${pe(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):pe(null!=o?o:t.lastResortDefaultValue()),r=ut`var(${pe(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>ut`var(${pe(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ye={colorWhite:he.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:he.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:he.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:he.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:he.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:he.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:he.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:he.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:he.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:he.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:he.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:he.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:he.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:he.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:he.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:he.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:he.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:he.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:he.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:he.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:he.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:he.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:he.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:he.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:he.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:he.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:he.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:he.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:he.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:he.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:he.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:he.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:he.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:he.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:he.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:he.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:he.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:he.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:he.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:he.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:he.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:he.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:he.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:he.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:he.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:he.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:he.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:he.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:he.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:he.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:he.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:he.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:he.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:he.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:he.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:he.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:he.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:he.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:he.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:he.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:he.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:he.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:he.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:he.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:he.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:he.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:he.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:he.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:he.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:he.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:he.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:he.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:he.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:he.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:he.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:he.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:he.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:he.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:he.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:he.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:he.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:he.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:he.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:he.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:he.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:he.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:he.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:he.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:he.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:he.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:he.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:he.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:he.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:he.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:he.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:he.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:he.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:he.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:he.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:he.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:he.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:he.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:he.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:he.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:he.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:he.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:he.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:he.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:he.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:he.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:he.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:he.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:he.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:he.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:he.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:he.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:he.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:he.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:he.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:he.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:he.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:he.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:he.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:he.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:he.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:he.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:he.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:he.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:he.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:he.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:he.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:he.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:he.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:he.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:he.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:he.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:he.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:he.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:he.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:he.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:he.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:he.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:he.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:he.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:he.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:he.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:he.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:he.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:he.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:he.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:he.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:he.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:he.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:he.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:he.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:he.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:he.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:he.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:he.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:he.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:he.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:he.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:he.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:he.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:he.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:he.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:he.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:he.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:he.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:he.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:he.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:he.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:he.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:he.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:he.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:he.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:he.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:he.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:he.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:he.create("--ft-icon-size-6","","SIZE","48px"),opacity0:he.create("--ft-opacity-0","","NUMBER","0"),opacity8:he.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:he.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:he.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:he.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:he.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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)"),underline:he.create("--ft-underline","","UNKNOWN","underline")},ge={fontFamily:he.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:he.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:he.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-display-textCase","","UNKNOWN","none")},be={fontFamily:he.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:he.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:he.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},me={fontFamily:he.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:he.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:he.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ve={fontFamily:he.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:he.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:he.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oe={fontFamily:he.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:he.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:he.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Se={fontFamily:he.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:he.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xe={fontFamily:he.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:he.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},we={fontFamily:he.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:he.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ne={fontFamily:he.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ce={fontFamily:he.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:he.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:he.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ee={fontFamily:he.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:he.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ie={fontFamily:he.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Le={fontFamily:he.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ue={fontFamily:he.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},We={fontFamily:he.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ke={fontFamily:he.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:he.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:he.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:he.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:he.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:he.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:he.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:he.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:he.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:he.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:he.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:he.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:he.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:he.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:he.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:he.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ze={display:ge,"title-1":be,"title-2":me,"title-3":ve,"body-1-regular":Oe,"body-1-medium":Se,"body-1-semibold":xe,"body-2-regular":we,"body-2-medium":Ne,"body-2-medium-underline":Ce,"body-2-semibold":Ee,"label-1-medium":Re,"label-1-semibold":Ie,"label-1-bold":Le,"label-2-medium":Ue,"label-2-semibold":We,"label-2-bold":ke,"caption-1-medium":Fe,"caption-1-semibold":Ae,"caption-1-bold":Be,"caption-2-medium":ze,"caption-2-semibold":_e,"caption-2-bold":Pe,"caption-3-medium":Me,"caption-3-semibold":Ke,"caption-3-bold":je},De={backgroundActionPrimary:he.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ye.colorBrand0),backgroundErrorSubtle:he.extend("--ft-background-error-subtle","Used as background of subtle error components.",ye.colorRed10),backgroundInfoSubtle:he.extend("--ft-background-info-subtle","Used as background of subtle information components.",ye.colorCyan10),backgroundWarningSubtle:he.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ye.colorOrange10),backgroundSuccessSubtle:he.extend("--ft-background-success-subtle","Used as background of subtle success components.",ye.colorGreen10),backgroundGlobalSurface:he.extend("--ft-background-global-surface","Used as app background.",ye.colorWhite),backgroundGlobalOnSurface:he.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ye.colorGray10),backgroundGlobalOnSurfaceDark:he.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ye.colorGray30),contentActionPrimary:he.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ye.colorBrand0),contentWarningPrimary:he.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ye.colorOrange200),contentWarningIconOnly:he.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ye.colorOrange0),contentErrorPrimary:he.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ye.colorRed0),contentErrorIconOnly:he.extend("--ft-content-error-icon-only","Used on error status icons alone",ye.colorRed70),contentInfoPrimary:he.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ye.colorCyan200),contentInfoIconOnly:he.extend("--ft-content-info-icon-only","Used on info status icons alone",ye.colorCyan0),contentSuccessPrimary:he.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ye.colorGreen200),contentSuccessIconOnly:he.extend("--ft-content-success-icon-only","Used on success status icons alone",ye.colorGreen0),contentGlobalPrimary:he.extend("--ft-content-global-primary","Used for main content on the page.",ye.colorGray500),contentGlobalSecondary:he.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ye.colorGray200),contentGlobalSubtle:he.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ye.colorGray0),contentGlobalOnColor:he.extend("--ft-content-global-on-color","Used for content on a dominant color.",ye.colorWhite),borderActionPrimary:he.extend("--ft-border-action-primary","Used as border for primary action components.",ye.colorBrand0),borderActionFocusRing:he.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ye.colorCyan0),borderWarningPrimary:he.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ye.colorOrange200),borderWarningSubtle:he.extend("--ft-border-warning-subtle","Used as border for warning components.",ye.colorOrange30),borderSuccessPrimary:he.extend("--ft-border-success-primary","Used as border for success buttons.",ye.colorGreen200),borderSuccessSubtle:he.extend("--ft-border-success-subtle","Used as border for success components.",ye.colorGreen30),borderErrorPrimary:he.extend("--ft-border-error-primary","Used as border for text fields in error states.",ye.colorRed0),borderErrorSubtle:he.extend("--ft-border-error-subtle","Used as border for error components.",ye.colorRed30),borderInfoPrimary:he.extend("--ft-border-info-primary","Used as border for buttons in info color.",ye.colorCyan200),borderInfoSubtle:he.extend("--ft-border-info-subtle","Used as border for information components.",ye.colorCyan30),borderGlobalPrimary:he.extend("--ft-border-global-primary","Used as border for element like input.",ye.colorGray50),borderGlobalSubtle:he.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ye.colorGray30),borderInputPrimary:he.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ye.colorGray80)},He={largeHeight:he.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:he.extend("--ft-button-large-horizontal-padding","",ye.spacing4),largeGap:he.extend("--ft-button-large-gap","",ye.spacing2),largeBorderRadius:he.extend("--ft-button-large-border-radius","",ye.borderRadiusS),largeIconSize:he.extend("--ft-button-large-icon-size","",ye.iconSize3),largeBorderWidth:he.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:he.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:he.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:he.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:he.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:he.extend("--ft-button-small-horizontal-padding","",ye.spacing3),smallGap:he.extend("--ft-button-small-gap","",ye.spacing2),smallBorderRadius:he.extend("--ft-button-small-border-radius","",ye.borderRadiusS),smallIconSize:he.extend("--ft-button-small-icon-size","",ye.iconSize2),smallBorderWidth:he.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:he.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:he.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:he.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:he.extend("--ft-button-primary-background-color","",De.backgroundActionPrimary),primaryColor:he.extend("--ft-button-primary-color","",De.contentGlobalOnColor),primaryIconColor:he.extend("--ft-button-primary-icon-color","",De.contentGlobalOnColor),primaryStateLayerColor:he.extend("--ft-button-primary-state-layer-color","",De.contentGlobalOnColor),primaryHoverStateLayerOpacity:he.extend("--ft-button-primary-hover-state-layer-opacity","",ye.opacity16),primaryFocusStateLayerOpacity:he.extend("--ft-button-primary-focus-state-layer-opacity","",ye.opacity16),primaryActiveStateLayerOpacity:he.extend("--ft-button-primary-active-state-layer-opacity","",ye.opacity24),primaryDisabledComponentOpacity:he.extend("--ft-button-primary-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:he.extend("--ft-button-focus-focus-ring-color","",De.borderActionFocusRing),tertiaryBackgroundColor:he.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:he.extend("--ft-button-tertiary-color","",De.contentActionPrimary),tertiaryIconColor:he.extend("--ft-button-tertiary-icon-color","",De.contentActionPrimary),tertiaryStateLayerColor:he.extend("--ft-button-tertiary-state-layer-color","",De.contentActionPrimary),tertiaryHoverStateLayerOpacity:he.extend("--ft-button-tertiary-hover-state-layer-opacity","",ye.opacity8),tertiaryFocusStateLayerOpacity:he.extend("--ft-button-tertiary-focus-state-layer-opacity","",ye.opacity8),tertiaryActiveStateLayerOpacity:he.extend("--ft-button-tertiary-active-state-layer-opacity","",ye.opacity16),tertiaryDisabledComponentOpacity:he.extend("--ft-button-tertiary-disabled-component-opacity","",ye.opacity40),secondaryBackgroundColor:he.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:he.extend("--ft-button-secondary-color","",De.contentActionPrimary),secondaryIconColor:he.extend("--ft-button-secondary-icon-color","",De.contentActionPrimary),secondaryStateLayerColor:he.extend("--ft-button-secondary-state-layer-color","",De.contentActionPrimary),secondaryHoverStateLayerOpacity:he.extend("--ft-button-secondary-hover-state-layer-opacity","",ye.opacity8),secondaryFocusStateLayerOpacity:he.extend("--ft-button-secondary-focus-state-layer-opacity","",ye.opacity8),secondaryActiveStateLayerOpacity:he.extend("--ft-button-secondary-active-state-layer-opacity","",ye.opacity16),secondaryDisabledComponentOpacity:he.extend("--ft-button-secondary-disabled-component-opacity","",ye.opacity40),secondaryBorderColor:he.extend("--ft-button-secondary-border-color","",De.borderActionPrimary),neutralBackgroundColor:he.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:he.extend("--ft-button-neutral-icon-color","",De.contentGlobalSecondary),neutralColor:he.extend("--ft-button-neutral-color","",De.contentGlobalSecondary),neutralStateLayerColor:he.extend("--ft-button-neutral-state-layer-color","",De.contentGlobalSecondary),neutralHoverStateLayerOpacity:he.extend("--ft-button-neutral-hover-state-layer-opacity","",ye.opacity8),neutralFocusStateLayerOpacity:he.extend("--ft-button-neutral-focus-state-layer-opacity","",ye.opacity8),neutralActiveStateLayerOpacity:he.extend("--ft-button-neutral-active-state-layer-opacity","",ye.opacity16),neutralDisabledComponentOpacity:he.extend("--ft-button-neutral-disabled-component-opacity","",ye.opacity40)},$e={iconSize:he.extend("--ft-banner-icon-size","",ye.iconSize5),borderWidth:he.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:he.extend("--ft-banner-horizontal-padding","",ye.spacing6),verticalPadding:he.extend("--ft-banner-vertical-padding","",ye.spacing6),horizontalSideGap:he.extend("--ft-banner-horizontal-side-gap","",ye.spacing6),horizontalMobileGap:he.extend("--ft-banner-horizontal-mobile-gap","",ye.spacing4),verticalMobileGap:he.extend("--ft-banner-vertical-mobile-gap","",ye.spacing6),horizontalMiddleGap:he.extend("--ft-banner-horizontal-middle-gap","",ye.spacing20),infoBackgroundColor:he.extend("--ft-banner-info-background-color","",De.backgroundInfoSubtle),infoColor:he.extend("--ft-banner-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-banner-info-icon-color","",De.contentInfoIconOnly)},Te={gap:he.extend("--ft-breadcrumb-gap","",ye.spacing1)},Ge={horizontalPadding:he.extend("--ft-page-header-horizontal-padding","",ye.spacing12),verticalPadding:he.extend("--ft-page-header-vertical-padding","",ye.spacing6)},Ve={smallContainerWidth:he.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:he.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:he.extend("--ft-modal-overlay-background-color","",ye.colorGray700),overlayOpacity:he.extend("--ft-modal-overlay-opacity","",ye.opacity40),shadow:he.extend("--ft-modal-shadow","",ye.shadowElevation03),bodyBackgroundColor:he.extend("--ft-modal-body-background-color","",ye.colorWhite),bodyColor:he.extend("--ft-modal-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:he.extend("--ft-modal-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:he.extend("--ft-modal-body-vertical-padding","",ye.spacing6),bodyVerticalGap:he.extend("--ft-modal-body-vertical-gap","",ye.spacing6),containerMargin:he.extend("--ft-modal-container-margin","",ye.spacing3),headerBackgroundColor:he.extend("--ft-modal-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:he.extend("--ft-modal-header-border-color","",De.borderGlobalSubtle),headerColor:he.extend("--ft-modal-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:he.extend("--ft-modal-header-trailing-icon-color","",De.contentGlobalSecondary),headerVerticalPadding:he.extend("--ft-modal-header-vertical-padding","",ye.spacing1),headerRightPadding:he.extend("--ft-modal-header-right-padding","",ye.spacing1),headerLeftPadding:he.extend("--ft-modal-header-left-padding","",ye.spacing6),headerGap:he.extend("--ft-modal-header-gap","",ye.spacing2),headerBorderBottom:he.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:he.extend("--ft-modal-border-radius","",ye.borderRadiusM)},qe={fieldHorizontalPadding:he.extend("--ft-text-input-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-text-input-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-text-input-field-vertical-gap","",ye.spacing05),fieldIconSize:he.extend("--ft-text-input-field-icon-size","",ye.iconSize3),fieldHeight:he.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:he.extend("--ft-text-input-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-text-input-helper-horizontal-gap","",ye.spacing1),helperIconSize:he.extend("--ft-text-input-helper-icon-size","",ye.iconSize2),borderRadius:he.extend("--ft-text-input-border-radius","",ye.borderRadiusM),backgroundColor:he.extend("--ft-text-input-background-color","",ye.colorWhite),contentValueColor:he.extend("--ft-text-input-content-value-color","",De.contentGlobalPrimary),trailingIconColor:he.extend("--ft-text-input-trailing-icon-color","",De.contentGlobalSubtle),labelColor:he.extend("--ft-text-input-label-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-text-input-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-text-input-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:he.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:he.extend("--ft-text-input-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-text-input-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:he.extend("--ft-text-input-error-helper-icon-color","",De.contentErrorIconOnly),warningBorderWidth:he.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:he.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-text-input-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-text-input-disabled-component-opacity","",ye.opacity40)},Ye={backgroundColor:he.extend("--ft-text-area-background-color","",ye.colorWhite),contentValueColor:he.extend("--ft-text-area-content-value-color","",De.contentGlobalPrimary),labelColor:he.extend("--ft-text-area-label-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-text-area-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-text-area-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:he.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:he.extend("--ft-text-area-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-text-area-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:he.extend("--ft-text-area-error-helper-icon-color","",De.contentErrorIconOnly),focusFocusRingColor:he.extend("--ft-text-area-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:he.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:he.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-text-area-disabled-component-opacity","",ye.opacity40),fieldHorizontalLeftPadding:he.extend("--ft-text-area-field-horizontal-left-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-text-area-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-text-area-field-vertical-gap","",ye.spacing05),fieldMinHeight:he.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:he.extend("--ft-text-area-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-text-area-helper-horizontal-gap","",ye.spacing1),helperIconSize:he.extend("--ft-text-area-helper-icon-size","",ye.iconSize2),borderRadius:he.extend("--ft-text-area-border-radius","",ye.borderRadiusM)},Je={height:he.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:he.extend("--ft-floating-menu-horizontal-padding","",ye.spacing4),offIconColor:he.extend("--ft-floating-menu-off-icon-color","",De.contentGlobalPrimary),offColor:he.extend("--ft-floating-menu-off-color","",De.contentGlobalPrimary),onColor:he.extend("--ft-floating-menu-on-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-floating-menu-on-state-layer-color","",De.contentActionPrimary),gap:he.extend("--ft-floating-menu-gap","",ye.spacing3),focusFocusRingColor:he.extend("--ft-floating-menu-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:he.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:he.extend("--ft-floating-menu-focus-state-layer-opacity","",ye.opacity8),hoverStateLayerOpacity:he.extend("--ft-floating-menu-hover-state-layer-opacity","",ye.opacity8),activeStateLayerOpacity:he.extend("--ft-floating-menu-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:he.extend("--ft-floating-menu-disabled-component-opacity","",ye.opacity40),iconSize:he.extend("--ft-floating-menu-icon-size","",ye.iconSize3),backgroundColor:he.extend("--ft-floating-menu-background-color","",De.backgroundGlobalOnSurface)},Xe={fieldHorizontalPadding:he.extend("--ft-combobox-single-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-combobox-single-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-combobox-single-select-field-vertical-gap","",ye.spacing05),fieldIconSize:he.extend("--ft-combobox-single-select-field-icon-size","",ye.iconSize3),fieldHeight:he.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:he.extend("--ft-combobox-single-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-combobox-single-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:he.extend("--ft-combobox-single-select-helper-vertical-gap","",ye.spacing1),helperIconSize:he.extend("--ft-combobox-single-select-helper-icon-size","",ye.iconSize2),menuVerticalGap:he.extend("--ft-combobox-single-select-menu-vertical-gap","",ye.spacing2),borderRadius:he.extend("--ft-combobox-single-select-border-radius","",ye.borderRadiusM),backgroundColor:he.extend("--ft-combobox-single-select-background-color","",ye.colorWhite),labelColor:he.extend("--ft-combobox-single-select-label-color","",De.contentGlobalSubtle),contentValueColor:he.extend("--ft-combobox-single-select-content-value-color","",De.contentGlobalPrimary),trailingIconColor:he.extend("--ft-combobox-single-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-combobox-single-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-combobox-single-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:he.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:he.extend("--ft-combobox-single-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-combobox-single-select-error-helper-text-color","",De.contentErrorPrimary),warningBorderWidth:he.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:he.extend("--ft-combobox-single-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:he.extend("--ft-combobox-single-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:he.extend("--ft-combobox-single-select-warning-helper-icon-color","",De.contentWarningIconOnly),focusOutlineWidth:he.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-combobox-single-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-combobox-single-select-disabled-component-opacity","",ye.opacity40)},Qe={backgroundColor:he.extend("--ft-combobox-multi-select-background-color","",ye.colorWhite),labelColor:he.extend("--ft-combobox-multi-select-label-color","",De.contentGlobalSubtle),trailingIconColor:he.extend("--ft-combobox-multi-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-combobox-multi-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-combobox-multi-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:he.extend("--ft-combobox-multi-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-combobox-multi-select-error-helper-text-color","",De.contentErrorPrimary),errorHelperIcon:he.extend("--ft-combobox-multi-select-error-helper-icon","",De.contentErrorIconOnly),errorBorderWidth:he.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:he.extend("--ft-combobox-multi-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:he.extend("--ft-combobox-multi-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:he.extend("--ft-combobox-multi-select-warning-helper-icon-color","",De.contentWarningIconOnly),warningBorderWidth:he.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-combobox-multi-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:he.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:he.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-combobox-multi-select-disabled-component-opacity","",ye.opacity40),helperHorizontalPadding:he.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:he.extend("--ft-combobox-multi-select-helper-vertical-gap","",ye.spacing1),helperIconSize:he.extend("--ft-combobox-multi-select-helper-icon-size","",ye.iconSize2),fieldHorizontalPadding:he.extend("--ft-combobox-multi-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-combobox-multi-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-combobox-multi-select-field-vertical-gap","",ye.spacing05),fieldIconSize:he.extend("--ft-combobox-multi-select-field-icon-size","",ye.iconSize3),fieldMaxHeight:he.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:he.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ye.spacing1),contentValuesVerticalGap:he.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ye.spacing1),borderRadius:he.extend("--ft-combobox-multi-select-border-radius","",ye.borderRadiusM)},tr={backgroundColor:he.extend("--ft-popover-background-color","",De.backgroundGlobalOnSurface),horizontalPadding:he.extend("--ft-popover-horizontal-padding","",ye.spacing6),verticalPadding:he.extend("--ft-popover-vertical-padding","",ye.spacing6),iconColor:he.extend("--ft-popover-icon-color","",De.contentGlobalSecondary),iconSize:he.extend("--ft-popover-icon-size","",ye.iconSize2),titleColor:he.extend("--ft-popover-title-color","",De.contentGlobalPrimary),bodyColor:he.extend("--ft-popover-body-color","",De.contentGlobalSecondary),linkColor:he.extend("--ft-popover-link-color","",De.contentActionPrimary),gap:he.extend("--ft-popover-gap","",ye.spacing3),borderRadius:he.extend("--ft-popover-border-radius","",ye.borderRadiusM),shadow:he.extend("--ft-popover-shadow","",ye.shadowElevation02)},or={topLeftBorderRadius:he.extend("--ft-tabs-top-left-border-radius","",ye.borderRadiusS),topRightBorderRadius:he.extend("--ft-tabs-top-right-border-radius","",ye.borderRadiusS),labelHorizontalPadding:he.extend("--ft-tabs-label-horizontal-padding","",ye.spacing4),labelVerticalPadding:he.extend("--ft-tabs-label-vertical-padding","",ye.spacing3),labelGap:he.extend("--ft-tabs-label-gap","",ye.spacing1),offHoverStateLayerOpacity:he.extend("--ft-tabs-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:he.extend("--ft-tabs-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:he.extend("--ft-tabs-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:he.extend("--ft-tabs-off-disabled-component-opacity","",ye.opacity40),offColor:he.extend("--ft-tabs-off-color","",De.contentGlobalSubtle),offStateLayerColor:he.extend("--ft-tabs-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:he.extend("--ft-tabs-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:he.extend("--ft-tabs-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:he.extend("--ft-tabs-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:he.extend("--ft-tabs-on-disabled-component-opacity","",ye.opacity40),onColor:he.extend("--ft-tabs-on-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-tabs-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:he.extend("--ft-tabs-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:he.extend("--ft-tabs-icon-vertical-padding","",ye.spacing4),focusOutlineWidth:he.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-tabs-focus-focus-ring-color","",De.borderActionFocusRing)},er={hoverStateLayerOpacity:he.extend("--ft-collapsible-hover-state-layer-opacity","",ye.opacity8),focusStateLayerOpacity:he.extend("--ft-collapsible-focus-state-layer-opacity","",ye.opacity8),focusOutlineWidth:he.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:he.extend("--ft-collapsible-focus-focus-ring-color","",De.borderActionFocusRing),activeStateLayerOpacity:he.extend("--ft-collapsible-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:he.extend("--ft-collapsible-disabled-component-opacity","",ye.opacity40),horizontalPadding:he.extend("--ft-collapsible-horizontal-padding","",ye.spacing4),verticalPadding:he.extend("--ft-collapsible-vertical-padding","",ye.spacing3),color:he.extend("--ft-collapsible-color","",De.contentGlobalPrimary),stateLayerColor:he.extend("--ft-collapsible-state-layer-color","",De.contentGlobalPrimary),backgroundColor:he.extend("--ft-collapsible-background-color","",De.backgroundGlobalOnSurface),borderColor:he.extend("--ft-collapsible-border-color","",De.borderGlobalSubtle),iconSize:he.extend("--ft-collapsible-icon-size","",ye.iconSize3)},rr={groupHorizontalPadding:he.extend("--ft-switch-group-horizontal-padding","",ye.spacing1),groupVerticalPadding:he.extend("--ft-switch-group-vertical-padding","",ye.spacing1),groupGap:he.extend("--ft-switch-group-gap","",ye.spacing1),groupBackgroundColor:he.extend("--ft-switch-group-background-color","",De.backgroundGlobalSurface),groupBorderColor:he.extend("--ft-switch-group-border-color","",De.borderGlobalSubtle),groupBorderRadius:he.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:he.extend("--ft-switch-label-horizontal-padding","",ye.spacing2),labelVerticalPadding:he.extend("--ft-switch-label-vertical-padding","",ye.spacing1),offHoverStateLayerOpacity:he.extend("--ft-switch-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:he.extend("--ft-switch-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:he.extend("--ft-switch-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:he.extend("--ft-switch-off-disabled-component-opacity","",ye.opacity40),offColor:he.extend("--ft-switch-off-color","",De.contentGlobalSubtle),offStateLayerColor:he.extend("--ft-switch-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:he.extend("--ft-switch-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:he.extend("--ft-switch-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:he.extend("--ft-switch-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:he.extend("--ft-switch-on-disabled-component-opacity","",ye.opacity40),onColor:he.extend("--ft-switch-on-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-switch-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:he.extend("--ft-switch-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:he.extend("--ft-switch-icon-vertical-padding","",ye.spacing1),focusOutlineWidth:he.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-switch-focus-focus-ring-color","",De.borderActionFocusRing),optionBorderRadius:he.extend("--ft-switch-option-border-radius","",ye.borderRadiusS)},nr={color1Light:he.extend("--ft-chart-1-light","for area color charts",ye.colorBrand40),color1Base:he.extend("--ft-chart-1-base","for line charts",ye.colorBrand0),color2Light:he.extend("--ft-chart-2-light","for area color charts",ye.colorYellow60),color2Base:he.extend("--ft-chart-2-base","for line charts",ye.colorYellow100),color3Light:he.extend("--ft-chart-3-light","",ye.colorUltramarine40),color3Base:he.extend("--ft-chart-3-base","",ye.colorUltramarine70),color4Light:he.extend("--ft-chart-4-light","",ye.colorCyan50),color4Base:he.extend("--ft-chart-4-base","",ye.colorCyan100),color5Light:he.extend("--ft-chart-5-light","",ye.colorRed40),color5Base:he.extend("--ft-chart-5-base","",ye.colorRed60),color6Light:he.extend("--ft-chart-6-light","",ye.colorGreen40),color6Base:he.extend("--ft-chart-6-base","",ye.colorGreen70),color7Light:he.extend("--ft-chart-7-light","",ye.colorOrange70),color7Base:he.extend("--ft-chart-7-base","",ye.colorOrange100),color8Light:he.extend("--ft-chart-8-light","",ye.colorAvocado70),color8Base:he.extend("--ft-chart-8-base","",ye.colorAvocado200),color9Light:he.extend("--ft-chart-9-light","",ye.colorBrown50),color9Base:he.extend("--ft-chart-9-base","",ye.colorBrown200),color10Light:he.extend("--ft-chart-10-light","",ye.colorGray50),color10Base:he.extend("--ft-chart-10-base","",ye.colorGray80),monochrome10:he.extend("--ft-chart-monochrome-10","",ye.colorBrand10),monochrome20:he.extend("--ft-chart-monochrome-20","",ye.colorBrand20),monochrome30:he.extend("--ft-chart-monochrome-30","",ye.colorBrand40),monochrome40:he.extend("--ft-chart-monochrome-40","",ye.colorBrand60),monochrome50:he.extend("--ft-chart-monochrome-50","",ye.colorBrand0),monochrome60:he.extend("--ft-chart-monochrome-60","",ye.colorBrand200)},ir={largeHorizontalPadding:he.extend("--ft-chip-large-horizontal-padding","",ye.spacing4),largeVerticalPadding:he.extend("--ft-chip-large-vertical-padding","",ye.spacing2),largeGap:he.extend("--ft-chip-large-gap","",ye.spacing1),largeFocusOutlineOffset:he.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:he.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:he.extend("--ft-chip-large-border-radius","",ye.borderRadiusPill),largeBorderWidth:he.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:he.extend("--ft-chip-large-icon-size","",ye.iconSize3),mediumHorizontalPadding:he.extend("--ft-chip-medium-horizontal-padding","",ye.spacing3),mediumVerticalPadding:he.extend("--ft-chip-medium-vertical-padding","",ye.spacing1),mediumGap:he.extend("--ft-chip-medium-gap","",ye.spacing1),mediumFocusOutlineOffset:he.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:he.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:he.extend("--ft-chip-medium-border-radius","",ye.borderRadiusPill),mediumBorderWidth:he.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:he.extend("--ft-chip-medium-icon-size","",ye.iconSize2),smallHorizontalPadding:he.extend("--ft-chip-small-horizontal-padding","",ye.spacing2),smallVerticalPadding:he.extend("--ft-chip-small-vertical-padding","",ye.spacing05),smallGap:he.extend("--ft-chip-small-gap","",ye.spacing1),smallFocusOutlineOffset:he.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:he.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:he.extend("--ft-chip-small-border-radius","",ye.borderRadiusPill),smallBorderWidth:he.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:he.extend("--ft-chip-small-icon-size","",ye.iconSize1),neutralBackgroundColor:he.extend("--ft-chip-neutral-background-color","",De.backgroundGlobalOnSurface),neutralColor:he.extend("--ft-chip-neutral-color","",De.contentGlobalPrimary),neutralIconColor:he.extend("--ft-chip-neutral-icon-color","",De.contentGlobalPrimary),neutralBorderColor:he.extend("--ft-chip-neutral-border-color","",De.borderGlobalSubtle),infoBackgroundColor:he.extend("--ft-chip-info-background-color","",De.backgroundInfoSubtle),infoColor:he.extend("--ft-chip-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-chip-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:he.extend("--ft-chip-info-border-color","",De.borderInfoSubtle),successBackgroundColor:he.extend("--ft-chip-success-background-color","",De.backgroundSuccessSubtle),successColor:he.extend("--ft-chip-success-color","",De.contentSuccessPrimary),successIconColor:he.extend("--ft-chip-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:he.extend("--ft-chip-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:he.extend("--ft-chip-warning-background-color","",De.backgroundWarningSubtle),warningColor:he.extend("--ft-chip-warning-color","",De.contentWarningPrimary),warningIconColor:he.extend("--ft-chip-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:he.extend("--ft-chip-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:he.extend("--ft-chip-error-background-color","",De.backgroundErrorSubtle),errorColor:he.extend("--ft-chip-error-color","",De.contentErrorPrimary),errorIconColor:he.extend("--ft-chip-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:he.extend("--ft-chip-error-border-color","",De.borderErrorSubtle)},ar={infoBorderColor:he.extend("--ft-border-info-border-color","",De.borderInfoSubtle)},sr={borderWidth:he.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:he.extend("--ft-notice-horizontal-padding","",ye.spacing2),verticalPadding:he.extend("--ft-notice-vertical-padding","",ye.spacing1),borderRadius:he.extend("--ft-notice-border-radius","",ye.borderRadiusS),gap:he.extend("--ft-notice-gap","",ye.spacing2),iconSize:he.extend("--ft-notice-icon-size","",ye.iconSize3),infoBackgroundColor:he.extend("--ft-notice-info-background-color","",De.backgroundInfoSubtle),infoBorderColor:he.extend("--ft-notice-info-border-color","",De.borderInfoSubtle),infoColor:he.extend("--ft-notice-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-notice-info-icon-color","",De.contentInfoIconOnly),warningBackgroundColor:he.extend("--ft-notice-warning-background-color","",De.backgroundWarningSubtle),warningBorderColor:he.extend("--ft-notice-warning-border-color","",De.borderWarningSubtle),warningColor:he.extend("--ft-notice-warning-color","",De.contentWarningPrimary),warningIconColor:he.extend("--ft-notice-warning-icon-color","",De.contentWarningIconOnly)},cr={color:he.extend("--ft-checkbox-color","",De.contentGlobalPrimary),checkedBackgroundColor:he.extend("--ft-checkbox-checked-background-color","",De.contentActionPrimary),checkedStateLayerColor:he.extend("--ft-checkbox-checked-state-layer-color","",De.contentActionPrimary),checkedIconColor:he.extend("--ft-checkbox-checked-icon-color","",De.contentGlobalOnColor),checkedHoverStateLayerOpacity:he.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ye.opacity16),checkedFocusStateLayerOpacity:he.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ye.opacity16),checkedActiveStateLayerOpacity:he.extend("--ft-checkbox-checked-active-state-layer-opacity","",ye.opacity24),checkedDisabledComponentOpacity:he.extend("--ft-checkbox-checked-disabled-component-opacity","",ye.opacity40),uncheckedBorderColor:he.extend("--ft-checkbox-unchecked-border-color","",ye.colorGray80),uncheckedStateLayerColor:he.extend("--ft-checkbox-unchecked-state-layer-color","",ye.colorGray80),uncheckedHoverStateLayerOpacity:he.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ye.opacity16),uncheckedFocusStateLayerOpacity:he.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ye.opacity16),uncheckedActiveStateLayerOpacity:he.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ye.opacity24),uncheckedDisabledComponentOpacity:he.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:he.extend("--ft-checkbox-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:he.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:he.extend("--ft-checkbox-gap","",ye.spacing3)},lr={offHoverStateLayerOpacity:he.extend("--ft-toggle-off-hover-state-layer-opacity","",ye.opacity16),offFocusStateLayerOpacity:he.extend("--ft-toggle-off-focus-state-layer-opacity","",ye.opacity16),offActiveStateLayerOpacity:he.extend("--ft-toggle-off-active-state-layer-opacity","",ye.opacity24),offDisabledComponentOpacity:he.extend("--ft-toggle-off-disabled-component-opacity","",ye.opacity40),offBackgroundColor:he.extend("--ft-toggle-off-background-color","",De.contentGlobalSubtle),offIconColor:he.extend("--ft-toggle-off-icon-color","",De.contentGlobalSubtle),offStateLayerColor:he.extend("--ft-toggle-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:he.extend("--ft-toggle-on-hover-state-layer-opacity","",ye.opacity16),onFocusStateLayerOpacity:he.extend("--ft-toggle-on-focus-state-layer-opacity","",ye.opacity16),onActiveStateLayerOpacity:he.extend("--ft-toggle-on-active-state-layer-opacity","",ye.opacity24),onDisabledComponentOpacity:he.extend("--ft-toggle-on-disabled-component-opacity","",ye.opacity40),onBackgroundColor:he.extend("--ft-toggle-on-background-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-toggle-on-state-layer-color","",De.contentActionPrimary),onIconColor:he.extend("--ft-toggle-on-icon-color","",De.contentActionPrimary),color:he.extend("--ft-toggle-color","",De.contentGlobalPrimary),focusFocusRingColor:he.extend("--ft-toggle-focus-focus-ring-color","",De.borderActionFocusRing),gap:he.extend("--ft-toggle-gap","",ye.spacing3)},fr={color:he.extend("--ft-radio-color","",De.contentGlobalPrimary),selectedRadioColor:he.extend("--ft-radio-selected-radio-color","",De.contentActionPrimary),selectedStateLayerColor:he.extend("--ft-radio-selected-state-layer-color","",De.contentActionPrimary),selectedHoverStateLayerOpacity:he.extend("--ft-radio-selected-hover-state-layer-opacity","",ye.opacity16),selectedFocusStateLayerOpacity:he.extend("--ft-radio-selected-focus-state-layer-opacity","",ye.opacity16),selectedActiveStateLayerOpacity:he.extend("--ft-radio-selected-active-state-layer-opacity","",ye.opacity24),selectedDisabledComponentOpacity:he.extend("--ft-radio-selected-disabled-component-opacity","",ye.opacity40),unselectedStateLayerColor:he.extend("--ft-radio-unselected-state-layer-color","",De.borderInputPrimary),unselectedBorderColor:he.extend("--ft-radio-unselected-border-color","",De.borderInputPrimary),unselectedHoverStateLayerOpacity:he.extend("--ft-radio-unselected-hover-state-layer-opacity","",ye.opacity16),unselectedFocusStateLayerOpacity:he.extend("--ft-radio-unselected-focus-state-layer-opacity","",ye.opacity16),unselectedActiveStateLayerOpacity:he.extend("--ft-radio-unselected-active-state-layer-opacity","",ye.opacity24),unselectedDisabledComponentOpacity:he.extend("--ft-radio-unselected-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:he.extend("--ft-radio-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:he.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:he.extend("--ft-radio-gap","",ye.spacing3)},ur={iconSize:he.extend("--ft-notification-icon-size","",ye.iconSize4),horizontalPadding:he.extend("--ft-notification-horizontal-padding","",ye.spacing4),verticalPadding:he.extend("--ft-notification-vertical-padding","",ye.spacing4),infoBackgroundColor:he.extend("--ft-notification-info-background-color","",De.backgroundInfoSubtle),infoColor:he.extend("--ft-notification-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-notification-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:he.extend("--ft-notification-info-border-color","",De.borderInfoSubtle),successBackgroundColor:he.extend("--ft-notification-success-background-color","",De.backgroundSuccessSubtle),successColor:he.extend("--ft-notification-success-color","",De.contentSuccessPrimary),successIconColor:he.extend("--ft-notification-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:he.extend("--ft-notification-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:he.extend("--ft-notification-warning-background-color","",De.backgroundWarningSubtle),warningColor:he.extend("--ft-notification-warning-color","",De.contentWarningPrimary),warningIconColor:he.extend("--ft-notification-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:he.extend("--ft-notification-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:he.extend("--ft-notification-error-background-color","",De.backgroundErrorSubtle),errorColor:he.extend("--ft-notification-error-color","",De.contentErrorPrimary),errorIconColor:he.extend("--ft-notification-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:he.extend("--ft-notification-error-border-color","",De.borderErrorSubtle),borderRadius:he.extend("--ft-notification-border-radius","",ye.borderRadiusPill),borderWidth:he.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:he.extend("--ft-notification-leading-gap","",ye.spacing2),trailingGap:he.extend("--ft-notification-trailing-gap","",ye.spacing8)},dr={horizontalPadding:he.extend("--ft-tooltip-horizontal-padding","",ye.spacing2),verticalPadding:he.extend("--ft-tooltip-vertical-padding","",ye.spacing2),borderRadius:he.extend("--ft-tooltip-border-radius","",ye.borderRadiusS),color:he.extend("--ft-tooltip-color","",De.contentGlobalOnColor),backgroundColor:he.extend("--ft-tooltip-background-color","",De.contentGlobalPrimary),backgroundOpacity:he.extend("--ft-tooltip-background-opacity","",ye.opacity80),shadow:he.extend("--ft-tooltip-shadow","",ye.shadowElevation03),maxWidth:he.create("--ft-tooltip-max-width","","SIZE","256px"),gap:he.extend("--ft-tooltip-gap","",ye.spacing05)};var pr=Object.freeze({__proto__:null,FtCssVariableFactory:he,banner:$e,border:ar,breadcrumb:Te,button:He,chart:nr,checkbox:cr,chip:ir,collapsible:er,comboboxMultiSelect:Qe,comboboxSingleSelect:Xe,floatingMenu:Je,foundation:ye,modal:Ve,notice:sr,notification:ur,pageHeader:Ge,popover:tr,radio:fr,semantic:De,setVariable:function(t,o){return pe(`${t.name}: ${o}`)},switch_:rr,tabs:or,textArea:Ye,textInput:qe,toggle:lr,tooltip:dr,typographies:Ze,typographyBody1Medium:Se,typographyBody1Regular:Oe,typographyBody1Semibold:xe,typographyBody2Medium:Ne,typographyBody2MediumUnderline:Ce,typographyBody2Regular:we,typographyBody2Semibold:Ee,typographyCaption1Bold:Be,typographyCaption1Medium:Fe,typographyCaption1Semibold:Ae,typographyCaption2Bold:Pe,typographyCaption2Medium:ze,typographyCaption2Semibold:_e,typographyCaption3Bold:je,typographyCaption3Medium:Me,typographyCaption3Semibold:Ke,typographyDisplay:ge,typographyLabel1Bold:Le,typographyLabel1Medium:Re,typographyLabel1Semibold:Ie,typographyLabel2Bold:ke,typographyLabel2Medium:Ue,typographyLabel2Semibold:We,typographyTitle1:be,typographyTitle2:me,typographyTitle3:ve,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const hr={colorPrimary:he.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:he.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:he.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:he.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:he.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:he.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:he.create("--ft-color-error","","COLOR","#B00020"),colorOutline:he.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:he.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:he.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:he.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:he.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:he.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:he.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:he.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:he.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:he.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:he.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:he.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:he.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:he.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:he.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:he.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:he.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:he.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:he.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:he.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:he.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:he.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:he.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:he.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:he.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:he.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:he.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:he.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:he.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:he.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:he.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:he.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:he.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:he.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:he.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:he.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:he.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:he.create("--ft-elevation-00","","UNKNOWN","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:he.create("--ft-elevation-01","","UNKNOWN","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:he.create("--ft-elevation-02","","UNKNOWN","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:he.create("--ft-elevation-03","","UNKNOWN","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:he.create("--ft-elevation-04","","UNKNOWN","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:he.create("--ft-elevation-06","","UNKNOWN","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:he.create("--ft-elevation-08","","UNKNOWN","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:he.create("--ft-elevation-12","","UNKNOWN","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:he.create("--ft-elevation-16","","UNKNOWN","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:he.create("--ft-elevation-24","","UNKNOWN","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:he.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:he.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:he.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:he.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:he.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:he.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:he.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:he.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var yr=Object.freeze({__proto__:null,designSystemVariables:hr});class gr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class br extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class mr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var vr=Object.freeze({__proto__:null,FtNotificationEvent:gr,PostResizeEvent:mr,PreResizeEvent:br});const Or=["start","end"],Sr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Or[0],o+"-"+Or[1])),[]),xr=Math.min,wr=Math.max,Nr=Math.round,Cr=t=>({x:t,y:t}),Er={left:"right",right:"left",bottom:"top",top:"bottom"},Rr={start:"end",end:"start"};function Ir(t,o,e){return wr(t,xr(o,e))}function Lr(t,o){return"function"==typeof t?t(o):t}function Ur(t){return t.split("-")[0]}function Wr(t){return t.split("-")[1]}function kr(t){return"x"===t?"y":"x"}function Fr(t){return"y"===t?"height":"width"}function Ar(t){return["top","bottom"].includes(Ur(t))?"y":"x"}function Br(t){return kr(Ar(t))}function zr(t){return t.replace(/left|right|bottom|top/g,(t=>Er[t]))}function _r(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pr(t,o,e){let{reference:r,floating:n}=t;const i=Ar(o),a=Br(o),s=Fr(a),c=Ur(o),l="y"===i,f=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2,d=r[s]/2-n[s]/2;let p;switch(c){case"top":p={x:f,y:r.y-n.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-n.width,y:u};break;default:p={x:r.x,y:r.y}}switch(Wr(o)){case"start":p[a]-=d*(e&&l?-1:1);break;case"end":p[a]+=d*(e&&l?-1:1)}return p}async function Mr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=Lr(o,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(p),y=s[d?"floating"===u?"reference":"floating":u],g=_r(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===u?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=_r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+h.top)/v.y,bottom:(O.bottom-g.bottom+h.bottom)/v.y,left:(g.left-O.left+h.left)/v.x,right:(O.right-g.right+h.right)/v.x}}function Kr(t,o,e){return(t?[...e.filter((o=>Wr(o)===t)),...e.filter((o=>Wr(o)!==t))]:e.filter((t=>Ur(t)===t))).filter((e=>!t||(Wr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Rr[t]))}(e)!==e)))}const jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=o,{crossAxis:f=!1,alignment:u,allowedPlacements:d=Sr,autoAlignment:p=!0,...h}=Lr(t,o),y=void 0!==u||d===Sr?Kr(u||null,p,d):d,g=await Mr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Wr(t),n=Br(t),i=Fr(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=zr(a)),[a,zr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Ur(m)],g[v[0]],g[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],x=y[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.map((t=>{const o=Wr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,Wr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function Zr(t){return $r(t)?(t.nodeName||"").toLowerCase():"#document"}function Dr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Hr(t){var o;return null==(o=($r(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function $r(t){return t instanceof Node||t instanceof Dr(t).Node}function Tr(t){return t instanceof Element||t instanceof Dr(t).Element}function Gr(t){return t instanceof HTMLElement||t instanceof Dr(t).HTMLElement}function Vr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Dr(t).ShadowRoot)}function qr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=tn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Yr(t){return["table","td","th"].includes(Zr(t))}function Jr(t){const o=Xr(),e=tn(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Xr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qr(t){return["html","body","#document"].includes(Zr(t))}function tn(t){return Dr(t).getComputedStyle(t)}function on(t){return Tr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function en(t){if("html"===Zr(t))return t;const o=t.assignedSlot||t.parentNode||Vr(t)&&t.host||Hr(t);return Vr(o)?o.host:o}function rn(t){const o=en(t);return Qr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Gr(o)&&qr(o)?o:rn(o)}function nn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=rn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Dr(n);return i?o.concat(a,a.visualViewport||[],qr(n)?n:[],a.frameElement&&e?nn(a.frameElement):[]):o.concat(n,nn(n,[],e))}function an(t){const o=tn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Gr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,s=Nr(e)!==i||Nr(r)!==a;return s&&(e=i,r=a),{width:e,height:r,$:s}}function sn(t){return Tr(t)?t:t.contextElement}function cn(t){const o=sn(t);if(!Gr(o))return Cr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=an(o);let a=(i?Nr(e.width):e.width)/r,s=(i?Nr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ln=Cr(0);function fn(t){const o=Dr(t);return Xr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ln}function un(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=sn(t);let a=Cr(1);o&&(r?Tr(r)&&(a=cn(r)):a=cn(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Dr(t))&&o}(i,e,r)?fn(i):Cr(0);let c=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,f=n.width/a.x,u=n.height/a.y;if(i){const t=Dr(i),o=r&&Tr(r)?Dr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=cn(e),o=e.getBoundingClientRect(),r=tn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,u*=t.y,c+=n,l+=i,e=Dr(e).frameElement}}return _r({width:f,height:u,x:c,y:l})}function dn(t){return un(Hr(t)).left+on(t).scrollLeft}function pn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Dr(t),r=Hr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(n){i=n.width,a=n.height;const t=Xr();(!t||t&&"fixed"===o)&&(s=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:s,y:c}}(t,e);else if("document"===o)r=function(t){const o=Hr(t),e=on(t),r=t.ownerDocument.body,n=wr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=wr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+dn(t);const s=-e.scrollTop;return"rtl"===tn(r).direction&&(a+=wr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Hr(t));else if(Tr(o))r=function(t,o){const e=un(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Gr(t)?cn(t):Cr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=fn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return _r(r)}function hn(t,o){const e=en(t);return!(e===o||!Tr(e)||Qr(e))&&("fixed"===tn(e).position||hn(e,o))}function yn(t,o,e){const r=Gr(o),n=Hr(o),i="fixed"===e,a=un(t,!0,i,o);let s={scrollLeft:0,scrollTop:0};const c=Cr(0);if(r||!r&&!i)if(("body"!==Zr(o)||qr(n))&&(s=on(o)),r){const t=un(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=dn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function gn(t,o){return Gr(t)&&"fixed"!==tn(t).position?o?o(t):t.offsetParent:null}function bn(t,o){const e=Dr(t);if(!Gr(t))return e;let r=gn(t,o);for(;r&&Yr(r)&&"static"===tn(r).position;)r=gn(r,o);return r&&("html"===Zr(r)||"body"===Zr(r)&&"static"===tn(r).position&&!Jr(r))?e:r||function(t){let o=en(t);for(;Gr(o)&&!Qr(o);){if(Jr(o))return o;o=en(o)}return null}(t)||e}const mn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Gr(e),i=Hr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},s=Cr(1);const c=Cr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Zr(e)||qr(i))&&(a=on(e)),Gr(e))){const t=un(e);s=cn(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+c.x,y:o.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Hr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=nn(t,[],!1).filter((t=>Tr(t)&&"body"!==Zr(t))),n=null;const i="fixed"===tn(t).position;let a=i?en(t):t;for(;Tr(a)&&!Qr(a);){const o=tn(a),e=Jr(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||qr(a)&&!e&&hn(t,a))?r=r.filter((t=>t!==a)):n=o,a=en(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],s=i.reduce(((t,e)=>{const r=pn(o,e,n);return t.top=wr(r.top,t.top),t.right=xr(r.right,t.right),t.bottom=xr(r.bottom,t.bottom),t.left=wr(r.left,t.left),t}),pn(o,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:bn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||bn,i=this.getDimensions;return{reference:yn(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return an(t)},getScale:cn,isElement:Tr,isRTL:function(t){return"rtl"===tn(t).direction}},vn=(t,o,e)=>{const r=new Map,n={platform:mn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let l=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:u}=Pr(l,r,c),d=r,p={},h=0;for(let e=0;e<s.length;e++){const{name:i,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:u,initialPlacement:r,placement:d,strategy:n,middlewareData:p,rects:l,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,u=null!=b?b:u,p={...p,[i]:{...p[i],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:u}=Pr(l,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:n,middlewareData:p}})(t,o,{...n,platform:i})};function On(t){return function(t){for(let o=t;o;o=Sn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Sn(t);o;o=Sn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Sn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return vn(t,o,{platform:{...mn,getOffsetParent:t=>mn.getOffsetParent(t,On)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Lr(r,t),l={x:o,y:e},f=await Mr(t,c),u=Ar(Ur(n)),d=kr(u);let p=l[d],h=l[u];if(i){const t="y"===d?"bottom":"right";p=Ir(p+f["y"===d?"top":"left"],p,p-f[t])}if(a){const t="y"===u?"bottom":"right";h=Ir(h+f["y"===u?"top":"left"],h,h-f[t])}const y=s.fn({...t,[d]:p,[u]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),jr({allowedPlacements:[e]})]});var r}});
|
|
137
|
+
*/let $o=class extends Lo{constructor(t){if(super(t),this.et=D,t.type!==Ro)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};$o.directiveName="unsafeHTML",$o.resultType=1;const To=Io($o);var Go=Object.freeze({__proto__:null,UnsafeHTMLDirective:$o,unsafeHTML:To});class Vo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class qo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Vo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Vo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Yo=t=>new qo(((o,e)=>t.then(o).catch(e)));var Jo=Object.freeze({__proto__:null,CancelablePromise:qo,CanceledPromiseError:Vo,cancelable:Yo});class Xo{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof qo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Yo(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var Qo=Object.freeze({__proto__:null,CacheRegistry:Xo});class te{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>te.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=te.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>te.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>te.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=te.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return te.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var oe=Object.freeze({__proto__:null,ClusteringHelper:te});class ee{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var re=Object.freeze({__proto__:null,Debouncer:ee});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ie(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ne(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function ae(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function se(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!se(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!se(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!se(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var ce=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?ae(e):e}},deepEqual:se,delay:ne,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:ae,waitFor:ie,waitUntil:async function(t,o=10,e=2e4){await ie((async()=>await t()||void 0),o,e)}});const le=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function fe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!se(t,o),...null!=o?o:{}})}function ue(t){return!isNaN(parseFloat(t))}var de=Object.freeze({__proto__:null,customElement:le,isNumber:ue,jsonProperty:fe,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ue(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const pe=t=>"string"==typeof t?ft(t):t;class he{static create(t,o,e,r){const n=t=>pe(null!=t?t:r),i=ut`var(${pe(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${pe(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=ut`var(${pe(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ut`var(${pe(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):pe(null!=o?o:t.lastResortDefaultValue()),r=ut`var(${pe(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>ut`var(${pe(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ye={colorWhite:he.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:he.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:he.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:he.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:he.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:he.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:he.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:he.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:he.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:he.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:he.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:he.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:he.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:he.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:he.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:he.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:he.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:he.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:he.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:he.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:he.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:he.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:he.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:he.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:he.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:he.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:he.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:he.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:he.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:he.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:he.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:he.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:he.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:he.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:he.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:he.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:he.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:he.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:he.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:he.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:he.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:he.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:he.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:he.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:he.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:he.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:he.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:he.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:he.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:he.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:he.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:he.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:he.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:he.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:he.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:he.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:he.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:he.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:he.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:he.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:he.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:he.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:he.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:he.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:he.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:he.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:he.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:he.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:he.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:he.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:he.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:he.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:he.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:he.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:he.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:he.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:he.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:he.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:he.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:he.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:he.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:he.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:he.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:he.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:he.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:he.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:he.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:he.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:he.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:he.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:he.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:he.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:he.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:he.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:he.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:he.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:he.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:he.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:he.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:he.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:he.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:he.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:he.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:he.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:he.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:he.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:he.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:he.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:he.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:he.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:he.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:he.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:he.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:he.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:he.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:he.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:he.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:he.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:he.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:he.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:he.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:he.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:he.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:he.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:he.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:he.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:he.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:he.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:he.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:he.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:he.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:he.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:he.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:he.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:he.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:he.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:he.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:he.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:he.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:he.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:he.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:he.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:he.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:he.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:he.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:he.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:he.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:he.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:he.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:he.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:he.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:he.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:he.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:he.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:he.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:he.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:he.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:he.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:he.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:he.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:he.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:he.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:he.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:he.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:he.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:he.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:he.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:he.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:he.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:he.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:he.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:he.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:he.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:he.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:he.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:he.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:he.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:he.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:he.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:he.create("--ft-icon-size-6","","SIZE","48px"),opacity0:he.create("--ft-opacity-0","","NUMBER","0"),opacity8:he.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:he.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:he.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:he.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:he.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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:he.create("--ft-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)"),underline:he.create("--ft-underline","","UNKNOWN","underline")},ge={fontFamily:he.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:he.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:he.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-display-textCase","","UNKNOWN","none")},be={fontFamily:he.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:he.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:he.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},me={fontFamily:he.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:he.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:he.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ve={fontFamily:he.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:he.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:he.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:he.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oe={fontFamily:he.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:he.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:he.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xe={fontFamily:he.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:he.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Se={fontFamily:he.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:he.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},we={fontFamily:he.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:he.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ne={fontFamily:he.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ce={fontFamily:he.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:he.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:he.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ee={fontFamily:he.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:he.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:he.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:he.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:he.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ie={fontFamily:he.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Le={fontFamily:he.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:he.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ue={fontFamily:he.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},We={fontFamily:he.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ke={fontFamily:he.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:he.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:he.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:he.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:he.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:he.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:he.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:he.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:he.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:he.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:he.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:he.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:he.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:he.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:he.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:he.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:he.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:he.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:he.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:he.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:he.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:he.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:he.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:he.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:he.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:he.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:he.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:he.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:he.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ze={display:ge,"title-1":be,"title-2":me,"title-3":ve,"body-1-regular":Oe,"body-1-medium":xe,"body-1-semibold":Se,"body-2-regular":we,"body-2-medium":Ne,"body-2-medium-underline":Ce,"body-2-semibold":Ee,"label-1-medium":Re,"label-1-semibold":Ie,"label-1-bold":Le,"label-2-medium":Ue,"label-2-semibold":We,"label-2-bold":ke,"caption-1-medium":Fe,"caption-1-semibold":Ae,"caption-1-bold":Be,"caption-2-medium":ze,"caption-2-semibold":_e,"caption-2-bold":Pe,"caption-3-medium":Me,"caption-3-semibold":Ke,"caption-3-bold":je},De={backgroundActionPrimary:he.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ye.colorBrand0),backgroundErrorSubtle:he.extend("--ft-background-error-subtle","Used as background of subtle error components.",ye.colorRed10),backgroundInfoSubtle:he.extend("--ft-background-info-subtle","Used as background of subtle information components.",ye.colorCyan10),backgroundWarningSubtle:he.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ye.colorOrange10),backgroundSuccessSubtle:he.extend("--ft-background-success-subtle","Used as background of subtle success components.",ye.colorGreen10),backgroundGlobalSurface:he.extend("--ft-background-global-surface","Used as app background.",ye.colorWhite),backgroundGlobalOnSurface:he.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ye.colorGray10),backgroundGlobalOnSurfaceDark:he.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ye.colorGray30),contentActionPrimary:he.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ye.colorBrand0),contentWarningPrimary:he.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ye.colorOrange200),contentWarningIconOnly:he.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ye.colorOrange0),contentErrorPrimary:he.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ye.colorRed0),contentErrorIconOnly:he.extend("--ft-content-error-icon-only","Used on error status icons alone",ye.colorRed70),contentInfoPrimary:he.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ye.colorCyan200),contentInfoIconOnly:he.extend("--ft-content-info-icon-only","Used on info status icons alone",ye.colorCyan0),contentSuccessPrimary:he.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ye.colorGreen200),contentSuccessIconOnly:he.extend("--ft-content-success-icon-only","Used on success status icons alone",ye.colorGreen0),contentGlobalPrimary:he.extend("--ft-content-global-primary","Used for main content on the page.",ye.colorGray500),contentGlobalSecondary:he.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ye.colorGray200),contentGlobalSubtle:he.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ye.colorGray0),contentGlobalOnColor:he.extend("--ft-content-global-on-color","Used for content on a dominant color.",ye.colorWhite),borderActionPrimary:he.extend("--ft-border-action-primary","Used as border for primary action components.",ye.colorBrand0),borderActionFocusRing:he.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ye.colorCyan0),borderWarningPrimary:he.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ye.colorOrange200),borderWarningSubtle:he.extend("--ft-border-warning-subtle","Used as border for warning components.",ye.colorOrange30),borderSuccessPrimary:he.extend("--ft-border-success-primary","Used as border for success buttons.",ye.colorGreen200),borderSuccessSubtle:he.extend("--ft-border-success-subtle","Used as border for success components.",ye.colorGreen30),borderErrorPrimary:he.extend("--ft-border-error-primary","Used as border for text fields in error states.",ye.colorRed0),borderErrorSubtle:he.extend("--ft-border-error-subtle","Used as border for error components.",ye.colorRed30),borderInfoPrimary:he.extend("--ft-border-info-primary","Used as border for buttons in info color.",ye.colorCyan200),borderInfoSubtle:he.extend("--ft-border-info-subtle","Used as border for information components.",ye.colorCyan30),borderGlobalPrimary:he.extend("--ft-border-global-primary","Used as border for element like input.",ye.colorGray50),borderGlobalSubtle:he.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ye.colorGray30),borderInputPrimary:he.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ye.colorGray80)},He={largeHeight:he.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:he.extend("--ft-button-large-horizontal-padding","",ye.spacing4),largeGap:he.extend("--ft-button-large-gap","",ye.spacing2),largeBorderRadius:he.extend("--ft-button-large-border-radius","",ye.borderRadiusS),largeIconSize:he.extend("--ft-button-large-icon-size","",ye.iconSize3),largeBorderWidth:he.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:he.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:he.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:he.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:he.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:he.extend("--ft-button-small-horizontal-padding","",ye.spacing3),smallGap:he.extend("--ft-button-small-gap","",ye.spacing2),smallBorderRadius:he.extend("--ft-button-small-border-radius","",ye.borderRadiusS),smallIconSize:he.extend("--ft-button-small-icon-size","",ye.iconSize2),smallBorderWidth:he.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:he.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:he.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:he.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:he.extend("--ft-button-primary-background-color","",De.backgroundActionPrimary),primaryColor:he.extend("--ft-button-primary-color","",De.contentGlobalOnColor),primaryIconColor:he.extend("--ft-button-primary-icon-color","",De.contentGlobalOnColor),primaryStateLayerColor:he.extend("--ft-button-primary-state-layer-color","",De.contentGlobalOnColor),primaryHoverStateLayerOpacity:he.extend("--ft-button-primary-hover-state-layer-opacity","",ye.opacity16),primaryFocusStateLayerOpacity:he.extend("--ft-button-primary-focus-state-layer-opacity","",ye.opacity16),primaryActiveStateLayerOpacity:he.extend("--ft-button-primary-active-state-layer-opacity","",ye.opacity24),primaryDisabledComponentOpacity:he.extend("--ft-button-primary-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:he.extend("--ft-button-focus-focus-ring-color","",De.borderActionFocusRing),tertiaryBackgroundColor:he.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:he.extend("--ft-button-tertiary-color","",De.contentActionPrimary),tertiaryIconColor:he.extend("--ft-button-tertiary-icon-color","",De.contentActionPrimary),tertiaryStateLayerColor:he.extend("--ft-button-tertiary-state-layer-color","",De.contentActionPrimary),tertiaryHoverStateLayerOpacity:he.extend("--ft-button-tertiary-hover-state-layer-opacity","",ye.opacity8),tertiaryFocusStateLayerOpacity:he.extend("--ft-button-tertiary-focus-state-layer-opacity","",ye.opacity8),tertiaryActiveStateLayerOpacity:he.extend("--ft-button-tertiary-active-state-layer-opacity","",ye.opacity16),tertiaryDisabledComponentOpacity:he.extend("--ft-button-tertiary-disabled-component-opacity","",ye.opacity40),secondaryBackgroundColor:he.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:he.extend("--ft-button-secondary-color","",De.contentActionPrimary),secondaryIconColor:he.extend("--ft-button-secondary-icon-color","",De.contentActionPrimary),secondaryStateLayerColor:he.extend("--ft-button-secondary-state-layer-color","",De.contentActionPrimary),secondaryHoverStateLayerOpacity:he.extend("--ft-button-secondary-hover-state-layer-opacity","",ye.opacity8),secondaryFocusStateLayerOpacity:he.extend("--ft-button-secondary-focus-state-layer-opacity","",ye.opacity8),secondaryActiveStateLayerOpacity:he.extend("--ft-button-secondary-active-state-layer-opacity","",ye.opacity16),secondaryDisabledComponentOpacity:he.extend("--ft-button-secondary-disabled-component-opacity","",ye.opacity40),secondaryBorderColor:he.extend("--ft-button-secondary-border-color","",De.borderActionPrimary),neutralBackgroundColor:he.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:he.extend("--ft-button-neutral-icon-color","",De.contentGlobalSecondary),neutralColor:he.extend("--ft-button-neutral-color","",De.contentGlobalSecondary),neutralStateLayerColor:he.extend("--ft-button-neutral-state-layer-color","",De.contentGlobalSecondary),neutralHoverStateLayerOpacity:he.extend("--ft-button-neutral-hover-state-layer-opacity","",ye.opacity8),neutralFocusStateLayerOpacity:he.extend("--ft-button-neutral-focus-state-layer-opacity","",ye.opacity8),neutralActiveStateLayerOpacity:he.extend("--ft-button-neutral-active-state-layer-opacity","",ye.opacity16),neutralDisabledComponentOpacity:he.extend("--ft-button-neutral-disabled-component-opacity","",ye.opacity40)},$e={iconSize:he.extend("--ft-banner-icon-size","",ye.iconSize5),borderWidth:he.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:he.extend("--ft-banner-horizontal-padding","",ye.spacing6),verticalPadding:he.extend("--ft-banner-vertical-padding","",ye.spacing6),horizontalSideGap:he.extend("--ft-banner-horizontal-side-gap","",ye.spacing6),horizontalMobileGap:he.extend("--ft-banner-horizontal-mobile-gap","",ye.spacing4),verticalMobileGap:he.extend("--ft-banner-vertical-mobile-gap","",ye.spacing6),horizontalMiddleGap:he.extend("--ft-banner-horizontal-middle-gap","",ye.spacing20),infoBackgroundColor:he.extend("--ft-banner-info-background-color","",De.backgroundInfoSubtle),infoColor:he.extend("--ft-banner-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-banner-info-icon-color","",De.contentInfoIconOnly)},Te={gap:he.extend("--ft-breadcrumb-gap","",ye.spacing1)},Ge={horizontalPadding:he.extend("--ft-page-header-horizontal-padding","",ye.spacing12),verticalPadding:he.extend("--ft-page-header-vertical-padding","",ye.spacing6)},Ve={smallContainerWidth:he.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:he.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:he.extend("--ft-modal-overlay-background-color","",ye.colorGray700),overlayOpacity:he.extend("--ft-modal-overlay-opacity","",ye.opacity40),shadow:he.extend("--ft-modal-shadow","",ye.shadowElevation03),bodyBackgroundColor:he.extend("--ft-modal-body-background-color","",ye.colorWhite),bodyColor:he.extend("--ft-modal-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:he.extend("--ft-modal-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:he.extend("--ft-modal-body-vertical-padding","",ye.spacing6),bodyVerticalGap:he.extend("--ft-modal-body-vertical-gap","",ye.spacing6),containerMargin:he.extend("--ft-modal-container-margin","",ye.spacing3),headerBackgroundColor:he.extend("--ft-modal-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:he.extend("--ft-modal-header-border-color","",De.borderGlobalSubtle),headerColor:he.extend("--ft-modal-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:he.extend("--ft-modal-header-trailing-icon-color","",De.contentGlobalSecondary),headerVerticalPadding:he.extend("--ft-modal-header-vertical-padding","",ye.spacing1),headerRightPadding:he.extend("--ft-modal-header-right-padding","",ye.spacing1),headerLeftPadding:he.extend("--ft-modal-header-left-padding","",ye.spacing6),headerGap:he.extend("--ft-modal-header-gap","",ye.spacing2),headerBorderBottom:he.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:he.extend("--ft-modal-border-radius","",ye.borderRadiusM)},qe={fieldHorizontalPadding:he.extend("--ft-text-input-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-text-input-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-text-input-field-vertical-gap","",ye.spacing05),fieldIconSize:he.extend("--ft-text-input-field-icon-size","",ye.iconSize3),fieldHeight:he.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:he.extend("--ft-text-input-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-text-input-helper-horizontal-gap","",ye.spacing1),helperIconSize:he.extend("--ft-text-input-helper-icon-size","",ye.iconSize2),borderRadius:he.extend("--ft-text-input-border-radius","",ye.borderRadiusM),backgroundColor:he.extend("--ft-text-input-background-color","",ye.colorWhite),contentValueColor:he.extend("--ft-text-input-content-value-color","",De.contentGlobalPrimary),trailingIconColor:he.extend("--ft-text-input-trailing-icon-color","",De.contentGlobalSubtle),labelColor:he.extend("--ft-text-input-label-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-text-input-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-text-input-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:he.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:he.extend("--ft-text-input-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-text-input-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:he.extend("--ft-text-input-error-helper-icon-color","",De.contentErrorIconOnly),warningBorderWidth:he.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:he.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-text-input-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-text-input-disabled-component-opacity","",ye.opacity40)},Ye={backgroundColor:he.extend("--ft-text-area-background-color","",ye.colorWhite),contentValueColor:he.extend("--ft-text-area-content-value-color","",De.contentGlobalPrimary),labelColor:he.extend("--ft-text-area-label-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-text-area-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-text-area-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:he.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:he.extend("--ft-text-area-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-text-area-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:he.extend("--ft-text-area-error-helper-icon-color","",De.contentErrorIconOnly),focusFocusRingColor:he.extend("--ft-text-area-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:he.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:he.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-text-area-disabled-component-opacity","",ye.opacity40),fieldHorizontalLeftPadding:he.extend("--ft-text-area-field-horizontal-left-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-text-area-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-text-area-field-vertical-gap","",ye.spacing05),fieldMinHeight:he.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:he.extend("--ft-text-area-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-text-area-helper-horizontal-gap","",ye.spacing1),helperIconSize:he.extend("--ft-text-area-helper-icon-size","",ye.iconSize2),borderRadius:he.extend("--ft-text-area-border-radius","",ye.borderRadiusM)},Je={height:he.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:he.extend("--ft-floating-menu-horizontal-padding","",ye.spacing4),offIconColor:he.extend("--ft-floating-menu-off-icon-color","",De.contentGlobalPrimary),offColor:he.extend("--ft-floating-menu-off-color","",De.contentGlobalPrimary),onColor:he.extend("--ft-floating-menu-on-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-floating-menu-on-state-layer-color","",De.contentActionPrimary),gap:he.extend("--ft-floating-menu-gap","",ye.spacing3),focusFocusRingColor:he.extend("--ft-floating-menu-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:he.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:he.extend("--ft-floating-menu-focus-state-layer-opacity","",ye.opacity8),hoverStateLayerOpacity:he.extend("--ft-floating-menu-hover-state-layer-opacity","",ye.opacity8),activeStateLayerOpacity:he.extend("--ft-floating-menu-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:he.extend("--ft-floating-menu-disabled-component-opacity","",ye.opacity40),iconSize:he.extend("--ft-floating-menu-icon-size","",ye.iconSize3),backgroundColor:he.extend("--ft-floating-menu-background-color","",De.backgroundGlobalOnSurface)},Xe={fieldHorizontalPadding:he.extend("--ft-combobox-single-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-combobox-single-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-combobox-single-select-field-vertical-gap","",ye.spacing05),fieldIconSize:he.extend("--ft-combobox-single-select-field-icon-size","",ye.iconSize3),fieldHeight:he.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:he.extend("--ft-combobox-single-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-combobox-single-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:he.extend("--ft-combobox-single-select-helper-vertical-gap","",ye.spacing1),helperIconSize:he.extend("--ft-combobox-single-select-helper-icon-size","",ye.iconSize2),menuVerticalGap:he.extend("--ft-combobox-single-select-menu-vertical-gap","",ye.spacing2),borderRadius:he.extend("--ft-combobox-single-select-border-radius","",ye.borderRadiusM),backgroundColor:he.extend("--ft-combobox-single-select-background-color","",ye.colorWhite),labelColor:he.extend("--ft-combobox-single-select-label-color","",De.contentGlobalSubtle),contentValueColor:he.extend("--ft-combobox-single-select-content-value-color","",De.contentGlobalPrimary),trailingIconColor:he.extend("--ft-combobox-single-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-combobox-single-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-combobox-single-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:he.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:he.extend("--ft-combobox-single-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-combobox-single-select-error-helper-text-color","",De.contentErrorPrimary),warningBorderWidth:he.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:he.extend("--ft-combobox-single-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:he.extend("--ft-combobox-single-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:he.extend("--ft-combobox-single-select-warning-helper-icon-color","",De.contentWarningIconOnly),focusOutlineWidth:he.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-combobox-single-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-combobox-single-select-disabled-component-opacity","",ye.opacity40)},Qe={backgroundColor:he.extend("--ft-combobox-multi-select-background-color","",ye.colorWhite),labelColor:he.extend("--ft-combobox-multi-select-label-color","",De.contentGlobalSubtle),trailingIconColor:he.extend("--ft-combobox-multi-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:he.extend("--ft-combobox-multi-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:he.extend("--ft-combobox-multi-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:he.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:he.extend("--ft-combobox-multi-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:he.extend("--ft-combobox-multi-select-error-helper-text-color","",De.contentErrorPrimary),errorHelperIcon:he.extend("--ft-combobox-multi-select-error-helper-icon","",De.contentErrorIconOnly),errorBorderWidth:he.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:he.extend("--ft-combobox-multi-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:he.extend("--ft-combobox-multi-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:he.extend("--ft-combobox-multi-select-warning-helper-icon-color","",De.contentWarningIconOnly),warningBorderWidth:he.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-combobox-multi-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:he.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:he.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:he.extend("--ft-combobox-multi-select-disabled-component-opacity","",ye.opacity40),helperHorizontalPadding:he.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:he.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:he.extend("--ft-combobox-multi-select-helper-vertical-gap","",ye.spacing1),helperIconSize:he.extend("--ft-combobox-multi-select-helper-icon-size","",ye.iconSize2),fieldHorizontalPadding:he.extend("--ft-combobox-multi-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:he.extend("--ft-combobox-multi-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:he.extend("--ft-combobox-multi-select-field-vertical-gap","",ye.spacing05),fieldIconSize:he.extend("--ft-combobox-multi-select-field-icon-size","",ye.iconSize3),fieldMaxHeight:he.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:he.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ye.spacing1),contentValuesVerticalGap:he.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ye.spacing1),borderRadius:he.extend("--ft-combobox-multi-select-border-radius","",ye.borderRadiusM)},tr={backgroundColor:he.extend("--ft-popover-background-color","",De.backgroundGlobalOnSurface),horizontalPadding:he.extend("--ft-popover-horizontal-padding","",ye.spacing6),verticalPadding:he.extend("--ft-popover-vertical-padding","",ye.spacing6),iconColor:he.extend("--ft-popover-icon-color","",De.contentGlobalSecondary),iconSize:he.extend("--ft-popover-icon-size","",ye.iconSize2),titleColor:he.extend("--ft-popover-title-color","",De.contentGlobalPrimary),bodyColor:he.extend("--ft-popover-body-color","",De.contentGlobalSecondary),linkColor:he.extend("--ft-popover-link-color","",De.contentActionPrimary),gap:he.extend("--ft-popover-gap","",ye.spacing3),borderRadius:he.extend("--ft-popover-border-radius","",ye.borderRadiusM),shadow:he.extend("--ft-popover-shadow","",ye.shadowElevation02)},or={topLeftBorderRadius:he.extend("--ft-tabs-top-left-border-radius","",ye.borderRadiusS),topRightBorderRadius:he.extend("--ft-tabs-top-right-border-radius","",ye.borderRadiusS),labelHorizontalPadding:he.extend("--ft-tabs-label-horizontal-padding","",ye.spacing4),labelVerticalPadding:he.extend("--ft-tabs-label-vertical-padding","",ye.spacing3),labelGap:he.extend("--ft-tabs-label-gap","",ye.spacing1),offHoverStateLayerOpacity:he.extend("--ft-tabs-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:he.extend("--ft-tabs-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:he.extend("--ft-tabs-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:he.extend("--ft-tabs-off-disabled-component-opacity","",ye.opacity40),offColor:he.extend("--ft-tabs-off-color","",De.contentGlobalSubtle),offStateLayerColor:he.extend("--ft-tabs-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:he.extend("--ft-tabs-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:he.extend("--ft-tabs-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:he.extend("--ft-tabs-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:he.extend("--ft-tabs-on-disabled-component-opacity","",ye.opacity40),onColor:he.extend("--ft-tabs-on-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-tabs-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:he.extend("--ft-tabs-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:he.extend("--ft-tabs-icon-vertical-padding","",ye.spacing4),focusOutlineWidth:he.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-tabs-focus-focus-ring-color","",De.borderActionFocusRing)},er={hoverStateLayerOpacity:he.extend("--ft-collapsible-hover-state-layer-opacity","",ye.opacity8),focusStateLayerOpacity:he.extend("--ft-collapsible-focus-state-layer-opacity","",ye.opacity8),focusOutlineWidth:he.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:he.extend("--ft-collapsible-focus-focus-ring-color","",De.borderActionFocusRing),activeStateLayerOpacity:he.extend("--ft-collapsible-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:he.extend("--ft-collapsible-disabled-component-opacity","",ye.opacity40),horizontalPadding:he.extend("--ft-collapsible-horizontal-padding","",ye.spacing4),verticalPadding:he.extend("--ft-collapsible-vertical-padding","",ye.spacing3),color:he.extend("--ft-collapsible-color","",De.contentGlobalPrimary),stateLayerColor:he.extend("--ft-collapsible-state-layer-color","",De.contentGlobalPrimary),backgroundColor:he.extend("--ft-collapsible-background-color","",De.backgroundGlobalOnSurface),borderColor:he.extend("--ft-collapsible-border-color","",De.borderGlobalSubtle),iconSize:he.extend("--ft-collapsible-icon-size","",ye.iconSize3)},rr={groupHorizontalPadding:he.extend("--ft-switch-group-horizontal-padding","",ye.spacing1),groupVerticalPadding:he.extend("--ft-switch-group-vertical-padding","",ye.spacing1),groupGap:he.extend("--ft-switch-group-gap","",ye.spacing1),groupBackgroundColor:he.extend("--ft-switch-group-background-color","",De.backgroundGlobalSurface),groupBorderColor:he.extend("--ft-switch-group-border-color","",De.borderGlobalSubtle),groupBorderRadius:he.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:he.extend("--ft-switch-label-horizontal-padding","",ye.spacing2),labelVerticalPadding:he.extend("--ft-switch-label-vertical-padding","",ye.spacing1),offHoverStateLayerOpacity:he.extend("--ft-switch-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:he.extend("--ft-switch-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:he.extend("--ft-switch-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:he.extend("--ft-switch-off-disabled-component-opacity","",ye.opacity40),offColor:he.extend("--ft-switch-off-color","",De.contentGlobalSubtle),offStateLayerColor:he.extend("--ft-switch-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:he.extend("--ft-switch-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:he.extend("--ft-switch-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:he.extend("--ft-switch-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:he.extend("--ft-switch-on-disabled-component-opacity","",ye.opacity40),onColor:he.extend("--ft-switch-on-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-switch-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:he.extend("--ft-switch-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:he.extend("--ft-switch-icon-vertical-padding","",ye.spacing1),focusOutlineWidth:he.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:he.extend("--ft-switch-focus-focus-ring-color","",De.borderActionFocusRing),optionBorderRadius:he.extend("--ft-switch-option-border-radius","",ye.borderRadiusS)},nr={color1Light:he.extend("--ft-chart-1-light","for area color charts",ye.colorBrand40),color1Base:he.extend("--ft-chart-1-base","for line charts",ye.colorBrand0),color2Light:he.extend("--ft-chart-2-light","for area color charts",ye.colorYellow60),color2Base:he.extend("--ft-chart-2-base","for line charts",ye.colorYellow100),color3Light:he.extend("--ft-chart-3-light","",ye.colorUltramarine40),color3Base:he.extend("--ft-chart-3-base","",ye.colorUltramarine70),color4Light:he.extend("--ft-chart-4-light","",ye.colorCyan50),color4Base:he.extend("--ft-chart-4-base","",ye.colorCyan100),color5Light:he.extend("--ft-chart-5-light","",ye.colorRed40),color5Base:he.extend("--ft-chart-5-base","",ye.colorRed60),color6Light:he.extend("--ft-chart-6-light","",ye.colorGreen40),color6Base:he.extend("--ft-chart-6-base","",ye.colorGreen70),color7Light:he.extend("--ft-chart-7-light","",ye.colorOrange70),color7Base:he.extend("--ft-chart-7-base","",ye.colorOrange100),color8Light:he.extend("--ft-chart-8-light","",ye.colorAvocado70),color8Base:he.extend("--ft-chart-8-base","",ye.colorAvocado200),color9Light:he.extend("--ft-chart-9-light","",ye.colorBrown50),color9Base:he.extend("--ft-chart-9-base","",ye.colorBrown200),color10Light:he.extend("--ft-chart-10-light","",ye.colorGray50),color10Base:he.extend("--ft-chart-10-base","",ye.colorGray80),monochrome10:he.extend("--ft-chart-monochrome-10","",ye.colorBrand10),monochrome20:he.extend("--ft-chart-monochrome-20","",ye.colorBrand20),monochrome30:he.extend("--ft-chart-monochrome-30","",ye.colorBrand40),monochrome40:he.extend("--ft-chart-monochrome-40","",ye.colorBrand60),monochrome50:he.extend("--ft-chart-monochrome-50","",ye.colorBrand0),monochrome60:he.extend("--ft-chart-monochrome-60","",ye.colorBrand200)},ir={largeHorizontalPadding:he.extend("--ft-chip-large-horizontal-padding","",ye.spacing4),largeVerticalPadding:he.extend("--ft-chip-large-vertical-padding","",ye.spacing2),largeGap:he.extend("--ft-chip-large-gap","",ye.spacing1),largeFocusOutlineOffset:he.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:he.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:he.extend("--ft-chip-large-border-radius","",ye.borderRadiusPill),largeBorderWidth:he.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:he.extend("--ft-chip-large-icon-size","",ye.iconSize3),mediumHorizontalPadding:he.extend("--ft-chip-medium-horizontal-padding","",ye.spacing3),mediumVerticalPadding:he.extend("--ft-chip-medium-vertical-padding","",ye.spacing1),mediumGap:he.extend("--ft-chip-medium-gap","",ye.spacing1),mediumFocusOutlineOffset:he.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:he.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:he.extend("--ft-chip-medium-border-radius","",ye.borderRadiusPill),mediumBorderWidth:he.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:he.extend("--ft-chip-medium-icon-size","",ye.iconSize2),smallHorizontalPadding:he.extend("--ft-chip-small-horizontal-padding","",ye.spacing2),smallVerticalPadding:he.extend("--ft-chip-small-vertical-padding","",ye.spacing05),smallGap:he.extend("--ft-chip-small-gap","",ye.spacing1),smallFocusOutlineOffset:he.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:he.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:he.extend("--ft-chip-small-border-radius","",ye.borderRadiusPill),smallBorderWidth:he.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:he.extend("--ft-chip-small-icon-size","",ye.iconSize1),neutralBackgroundColor:he.extend("--ft-chip-neutral-background-color","",De.backgroundGlobalOnSurface),neutralColor:he.extend("--ft-chip-neutral-color","",De.contentGlobalPrimary),neutralIconColor:he.extend("--ft-chip-neutral-icon-color","",De.contentGlobalPrimary),neutralBorderColor:he.extend("--ft-chip-neutral-border-color","",De.borderGlobalSubtle),infoBackgroundColor:he.extend("--ft-chip-info-background-color","",De.backgroundInfoSubtle),infoColor:he.extend("--ft-chip-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-chip-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:he.extend("--ft-chip-info-border-color","",De.borderInfoSubtle),successBackgroundColor:he.extend("--ft-chip-success-background-color","",De.backgroundSuccessSubtle),successColor:he.extend("--ft-chip-success-color","",De.contentSuccessPrimary),successIconColor:he.extend("--ft-chip-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:he.extend("--ft-chip-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:he.extend("--ft-chip-warning-background-color","",De.backgroundWarningSubtle),warningColor:he.extend("--ft-chip-warning-color","",De.contentWarningPrimary),warningIconColor:he.extend("--ft-chip-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:he.extend("--ft-chip-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:he.extend("--ft-chip-error-background-color","",De.backgroundErrorSubtle),errorColor:he.extend("--ft-chip-error-color","",De.contentErrorPrimary),errorIconColor:he.extend("--ft-chip-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:he.extend("--ft-chip-error-border-color","",De.borderErrorSubtle)},ar={infoBorderColor:he.extend("--ft-border-info-border-color","",De.borderInfoSubtle)},sr={borderWidth:he.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:he.extend("--ft-notice-horizontal-padding","",ye.spacing2),verticalPadding:he.extend("--ft-notice-vertical-padding","",ye.spacing1),borderRadius:he.extend("--ft-notice-border-radius","",ye.borderRadiusS),gap:he.extend("--ft-notice-gap","",ye.spacing2),iconSize:he.extend("--ft-notice-icon-size","",ye.iconSize3),infoBackgroundColor:he.extend("--ft-notice-info-background-color","",De.backgroundInfoSubtle),infoBorderColor:he.extend("--ft-notice-info-border-color","",De.borderInfoSubtle),infoColor:he.extend("--ft-notice-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-notice-info-icon-color","",De.contentInfoIconOnly),warningBackgroundColor:he.extend("--ft-notice-warning-background-color","",De.backgroundWarningSubtle),warningBorderColor:he.extend("--ft-notice-warning-border-color","",De.borderWarningSubtle),warningColor:he.extend("--ft-notice-warning-color","",De.contentWarningPrimary),warningIconColor:he.extend("--ft-notice-warning-icon-color","",De.contentWarningIconOnly)},cr={color:he.extend("--ft-checkbox-color","",De.contentGlobalPrimary),checkedBackgroundColor:he.extend("--ft-checkbox-checked-background-color","",De.contentActionPrimary),checkedStateLayerColor:he.extend("--ft-checkbox-checked-state-layer-color","",De.contentActionPrimary),checkedIconColor:he.extend("--ft-checkbox-checked-icon-color","",De.contentGlobalOnColor),checkedHoverStateLayerOpacity:he.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ye.opacity16),checkedFocusStateLayerOpacity:he.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ye.opacity16),checkedActiveStateLayerOpacity:he.extend("--ft-checkbox-checked-active-state-layer-opacity","",ye.opacity24),checkedDisabledComponentOpacity:he.extend("--ft-checkbox-checked-disabled-component-opacity","",ye.opacity40),uncheckedBorderColor:he.extend("--ft-checkbox-unchecked-border-color","",ye.colorGray80),uncheckedStateLayerColor:he.extend("--ft-checkbox-unchecked-state-layer-color","",ye.colorGray80),uncheckedHoverStateLayerOpacity:he.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ye.opacity16),uncheckedFocusStateLayerOpacity:he.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ye.opacity16),uncheckedActiveStateLayerOpacity:he.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ye.opacity24),uncheckedDisabledComponentOpacity:he.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:he.extend("--ft-checkbox-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:he.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:he.extend("--ft-checkbox-gap","",ye.spacing3)},lr={offHoverStateLayerOpacity:he.extend("--ft-toggle-off-hover-state-layer-opacity","",ye.opacity16),offFocusStateLayerOpacity:he.extend("--ft-toggle-off-focus-state-layer-opacity","",ye.opacity16),offActiveStateLayerOpacity:he.extend("--ft-toggle-off-active-state-layer-opacity","",ye.opacity24),offDisabledComponentOpacity:he.extend("--ft-toggle-off-disabled-component-opacity","",ye.opacity40),offBackgroundColor:he.extend("--ft-toggle-off-background-color","",De.contentGlobalSubtle),offIconColor:he.extend("--ft-toggle-off-icon-color","",De.contentGlobalSubtle),offStateLayerColor:he.extend("--ft-toggle-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:he.extend("--ft-toggle-on-hover-state-layer-opacity","",ye.opacity16),onFocusStateLayerOpacity:he.extend("--ft-toggle-on-focus-state-layer-opacity","",ye.opacity16),onActiveStateLayerOpacity:he.extend("--ft-toggle-on-active-state-layer-opacity","",ye.opacity24),onDisabledComponentOpacity:he.extend("--ft-toggle-on-disabled-component-opacity","",ye.opacity40),onBackgroundColor:he.extend("--ft-toggle-on-background-color","",De.contentActionPrimary),onStateLayerColor:he.extend("--ft-toggle-on-state-layer-color","",De.contentActionPrimary),onIconColor:he.extend("--ft-toggle-on-icon-color","",De.contentActionPrimary),color:he.extend("--ft-toggle-color","",De.contentGlobalPrimary),focusFocusRingColor:he.extend("--ft-toggle-focus-focus-ring-color","",De.borderActionFocusRing),gap:he.extend("--ft-toggle-gap","",ye.spacing3)},fr={color:he.extend("--ft-radio-color","",De.contentGlobalPrimary),selectedRadioColor:he.extend("--ft-radio-selected-radio-color","",De.contentActionPrimary),selectedStateLayerColor:he.extend("--ft-radio-selected-state-layer-color","",De.contentActionPrimary),selectedHoverStateLayerOpacity:he.extend("--ft-radio-selected-hover-state-layer-opacity","",ye.opacity16),selectedFocusStateLayerOpacity:he.extend("--ft-radio-selected-focus-state-layer-opacity","",ye.opacity16),selectedActiveStateLayerOpacity:he.extend("--ft-radio-selected-active-state-layer-opacity","",ye.opacity24),selectedDisabledComponentOpacity:he.extend("--ft-radio-selected-disabled-component-opacity","",ye.opacity40),unselectedStateLayerColor:he.extend("--ft-radio-unselected-state-layer-color","",De.borderInputPrimary),unselectedBorderColor:he.extend("--ft-radio-unselected-border-color","",De.borderInputPrimary),unselectedHoverStateLayerOpacity:he.extend("--ft-radio-unselected-hover-state-layer-opacity","",ye.opacity16),unselectedFocusStateLayerOpacity:he.extend("--ft-radio-unselected-focus-state-layer-opacity","",ye.opacity16),unselectedActiveStateLayerOpacity:he.extend("--ft-radio-unselected-active-state-layer-opacity","",ye.opacity24),unselectedDisabledComponentOpacity:he.extend("--ft-radio-unselected-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:he.extend("--ft-radio-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:he.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:he.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:he.extend("--ft-radio-gap","",ye.spacing3)},ur={iconSize:he.extend("--ft-notification-icon-size","",ye.iconSize4),horizontalPadding:he.extend("--ft-notification-horizontal-padding","",ye.spacing4),verticalPadding:he.extend("--ft-notification-vertical-padding","",ye.spacing4),infoBackgroundColor:he.extend("--ft-notification-info-background-color","",De.backgroundInfoSubtle),infoColor:he.extend("--ft-notification-info-color","",De.contentInfoPrimary),infoIconColor:he.extend("--ft-notification-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:he.extend("--ft-notification-info-border-color","",De.borderInfoSubtle),successBackgroundColor:he.extend("--ft-notification-success-background-color","",De.backgroundSuccessSubtle),successColor:he.extend("--ft-notification-success-color","",De.contentSuccessPrimary),successIconColor:he.extend("--ft-notification-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:he.extend("--ft-notification-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:he.extend("--ft-notification-warning-background-color","",De.backgroundWarningSubtle),warningColor:he.extend("--ft-notification-warning-color","",De.contentWarningPrimary),warningIconColor:he.extend("--ft-notification-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:he.extend("--ft-notification-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:he.extend("--ft-notification-error-background-color","",De.backgroundErrorSubtle),errorColor:he.extend("--ft-notification-error-color","",De.contentErrorPrimary),errorIconColor:he.extend("--ft-notification-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:he.extend("--ft-notification-error-border-color","",De.borderErrorSubtle),borderRadius:he.extend("--ft-notification-border-radius","",ye.borderRadiusPill),borderWidth:he.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:he.extend("--ft-notification-leading-gap","",ye.spacing2),trailingGap:he.extend("--ft-notification-trailing-gap","",ye.spacing8)},dr={horizontalPadding:he.extend("--ft-tooltip-horizontal-padding","",ye.spacing2),verticalPadding:he.extend("--ft-tooltip-vertical-padding","",ye.spacing2),borderRadius:he.extend("--ft-tooltip-border-radius","",ye.borderRadiusS),color:he.extend("--ft-tooltip-color","",De.contentGlobalOnColor),backgroundColor:he.extend("--ft-tooltip-background-color","",De.contentGlobalPrimary),backgroundOpacity:he.extend("--ft-tooltip-background-opacity","",ye.opacity80),shadow:he.extend("--ft-tooltip-shadow","",ye.shadowElevation03),maxWidth:he.create("--ft-tooltip-max-width","","SIZE","256px"),gap:he.extend("--ft-tooltip-gap","",ye.spacing05)};var pr=Object.freeze({__proto__:null,FtCssVariableFactory:he,banner:$e,border:ar,breadcrumb:Te,button:He,chart:nr,checkbox:cr,chip:ir,collapsible:er,comboboxMultiSelect:Qe,comboboxSingleSelect:Xe,floatingMenu:Je,foundation:ye,modal:Ve,notice:sr,notification:ur,pageHeader:Ge,popover:tr,radio:fr,semantic:De,setVariable:function(t,o){return pe(`${t.name}: ${o}`)},switch_:rr,tabs:or,textArea:Ye,textInput:qe,toggle:lr,tooltip:dr,typographies:Ze,typographyBody1Medium:xe,typographyBody1Regular:Oe,typographyBody1Semibold:Se,typographyBody2Medium:Ne,typographyBody2MediumUnderline:Ce,typographyBody2Regular:we,typographyBody2Semibold:Ee,typographyCaption1Bold:Be,typographyCaption1Medium:Fe,typographyCaption1Semibold:Ae,typographyCaption2Bold:Pe,typographyCaption2Medium:ze,typographyCaption2Semibold:_e,typographyCaption3Bold:je,typographyCaption3Medium:Me,typographyCaption3Semibold:Ke,typographyDisplay:ge,typographyLabel1Bold:Le,typographyLabel1Medium:Re,typographyLabel1Semibold:Ie,typographyLabel2Bold:ke,typographyLabel2Medium:Ue,typographyLabel2Semibold:We,typographyTitle1:be,typographyTitle2:me,typographyTitle3:ve,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const hr={colorPrimary:he.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:he.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:he.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:he.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:he.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:he.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:he.create("--ft-color-error","","COLOR","#B00020"),colorOutline:he.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:he.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:he.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:he.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:he.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:he.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:he.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:he.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:he.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:he.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:he.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:he.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:he.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:he.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:he.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:he.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:he.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:he.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:he.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:he.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:he.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:he.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:he.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:he.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:he.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:he.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:he.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:he.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:he.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:he.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:he.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:he.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:he.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:he.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:he.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:he.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:he.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:he.create("--ft-elevation-00","","UNKNOWN","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:he.create("--ft-elevation-01","","UNKNOWN","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:he.create("--ft-elevation-02","","UNKNOWN","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:he.create("--ft-elevation-03","","UNKNOWN","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:he.create("--ft-elevation-04","","UNKNOWN","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:he.create("--ft-elevation-06","","UNKNOWN","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:he.create("--ft-elevation-08","","UNKNOWN","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:he.create("--ft-elevation-12","","UNKNOWN","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:he.create("--ft-elevation-16","","UNKNOWN","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:he.create("--ft-elevation-24","","UNKNOWN","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:he.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:he.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:he.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:he.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:he.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:he.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:he.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:he.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var yr=Object.freeze({__proto__:null,designSystemVariables:hr});class gr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class br extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class mr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var vr=Object.freeze({__proto__:null,FtNotificationEvent:gr,PostResizeEvent:mr,PreResizeEvent:br});const Or=["start","end"],xr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Or[0],o+"-"+Or[1])),[]),Sr=Math.min,wr=Math.max,Nr=Math.round,Cr=t=>({x:t,y:t}),Er={left:"right",right:"left",bottom:"top",top:"bottom"},Rr={start:"end",end:"start"};function Ir(t,o,e){return wr(t,Sr(o,e))}function Lr(t,o){return"function"==typeof t?t(o):t}function Ur(t){return t.split("-")[0]}function Wr(t){return t.split("-")[1]}function kr(t){return"x"===t?"y":"x"}function Fr(t){return"y"===t?"height":"width"}function Ar(t){return["top","bottom"].includes(Ur(t))?"y":"x"}function Br(t){return kr(Ar(t))}function zr(t){return t.replace(/left|right|bottom|top/g,(t=>Er[t]))}function _r(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pr(t,o,e){let{reference:r,floating:n}=t;const i=Ar(o),a=Br(o),s=Fr(a),c=Ur(o),l="y"===i,f=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2,d=r[s]/2-n[s]/2;let p;switch(c){case"top":p={x:f,y:r.y-n.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-n.width,y:u};break;default:p={x:r.x,y:r.y}}switch(Wr(o)){case"start":p[a]-=d*(e&&l?-1:1);break;case"end":p[a]+=d*(e&&l?-1:1)}return p}async function Mr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=Lr(o,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(p),y=s[d?"floating"===u?"reference":"floating":u],g=_r(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===u?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=_r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+h.top)/v.y,bottom:(O.bottom-g.bottom+h.bottom)/v.y,left:(g.left-O.left+h.left)/v.x,right:(O.right-g.right+h.right)/v.x}}function Kr(t,o,e){return(t?[...e.filter((o=>Wr(o)===t)),...e.filter((o=>Wr(o)!==t))]:e.filter((t=>Ur(t)===t))).filter((e=>!t||(Wr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Rr[t]))}(e)!==e)))}const jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=o,{crossAxis:f=!1,alignment:u,allowedPlacements:d=xr,autoAlignment:p=!0,...h}=Lr(t,o),y=void 0!==u||d===xr?Kr(u||null,p,d):d,g=await Mr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Wr(t),n=Br(t),i=Fr(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=zr(a)),[a,zr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Ur(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:x},reset:{placement:S}};const w=x.map((t=>{const o=Wr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,Wr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:x},reset:{placement:C}}:{}}}};function Zr(t){return $r(t)?(t.nodeName||"").toLowerCase():"#document"}function Dr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Hr(t){var o;return null==(o=($r(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function $r(t){return t instanceof Node||t instanceof Dr(t).Node}function Tr(t){return t instanceof Element||t instanceof Dr(t).Element}function Gr(t){return t instanceof HTMLElement||t instanceof Dr(t).HTMLElement}function Vr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Dr(t).ShadowRoot)}function qr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=tn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Yr(t){return["table","td","th"].includes(Zr(t))}function Jr(t){const o=Xr(),e=tn(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Xr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qr(t){return["html","body","#document"].includes(Zr(t))}function tn(t){return Dr(t).getComputedStyle(t)}function on(t){return Tr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function en(t){if("html"===Zr(t))return t;const o=t.assignedSlot||t.parentNode||Vr(t)&&t.host||Hr(t);return Vr(o)?o.host:o}function rn(t){const o=en(t);return Qr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Gr(o)&&qr(o)?o:rn(o)}function nn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=rn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Dr(n);return i?o.concat(a,a.visualViewport||[],qr(n)?n:[],a.frameElement&&e?nn(a.frameElement):[]):o.concat(n,nn(n,[],e))}function an(t){const o=tn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Gr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,s=Nr(e)!==i||Nr(r)!==a;return s&&(e=i,r=a),{width:e,height:r,$:s}}function sn(t){return Tr(t)?t:t.contextElement}function cn(t){const o=sn(t);if(!Gr(o))return Cr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=an(o);let a=(i?Nr(e.width):e.width)/r,s=(i?Nr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ln=Cr(0);function fn(t){const o=Dr(t);return Xr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ln}function un(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=sn(t);let a=Cr(1);o&&(r?Tr(r)&&(a=cn(r)):a=cn(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Dr(t))&&o}(i,e,r)?fn(i):Cr(0);let c=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,f=n.width/a.x,u=n.height/a.y;if(i){const t=Dr(i),o=r&&Tr(r)?Dr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=cn(e),o=e.getBoundingClientRect(),r=tn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,u*=t.y,c+=n,l+=i,e=Dr(e).frameElement}}return _r({width:f,height:u,x:c,y:l})}function dn(t){return un(Hr(t)).left+on(t).scrollLeft}function pn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Dr(t),r=Hr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(n){i=n.width,a=n.height;const t=Xr();(!t||t&&"fixed"===o)&&(s=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:s,y:c}}(t,e);else if("document"===o)r=function(t){const o=Hr(t),e=on(t),r=t.ownerDocument.body,n=wr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=wr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+dn(t);const s=-e.scrollTop;return"rtl"===tn(r).direction&&(a+=wr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Hr(t));else if(Tr(o))r=function(t,o){const e=un(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Gr(t)?cn(t):Cr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=fn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return _r(r)}function hn(t,o){const e=en(t);return!(e===o||!Tr(e)||Qr(e))&&("fixed"===tn(e).position||hn(e,o))}function yn(t,o,e){const r=Gr(o),n=Hr(o),i="fixed"===e,a=un(t,!0,i,o);let s={scrollLeft:0,scrollTop:0};const c=Cr(0);if(r||!r&&!i)if(("body"!==Zr(o)||qr(n))&&(s=on(o)),r){const t=un(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=dn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function gn(t,o){return Gr(t)&&"fixed"!==tn(t).position?o?o(t):t.offsetParent:null}function bn(t,o){const e=Dr(t);if(!Gr(t))return e;let r=gn(t,o);for(;r&&Yr(r)&&"static"===tn(r).position;)r=gn(r,o);return r&&("html"===Zr(r)||"body"===Zr(r)&&"static"===tn(r).position&&!Jr(r))?e:r||function(t){let o=en(t);for(;Gr(o)&&!Qr(o);){if(Jr(o))return o;o=en(o)}return null}(t)||e}const mn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Gr(e),i=Hr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},s=Cr(1);const c=Cr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Zr(e)||qr(i))&&(a=on(e)),Gr(e))){const t=un(e);s=cn(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+c.x,y:o.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Hr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=nn(t,[],!1).filter((t=>Tr(t)&&"body"!==Zr(t))),n=null;const i="fixed"===tn(t).position;let a=i?en(t):t;for(;Tr(a)&&!Qr(a);){const o=tn(a),e=Jr(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||qr(a)&&!e&&hn(t,a))?r=r.filter((t=>t!==a)):n=o,a=en(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],s=i.reduce(((t,e)=>{const r=pn(o,e,n);return t.top=wr(r.top,t.top),t.right=Sr(r.right,t.right),t.bottom=Sr(r.bottom,t.bottom),t.left=wr(r.left,t.left),t}),pn(o,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:bn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||bn,i=this.getDimensions;return{reference:yn(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return an(t)},getScale:cn,isElement:Tr,isRTL:function(t){return"rtl"===tn(t).direction}},vn=(t,o,e)=>{const r=new Map,n={platform:mn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let l=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:u}=Pr(l,r,c),d=r,p={},h=0;for(let e=0;e<s.length;e++){const{name:i,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:u,initialPlacement:r,placement:d,strategy:n,middlewareData:p,rects:l,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,u=null!=b?b:u,p={...p,[i]:{...p[i],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:u}=Pr(l,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:n,middlewareData:p}})(t,o,{...n,platform:i})};function On(t){return function(t){for(let o=t;o;o=xn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=xn(t);o;o=xn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function xn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Sn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return vn(t,o,{platform:{...mn,getOffsetParent:t=>mn.getOffsetParent(t,On)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Lr(r,t),l={x:o,y:e},f=await Mr(t,c),u=Ar(Ur(n)),d=kr(u);let p=l[d],h=l[u];if(i){const t="y"===d?"bottom":"right";p=Ir(p+f["y"===d?"top":"left"],p,p-f[t])}if(a){const t="y"===u?"bottom":"right";h=Ir(h+f["y"===u?"top":"left"],h,h-f[t])}const y=s.fn({...t,[d]:p,[u]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),jr({allowedPlacements:[e]})]});var r}});
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright 2019 Google LLC
|
|
141
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
|
-
*/const wn=window,Nn=wn.ShadowRoot&&(void 0===wn.ShadyCSS||wn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Cn extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Nn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wn.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var En,Rn=Object.freeze({__proto__:null,ScopedRegistryLitElement:Cn}),In=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Ln=Symbol("constructorPrototype"),Un=Symbol("constructorName"),Wn=Symbol("exportpartsDebouncer");class kn extends Cn{constructor(){super(),this[En]=new ee(5),this[Un]=this.constructor.name,this[Ln]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Un]&&Object.setPrototypeOf(this,this[Ln])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Wn].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}En=Wn,In([xo()],kn.prototype,"exportpartsPrefix",void 0),In([fe([])],kn.prototype,"exportpartsPrefixes",void 0),In([xo()],kn.prototype,"customStylesheet",void 0);var Fn=Object.freeze({__proto__:null,FtLitElement:kn}),An=Object.freeze({__proto__:null});class Bn{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const s=()=>{--i<=0&&r(a)};i||s(),n.forEach((t=>{Bn.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),s()}),s)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Bn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,s,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const zn=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new Bn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,s=parseInt(t.start,10)-a;return s=s>i?i:s,r=s+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),s<0||r-s<0||s>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(s,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Bn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>o){if(!r(i.node))return!1;const s=o-i.start,c=(e>i.end?i.end:e)-i.start,l=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,s,c),t.value=l+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const s=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,s,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,s,(e=>o(e,t,n.value.substring(a,s),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):s(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):s(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;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,(t=>{this.unwrapMatches(t)}),(t=>{const e=Bn.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},_n=he.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Pn=ut`
|
|
142
|
+
*/const wn=window,Nn=wn.ShadowRoot&&(void 0===wn.ShadyCSS||wn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Cn extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Nn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wn.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var En,Rn=Object.freeze({__proto__:null,ScopedRegistryLitElement:Cn}),In=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Ln=Symbol("constructorPrototype"),Un=Symbol("constructorName"),Wn=Symbol("exportpartsDebouncer");class kn extends Cn{constructor(){super(),this[En]=new ee(5),this[Un]=this.constructor.name,this[Ln]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Un]&&Object.setPrototypeOf(this,this[Ln])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Wn].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}En=Wn,In([So()],kn.prototype,"exportpartsPrefix",void 0),In([fe([])],kn.prototype,"exportpartsPrefixes",void 0),In([So()],kn.prototype,"customStylesheet",void 0);var Fn=Object.freeze({__proto__:null,FtLitElement:kn}),An=Object.freeze({__proto__:null});class Bn{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const s=()=>{--i<=0&&r(a)};i||s(),n.forEach((t=>{Bn.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),s()}),s)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Bn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,s,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const zn=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new Bn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,s=parseInt(t.start,10)-a;return s=s>i?i:s,r=s+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),s<0||r-s<0||s>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(s,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Bn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>o){if(!r(i.node))return!1;const s=o-i.start,c=(e>i.end?i.end:e)-i.start,l=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,s,c),t.value=l+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const s=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,s,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,s,(e=>o(e,t,n.value.substring(a,s),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):s(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):s(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;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,(t=>{this.unwrapMatches(t)}),(t=>{const e=Bn.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},_n=he.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Pn=ut`
|
|
143
143
|
.highlight-html-match {
|
|
144
144
|
background: ${_n};
|
|
145
145
|
}
|
|
@@ -175,12 +175,12 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
|
|
|
175
175
|
display: inline-block;
|
|
176
176
|
width: 0;
|
|
177
177
|
}
|
|
178
|
-
`;var Hn=Object.freeze({__proto__:null,noTextSelect:jn,safariEllipsisFix:Dn,wordWrap:Zn}),$n=Object.freeze({__proto__:null});class Tn{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}var Gn=Object.freeze({__proto__:null,ParametrizedLabelResolver:Tn});const Vn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!se(t,o),attribute:!1,...o};xo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class qn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Yn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Jn,Xn,Qn;const ti=Symbol("internalReduxEventsUnsubscribers"),oi=Symbol("internalStoresUnsubscribers"),ei=Symbol("internalStores");class ri extends kn{constructor(){super(...arguments),this[Jn]=new Map,this[Xn]=new Map,this[Qn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ei].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ei].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ei].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Yn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[ei].delete(o)}setupStore(t,o){this[ei].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ei].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[oi].has(t.store):this[oi].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[oi].set(t,o.subscribe((()=>this.updateFromStores()))),Yn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[ti].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oi].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ti].forEach((t=>t())),this[ti]=[]}unsubscribeFromStore(t){this[oi].has(t)&&this[oi].get(t)(),this[oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ni(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ii(t){return!!t&&!!t[$i]}function ai(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Ti}(t)||Array.isArray(t)||!!t[Hi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Hi])||di(t)||pi(t))}function si(t,o,e){void 0===e&&(e=!1),0===ci(t)?(e?Object.keys:Gi)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ci(t){var o=t[$i];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:di(t)?2:pi(t)?3:0}function li(t,o){return 2===ci(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function fi(t,o,e){var r=ci(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function ui(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function di(t){return Ki&&t instanceof Map}function pi(t){return ji&&t instanceof Set}function hi(t){return t.o||t.t}function yi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Vi(t);delete o[$i];for(var e=Gi(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function gi(t,o){return void 0===o&&(o=!1),mi(t)||ii(t)||!ai(t)||(ci(t)>1&&(t.set=t.add=t.clear=t.delete=bi),Object.freeze(t),o&&si(t,(function(t,o){return gi(o,!0)}),!0)),t}function bi(){ni(2)}function mi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function vi(t){var o=qi[t];return o||ni(18,t),o}function Oi(){return Pi}function Si(t,o){o&&(vi("Patches"),t.u=[],t.s=[],t.v=o)}function xi(t){wi(t),t.p.forEach(Ci),t.p=null}function wi(t){t===Pi&&(Pi=t.l)}function Ni(t){return Pi={p:[],l:Pi,h:t,m:!0,_:0}}function Ci(t){var o=t[$i];0===o.i||1===o.i?o.j():o.g=!0}function Ei(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||vi("ES5").S(o,t,r),r?(e[$i].P&&(xi(o),ni(4)),ai(t)&&(t=Ri(o,t),o.l||Li(o,t)),o.u&&vi("Patches").M(e[$i].t,t,o.u,o.s)):t=Ri(o,e,[]),xi(o),o.u&&o.v(o.u,o.s),t!==Di?t:void 0}function Ri(t,o,e){if(mi(o))return o;var r=o[$i];if(!r)return si(o,(function(n,i){return Ii(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Li(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=yi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),si(i,(function(o,i){return Ii(t,r,n,o,i,e,a)})),Li(t,n,!1),e&&t.u&&vi("Patches").N(r,e,t.u,t.s)}return r.o}function Ii(t,o,e,r,n,i,a){if(ii(n)){var s=Ri(t,n,i&&o&&3!==o.i&&!li(o.R,r)?i.concat(r):void 0);if(fi(e,r,s),!ii(s))return;t.m=!1}else a&&e.add(n);if(ai(n)&&!mi(n)){if(!t.h.D&&t._<1)return;Ri(t,n),o&&o.A.l||Li(t,n)}}function Li(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&gi(o,e)}function Ui(t,o){var e=t[$i];return(e?hi(e):t)[o]}function Wi(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function ki(t){t.P||(t.P=!0,t.l&&ki(t.l))}function Fi(t){t.o||(t.o=yi(t.t))}function Ai(t,o,e){var r=di(o)?vi("MapSet").F(o,e):pi(o)?vi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Oi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Yi;e&&(n=[r],i=Ji);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):vi("ES5").J(o,e);return(e?e.A:Oi()).p.push(r),r}function Bi(t){return ii(t)||ni(22,t),function t(o){if(!ai(o))return o;var e,r=o[$i],n=ci(o);if(r){if(!r.P&&(r.i<4||!vi("ES5").K(r)))return r.t;r.I=!0,e=zi(o,n),r.I=!1}else e=zi(o,n);return si(e,(function(o,n){r&&function(t,o){return 2===ci(t)?t.get(o):t[o]}(r.t,o)===n||fi(e,o,t(n))})),3===n?new Set(e):e}(t)}function zi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return yi(t)}Jn=oi,Xn=ei,Qn=ti,ri.reduxProperties=new Map,ri.reduxReactiveProperties=new Set,ri.reduxEventListeners=new Map;var _i,Pi,Mi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ki="undefined"!=typeof Map,ji="undefined"!=typeof Set,Zi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Di=Mi?Symbol.for("immer-nothing"):((_i={})["immer-nothing"]=!0,_i),Hi=Mi?Symbol.for("immer-draftable"):"__$immer_draftable",$i=Mi?Symbol.for("immer-state"):"__$immer_state",Ti=""+Object.prototype.constructor,Gi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vi=Object.getOwnPropertyDescriptors||function(t){var o={};return Gi(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},qi={},Yi={get:function(t,o){if(o===$i)return t;var e=hi(t);if(!li(e,o))return function(t,o,e){var r,n=Wi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!ai(r)?r:r===Ui(t.t,o)?(Fi(t),t.o[o]=Ai(t.A.h,r,t)):r},has:function(t,o){return o in hi(t)},ownKeys:function(t){return Reflect.ownKeys(hi(t))},set:function(t,o,e){var r=Wi(hi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=Ui(hi(t),o),i=null==n?void 0:n[$i];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(ui(e,n)&&(void 0!==e||li(t.t,o)))return!0;Fi(t),ki(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Ui(t.t,o)||o in t.t?(t.R[o]=!1,Fi(t),ki(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=hi(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){ni(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ni(12)}},Ji={};si(Yi,(function(t,o){Ji[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Ji.deleteProperty=function(t,o){return Ji.set.call(this,t,o,void 0)},Ji.set=function(t,o,e){return Yi.set.call(this,t[0],o,e,t[0])};var Xi=function(){function t(t){var o=this;this.O=Zi,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&ni(6),void 0!==r&&"function"!=typeof r&&ni(7),ai(t)){var s=Ni(o),c=Ai(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?xi(s):wi(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Si(s,r),Ei(t,s)}),(function(t){throw xi(s),t})):(Si(s,r),Ei(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Di&&(a=void 0),o.D&&gi(a,!0),r){var f=[],u=[];vi("Patches").M(t,a,f,u),r(f,u)}return a}ni(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){ai(t)||ni(8),ii(t)&&(t=Bi(t));var o=Ni(this),e=Ai(this,t,void 0);return e[$i].C=!0,wi(o),e},o.finishDraft=function(t,o){var e=(t&&t[$i]).A;return Si(e,o),Ei(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Zi&&ni(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=vi("Patches").$;return ii(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Qi=new Xi,ta=Qi.produce;function oa(t){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oa(t)}function ea(t){var o=function(t,o){if("object"!==oa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==oa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===oa(o)?o:String(o)}function ra(t,o,e){return(o=ea(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function na(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ia(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?na(Object(e),!0).forEach((function(o){ra(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):na(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function aa(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. "}Qi.produceWithPatches.bind(Qi),Qi.setAutoFreeze.bind(Qi),Qi.setUseProxies.bind(Qi),Qi.applyPatches.bind(Qi),Qi.createDraft.bind(Qi),Qi.finishDraft.bind(Qi);var sa="function"==typeof Symbol&&Symbol.observable||"@@observable",ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},la={INIT:"@@redux/INIT"+ca(),REPLACE:"@@redux/REPLACE"+ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ca()}};function fa(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(aa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(aa(1));return e(fa)(t,o)}if("function"!=typeof t)throw new Error(aa(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(aa(3));return i}function u(t){if("function"!=typeof t)throw new Error(aa(4));if(c)throw new Error(aa(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(aa(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(aa(7));if(void 0===t.type)throw new Error(aa(8));if(c)throw new Error(aa(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:la.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(aa(10));n=t,d({type:la.REPLACE})}})[sa]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(aa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[sa]=function(){return this},t},r}function ua(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:la.INIT}))throw new Error(aa(12));if(void 0===e(void 0,{type:la.PROBE_UNKNOWN_ACTION()}))throw new Error(aa(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(aa(14));n[c]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function da(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function pa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(aa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=da.apply(void 0,i)(e.dispatch),ia(ia({},e),{},{dispatch:r})}}}function ha(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var ya=ha();ya.withExtraArgument=ha;var ga,ba=ya,ma=(ga=function(t,o){return ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},ga(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}ga(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),va=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Oa=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Sa=Object.defineProperty,xa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Ra=function(t,o,e){return o in t?Sa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ia=function(t,o){for(var e in o||(o={}))Ca.call(o,e)&&Ra(t,e,o[e]);if(Na)for(var r=0,n=Na(o);r<n.length;r++){e=n[r];Ea.call(o,e)&&Ra(t,e,o[e])}return t},La=function(t,o){return xa(t,wa(o))},Ua="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?da:da.apply(null,arguments)};var Wa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ma(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array),ka=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ma(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array);function Fa(t){return ai(t)?ta(t,(function(){})):t}function Aa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Wa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ba.withExtraArgument(e.extraArgument)):r.push(ba));return r}(t)}}function Ba(t){var o,e=Aa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,u=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ua(i)}var h=s;"function"==typeof h&&(h=h(e));var y=pa.apply(void 0,h),g=da;l&&(g=Ua(Ia({trace:!1},"object"==typeof l&&l)));var b=new ka(y),m=b;return Array.isArray(p)?m=Oa([y],p):"function"==typeof p&&(m=p(b)),fa(o,u,g.apply(void 0,m))}function za(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return Ia(Ia({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function _a(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Pa(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Fa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?_a(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=Ia(Ia({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?_a(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Fa(t())};else{var l=Fa(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=Oa([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(ii(t))return void 0===(r=e(t,o))?t:r;if(ai(t))return ta(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?za(l,r):za(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Ma=["name","message","stack","code"],Ka=function(t,o){this.payload=t,this.meta=o},ja=function(t,o){this.payload=t,this.meta=o},Za=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ma;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Da(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=za(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:La(Ia({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=za(t+"/pending",(function(t,o,e){return{payload:void 0,meta:La(Ia({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=za(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Za)(t||"Rejected"),meta:La(Ia({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,u=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return va(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(u,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:u,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:u,signal:d.signal,abort:p,rejectWithValue:function(t,o){return new Ka(t,o)},fulfillWithValue:function(t,o){return new ja(t,o)}})).then((function(o){if(o instanceof Ka)throw o;return o instanceof ja?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ka?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Da)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ha="listenerMiddleware";za(Ha+"/add"),za(Ha+"/removeAll"),za(Ha+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[$i];return Yi.get(o,t)},set:function(o){var e=this[$i];Yi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][$i];if(!n.P)switch(n.i){case 5:r(n)&&ki(n);break;case 4:e(n)&&ki(n)}}}function e(t){for(var o=t.t,e=t.k,r=Gi(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==$i){var a=o[i];if(void 0===a&&!li(o,i))return!0;var s=e[i],c=s&&s[$i];if(c?c.t!==a:!ui(s,a))return!0}}var l=!!o[$i];return r.length!==Gi(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){qi[t]||(qi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Vi(e);delete i[$i];for(var a=Gi(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Oi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,$i,{value:i,writable:!0}),n},S:function(t,e,n){n?ii(e)&&e[$i].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[$i];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)si(i,(function(o){o!==$i&&(void 0!==n[o]||li(n,o)?a[o]||t(i[o]):(a[o]=!0,ki(e)))})),si(n,(function(t){void 0!==i[t]||li(i,t)||(a[t]=!1,ki(e))}));else if(5===s){if(r(e)&&(ki(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class $a{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Yn(n))return n;if(null==r)return;const i=Pa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ba({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new $a(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new qn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ta=Object.freeze({__proto__:null,FtCommandQueue:qn,FtLitElementRedux:ri,FtReduxStore:$a,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Yn(o)&&o.clear()},isFtReduxStore:Yn,redux:Vn,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ga=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Va=Symbol("elementInternals");var qa,Ya,Ja,Xa,Qa=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Va].form}constructor(...t){super(t),this[Va]=this.attachInternals(),this[Va].role=o}setFormValue(t){this[Va].setFormValue(t)}}}});const ts=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ja=null===(Ya=null===(qa=window.safari)||void 0===qa?void 0:qa.pushNotification)||void 0===Ya?void 0:Ya.toString())&&void 0!==Ja?Ja:""),os="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Xa=window.ftGlobals)&&void 0!==Xa?Xa:{lit:vo,litDecorators:Co,litRepeat:Po,litClassMap:Ko,litStyleMap:Ho,litUnsafeHTML:Go,wcUtils:{...Qo,...Jo,...oe,...re,...de,...yr,...vr,...xn,...pr,...Fn,...An,...ce,...Kn,...Hn,...$n,...Gn,...Ta,...Rn,...Ga,...Qa,isSafari:ts,isTouchScreen:os}};const es=ut`
|
|
178
|
+
`;var Hn=Object.freeze({__proto__:null,noTextSelect:jn,safariEllipsisFix:Dn,wordWrap:Zn}),$n=Object.freeze({__proto__:null});class Tn{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}var Gn=Object.freeze({__proto__:null,ParametrizedLabelResolver:Tn});const Vn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!se(t,o),attribute:!1,...o};So(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class qn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Yn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Jn,Xn,Qn;const ti=Symbol("internalReduxEventsUnsubscribers"),oi=Symbol("internalStoresUnsubscribers"),ei=Symbol("internalStores");class ri extends kn{constructor(){super(...arguments),this[Jn]=new Map,this[Xn]=new Map,this[Qn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ei].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ei].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ei].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Yn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[ei].delete(o)}setupStore(t,o){this[ei].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ei].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[oi].has(t.store):this[oi].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[oi].set(t,o.subscribe((()=>this.updateFromStores()))),Yn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[ti].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oi].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ti].forEach((t=>t())),this[ti]=[]}unsubscribeFromStore(t){this[oi].has(t)&&this[oi].get(t)(),this[oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ni(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ii(t){return!!t&&!!t[$i]}function ai(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Ti}(t)||Array.isArray(t)||!!t[Hi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Hi])||di(t)||pi(t))}function si(t,o,e){void 0===e&&(e=!1),0===ci(t)?(e?Object.keys:Gi)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ci(t){var o=t[$i];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:di(t)?2:pi(t)?3:0}function li(t,o){return 2===ci(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function fi(t,o,e){var r=ci(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function ui(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function di(t){return Ki&&t instanceof Map}function pi(t){return ji&&t instanceof Set}function hi(t){return t.o||t.t}function yi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Vi(t);delete o[$i];for(var e=Gi(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function gi(t,o){return void 0===o&&(o=!1),mi(t)||ii(t)||!ai(t)||(ci(t)>1&&(t.set=t.add=t.clear=t.delete=bi),Object.freeze(t),o&&si(t,(function(t,o){return gi(o,!0)}),!0)),t}function bi(){ni(2)}function mi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function vi(t){var o=qi[t];return o||ni(18,t),o}function Oi(){return Pi}function xi(t,o){o&&(vi("Patches"),t.u=[],t.s=[],t.v=o)}function Si(t){wi(t),t.p.forEach(Ci),t.p=null}function wi(t){t===Pi&&(Pi=t.l)}function Ni(t){return Pi={p:[],l:Pi,h:t,m:!0,_:0}}function Ci(t){var o=t[$i];0===o.i||1===o.i?o.j():o.g=!0}function Ei(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||vi("ES5").S(o,t,r),r?(e[$i].P&&(Si(o),ni(4)),ai(t)&&(t=Ri(o,t),o.l||Li(o,t)),o.u&&vi("Patches").M(e[$i].t,t,o.u,o.s)):t=Ri(o,e,[]),Si(o),o.u&&o.v(o.u,o.s),t!==Di?t:void 0}function Ri(t,o,e){if(mi(o))return o;var r=o[$i];if(!r)return si(o,(function(n,i){return Ii(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Li(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=yi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),si(i,(function(o,i){return Ii(t,r,n,o,i,e,a)})),Li(t,n,!1),e&&t.u&&vi("Patches").N(r,e,t.u,t.s)}return r.o}function Ii(t,o,e,r,n,i,a){if(ii(n)){var s=Ri(t,n,i&&o&&3!==o.i&&!li(o.R,r)?i.concat(r):void 0);if(fi(e,r,s),!ii(s))return;t.m=!1}else a&&e.add(n);if(ai(n)&&!mi(n)){if(!t.h.D&&t._<1)return;Ri(t,n),o&&o.A.l||Li(t,n)}}function Li(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&gi(o,e)}function Ui(t,o){var e=t[$i];return(e?hi(e):t)[o]}function Wi(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function ki(t){t.P||(t.P=!0,t.l&&ki(t.l))}function Fi(t){t.o||(t.o=yi(t.t))}function Ai(t,o,e){var r=di(o)?vi("MapSet").F(o,e):pi(o)?vi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Oi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Yi;e&&(n=[r],i=Ji);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):vi("ES5").J(o,e);return(e?e.A:Oi()).p.push(r),r}function Bi(t){return ii(t)||ni(22,t),function t(o){if(!ai(o))return o;var e,r=o[$i],n=ci(o);if(r){if(!r.P&&(r.i<4||!vi("ES5").K(r)))return r.t;r.I=!0,e=zi(o,n),r.I=!1}else e=zi(o,n);return si(e,(function(o,n){r&&function(t,o){return 2===ci(t)?t.get(o):t[o]}(r.t,o)===n||fi(e,o,t(n))})),3===n?new Set(e):e}(t)}function zi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return yi(t)}Jn=oi,Xn=ei,Qn=ti,ri.reduxProperties=new Map,ri.reduxReactiveProperties=new Set,ri.reduxEventListeners=new Map;var _i,Pi,Mi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ki="undefined"!=typeof Map,ji="undefined"!=typeof Set,Zi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Di=Mi?Symbol.for("immer-nothing"):((_i={})["immer-nothing"]=!0,_i),Hi=Mi?Symbol.for("immer-draftable"):"__$immer_draftable",$i=Mi?Symbol.for("immer-state"):"__$immer_state",Ti=""+Object.prototype.constructor,Gi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vi=Object.getOwnPropertyDescriptors||function(t){var o={};return Gi(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},qi={},Yi={get:function(t,o){if(o===$i)return t;var e=hi(t);if(!li(e,o))return function(t,o,e){var r,n=Wi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!ai(r)?r:r===Ui(t.t,o)?(Fi(t),t.o[o]=Ai(t.A.h,r,t)):r},has:function(t,o){return o in hi(t)},ownKeys:function(t){return Reflect.ownKeys(hi(t))},set:function(t,o,e){var r=Wi(hi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=Ui(hi(t),o),i=null==n?void 0:n[$i];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(ui(e,n)&&(void 0!==e||li(t.t,o)))return!0;Fi(t),ki(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Ui(t.t,o)||o in t.t?(t.R[o]=!1,Fi(t),ki(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=hi(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){ni(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ni(12)}},Ji={};si(Yi,(function(t,o){Ji[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Ji.deleteProperty=function(t,o){return Ji.set.call(this,t,o,void 0)},Ji.set=function(t,o,e){return Yi.set.call(this,t[0],o,e,t[0])};var Xi=function(){function t(t){var o=this;this.O=Zi,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&ni(6),void 0!==r&&"function"!=typeof r&&ni(7),ai(t)){var s=Ni(o),c=Ai(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?Si(s):wi(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return xi(s,r),Ei(t,s)}),(function(t){throw Si(s),t})):(xi(s,r),Ei(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Di&&(a=void 0),o.D&&gi(a,!0),r){var f=[],u=[];vi("Patches").M(t,a,f,u),r(f,u)}return a}ni(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){ai(t)||ni(8),ii(t)&&(t=Bi(t));var o=Ni(this),e=Ai(this,t,void 0);return e[$i].C=!0,wi(o),e},o.finishDraft=function(t,o){var e=(t&&t[$i]).A;return xi(e,o),Ei(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Zi&&ni(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=vi("Patches").$;return ii(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Qi=new Xi,ta=Qi.produce;function oa(t){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oa(t)}function ea(t){var o=function(t,o){if("object"!==oa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==oa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===oa(o)?o:String(o)}function ra(t,o,e){return(o=ea(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function na(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ia(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?na(Object(e),!0).forEach((function(o){ra(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):na(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function aa(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. "}Qi.produceWithPatches.bind(Qi),Qi.setAutoFreeze.bind(Qi),Qi.setUseProxies.bind(Qi),Qi.applyPatches.bind(Qi),Qi.createDraft.bind(Qi),Qi.finishDraft.bind(Qi);var sa="function"==typeof Symbol&&Symbol.observable||"@@observable",ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},la={INIT:"@@redux/INIT"+ca(),REPLACE:"@@redux/REPLACE"+ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ca()}};function fa(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(aa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(aa(1));return e(fa)(t,o)}if("function"!=typeof t)throw new Error(aa(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(aa(3));return i}function u(t){if("function"!=typeof t)throw new Error(aa(4));if(c)throw new Error(aa(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(aa(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(aa(7));if(void 0===t.type)throw new Error(aa(8));if(c)throw new Error(aa(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:la.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(aa(10));n=t,d({type:la.REPLACE})}})[sa]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(aa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[sa]=function(){return this},t},r}function ua(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:la.INIT}))throw new Error(aa(12));if(void 0===e(void 0,{type:la.PROBE_UNKNOWN_ACTION()}))throw new Error(aa(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(aa(14));n[c]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function da(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function pa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(aa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=da.apply(void 0,i)(e.dispatch),ia(ia({},e),{},{dispatch:r})}}}function ha(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var ya=ha();ya.withExtraArgument=ha;var ga,ba=ya,ma=(ga=function(t,o){return ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},ga(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}ga(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),va=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Oa=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},xa=Object.defineProperty,Sa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Ra=function(t,o,e){return o in t?xa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ia=function(t,o){for(var e in o||(o={}))Ca.call(o,e)&&Ra(t,e,o[e]);if(Na)for(var r=0,n=Na(o);r<n.length;r++){e=n[r];Ea.call(o,e)&&Ra(t,e,o[e])}return t},La=function(t,o){return Sa(t,wa(o))},Ua="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?da:da.apply(null,arguments)};var Wa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ma(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array),ka=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ma(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array);function Fa(t){return ai(t)?ta(t,(function(){})):t}function Aa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Wa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ba.withExtraArgument(e.extraArgument)):r.push(ba));return r}(t)}}function Ba(t){var o,e=Aa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,u=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ua(i)}var h=s;"function"==typeof h&&(h=h(e));var y=pa.apply(void 0,h),g=da;l&&(g=Ua(Ia({trace:!1},"object"==typeof l&&l)));var b=new ka(y),m=b;return Array.isArray(p)?m=Oa([y],p):"function"==typeof p&&(m=p(b)),fa(o,u,g.apply(void 0,m))}function za(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return Ia(Ia({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function _a(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Pa(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Fa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?_a(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=Ia(Ia({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?_a(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Fa(t())};else{var l=Fa(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=Oa([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(ii(t))return void 0===(r=e(t,o))?t:r;if(ai(t))return ta(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?za(l,r):za(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Ma=["name","message","stack","code"],Ka=function(t,o){this.payload=t,this.meta=o},ja=function(t,o){this.payload=t,this.meta=o},Za=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ma;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Da(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=za(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:La(Ia({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=za(t+"/pending",(function(t,o,e){return{payload:void 0,meta:La(Ia({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=za(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Za)(t||"Rejected"),meta:La(Ia({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,u=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return va(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(u,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:u,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:u,signal:d.signal,abort:p,rejectWithValue:function(t,o){return new Ka(t,o)},fulfillWithValue:function(t,o){return new ja(t,o)}})).then((function(o){if(o instanceof Ka)throw o;return o instanceof ja?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ka?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Da)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ha="listenerMiddleware";za(Ha+"/add"),za(Ha+"/removeAll"),za(Ha+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[$i];return Yi.get(o,t)},set:function(o){var e=this[$i];Yi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][$i];if(!n.P)switch(n.i){case 5:r(n)&&ki(n);break;case 4:e(n)&&ki(n)}}}function e(t){for(var o=t.t,e=t.k,r=Gi(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==$i){var a=o[i];if(void 0===a&&!li(o,i))return!0;var s=e[i],c=s&&s[$i];if(c?c.t!==a:!ui(s,a))return!0}}var l=!!o[$i];return r.length!==Gi(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){qi[t]||(qi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Vi(e);delete i[$i];for(var a=Gi(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Oi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,$i,{value:i,writable:!0}),n},S:function(t,e,n){n?ii(e)&&e[$i].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[$i];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)si(i,(function(o){o!==$i&&(void 0!==n[o]||li(n,o)?a[o]||t(i[o]):(a[o]=!0,ki(e)))})),si(n,(function(t){void 0!==i[t]||li(i,t)||(a[t]=!1,ki(e))}));else if(5===s){if(r(e)&&(ki(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class $a{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Yn(n))return n;if(null==r)return;const i=Pa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ba({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new $a(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new qn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ta=Object.freeze({__proto__:null,FtCommandQueue:qn,FtLitElementRedux:ri,FtReduxStore:$a,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Yn(o)&&o.clear()},isFtReduxStore:Yn,redux:Vn,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ga=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Va=Symbol("elementInternals");var qa,Ya,Ja,Xa,Qa=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Va].form}constructor(...t){super(t),this[Va]=this.attachInternals(),this[Va].role=o}setFormValue(t){this[Va].setFormValue(t)}}}});const ts=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ja=null===(Ya=null===(qa=window.safari)||void 0===qa?void 0:qa.pushNotification)||void 0===Ya?void 0:Ya.toString())&&void 0!==Ja?Ja:""),os="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Xa=window.ftGlobals)&&void 0!==Xa?Xa:{lit:vo,litDecorators:Co,litRepeat:Po,litClassMap:Ko,litStyleMap:Ho,litUnsafeHTML:Go,wcUtils:{...Qo,...Jo,...oe,...re,...de,...yr,...vr,...Sn,...pr,...Fn,...An,...ce,...Kn,...Hn,...$n,...Gn,...Ta,...Rn,...Ga,...Qa,isSafari:ts,isTouchScreen:os}};const es=ut`
|
|
179
179
|
`,rs=ut`
|
|
180
180
|
`,ns=$a.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class is{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ns.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?is.build(t):null!==(o=is.API)&&void 0!==o?o:is.API=is.build()}static await(t){return new Promise((o=>{let e=is.get(t);if(e)o(e);else{const r=ns.subscribe((()=>{e=is.get(t),e&&(r(),o(e))}))}}))}}class as{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new Xo,this.cache=t?r.commonCache:new Xo}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:is.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:is.await()}clearCache(){this.cache.clearAll()}}var ss;const cs=Symbol("clearAfterUnitTest");class ls extends as{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ss]=()=>{this.defaultMessages={},this.cache=new Xo,this.listeners={}},this.currentUiLocale=ns.getState().uiLocale,ns.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ns.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};se(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Tn(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ne(0).then((()=>t())).catch((()=>null)))))}}ss=cs,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends ls{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends ls{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const fs=window.FluidTopicsI18nService,us=window.FluidTopicsCustomI18nService;var ds=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class ps extends kn{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>is.get(),this.cache=new Xo,this.cleanSessionDebouncer=new ee}render(){return Yt`
|
|
181
181
|
<slot></slot>
|
|
182
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(ns.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ns.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ns.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ns.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ns.actions.noCustom(this.noCustom),t.has("editorMode")&&ns.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ns.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ns.actions.session(this.session),t.has("availableUiLocales")&&ns.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>fs.addContext(t))),t.has("openExternalDocumentInNewTab")&&ns.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}ps.elementDefinitions={},ps.styles=rs,ds([
|
|
182
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(ns.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ns.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ns.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ns.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ns.actions.noCustom(this.noCustom),t.has("editorMode")&&ns.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ns.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ns.actions.session(this.session),t.has("availableUiLocales")&&ns.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>fs.addContext(t))),t.has("openExternalDocumentInNewTab")&&ns.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}ps.elementDefinitions={},ps.styles=rs,ds([So()],ps.prototype,"baseUrl",void 0),ds([So()],ps.prototype,"apiIntegrationIdentifier",void 0),ds([So()],ps.prototype,"uiLocale",void 0),ds([fe(null)],ps.prototype,"availableUiLocales",void 0),ds([fe(null)],ps.prototype,"metadataConfiguration",void 0),ds([So({type:Boolean})],ps.prototype,"editorMode",void 0),ds([So({type:Boolean})],ps.prototype,"noCustom",void 0),ds([So({type:Boolean})],ps.prototype,"openExternalDocumentInNewTab",void 0),ds([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],ps.prototype,"noCustomComponent",void 0),ds([So({type:Boolean})],ps.prototype,"withManualResources",void 0),ds([fe([])],ps.prototype,"messageContexts",void 0),ds([fe(void 0)],ps.prototype,"session",void 0),ds([So({type:Object})],ps.prototype,"apiProvider",void 0);class hs extends as{async listMySearches(){let t=ns.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class ys extends as{async listMyBookmarks(){let t=ns.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const gs=$a.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ns.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ys,this.savedSearchesService=new hs,ns.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=ns.getState();se(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),gs.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),gs.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();gs.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;gs.actions.bookmarks(o)}}},le("ft-app-context")(ps);var bs=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const ms=Symbol("i18nAttributes"),vs=Symbol("i18nProperties"),Os=Symbol("i18nUnsubs");function xs(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?us:fs}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o,e;null===(o=this[ms])||void 0===o||o.forEach(((o,e)=>{var r;const n=this.getI18nAttributeValue(e);(null===(r=null==n?void 0:n.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,n,o)})),null===(e=this[vs])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[ms])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[vs])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[vs])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[ms])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Os].has(t)||this[Os].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Os].forEach((t=>t())),this[Os].clear()}}return o=Os,bs([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Ss extends(xs(kn)){}class ws extends(xs(ri)){}var Ns=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Cs extends ws{constructor(){super(),this.editorMode=!1,this.addStore(ns)}render(){return this.key&&this.context?Yt`
|
|
183
183
|
<span class="ft-i18n">
|
|
184
184
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
185
185
|
</span>
|
|
186
|
-
`:this.editorMode?"Select a context and a label key.":Qt}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Cs.elementDefinitions={},Cs.styles=es,Ns([Vn()],Cs.prototype,"editorMode",void 0),Ns([
|
|
186
|
+
`:this.editorMode?"Select a context and a label key.":Qt}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Cs.elementDefinitions={},Cs.styles=es,Ns([Vn()],Cs.prototype,"editorMode",void 0),Ns([So()],Cs.prototype,"context",void 0),Ns([So()],Cs.prototype,"key",void 0),Ns([fe([])],Cs.prototype,"args",void 0),Ns([So()],Cs.prototype,"defaultMessage",void 0);class Es{static build(t){return new Es(t)}static fromGwt(t){return new Es(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>fs.resolveMessage(this.name,o,...t)})}}le("ft-i18n")(Cs),t.FtI18n=Cs,t.FtI18nCssVariables={},t.FtLitElementReduxWithI18n=ws,t.FtLitElementWithI18n=Ss,t.I18nMessageContext=Es,t.i18n=(t,o)=>(e,r)=>{var n,i;e.constructor.createProperty(r,null!=o?o:{attribute:!1,type:String});const a={...t,key:null!==(n=t.key)&&void 0!==n?n:r};e[vs]=null!==(i=e[vs])&&void 0!==i?i:new Map,e[vs].set(r,a)},t.i18nAttributes=ms,t.i18nProperties=vs,t.i18nUnsubs=Os,t.styles=es,t.withI18n=xs}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-i18n",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.46",
|
|
4
4
|
"description": "Integrated component that displays internationalized label from a Fluid Topics portal.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-app-context": "1.1.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-app-context": "1.1.46",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.46",
|
|
24
24
|
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "023f346e70fcbd9980c41b0c7ede0c199ca699bc"
|
|
27
27
|
}
|