@fluid-topics/ft-i18n 1.1.32 → 1.1.34
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/decorators/i18n.d.ts +2 -2
- package/build/decorators/i18nAttribute.d.ts +10 -0
- package/build/decorators/i18nAttribute.js +23 -0
- package/build/ft-i18n.js +1 -1
- package/build/ft-i18n.light.js +5 -5
- package/build/ft-i18n.min.js +6 -6
- package/build/generator/I18nMessageContext.d.ts +6 -2
- package/build/lit/i18n.d.ts +6 -3
- package/build/lit/i18n.js +44 -17
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
2
2
|
import { FtLitElementWithI18nInterface } from "../lit/i18n";
|
|
3
|
-
import {
|
|
3
|
+
import { I18nPropertyInit } from "../generator/I18nMessageContext";
|
|
4
4
|
import { PropertyDeclaration } from "@lit/reactive-element";
|
|
5
|
-
export declare const i18n: (init:
|
|
5
|
+
export declare const i18n: (init: I18nPropertyInit, options?: PropertyDeclaration) => (proto: FtLitElementWithI18nInterface & FtLitElement, name: string) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropertyDeclaration } from "@lit/reactive-element";
|
|
2
|
+
import { FtLitElementWithI18nInterface } from "../lit/i18n";
|
|
3
|
+
import { FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
4
|
+
import { I18nAttributeInit } from "../generator/I18nMessageContext";
|
|
5
|
+
export type I18nAttributeValue = {
|
|
6
|
+
context?: string;
|
|
7
|
+
key?: string;
|
|
8
|
+
message?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const i18nAttribute: <E extends FtLitElement = FtLitElement>(init?: I18nAttributeInit<E> | undefined, options?: PropertyDeclaration) => (proto: FtLitElementWithI18nInterface & FtLitElement, name: string) => void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { i18nAttributes } from "../lit/i18n";
|
|
2
|
+
import { deepEqual } from "@fluid-topics/ft-wc-utils";
|
|
3
|
+
export const i18nAttribute = (init, options) => {
|
|
4
|
+
return (proto, name) => {
|
|
5
|
+
var _a;
|
|
6
|
+
proto.constructor.createProperty(name, {
|
|
7
|
+
type: Object,
|
|
8
|
+
hasChanged: (a, b) => !deepEqual(a, b),
|
|
9
|
+
converter: (value) => {
|
|
10
|
+
if (value === null || value === void 0 ? void 0 : value.match(/^[\w-]+\.[\w-]+$/)) {
|
|
11
|
+
const [context, key] = value.split(".");
|
|
12
|
+
return { context, key };
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
return { message: value !== null && value !== void 0 ? value : "" };
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
...options
|
|
19
|
+
});
|
|
20
|
+
proto[i18nAttributes] = (_a = proto[i18nAttributes]) !== null && _a !== void 0 ? _a : new Map();
|
|
21
|
+
proto[i18nAttributes].set(name, (init !== null && init !== void 0 ? init : {}));
|
|
22
|
+
};
|
|
23
|
+
};
|
package/build/ft-i18n.js
CHANGED
|
@@ -29,7 +29,7 @@ class FtI18n extends FtLitElementReduxWithI18n {
|
|
|
29
29
|
update(props) {
|
|
30
30
|
var _a;
|
|
31
31
|
super.update(props);
|
|
32
|
-
if (this.context && this.key) {
|
|
32
|
+
if (["context", "key", "defaultMessage"].some(a => props.has(a)) && this.context && this.key) {
|
|
33
33
|
this.addI18nMessages(this.context, { [this.key]: (_a = this.defaultMessage) !== null && _a !== void 0 ? _a : "" });
|
|
34
34
|
}
|
|
35
35
|
}
|
package/build/ft-i18n.light.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
!function(t,s,
|
|
2
|
-
`,o=
|
|
3
|
-
`,a=
|
|
1
|
+
!function(t,i,s,e){const n=s.css`
|
|
2
|
+
`,o=s.css`
|
|
3
|
+
`,a=i.FtReduxStore.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}});class r{static build(t){const{baseUrl:i,apiIntegrationIdentifier:s}=a.getState(),e=null!=t?t:s;if(i&&e&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(i,e,!0)}static get(t){var i;return null!=t?r.build(t):null!==(i=r.API)&&void 0!==i?i:r.API=r.build()}static await(t){return new Promise((i=>{let s=r.get(t);if(s)i(s);else{const e=a.subscribe((()=>{s=r.get(t),s&&(e(),i(s))}))}}))}}var l;const h=Symbol("clearAfterUnitTest");class u{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={},this.currentUiLocale="",this[l]=()=>{this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={}},this.currentUiLocale=a.getState().uiLocale,a.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=a.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const i=t.name.toLowerCase();this.cache.setFinal(i,t),this.notify(i)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,s){var e;if(t=t.toLowerCase(),Object.keys(s).length>0){const n={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...s};i.deepEqual(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,s,...e){var n,o,a;t=t.toLowerCase(),this.fetchContext(t);const r=null!==(o=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==o?o:{};return new i.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},r).resolve(s,...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,i){var s;return t=t.toLowerCase(),this.listeners[t]=null!==(s=this.listeners[t])&&void 0!==s?s:new Set,this.listeners[t].add(i),()=>{var s;return null===(s=this.listeners[t])||void 0===s?void 0:s.delete(i)}}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=>i.delay(0).then((()=>t())).catch((()=>null)))))}}l=h,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new u((async(t,i)=>(await r.await()).getFluidTopicsMessageContext(t,i)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new u((async(t,i)=>(await r.await()).getCustomMessageContext(t,i))));const d=window.FluidTopicsI18nService,c=window.FluidTopicsCustomI18nService;var v=function(t,i,s,e){for(var n,o=arguments.length,a=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(o<3?n(a):o>3?n(i,s,a):n(i,s))||a);return o>3&&a&&Object.defineProperty(i,s,a),a};class w extends i.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>r.get(),this.cache=new i.CacheRegistry,this.cleanSessionDebouncer=new i.Debouncer}render(){return s.html`
|
|
4
4
|
<slot></slot>
|
|
5
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(a.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&a.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&a.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&a.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&a.actions.noCustom(this.noCustom),t.has("editorMode")&&a.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&a.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&a.actions.session(this.session),t.has("availableUiLocales")&&a.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>
|
|
5
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(a.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&a.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&a.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&a.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&a.actions.noCustom(this.noCustom),t.has("editorMode")&&a.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&a.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&a.actions.session(this.session),t.has("availableUiLocales")&&a.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>d.addContext(t))),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()))}}w.elementDefinitions={},w.styles=o,v([e.property()],w.prototype,"baseUrl",void 0),v([e.property()],w.prototype,"apiIntegrationIdentifier",void 0),v([e.property()],w.prototype,"uiLocale",void 0),v([i.jsonProperty(null)],w.prototype,"availableUiLocales",void 0),v([i.jsonProperty(null)],w.prototype,"metadataConfiguration",void 0),v([e.property({type:Boolean})],w.prototype,"editorMode",void 0),v([e.property({type:Boolean})],w.prototype,"noCustom",void 0),v([e.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],w.prototype,"noCustomComponent",void 0),v([e.property({type:Boolean})],w.prototype,"withManualResources",void 0),v([i.jsonProperty([])],w.prototype,"messageContexts",void 0),v([i.jsonProperty(void 0)],w.prototype,"session",void 0),v([e.property({type:Object})],w.prototype,"apiProvider",void 0);class f{async listMySearches(){var t;return(null===(t=a.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await r.await()).listMySearches(a.getState().session.profile.userId):[]}}const y=new i.CacheRegistry;class p{async listMyBookmarks(){return y.get("bookmarks",(async()=>(await r.await()).listMyBookmarks(a.getState().session.profile.userId)))}clearCache(){y.clear("bookmarks")}}const b=i.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=a.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new p,a.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:s}=a.getState();i.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==s?void 0:s.profile)||(this.currentSession=s,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){b.actions.savedSearches(void 0)}clearMyBookmarks(){b.actions.bookmarks(void 0)}async reloadMySearches(){const t=new f,i=await t.listMySearches();b.actions.savedSearches(i)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const i=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;b.actions.bookmarks(i)}}},i.customElement("ft-app-context")(w);var m=function(t,i,s,e){for(var n,o=arguments.length,a=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(o<3?n(a):o>3?n(i,s,a):n(i,s))||a);return o>3&&a&&Object.defineProperty(i,s,a),a};const g=Symbol("i18nAttributes"),C=Symbol("i18nProperties"),k=Symbol("i18nUnsubs");function x(t){var i;class s extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[i]=new Map}get i18nService(){return this.useCustomMessageContexts?c:d}i18n(t,i,...s){var e;if("string"==typeof t)return this.i18nService.resolveMessage(t,i,...s);const n=null!==(e=t.args)&&void 0!==e?e:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var i,s;null===(i=this[g])||void 0===i||i.forEach(((i,s)=>{var e;const n=this.getI18nAttributeValue(s);(null===(e=null==n?void 0:n.context)||void 0===e?void 0:e.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(s,n,i)})),null===(s=this[C])||void 0===s||s.forEach(((i,s)=>{i.context.toLowerCase()===t.toLowerCase()&&(this[s]=this.i18n(i))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,i,s){this[t]={...i,message:this.i18n({context:i.context,key:i.key,...s})}}update(t){var i,s;super.update(t),null===(i=this[g])||void 0===i||i.forEach(((i,s)=>{const e=this.getI18nAttributeValue(s);(null==e?void 0:e.context)&&e.key&&(t.has(s)||null!=i.argsProvider)&&(t.has(s)&&this.addI18nContext(e.context),this.updateI18nAttributeMessage(s,e,i))})),null===(s=this[C])||void 0===s||s.forEach(((t,i)=>{null!=t.argsProvider&&(this[i]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,i,s,e;super.connectedCallback(),new Set([...null!==(i=null===(t=this[C])||void 0===t?void 0:t.values())&&void 0!==i?i:[],...[...null!==(e=null===(s=this[g])||void 0===s?void 0:s.keys())&&void 0!==e?e:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,i){t=t.toLowerCase(),this[k].has(t)||this[k].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=i?i:{})}addI18nContext(t,i){this.addI18nMessages("string"==typeof t?t:t.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[k].forEach((t=>t())),this[k].clear()}}return i=k,m([e.property({type:Boolean})],s.prototype,"useCustomMessageContexts",void 0),s}class M extends(x(i.FtLitElement)){}class S extends(x(i.FtLitElementRedux)){}var U=function(t,i,s,e){for(var n,o=arguments.length,a=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(o<3?n(a):o>3?n(i,s,a):n(i,s))||a);return o>3&&a&&Object.defineProperty(i,s,a),a};class I extends S{constructor(){super(),this.editorMode=!1,this.addStore(a)}render(){return this.key&&this.context?s.html`
|
|
6
6
|
<span class="ft-i18n">
|
|
7
7
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
8
8
|
</span>
|
|
9
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
9
|
+
`:this.editorMode?"Select a context and a label key.":s.nothing}update(t){var i;super.update(t),["context","key","defaultMessage"].some((i=>t.has(i)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(i=this.defaultMessage)&&void 0!==i?i:""})}}I.elementDefinitions={},I.styles=n,U([i.redux()],I.prototype,"editorMode",void 0),U([e.property()],I.prototype,"context",void 0),U([e.property()],I.prototype,"key",void 0),U([i.jsonProperty([])],I.prototype,"args",void 0),U([e.property()],I.prototype,"defaultMessage",void 0);class L{static build(t){return new L(t)}static fromGwt(t){return new L(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,i)=>{const s=i;return t=>({context:this.name,key:s,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,i)=>(...t)=>d.resolveMessage(this.name,i,...t)})}}i.customElement("ft-i18n")(I),t.FtI18n=I,t.FtI18nCssVariables={},t.FtLitElementReduxWithI18n=S,t.FtLitElementWithI18n=M,t.I18nMessageContext=L,t.i18n=(t,i)=>(s,e)=>{var n,o;s.constructor.createProperty(e,null!=i?i:{attribute:!1,type:String});const a={...t,key:null!==(n=t.key)&&void 0!==n?n:e};s[C]=null!==(o=s[C])&&void 0!==o?o:new Map,s[C].set(e,a)},t.i18nAttributes=g,t.i18nProperties=C,t.i18nUnsubs=k,t.styles=n,t.withI18n=x}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
|
package/build/ft-i18n.min.js
CHANGED
|
@@ -22,7 +22,7 @@ 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:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:b}=Object,g=globalThis,m=g.trustedTypes,
|
|
25
|
+
*/,{is:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:b}=Object,g=globalThis,m=g.trustedTypes,v=m?m.emptyScript:"",O=g.reactiveElementPolyfillSupport,N=(t,o)=>t,w={toAttribute(t,o){switch(o){case Boolean:t=t?v: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}},S=(t,o)=>!h(t,o),x={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let C=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=x){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&&u(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=p(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)??x}static _$Ei(){if(this.hasOwnProperty(N("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(N("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(N("properties"))){const t=this.properties,o=[...d(t),...y(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(f(t))}else void 0!==t&&o.push(f(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,o)=>{if(a)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=i.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(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:w).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:w;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??S)(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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[N("elementProperties")]=new Map,C[N("finalized")]=new Map,O?.({ReactiveElement:C}),(g.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
@@ -44,7 +44,7 @@ const ht=globalThis,ut=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeS
|
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/,{is:
|
|
47
|
+
*/,{is:vt,defineProperty:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:wt,getOwnPropertySymbols:St,getPrototypeOf:xt}=Object,Ct=globalThis,Et=Ct.trustedTypes,Ut=Et?Et.emptyScript:"",Rt=Ct.reactiveElementPolyfillSupport,It=(t,o)=>t,Wt={toAttribute(t,o){switch(o){case Boolean:t=t?Ut: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}},Lt=(t,o)=>!vt(t,o),kt={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Lt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;let Kt=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=kt){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&&Ot(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=Nt(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)??kt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...wt(t),...St(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(mt(t))}else void 0!==t&&o.push(mt(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,o)=>{if(ut)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ht.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(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:Wt).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:Wt;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??Lt)(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){}};Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[It("elementProperties")]=new Map,Kt[It("finalized")]=new Map,Rt?.({ReactiveElement:Kt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
|
|
48
48
|
/**
|
|
49
49
|
* @license
|
|
50
50
|
* Copyright 2017 Google LLC
|
|
@@ -56,7 +56,7 @@ const At=globalThis,Zt=At.trustedTypes,jt=Zt?Zt.createPolicy("lit-html",{createH
|
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
58
|
*/
|
|
59
|
-
let yo=class extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new so(o.insertBefore(Dt(),t),t,void 0,e??{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}};yo._$litElement$=!0,yo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yo});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:yo}),(globalThis.litElementVersions??=[]).push("4.0.2");const go=t=>"string"==typeof t?bt(t):t;class mo{static create(t,o,e,r){const n=t=>go(null!=t?t:r),i=gt`var(${go(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>gt`var(${go(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=gt`var(${go(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=>gt`var(${go(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):go(null!=o?o:t.lastResortDefaultValue()),r=gt`var(${go(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=>gt`var(${go(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Oo={colorWhite:mo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mo.create("--ft-opacity-0","","NUMBER","0"),opacity8:mo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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)")};mo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-display-lineHeight","","SIZE","120%"),mo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),mo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-display-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),mo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),mo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),mo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),mo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),mo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),mo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),mo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),mo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),mo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const vo={backgroundActionPrimary:mo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oo.colorBrand0),backgroundErrorPrimary:mo.extend("--ft-background-error-primary","Used as background of error components.",Oo.colorRed0),backgroundErrorSubtle:mo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oo.colorRed10),backgroundInfoPrimary:mo.extend("--ft-background-info-primary","Used as background of information components.",Oo.colorCyan200),backgroundInfoSubtle:mo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oo.colorCyan10),backgroundWarningPrimary:mo.extend("--ft-background-warning-primary","Used as background of warning components.",Oo.colorOrange300),backgroundWarningSubtle:mo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oo.colorOrange10),backgroundSuccessPrimary:mo.extend("--ft-background-success-primary","Used as background of success components.",Oo.colorGreen200),backgroundSuccessSubtle:mo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oo.colorGreen10),backgroundGlobalSurface:mo.extend("--ft-background-global-surface","Used as app background.",Oo.colorWhite),backgroundGlobalOnSurface:mo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oo.colorGray10),backgroundGlobalOnSurfaceDark:mo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oo.colorGray30),contentActionPrimary:mo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oo.colorBrand0),contentWarningPrimary:mo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oo.colorOrange300),contentWarningIconOnly:mo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oo.colorOrange0),contentErrorPrimary:mo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oo.colorRed0),contentErrorIconOnly:mo.extend("--ft-content-error-icon-only","Used on error status icons alone",Oo.colorRed0),contentInfoPrimary:mo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oo.colorCyan200),contentInfoIconOnly:mo.extend("--ft-content-info-icon-only","Used on info status icons alone",Oo.colorCyan0),contentSuccessPrimary:mo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oo.colorGreen200),contentSuccessIconOnly:mo.extend("--ft-content-success-icon-only","Used on success status icons alone",Oo.colorGreen0),contentGlobalPrimary:mo.extend("--ft-content-global-primary","Used for main content on the page.",Oo.colorGray500),contentGlobalSecondary:mo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oo.colorGray200),contentGlobalSubtle:mo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oo.colorGray0),contentGlobalOnColor:mo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oo.colorWhite),borderActionPrimary:mo.extend("--ft-border-action-primary","Used as border for primary action components.",Oo.colorBrand0),borderActionFocusRing:mo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oo.colorCyan0),borderWarningPrimary:mo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oo.colorOrange300),borderWarningSubtle:mo.extend("--ft-border-warning-subtle","Used as border for warning components.",Oo.colorOrange30),borderSuccessPrimary:mo.extend("--ft-border-success-primary","Used as border for success buttons.",Oo.colorGreen200),borderSuccessSubtle:mo.extend("--ft-border-success-subtle","Used as border for success components.",Oo.colorGreen30),borderErrorPrimary:mo.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oo.colorRed0),borderErrorSubtle:mo.extend("--ft-border-error-subtle","Used as border for error components.",Oo.colorRed30),borderInfoPrimary:mo.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oo.colorCyan200),borderInfoSubtle:mo.extend("--ft-border-info-subtle","Used as border for information components.",Oo.colorCyan30),borderGlobalPrimary:mo.extend("--ft-border-global-primary","Used as border for element like input.",Oo.colorGray50),borderGlobalSubtle:mo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oo.colorGray30),borderInputPrimary:mo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oo.colorGray80)};mo.create("--ft-button-large-height","","SIZE","40px"),mo.extend("--ft-button-large-horizontal-padding","",Oo.spacing4),mo.extend("--ft-button-large-gap","",Oo.spacing2),mo.extend("--ft-button-large-border-radius","",Oo.borderRadiusS),mo.extend("--ft-button-large-icon-size","",Oo.iconSize3),mo.create("--ft-button-large-border-width","","SIZE","1px"),mo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),mo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),mo.create("--ft-button-large-icon-only-width","","SIZE","40px"),mo.create("--ft-button-small-height","","SIZE","30px"),mo.extend("--ft-button-small-horizontal-padding","",Oo.spacing3),mo.extend("--ft-button-small-gap","",Oo.spacing2),mo.extend("--ft-button-small-border-radius","",Oo.borderRadiusS),mo.extend("--ft-button-small-icon-size","",Oo.iconSize2),mo.create("--ft-button-small-border-width","","SIZE","1px"),mo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),mo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),mo.create("--ft-button-small-icon-only-width","","SIZE","30px"),mo.extend("--ft-button-primary-background-color","",vo.backgroundActionPrimary),mo.extend("--ft-button-primary-color","",vo.contentGlobalOnColor),mo.extend("--ft-button-primary-icon-color","",vo.contentGlobalOnColor),mo.extend("--ft-button-primary-state-layer-color","",vo.contentGlobalOnColor),mo.extend("--ft-button-primary-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-button-primary-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-button-primary-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-button-primary-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-button-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-tertiary-color","",vo.contentActionPrimary),mo.extend("--ft-button-tertiary-icon-color","",vo.contentActionPrimary),mo.extend("--ft-button-tertiary-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-button-tertiary-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-button-tertiary-component-opacity-disabled","",Oo.opacity40),mo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-secondary-color","",vo.contentActionPrimary),mo.extend("--ft-button-secondary-icon-color","",vo.contentActionPrimary),mo.extend("--ft-button-secondary-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-button-secondary-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-button-secondary-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-button-secondary-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-button-secondary-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-button-secondary-border-color","",vo.borderActionPrimary),mo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-neutral-icon-color","",vo.contentGlobalSecondary),mo.extend("--ft-button-neutral-color","",vo.contentGlobalSecondary),mo.extend("--ft-button-neutral-state-layer-color","",vo.contentGlobalSecondary),mo.extend("--ft-button-neutral-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-button-neutral-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-button-neutral-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-button-neutral-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-floating-menu-horizontal-padding","",Oo.spacing4),mo.extend("--ft-floating-menu-vertical-padding","",Oo.spacing4),mo.extend("--ft-floating-menu-off-icon-color","",vo.contentGlobalPrimary),mo.extend("--ft-floating-menu-off-color","",vo.contentGlobalPrimary),mo.extend("--ft-floating-menu-on-color","",vo.contentActionPrimary),mo.extend("--ft-floating-menu-on-icon-color","",vo.contentActionPrimary),mo.extend("--ft-floating-menu-on-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-floating-menu-gap","",Oo.spacing3),mo.extend("--ft-floating-menu-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),mo.extend("--ft-floating-menu-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-floating-menu-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-floating-menu-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-floating-menu-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-floating-menu-icon-size","",Oo.iconSize3),mo.extend("--ft-floating-menu-background-color","",vo.backgroundGlobalOnSurface),mo.extend("--ft-tabs-top-left-border-radius","",Oo.borderRadiusS),mo.extend("--ft-tabs-top-right-border-radius","",Oo.borderRadiusS),mo.extend("--ft-tabs-label-horizontal-padding","",Oo.spacing4),mo.extend("--ft-tabs-label-vertical-padding","",Oo.spacing3),mo.extend("--ft-tabs-label-gap","",Oo.spacing1),mo.extend("--ft-tabs-icon-horizontal-padding","",Oo.spacing1),mo.extend("--ft-tabs-icon-vertical-padding","",Oo.spacing4),mo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),mo.extend("--ft-tabs-focus-focus-ring-color","",vo.borderActionFocusRing),mo.extend("--ft-tabs-off-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-tabs-off-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-tabs-off-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-tabs-off-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-tabs-off-color","",vo.contentGlobalSubtle),mo.extend("--ft-tabs-off-state-layer-color","",vo.contentGlobalSubtle),mo.extend("--ft-tabs-on-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-tabs-on-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-tabs-on-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-tabs-on-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-tabs-on-color","",vo.contentActionPrimary),mo.extend("--ft-tabs-on-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-collapsible-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-collapsible-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-collapsible-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-collapsible-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-collapsible-horizontal-padding","",Oo.spacing4),mo.extend("--ft-collapsible-vertical-padding","",Oo.spacing3),mo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),mo.extend("--ft-collapsible-focus-focus-ring-color","",vo.borderActionFocusRing),mo.extend("--ft-collapsible-color","",vo.contentGlobalPrimary),mo.extend("--ft-collapsible-state-layer-color","",vo.contentGlobalPrimary),mo.extend("--ft-collapsible-background-color","",vo.backgroundGlobalOnSurface),mo.extend("--ft-collapsible-border-color","",vo.borderGlobalSubtle),mo.extend("--ft-collapsible-icon-size","",Oo.iconSize3),mo.extend("--ft-switch-group-horizontal-padding","",Oo.spacing1),mo.extend("--ft-switch-group-vertical-padding","",Oo.spacing1),mo.extend("--ft-switch-group-gap","",Oo.spacing1),mo.extend("--ft-switch-group-background-color","",vo.backgroundGlobalSurface),mo.extend("--ft-switch-group-border-color","",vo.borderGlobalSubtle),mo.create("--ft-switch-group-border-radius","","SIZE","6px"),mo.extend("--ft-switch-label-horizontal-padding","",Oo.spacing2),mo.extend("--ft-switch-label-vertical-padding","",Oo.spacing1),mo.extend("--ft-switch-icon-horizontal-padding","",Oo.spacing1),mo.extend("--ft-switch-icon-vertical-padding","",Oo.spacing1),mo.create("--ft-switch-focus-outline-width","","SIZE","2px"),mo.extend("--ft-switch-focus-focus-ring-color","",vo.borderActionFocusRing),mo.extend("--ft-switch-option-border-radius","",Oo.borderRadiusS),mo.extend("--ft-switch-off-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-switch-off-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-switch-off-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-switch-off-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-switch-off-color","",vo.contentGlobalSubtle),mo.extend("--ft-switch-off-state-layer-color","",vo.contentGlobalSubtle),mo.extend("--ft-switch-on-state-layer-opacity-hover","",Oo.opacity8),mo.extend("--ft-switch-on-state-layer-opacity-focus","",Oo.opacity8),mo.extend("--ft-switch-on-state-layer-opacity-active","",Oo.opacity16),mo.extend("--ft-switch-on-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-switch-on-color","",vo.contentActionPrimary),mo.extend("--ft-switch-on-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-chart-1-light","for area color charts",Oo.colorBrand40),mo.extend("--ft-chart-1-base","for line charts",Oo.colorBrand0),mo.extend("--ft-chart-2-light","for area color charts",Oo.colorYellow60),mo.extend("--ft-chart-2-base","for line charts",Oo.colorYellow100),mo.extend("--ft-chart-3-light","",Oo.colorUltramarine40),mo.extend("--ft-chart-3-base","",Oo.colorUltramarine70),mo.extend("--ft-chart-4-light","",Oo.colorCyan50),mo.extend("--ft-chart-4-base","",Oo.colorCyan100),mo.extend("--ft-chart-5-light","",Oo.colorRed40),mo.extend("--ft-chart-5-base","",Oo.colorRed60),mo.extend("--ft-chart-6-light","",Oo.colorGreen40),mo.extend("--ft-chart-6-base","",Oo.colorGreen70),mo.extend("--ft-chart-7-light","",Oo.colorOrange70),mo.extend("--ft-chart-7-base","",Oo.colorOrange100),mo.extend("--ft-chart-8-light","",Oo.colorAvocado70),mo.extend("--ft-chart-8-base","",Oo.colorAvocado200),mo.extend("--ft-chart-9-light","",Oo.colorBrown50),mo.extend("--ft-chart-9-base","",Oo.colorBrown200),mo.extend("--ft-chart-10-light","",Oo.colorGray50),mo.extend("--ft-chart-10-base","",Oo.colorGray80),mo.extend("--ft-chart-monochrome-10","",Oo.colorBrand10),mo.extend("--ft-chart-monochrome-20","",Oo.colorBrand20),mo.extend("--ft-chart-monochrome-30","",Oo.colorBrand40),mo.extend("--ft-chart-monochrome-40","",Oo.colorBrand60),mo.extend("--ft-chart-monochrome-50","",Oo.colorBrand0),mo.extend("--ft-chart-monochrome-60","",Oo.colorBrand200),mo.extend("--ft-chip-large-horizontal-padding","",Oo.spacing4),mo.extend("--ft-chip-large-vertical-padding","",Oo.spacing2),mo.extend("--ft-chip-large-gap","",Oo.spacing1),mo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-large-border-radius","",Oo.borderRadiusPill),mo.create("--ft-chip-large-border-width","","SIZE","1px"),mo.extend("--ft-chip-large-icon-size","",Oo.iconSize3),mo.extend("--ft-chip-medium-horizontal-padding","",Oo.spacing3),mo.extend("--ft-chip-medium-vertical-padding","",Oo.spacing1),mo.extend("--ft-chip-medium-gap","",Oo.spacing1),mo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-medium-border-radius","",Oo.borderRadiusPill),mo.create("--ft-chip-medium-border-width","","SIZE","1px"),mo.extend("--ft-chip-medium-icon-size","",Oo.iconSize2),mo.extend("--ft-chip-small-horizontal-padding","",Oo.spacing2),mo.extend("--ft-chip-small-vertical-padding","",Oo.spacing05),mo.extend("--ft-chip-small-gap","",Oo.spacing1),mo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-small-border-radius","",Oo.borderRadiusPill),mo.create("--ft-chip-small-border-width","","SIZE","1px"),mo.extend("--ft-chip-small-icon-size","",Oo.iconSize1),mo.extend("--ft-chip-neutral-background-color","",vo.backgroundGlobalOnSurface),mo.extend("--ft-chip-neutral-color","",vo.contentGlobalPrimary),mo.extend("--ft-chip-neutral-border-color","",vo.borderGlobalSubtle),mo.extend("--ft-chip-info-background-color","",vo.backgroundInfoSubtle),mo.extend("--ft-chip-info-color","",vo.contentInfoPrimary),mo.extend("--ft-chip-info-border-color","",vo.borderInfoSubtle),mo.extend("--ft-chip-success-background-color","",vo.backgroundSuccessSubtle),mo.extend("--ft-chip-success-color","",vo.contentSuccessPrimary),mo.extend("--ft-chip-success-border-color","",vo.borderSuccessSubtle),mo.extend("--ft-chip-warning-background-color","",vo.backgroundWarningSubtle),mo.extend("--ft-chip-warning-color","",vo.contentWarningPrimary),mo.extend("--ft-chip-warning-border-color","",vo.borderWarningSubtle),mo.extend("--ft-chip-error-background-color","",vo.backgroundErrorSubtle),mo.extend("--ft-chip-error-color","",vo.contentErrorPrimary),mo.extend("--ft-chip-error-border-color","",vo.borderErrorSubtle),mo.create("--ft-notice-border-width","","SIZE","1px"),mo.extend("--ft-notice-horizontal-padding","",Oo.spacing2),mo.extend("--ft-notice-vertical-padding","",Oo.spacing1),mo.extend("--ft-notice-border-radius","",Oo.borderRadiusS),mo.extend("--ft-notice-gap","",Oo.spacing2),mo.extend("--ft-notice-icon-size","",Oo.iconSize3),mo.extend("--ft-notice-info-background-color","",vo.backgroundInfoSubtle),mo.extend("--ft-notice-info-border-color","",vo.borderInfoSubtle),mo.extend("--ft-notice-info-color","",vo.contentInfoPrimary),mo.extend("--ft-notice-warning-background-color","",vo.backgroundWarningSubtle),mo.extend("--ft-notice-warning-border-color","",vo.borderWarningSubtle),mo.extend("--ft-notice-warning-color","",vo.contentWarningPrimary),mo.extend("--ft-checkbox-label-color","",vo.contentGlobalPrimary),mo.extend("--ft-checkbox-checked-background-color","",vo.contentActionPrimary),mo.extend("--ft-checkbox-checked-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-checkbox-checked-color","",vo.contentGlobalOnColor),mo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-checkbox-checked-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-checkbox-unchecked-border-color","",Oo.colorGray80),mo.extend("--ft-checkbox-unchecked-state-layer-color","",Oo.colorGray80),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-checkbox-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mo.extend("--ft-checkbox-gap","",Oo.spacing3),mo.extend("--ft-toggle-off-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-toggle-off-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-toggle-off-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-toggle-off-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-toggle-off-background-color","",vo.contentGlobalSubtle),mo.extend("--ft-toggle-off-icon-color","",vo.contentGlobalSubtle),mo.extend("--ft-toggle-off-state-layer-color","",vo.contentGlobalSubtle),mo.extend("--ft-toggle-on-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-toggle-on-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-toggle-on-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-toggle-on-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-toggle-on-background-color","",vo.contentActionPrimary),mo.extend("--ft-toggle-on-icon-color","",vo.contentActionPrimary),mo.extend("--ft-toggle-on-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-toggle-label-color","",vo.contentGlobalPrimary),mo.extend("--ft-toggle-focus-focus-ring-color","",vo.borderActionFocusRing),mo.extend("--ft-toggle-gap","",Oo.spacing3),mo.extend("--ft-radio-label-color","",vo.contentGlobalPrimary),mo.extend("--ft-radio-selected-color","",vo.contentActionPrimary),mo.extend("--ft-radio-selected-state-layer-color","",vo.contentActionPrimary),mo.extend("--ft-radio-selected-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-radio-selected-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-radio-selected-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-radio-selected-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-radio-unselected-state-layer-color","",Oo.colorGray80),mo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oo.opacity16),mo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oo.opacity16),mo.extend("--ft-radio-unselected-state-layer-opacity-active","",Oo.opacity24),mo.extend("--ft-radio-unselected-component-opacity-disabled","",Oo.opacity40),mo.extend("--ft-radio-focus-focus-ring-color","",vo.borderActionFocusRing),mo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mo.create("--ft-radio-focus-outline-width","","SIZE","2px"),mo.extend("--ft-radio-gap","",Oo.spacing3),mo.extend("--ft-notification-icon-size","",Oo.iconSize4),mo.extend("--ft-notification-horizontal-padding","",Oo.spacing4),mo.extend("--ft-notification-vertical-padding","",Oo.spacing4),mo.extend("--ft-notification-info-background-color","",vo.backgroundInfoSubtle),mo.extend("--ft-notification-info-color","",vo.contentInfoPrimary),mo.extend("--ft-notification-info-border-color","",vo.borderInfoSubtle),mo.extend("--ft-notification-success-background-color","",vo.backgroundSuccessSubtle),mo.extend("--ft-notification-success-color","",vo.contentSuccessPrimary),mo.extend("--ft-notification-success-border-color","",vo.borderSuccessSubtle),mo.extend("--ft-notification-warning-background-color","",vo.backgroundWarningSubtle),mo.extend("--ft-notification-warning-color","",vo.contentWarningPrimary),mo.extend("--ft-notification-warning-border-color","",vo.borderWarningSubtle),mo.extend("--ft-notification-error-background-color","",vo.backgroundErrorSubtle),mo.extend("--ft-notification-error-color","",vo.contentErrorPrimary),mo.extend("--ft-notification-error-border-color","",vo.borderErrorSubtle),mo.extend("--ft-notification-border-radius","",Oo.borderRadiusPill),mo.create("--ft-notification-border-width","","SIZE","1px"),mo.extend("--ft-notification-gap-leading","",Oo.spacing2),mo.extend("--ft-notification-gap-trailing","",Oo.spacing8),mo.extend("--ft-tooltip-horizontal-padding","",Oo.spacing2),mo.extend("--ft-tooltip-vertical-padding","",Oo.spacing2),mo.extend("--ft-tooltip-border-radius","",Oo.borderRadiusS),mo.extend("--ft-tooltip-label","",vo.contentGlobalOnColor),mo.extend("--ft-tooltip-background","",vo.contentGlobalPrimary),mo.extend("--ft-tooltip-background-opacity","",Oo.opacity80),mo.extend("--ft-tooltip-shadow","",Oo.shadowElevation03),mo.create("--ft-color-primary","","COLOR","#2196F3"),mo.create("--ft-color-primary-variant","","COLOR","#1976D2"),mo.create("--ft-color-secondary","","COLOR","#FFCC80"),mo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),mo.create("--ft-color-surface","","COLOR","#FFFFFF"),mo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-error","","COLOR","#B00020"),mo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),mo.create("--ft-color-opacity-high","","NUMBER","1"),mo.create("--ft-color-opacity-medium","","NUMBER","0.74"),mo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),mo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),mo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),mo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),mo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),mo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),mo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),mo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),mo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),mo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),mo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),mo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),mo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),mo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),mo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),mo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),mo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),mo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),mo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),mo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),mo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),mo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),mo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),mo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),mo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),mo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),mo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),mo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),mo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.create("--ft-border-radius-S","","SIZE","4px"),mo.create("--ft-border-radius-M","","SIZE","8px"),mo.create("--ft-border-radius-L","","SIZE","12px"),mo.create("--ft-border-radius-XL","","SIZE","16px"),mo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),mo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),mo.create("--ft-transition-duration","","UNKNOWN","250ms"),mo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
|
|
59
|
+
let yo=class extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new so(o.insertBefore(Dt(),t),t,void 0,e??{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}};yo._$litElement$=!0,yo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yo});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:yo}),(globalThis.litElementVersions??=[]).push("4.0.2");const go=t=>"string"==typeof t?bt(t):t;class mo{static create(t,o,e,r){const n=t=>go(null!=t?t:r),i=gt`var(${go(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>gt`var(${go(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=gt`var(${go(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=>gt`var(${go(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):go(null!=o?o:t.lastResortDefaultValue()),r=gt`var(${go(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=>gt`var(${go(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const vo={colorWhite:mo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mo.create("--ft-opacity-0","","NUMBER","0"),opacity8:mo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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)")};mo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-display-lineHeight","","SIZE","120%"),mo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),mo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-display-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),mo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),mo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),mo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),mo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),mo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),mo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),mo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),mo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),mo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),mo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),mo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),mo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),mo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),mo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),mo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),mo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),mo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),mo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),mo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),mo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),mo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),mo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),mo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),mo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),mo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),mo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),mo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),mo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),mo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const Oo={backgroundActionPrimary:mo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",vo.colorBrand0),backgroundErrorPrimary:mo.extend("--ft-background-error-primary","Used as background of error components.",vo.colorRed0),backgroundErrorSubtle:mo.extend("--ft-background-error-subtle","Used as background of subtle error components.",vo.colorRed10),backgroundInfoPrimary:mo.extend("--ft-background-info-primary","Used as background of information components.",vo.colorCyan200),backgroundInfoSubtle:mo.extend("--ft-background-info-subtle","Used as background of subtle information components.",vo.colorCyan10),backgroundWarningPrimary:mo.extend("--ft-background-warning-primary","Used as background of warning components.",vo.colorOrange300),backgroundWarningSubtle:mo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",vo.colorOrange10),backgroundSuccessPrimary:mo.extend("--ft-background-success-primary","Used as background of success components.",vo.colorGreen200),backgroundSuccessSubtle:mo.extend("--ft-background-success-subtle","Used as background of subtle success components.",vo.colorGreen10),backgroundGlobalSurface:mo.extend("--ft-background-global-surface","Used as app background.",vo.colorWhite),backgroundGlobalOnSurface:mo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",vo.colorGray10),backgroundGlobalOnSurfaceDark:mo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",vo.colorGray30),contentActionPrimary:mo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",vo.colorBrand0),contentWarningPrimary:mo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",vo.colorOrange300),contentWarningIconOnly:mo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",vo.colorOrange0),contentErrorPrimary:mo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",vo.colorRed0),contentErrorIconOnly:mo.extend("--ft-content-error-icon-only","Used on error status icons alone",vo.colorRed0),contentInfoPrimary:mo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",vo.colorCyan200),contentInfoIconOnly:mo.extend("--ft-content-info-icon-only","Used on info status icons alone",vo.colorCyan0),contentSuccessPrimary:mo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",vo.colorGreen200),contentSuccessIconOnly:mo.extend("--ft-content-success-icon-only","Used on success status icons alone",vo.colorGreen0),contentGlobalPrimary:mo.extend("--ft-content-global-primary","Used for main content on the page.",vo.colorGray500),contentGlobalSecondary:mo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",vo.colorGray200),contentGlobalSubtle:mo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",vo.colorGray0),contentGlobalOnColor:mo.extend("--ft-content-global-on-color","Used for content on a dominant color.",vo.colorWhite),borderActionPrimary:mo.extend("--ft-border-action-primary","Used as border for primary action components.",vo.colorBrand0),borderActionFocusRing:mo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",vo.colorCyan0),borderWarningPrimary:mo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",vo.colorOrange300),borderWarningSubtle:mo.extend("--ft-border-warning-subtle","Used as border for warning components.",vo.colorOrange30),borderSuccessPrimary:mo.extend("--ft-border-success-primary","Used as border for success buttons.",vo.colorGreen200),borderSuccessSubtle:mo.extend("--ft-border-success-subtle","Used as border for success components.",vo.colorGreen30),borderErrorPrimary:mo.extend("--ft-border-error-primary","Used as border for text fields in error states.",vo.colorRed0),borderErrorSubtle:mo.extend("--ft-border-error-subtle","Used as border for error components.",vo.colorRed30),borderInfoPrimary:mo.extend("--ft-border-info-primary","Used as border for buttons in info color.",vo.colorCyan200),borderInfoSubtle:mo.extend("--ft-border-info-subtle","Used as border for information components.",vo.colorCyan30),borderGlobalPrimary:mo.extend("--ft-border-global-primary","Used as border for element like input.",vo.colorGray50),borderGlobalSubtle:mo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",vo.colorGray30),borderInputPrimary:mo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",vo.colorGray80)};mo.create("--ft-button-large-height","","SIZE","40px"),mo.extend("--ft-button-large-horizontal-padding","",vo.spacing4),mo.extend("--ft-button-large-gap","",vo.spacing2),mo.extend("--ft-button-large-border-radius","",vo.borderRadiusS),mo.extend("--ft-button-large-icon-size","",vo.iconSize3),mo.create("--ft-button-large-border-width","","SIZE","1px"),mo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),mo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),mo.create("--ft-button-large-icon-only-width","","SIZE","40px"),mo.create("--ft-button-small-height","","SIZE","30px"),mo.extend("--ft-button-small-horizontal-padding","",vo.spacing3),mo.extend("--ft-button-small-gap","",vo.spacing2),mo.extend("--ft-button-small-border-radius","",vo.borderRadiusS),mo.extend("--ft-button-small-icon-size","",vo.iconSize2),mo.create("--ft-button-small-border-width","","SIZE","1px"),mo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),mo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),mo.create("--ft-button-small-icon-only-width","","SIZE","30px"),mo.extend("--ft-button-primary-background-color","",Oo.backgroundActionPrimary),mo.extend("--ft-button-primary-color","",Oo.contentGlobalOnColor),mo.extend("--ft-button-primary-icon-color","",Oo.contentGlobalOnColor),mo.extend("--ft-button-primary-state-layer-color","",Oo.contentGlobalOnColor),mo.extend("--ft-button-primary-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-button-primary-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-button-primary-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-button-primary-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-button-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-tertiary-color","",Oo.contentActionPrimary),mo.extend("--ft-button-tertiary-icon-color","",Oo.contentActionPrimary),mo.extend("--ft-button-tertiary-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-button-tertiary-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-button-tertiary-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-button-tertiary-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-button-tertiary-component-opacity-disabled","",vo.opacity40),mo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-secondary-color","",Oo.contentActionPrimary),mo.extend("--ft-button-secondary-icon-color","",Oo.contentActionPrimary),mo.extend("--ft-button-secondary-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-button-secondary-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-button-secondary-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-button-secondary-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-button-secondary-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-button-secondary-border-color","",Oo.borderActionPrimary),mo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),mo.extend("--ft-button-neutral-icon-color","",Oo.contentGlobalSecondary),mo.extend("--ft-button-neutral-color","",Oo.contentGlobalSecondary),mo.extend("--ft-button-neutral-state-layer-color","",Oo.contentGlobalSecondary),mo.extend("--ft-button-neutral-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-button-neutral-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-button-neutral-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-button-neutral-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-floating-menu-horizontal-padding","",vo.spacing4),mo.extend("--ft-floating-menu-vertical-padding","",vo.spacing4),mo.extend("--ft-floating-menu-off-icon-color","",Oo.contentGlobalPrimary),mo.extend("--ft-floating-menu-off-color","",Oo.contentGlobalPrimary),mo.extend("--ft-floating-menu-on-color","",Oo.contentActionPrimary),mo.extend("--ft-floating-menu-on-icon-color","",Oo.contentActionPrimary),mo.extend("--ft-floating-menu-on-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-floating-menu-gap","",vo.spacing3),mo.extend("--ft-floating-menu-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),mo.extend("--ft-floating-menu-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-floating-menu-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-floating-menu-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-floating-menu-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-floating-menu-icon-size","",vo.iconSize3),mo.extend("--ft-floating-menu-background-color","",Oo.backgroundGlobalOnSurface),mo.extend("--ft-tabs-top-left-border-radius","",vo.borderRadiusS),mo.extend("--ft-tabs-top-right-border-radius","",vo.borderRadiusS),mo.extend("--ft-tabs-label-horizontal-padding","",vo.spacing4),mo.extend("--ft-tabs-label-vertical-padding","",vo.spacing3),mo.extend("--ft-tabs-label-gap","",vo.spacing1),mo.extend("--ft-tabs-icon-horizontal-padding","",vo.spacing1),mo.extend("--ft-tabs-icon-vertical-padding","",vo.spacing4),mo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),mo.extend("--ft-tabs-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.extend("--ft-tabs-off-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-tabs-off-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-tabs-off-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-tabs-off-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-tabs-off-color","",Oo.contentGlobalSubtle),mo.extend("--ft-tabs-off-state-layer-color","",Oo.contentGlobalSubtle),mo.extend("--ft-tabs-on-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-tabs-on-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-tabs-on-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-tabs-on-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-tabs-on-color","",Oo.contentActionPrimary),mo.extend("--ft-tabs-on-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-collapsible-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-collapsible-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-collapsible-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-collapsible-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-collapsible-horizontal-padding","",vo.spacing4),mo.extend("--ft-collapsible-vertical-padding","",vo.spacing3),mo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),mo.extend("--ft-collapsible-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.extend("--ft-collapsible-color","",Oo.contentGlobalPrimary),mo.extend("--ft-collapsible-state-layer-color","",Oo.contentGlobalPrimary),mo.extend("--ft-collapsible-background-color","",Oo.backgroundGlobalOnSurface),mo.extend("--ft-collapsible-border-color","",Oo.borderGlobalSubtle),mo.extend("--ft-collapsible-icon-size","",vo.iconSize3),mo.extend("--ft-switch-group-horizontal-padding","",vo.spacing1),mo.extend("--ft-switch-group-vertical-padding","",vo.spacing1),mo.extend("--ft-switch-group-gap","",vo.spacing1),mo.extend("--ft-switch-group-background-color","",Oo.backgroundGlobalSurface),mo.extend("--ft-switch-group-border-color","",Oo.borderGlobalSubtle),mo.create("--ft-switch-group-border-radius","","SIZE","6px"),mo.extend("--ft-switch-label-horizontal-padding","",vo.spacing2),mo.extend("--ft-switch-label-vertical-padding","",vo.spacing1),mo.extend("--ft-switch-icon-horizontal-padding","",vo.spacing1),mo.extend("--ft-switch-icon-vertical-padding","",vo.spacing1),mo.create("--ft-switch-focus-outline-width","","SIZE","2px"),mo.extend("--ft-switch-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.extend("--ft-switch-option-border-radius","",vo.borderRadiusS),mo.extend("--ft-switch-off-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-switch-off-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-switch-off-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-switch-off-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-switch-off-color","",Oo.contentGlobalSubtle),mo.extend("--ft-switch-off-state-layer-color","",Oo.contentGlobalSubtle),mo.extend("--ft-switch-on-state-layer-opacity-hover","",vo.opacity8),mo.extend("--ft-switch-on-state-layer-opacity-focus","",vo.opacity8),mo.extend("--ft-switch-on-state-layer-opacity-active","",vo.opacity16),mo.extend("--ft-switch-on-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-switch-on-color","",Oo.contentActionPrimary),mo.extend("--ft-switch-on-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-chart-1-light","for area color charts",vo.colorBrand40),mo.extend("--ft-chart-1-base","for line charts",vo.colorBrand0),mo.extend("--ft-chart-2-light","for area color charts",vo.colorYellow60),mo.extend("--ft-chart-2-base","for line charts",vo.colorYellow100),mo.extend("--ft-chart-3-light","",vo.colorUltramarine40),mo.extend("--ft-chart-3-base","",vo.colorUltramarine70),mo.extend("--ft-chart-4-light","",vo.colorCyan50),mo.extend("--ft-chart-4-base","",vo.colorCyan100),mo.extend("--ft-chart-5-light","",vo.colorRed40),mo.extend("--ft-chart-5-base","",vo.colorRed60),mo.extend("--ft-chart-6-light","",vo.colorGreen40),mo.extend("--ft-chart-6-base","",vo.colorGreen70),mo.extend("--ft-chart-7-light","",vo.colorOrange70),mo.extend("--ft-chart-7-base","",vo.colorOrange100),mo.extend("--ft-chart-8-light","",vo.colorAvocado70),mo.extend("--ft-chart-8-base","",vo.colorAvocado200),mo.extend("--ft-chart-9-light","",vo.colorBrown50),mo.extend("--ft-chart-9-base","",vo.colorBrown200),mo.extend("--ft-chart-10-light","",vo.colorGray50),mo.extend("--ft-chart-10-base","",vo.colorGray80),mo.extend("--ft-chart-monochrome-10","",vo.colorBrand10),mo.extend("--ft-chart-monochrome-20","",vo.colorBrand20),mo.extend("--ft-chart-monochrome-30","",vo.colorBrand40),mo.extend("--ft-chart-monochrome-40","",vo.colorBrand60),mo.extend("--ft-chart-monochrome-50","",vo.colorBrand0),mo.extend("--ft-chart-monochrome-60","",vo.colorBrand200),mo.extend("--ft-chip-large-horizontal-padding","",vo.spacing4),mo.extend("--ft-chip-large-vertical-padding","",vo.spacing2),mo.extend("--ft-chip-large-gap","",vo.spacing1),mo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-large-border-radius","",vo.borderRadiusPill),mo.create("--ft-chip-large-border-width","","SIZE","1px"),mo.extend("--ft-chip-large-icon-size","",vo.iconSize3),mo.extend("--ft-chip-medium-horizontal-padding","",vo.spacing3),mo.extend("--ft-chip-medium-vertical-padding","",vo.spacing1),mo.extend("--ft-chip-medium-gap","",vo.spacing1),mo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-medium-border-radius","",vo.borderRadiusPill),mo.create("--ft-chip-medium-border-width","","SIZE","1px"),mo.extend("--ft-chip-medium-icon-size","",vo.iconSize2),mo.extend("--ft-chip-small-horizontal-padding","",vo.spacing2),mo.extend("--ft-chip-small-vertical-padding","",vo.spacing05),mo.extend("--ft-chip-small-gap","",vo.spacing1),mo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mo.extend("--ft-chip-small-border-radius","",vo.borderRadiusPill),mo.create("--ft-chip-small-border-width","","SIZE","1px"),mo.extend("--ft-chip-small-icon-size","",vo.iconSize1),mo.extend("--ft-chip-neutral-background-color","",Oo.backgroundGlobalOnSurface),mo.extend("--ft-chip-neutral-color","",Oo.contentGlobalPrimary),mo.extend("--ft-chip-neutral-border-color","",Oo.borderGlobalSubtle),mo.extend("--ft-chip-info-background-color","",Oo.backgroundInfoSubtle),mo.extend("--ft-chip-info-color","",Oo.contentInfoPrimary),mo.extend("--ft-chip-info-border-color","",Oo.borderInfoSubtle),mo.extend("--ft-chip-success-background-color","",Oo.backgroundSuccessSubtle),mo.extend("--ft-chip-success-color","",Oo.contentSuccessPrimary),mo.extend("--ft-chip-success-border-color","",Oo.borderSuccessSubtle),mo.extend("--ft-chip-warning-background-color","",Oo.backgroundWarningSubtle),mo.extend("--ft-chip-warning-color","",Oo.contentWarningPrimary),mo.extend("--ft-chip-warning-border-color","",Oo.borderWarningSubtle),mo.extend("--ft-chip-error-background-color","",Oo.backgroundErrorSubtle),mo.extend("--ft-chip-error-color","",Oo.contentErrorPrimary),mo.extend("--ft-chip-error-border-color","",Oo.borderErrorSubtle),mo.create("--ft-notice-border-width","","SIZE","1px"),mo.extend("--ft-notice-horizontal-padding","",vo.spacing2),mo.extend("--ft-notice-vertical-padding","",vo.spacing1),mo.extend("--ft-notice-border-radius","",vo.borderRadiusS),mo.extend("--ft-notice-gap","",vo.spacing2),mo.extend("--ft-notice-icon-size","",vo.iconSize3),mo.extend("--ft-notice-info-background-color","",Oo.backgroundInfoSubtle),mo.extend("--ft-notice-info-border-color","",Oo.borderInfoSubtle),mo.extend("--ft-notice-info-color","",Oo.contentInfoPrimary),mo.extend("--ft-notice-warning-background-color","",Oo.backgroundWarningSubtle),mo.extend("--ft-notice-warning-border-color","",Oo.borderWarningSubtle),mo.extend("--ft-notice-warning-color","",Oo.contentWarningPrimary),mo.extend("--ft-checkbox-label-color","",Oo.contentGlobalPrimary),mo.extend("--ft-checkbox-checked-background-color","",Oo.contentActionPrimary),mo.extend("--ft-checkbox-checked-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-checkbox-checked-color","",Oo.contentGlobalOnColor),mo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-checkbox-checked-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-checkbox-checked-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-checkbox-unchecked-border-color","",vo.colorGray80),mo.extend("--ft-checkbox-unchecked-state-layer-color","",vo.colorGray80),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-checkbox-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mo.extend("--ft-checkbox-gap","",vo.spacing3),mo.extend("--ft-toggle-off-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-toggle-off-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-toggle-off-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-toggle-off-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-toggle-off-background-color","",Oo.contentGlobalSubtle),mo.extend("--ft-toggle-off-icon-color","",Oo.contentGlobalSubtle),mo.extend("--ft-toggle-off-state-layer-color","",Oo.contentGlobalSubtle),mo.extend("--ft-toggle-on-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-toggle-on-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-toggle-on-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-toggle-on-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-toggle-on-background-color","",Oo.contentActionPrimary),mo.extend("--ft-toggle-on-icon-color","",Oo.contentActionPrimary),mo.extend("--ft-toggle-on-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-toggle-label-color","",Oo.contentGlobalPrimary),mo.extend("--ft-toggle-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.extend("--ft-toggle-gap","",vo.spacing3),mo.extend("--ft-radio-label-color","",Oo.contentGlobalPrimary),mo.extend("--ft-radio-selected-color","",Oo.contentActionPrimary),mo.extend("--ft-radio-selected-state-layer-color","",Oo.contentActionPrimary),mo.extend("--ft-radio-selected-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-radio-selected-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-radio-selected-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-radio-selected-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-radio-unselected-state-layer-color","",vo.colorGray80),mo.extend("--ft-radio-unselected-state-layer-opacity-hover","",vo.opacity16),mo.extend("--ft-radio-unselected-state-layer-opacity-focus","",vo.opacity16),mo.extend("--ft-radio-unselected-state-layer-opacity-active","",vo.opacity24),mo.extend("--ft-radio-unselected-component-opacity-disabled","",vo.opacity40),mo.extend("--ft-radio-focus-focus-ring-color","",Oo.borderActionFocusRing),mo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mo.create("--ft-radio-focus-outline-width","","SIZE","2px"),mo.extend("--ft-radio-gap","",vo.spacing3),mo.extend("--ft-notification-icon-size","",vo.iconSize4),mo.extend("--ft-notification-horizontal-padding","",vo.spacing4),mo.extend("--ft-notification-vertical-padding","",vo.spacing4),mo.extend("--ft-notification-info-background-color","",Oo.backgroundInfoSubtle),mo.extend("--ft-notification-info-color","",Oo.contentInfoPrimary),mo.extend("--ft-notification-info-border-color","",Oo.borderInfoSubtle),mo.extend("--ft-notification-success-background-color","",Oo.backgroundSuccessSubtle),mo.extend("--ft-notification-success-color","",Oo.contentSuccessPrimary),mo.extend("--ft-notification-success-border-color","",Oo.borderSuccessSubtle),mo.extend("--ft-notification-warning-background-color","",Oo.backgroundWarningSubtle),mo.extend("--ft-notification-warning-color","",Oo.contentWarningPrimary),mo.extend("--ft-notification-warning-border-color","",Oo.borderWarningSubtle),mo.extend("--ft-notification-error-background-color","",Oo.backgroundErrorSubtle),mo.extend("--ft-notification-error-color","",Oo.contentErrorPrimary),mo.extend("--ft-notification-error-border-color","",Oo.borderErrorSubtle),mo.extend("--ft-notification-border-radius","",vo.borderRadiusPill),mo.create("--ft-notification-border-width","","SIZE","1px"),mo.extend("--ft-notification-gap-leading","",vo.spacing2),mo.extend("--ft-notification-gap-trailing","",vo.spacing8),mo.extend("--ft-tooltip-horizontal-padding","",vo.spacing2),mo.extend("--ft-tooltip-vertical-padding","",vo.spacing2),mo.extend("--ft-tooltip-border-radius","",vo.borderRadiusS),mo.extend("--ft-tooltip-label","",Oo.contentGlobalOnColor),mo.extend("--ft-tooltip-background","",Oo.contentGlobalPrimary),mo.extend("--ft-tooltip-background-opacity","",vo.opacity80),mo.extend("--ft-tooltip-shadow","",vo.shadowElevation03),mo.create("--ft-color-primary","","COLOR","#2196F3"),mo.create("--ft-color-primary-variant","","COLOR","#1976D2"),mo.create("--ft-color-secondary","","COLOR","#FFCC80"),mo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),mo.create("--ft-color-surface","","COLOR","#FFFFFF"),mo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-error","","COLOR","#B00020"),mo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),mo.create("--ft-color-opacity-high","","NUMBER","1"),mo.create("--ft-color-opacity-medium","","NUMBER","0.74"),mo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),mo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),mo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),mo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),mo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),mo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),mo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),mo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),mo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),mo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),mo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),mo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),mo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),mo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),mo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),mo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),mo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),mo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),mo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),mo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),mo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),mo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),mo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),mo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),mo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),mo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),mo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),mo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),mo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),mo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),mo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.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)"),mo.create("--ft-border-radius-S","","SIZE","4px"),mo.create("--ft-border-radius-M","","SIZE","8px"),mo.create("--ft-border-radius-L","","SIZE","12px"),mo.create("--ft-border-radius-XL","","SIZE","16px"),mo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),mo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),mo.create("--ft-transition-duration","","UNKNOWN","250ms"),mo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2019 Google LLC
|
|
@@ -98,12 +98,12 @@ const No=window,wo=No.ShadowRoot&&(void 0===No.ShadyCSS||No.ShadyCSS.nativeShado
|
|
|
98
98
|
display: inline-block;
|
|
99
99
|
width: 0;
|
|
100
100
|
}
|
|
101
|
-
`;class Lo{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()}}}class ko{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 Ko(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ao,Zo,jo;const Mo=Symbol("internalReduxEventsUnsubscribers"),Fo=Symbol("internalStoresUnsubscribers"),Po=Symbol("internalStores");class $o extends Io{constructor(){super(...arguments),this[Ao]=new Map,this[Zo]=new Map,this[jo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Po].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Po].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ko(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[Po].delete(o)}setupStore(t,o){this[Po].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Po].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[Fo].has(t.store):this[Fo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Fo].set(t,o.subscribe((()=>this.updateFromStores()))),Ko(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[Mo].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Fo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Mo].forEach((t=>t())),this[Mo]=[]}unsubscribeFromStore(t){this[Fo].has(t)&&this[Fo].get(t)(),this[Fo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Bo(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 Do(t){return!!t&&!!t[Re]}function zo(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)===Ie}(t)||Array.isArray(t)||!!t[Ue]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ue])||Yo(t)||Vo(t))}function _o(t,o,e){void 0===e&&(e=!1),0===To(t)?(e?Object.keys:We)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function To(t){var o=t[Re];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Yo(t)?2:Vo(t)?3:0}function Ho(t,o){return 2===To(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Go(t,o,e){var r=To(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function qo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Yo(t){return Se&&t instanceof Map}function Vo(t){return xe&&t instanceof Set}function Jo(t){return t.o||t.t}function Xo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Le(t);delete o[Re];for(var e=We(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 Qo(t,o){return void 0===o&&(o=!1),oe(t)||Do(t)||!zo(t)||(To(t)>1&&(t.set=t.add=t.clear=t.delete=te),Object.freeze(t),o&&_o(t,(function(t,o){return Qo(o,!0)}),!0)),t}function te(){Bo(2)}function oe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ee(t){var o=ke[t];return o||Bo(18,t),o}function re(){return Ne}function ne(t,o){o&&(ee("Patches"),t.u=[],t.s=[],t.v=o)}function ie(t){ae(t),t.p.forEach(ce),t.p=null}function ae(t){t===Ne&&(Ne=t.l)}function se(t){return Ne={p:[],l:Ne,h:t,m:!0,_:0}}function ce(t){var o=t[Re];0===o.i||1===o.i?o.j():o.g=!0}function le(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||ee("ES5").S(o,t,r),r?(e[Re].P&&(ie(o),Bo(4)),zo(t)&&(t=fe(o,t),o.l||ue(o,t)),o.u&&ee("Patches").M(e[Re].t,t,o.u,o.s)):t=fe(o,e,[]),ie(o),o.u&&o.v(o.u,o.s),t!==Ee?t:void 0}function fe(t,o,e){if(oe(o))return o;var r=o[Re];if(!r)return _o(o,(function(n,i){return he(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return ue(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Xo(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),_o(i,(function(o,i){return he(t,r,n,o,i,e,a)})),ue(t,n,!1),e&&t.u&&ee("Patches").N(r,e,t.u,t.s)}return r.o}function he(t,o,e,r,n,i,a){if(Do(n)){var s=fe(t,n,i&&o&&3!==o.i&&!Ho(o.R,r)?i.concat(r):void 0);if(Go(e,r,s),!Do(s))return;t.m=!1}else a&&e.add(n);if(zo(n)&&!oe(n)){if(!t.h.D&&t._<1)return;fe(t,n),o&&o.A.l||ue(t,n)}}function ue(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Qo(o,e)}function pe(t,o){var e=t[Re];return(e?Jo(e):t)[o]}function de(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 ye(t){t.P||(t.P=!0,t.l&&ye(t.l))}function be(t){t.o||(t.o=Xo(t.t))}function ge(t,o,e){var r=Yo(o)?ee("MapSet").F(o,e):Vo(o)?ee("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:re(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Ke;e&&(n=[r],i=Ae);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):ee("ES5").J(o,e);return(e?e.A:re()).p.push(r),r}function me(t){return Do(t)||Bo(22,t),function t(o){if(!zo(o))return o;var e,r=o[Re],n=To(o);if(r){if(!r.P&&(r.i<4||!ee("ES5").K(r)))return r.t;r.I=!0,e=Oe(o,n),r.I=!1}else e=Oe(o,n);return _o(e,(function(o,n){r&&function(t,o){return 2===To(t)?t.get(o):t[o]}(r.t,o)===n||Go(e,o,t(n))})),3===n?new Set(e):e}(t)}function Oe(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Xo(t)}Ao=Fo,Zo=Po,jo=Mo,$o.reduxProperties=new Map,$o.reduxReactiveProperties=new Set,$o.reduxEventListeners=new Map;var ve,Ne,we="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Se="undefined"!=typeof Map,xe="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ee=we?Symbol.for("immer-nothing"):((ve={})["immer-nothing"]=!0,ve),Ue=we?Symbol.for("immer-draftable"):"__$immer_draftable",Re=we?Symbol.for("immer-state"):"__$immer_state",Ie=""+Object.prototype.constructor,We="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Le=Object.getOwnPropertyDescriptors||function(t){var o={};return We(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ke={},Ke={get:function(t,o){if(o===Re)return t;var e=Jo(t);if(!Ho(e,o))return function(t,o,e){var r,n=de(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||!zo(r)?r:r===pe(t.t,o)?(be(t),t.o[o]=ge(t.A.h,r,t)):r},has:function(t,o){return o in Jo(t)},ownKeys:function(t){return Reflect.ownKeys(Jo(t))},set:function(t,o,e){var r=de(Jo(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=pe(Jo(t),o),i=null==n?void 0:n[Re];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(qo(e,n)&&(void 0!==e||Ho(t.t,o)))return!0;be(t),ye(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!==pe(t.t,o)||o in t.t?(t.R[o]=!1,be(t),ye(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Jo(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(){Bo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Bo(12)}},Ae={};_o(Ke,(function(t,o){Ae[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Ae.deleteProperty=function(t,o){return Ae.set.call(this,t,o,void 0)},Ae.set=function(t,o,e){return Ke.set.call(this,t[0],o,e,t[0])};var Ze=function(){function t(t){var o=this;this.O=Ce,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&&Bo(6),void 0!==r&&"function"!=typeof r&&Bo(7),zo(t)){var s=se(o),c=ge(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?ie(s):ae(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ne(s,r),le(t,s)}),(function(t){throw ie(s),t})):(ne(s,r),le(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ee&&(a=void 0),o.D&&Qo(a,!0),r){var f=[],h=[];ee("Patches").M(t,a,f,h),r(f,h)}return a}Bo(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){zo(t)||Bo(8),Do(t)&&(t=me(t));var o=se(this),e=ge(this,t,void 0);return e[Re].C=!0,ae(o),e},o.finishDraft=function(t,o){var e=(t&&t[Re]).A;return ne(e,o),le(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ce&&Bo(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=ee("Patches").$;return Do(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),je=new Ze,Me=je.produce;function Fe(t){return Fe="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},Fe(t)}function Pe(t){var o=function(t,o){if("object"!==Fe(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Fe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Fe(o)?o:String(o)}function $e(t,o,e){return(o=Pe(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Be(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 De(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Be(Object(e),!0).forEach((function(o){$e(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ze(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. "}je.produceWithPatches.bind(je),je.setAutoFreeze.bind(je),je.setUseProxies.bind(je),je.applyPatches.bind(je),je.createDraft.bind(je),je.finishDraft.bind(je);var _e="function"==typeof Symbol&&Symbol.observable||"@@observable",Te=function(){return Math.random().toString(36).substring(7).split("").join(".")},He={INIT:"@@redux/INIT"+Te(),REPLACE:"@@redux/REPLACE"+Te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Te()}};function Ge(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ze(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ze(1));return e(Ge)(t,o)}if("function"!=typeof t)throw new Error(ze(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(ze(3));return i}function h(t){if("function"!=typeof t)throw new Error(ze(4));if(c)throw new Error(ze(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(ze(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(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(ze(7));if(void 0===t.type)throw new Error(ze(8));if(c)throw new Error(ze(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 u({type:He.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ze(10));n=t,u({type:He.REPLACE})}})[_e]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ze(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[_e]=function(){return this},t},r}function qe(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:He.INIT}))throw new Error(ze(12));if(void 0===e(void 0,{type:He.PROBE_UNKNOWN_ACTION()}))throw new Error(ze(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],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(ze(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function Ye(){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 Ve(){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(ze(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=Ye.apply(void 0,i)(e.dispatch),De(De({},e),{},{dispatch:r})}}}function Je(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 Xe=Je();Xe.withExtraArgument=Je;var Qe,tr=Xe,or=(Qe=function(t,o){return Qe=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])},Qe(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}Qe(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),er=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])}}},rr=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},nr=Object.defineProperty,ir=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,fr=function(t,o,e){return o in t?nr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},hr=function(t,o){for(var e in o||(o={}))cr.call(o,e)&&fr(t,e,o[e]);if(sr)for(var r=0,n=sr(o);r<n.length;r++){e=n[r];lr.call(o,e)&&fr(t,e,o[e])}return t},ur=function(t,o){return ir(t,ar(o))},pr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ye:Ye.apply(null,arguments)};var dr=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 or(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,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array),yr=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 or(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,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array);function br(t){return zo(t)?Me(t,(function(){})):t}function gr(){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 dr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(tr.withExtraArgument(e.extraArgument)):r.push(tr));return r}(t)}}function mr(t){var o,e=gr(),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,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;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=qe(i)}var d=s;"function"==typeof d&&(d=d(e));var y=Ve.apply(void 0,d),b=Ye;l&&(b=pr(hr({trace:!1},"object"==typeof l&&l)));var g=new yr(y),m=g;return Array.isArray(p)?m=rr([y],p):"function"==typeof p&&(m=p(g)),Ge(o,h,b.apply(void 0,m))}function Or(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 hr(hr({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 vr(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 Nr(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:br(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?vr(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=hr(hr({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?vr(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return br(t())};else{var l=br(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=rr([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(Do(t))return void 0===(r=e(t,o))?t:r;if(zo(t))return Me(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?Or(l,r):Or(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 wr=["name","message","stack","code"],Sr=function(t,o){this.payload=t,this.meta=o},xr=function(t,o){this.payload=t,this.meta=o},Cr=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=wr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Er(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=Or(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:ur(hr({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Or(t+"/pending",(function(t,o,e){return{payload:void 0,meta:ur(hr({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Or(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Cr)(t||"Rejected"),meta:ur(hr({},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,h=(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}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,b,g,m;return er(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(v=b)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,b];case 1:b=O.sent(),O.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,o){return new Sr(t,o)},fulfillWithValue:function(t,o){return new xr(t,o)}})).then((function(o){if(o instanceof Sr)throw o;return o instanceof xr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Sr?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var v}))},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,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Er)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ur,Rr,Ir="listenerMiddleware";Or(Ir+"/add"),Or(Ir+"/removeAll"),Or(Ir+"/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[Re];return Ke.get(o,t)},set:function(o){var e=this[Re];Ke.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Re];if(!n.P)switch(n.i){case 5:r(n)&&ye(n);break;case 4:e(n)&&ye(n)}}}function e(t){for(var o=t.t,e=t.k,r=We(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Re){var a=o[i];if(void 0===a&&!Ho(o,i))return!0;var s=e[i],c=s&&s[Re];if(c?c.t!==a:!qo(s,a))return!0}}var l=!!o[Re];return r.length!==We(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){ke[t]||(ke[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=Le(e);delete i[Re];for(var a=We(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:re(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Re,{value:i,writable:!0}),n},S:function(t,e,n){n?Do(e)&&e[Re].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Re];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)_o(i,(function(o){o!==Re&&(void 0!==n[o]||Ho(n,o)?a[o]||t(i[o]):(a[o]=!0,ye(e)))})),_o(n,(function(t){void 0!==i[t]||Ho(i,t)||(a[t]=!1,ye(e))}));else if(5===s){if(r(e)&&(ye(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),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Wr{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(Ko(n))return n;if(null==r)return;const i=Nr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=mr({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 Wr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ko,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()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Rr=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Rr||Rr.toString());const Lr=gt`
|
|
101
|
+
`;class Lo{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()}}}class ko{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 Ko(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ao,Zo,jo;const Mo=Symbol("internalReduxEventsUnsubscribers"),Fo=Symbol("internalStoresUnsubscribers"),Po=Symbol("internalStores");class $o extends Io{constructor(){super(...arguments),this[Ao]=new Map,this[Zo]=new Map,this[jo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Po].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Po].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ko(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[Po].delete(o)}setupStore(t,o){this[Po].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Po].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[Fo].has(t.store):this[Fo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Fo].set(t,o.subscribe((()=>this.updateFromStores()))),Ko(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[Mo].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Fo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Mo].forEach((t=>t())),this[Mo]=[]}unsubscribeFromStore(t){this[Fo].has(t)&&this[Fo].get(t)(),this[Fo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Bo(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 Do(t){return!!t&&!!t[Re]}function zo(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)===Ie}(t)||Array.isArray(t)||!!t[Ue]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ue])||Yo(t)||Vo(t))}function _o(t,o,e){void 0===e&&(e=!1),0===To(t)?(e?Object.keys:We)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function To(t){var o=t[Re];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Yo(t)?2:Vo(t)?3:0}function Ho(t,o){return 2===To(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Go(t,o,e){var r=To(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function qo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Yo(t){return Se&&t instanceof Map}function Vo(t){return xe&&t instanceof Set}function Jo(t){return t.o||t.t}function Xo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Le(t);delete o[Re];for(var e=We(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 Qo(t,o){return void 0===o&&(o=!1),oe(t)||Do(t)||!zo(t)||(To(t)>1&&(t.set=t.add=t.clear=t.delete=te),Object.freeze(t),o&&_o(t,(function(t,o){return Qo(o,!0)}),!0)),t}function te(){Bo(2)}function oe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ee(t){var o=ke[t];return o||Bo(18,t),o}function re(){return Ne}function ne(t,o){o&&(ee("Patches"),t.u=[],t.s=[],t.v=o)}function ie(t){ae(t),t.p.forEach(ce),t.p=null}function ae(t){t===Ne&&(Ne=t.l)}function se(t){return Ne={p:[],l:Ne,h:t,m:!0,_:0}}function ce(t){var o=t[Re];0===o.i||1===o.i?o.j():o.g=!0}function le(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||ee("ES5").S(o,t,r),r?(e[Re].P&&(ie(o),Bo(4)),zo(t)&&(t=fe(o,t),o.l||ue(o,t)),o.u&&ee("Patches").M(e[Re].t,t,o.u,o.s)):t=fe(o,e,[]),ie(o),o.u&&o.v(o.u,o.s),t!==Ee?t:void 0}function fe(t,o,e){if(oe(o))return o;var r=o[Re];if(!r)return _o(o,(function(n,i){return he(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return ue(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Xo(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),_o(i,(function(o,i){return he(t,r,n,o,i,e,a)})),ue(t,n,!1),e&&t.u&&ee("Patches").N(r,e,t.u,t.s)}return r.o}function he(t,o,e,r,n,i,a){if(Do(n)){var s=fe(t,n,i&&o&&3!==o.i&&!Ho(o.R,r)?i.concat(r):void 0);if(Go(e,r,s),!Do(s))return;t.m=!1}else a&&e.add(n);if(zo(n)&&!oe(n)){if(!t.h.D&&t._<1)return;fe(t,n),o&&o.A.l||ue(t,n)}}function ue(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Qo(o,e)}function pe(t,o){var e=t[Re];return(e?Jo(e):t)[o]}function de(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 ye(t){t.P||(t.P=!0,t.l&&ye(t.l))}function be(t){t.o||(t.o=Xo(t.t))}function ge(t,o,e){var r=Yo(o)?ee("MapSet").F(o,e):Vo(o)?ee("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:re(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Ke;e&&(n=[r],i=Ae);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):ee("ES5").J(o,e);return(e?e.A:re()).p.push(r),r}function me(t){return Do(t)||Bo(22,t),function t(o){if(!zo(o))return o;var e,r=o[Re],n=To(o);if(r){if(!r.P&&(r.i<4||!ee("ES5").K(r)))return r.t;r.I=!0,e=ve(o,n),r.I=!1}else e=ve(o,n);return _o(e,(function(o,n){r&&function(t,o){return 2===To(t)?t.get(o):t[o]}(r.t,o)===n||Go(e,o,t(n))})),3===n?new Set(e):e}(t)}function ve(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Xo(t)}Ao=Fo,Zo=Po,jo=Mo,$o.reduxProperties=new Map,$o.reduxReactiveProperties=new Set,$o.reduxEventListeners=new Map;var Oe,Ne,we="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Se="undefined"!=typeof Map,xe="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ee=we?Symbol.for("immer-nothing"):((Oe={})["immer-nothing"]=!0,Oe),Ue=we?Symbol.for("immer-draftable"):"__$immer_draftable",Re=we?Symbol.for("immer-state"):"__$immer_state",Ie=""+Object.prototype.constructor,We="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Le=Object.getOwnPropertyDescriptors||function(t){var o={};return We(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ke={},Ke={get:function(t,o){if(o===Re)return t;var e=Jo(t);if(!Ho(e,o))return function(t,o,e){var r,n=de(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||!zo(r)?r:r===pe(t.t,o)?(be(t),t.o[o]=ge(t.A.h,r,t)):r},has:function(t,o){return o in Jo(t)},ownKeys:function(t){return Reflect.ownKeys(Jo(t))},set:function(t,o,e){var r=de(Jo(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=pe(Jo(t),o),i=null==n?void 0:n[Re];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(qo(e,n)&&(void 0!==e||Ho(t.t,o)))return!0;be(t),ye(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!==pe(t.t,o)||o in t.t?(t.R[o]=!1,be(t),ye(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Jo(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(){Bo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Bo(12)}},Ae={};_o(Ke,(function(t,o){Ae[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Ae.deleteProperty=function(t,o){return Ae.set.call(this,t,o,void 0)},Ae.set=function(t,o,e){return Ke.set.call(this,t[0],o,e,t[0])};var Ze=function(){function t(t){var o=this;this.O=Ce,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&&Bo(6),void 0!==r&&"function"!=typeof r&&Bo(7),zo(t)){var s=se(o),c=ge(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?ie(s):ae(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ne(s,r),le(t,s)}),(function(t){throw ie(s),t})):(ne(s,r),le(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ee&&(a=void 0),o.D&&Qo(a,!0),r){var f=[],h=[];ee("Patches").M(t,a,f,h),r(f,h)}return a}Bo(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){zo(t)||Bo(8),Do(t)&&(t=me(t));var o=se(this),e=ge(this,t,void 0);return e[Re].C=!0,ae(o),e},o.finishDraft=function(t,o){var e=(t&&t[Re]).A;return ne(e,o),le(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ce&&Bo(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=ee("Patches").$;return Do(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),je=new Ze,Me=je.produce;function Fe(t){return Fe="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},Fe(t)}function Pe(t){var o=function(t,o){if("object"!==Fe(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Fe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Fe(o)?o:String(o)}function $e(t,o,e){return(o=Pe(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Be(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 De(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Be(Object(e),!0).forEach((function(o){$e(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ze(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. "}je.produceWithPatches.bind(je),je.setAutoFreeze.bind(je),je.setUseProxies.bind(je),je.applyPatches.bind(je),je.createDraft.bind(je),je.finishDraft.bind(je);var _e="function"==typeof Symbol&&Symbol.observable||"@@observable",Te=function(){return Math.random().toString(36).substring(7).split("").join(".")},He={INIT:"@@redux/INIT"+Te(),REPLACE:"@@redux/REPLACE"+Te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Te()}};function Ge(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ze(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ze(1));return e(Ge)(t,o)}if("function"!=typeof t)throw new Error(ze(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(ze(3));return i}function h(t){if("function"!=typeof t)throw new Error(ze(4));if(c)throw new Error(ze(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(ze(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(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(ze(7));if(void 0===t.type)throw new Error(ze(8));if(c)throw new Error(ze(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 u({type:He.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ze(10));n=t,u({type:He.REPLACE})}})[_e]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ze(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[_e]=function(){return this},t},r}function qe(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:He.INIT}))throw new Error(ze(12));if(void 0===e(void 0,{type:He.PROBE_UNKNOWN_ACTION()}))throw new Error(ze(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],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(ze(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function Ye(){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 Ve(){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(ze(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=Ye.apply(void 0,i)(e.dispatch),De(De({},e),{},{dispatch:r})}}}function Je(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 Xe=Je();Xe.withExtraArgument=Je;var Qe,tr=Xe,or=(Qe=function(t,o){return Qe=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])},Qe(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}Qe(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),er=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])}}},rr=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},nr=Object.defineProperty,ir=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,fr=function(t,o,e){return o in t?nr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},hr=function(t,o){for(var e in o||(o={}))cr.call(o,e)&&fr(t,e,o[e]);if(sr)for(var r=0,n=sr(o);r<n.length;r++){e=n[r];lr.call(o,e)&&fr(t,e,o[e])}return t},ur=function(t,o){return ir(t,ar(o))},pr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ye:Ye.apply(null,arguments)};var dr=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 or(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,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array),yr=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 or(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,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array);function br(t){return zo(t)?Me(t,(function(){})):t}function gr(){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 dr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(tr.withExtraArgument(e.extraArgument)):r.push(tr));return r}(t)}}function mr(t){var o,e=gr(),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,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;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=qe(i)}var d=s;"function"==typeof d&&(d=d(e));var y=Ve.apply(void 0,d),b=Ye;l&&(b=pr(hr({trace:!1},"object"==typeof l&&l)));var g=new yr(y),m=g;return Array.isArray(p)?m=rr([y],p):"function"==typeof p&&(m=p(g)),Ge(o,h,b.apply(void 0,m))}function vr(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 hr(hr({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 Or(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 Nr(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:br(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?Or(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=hr(hr({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Or(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return br(t())};else{var l=br(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=rr([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(Do(t))return void 0===(r=e(t,o))?t:r;if(zo(t))return Me(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?vr(l,r):vr(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 wr=["name","message","stack","code"],Sr=function(t,o){this.payload=t,this.meta=o},xr=function(t,o){this.payload=t,this.meta=o},Cr=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=wr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Er(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=vr(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:ur(hr({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=vr(t+"/pending",(function(t,o,e){return{payload:void 0,meta:ur(hr({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=vr(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Cr)(t||"Rejected"),meta:ur(hr({},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,h=(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}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,b,g,m;return er(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,o){return new Sr(t,o)},fulfillWithValue:function(t,o){return new xr(t,o)}})).then((function(o){if(o instanceof Sr)throw o;return o instanceof xr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Sr?i(null,h,t,m.payload,m.meta):i(m,h,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,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Er)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ur,Rr,Ir="listenerMiddleware";vr(Ir+"/add"),vr(Ir+"/removeAll"),vr(Ir+"/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[Re];return Ke.get(o,t)},set:function(o){var e=this[Re];Ke.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Re];if(!n.P)switch(n.i){case 5:r(n)&&ye(n);break;case 4:e(n)&&ye(n)}}}function e(t){for(var o=t.t,e=t.k,r=We(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Re){var a=o[i];if(void 0===a&&!Ho(o,i))return!0;var s=e[i],c=s&&s[Re];if(c?c.t!==a:!qo(s,a))return!0}}var l=!!o[Re];return r.length!==We(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){ke[t]||(ke[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=Le(e);delete i[Re];for(var a=We(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:re(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Re,{value:i,writable:!0}),n},S:function(t,e,n){n?Do(e)&&e[Re].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Re];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)_o(i,(function(o){o!==Re&&(void 0!==n[o]||Ho(n,o)?a[o]||t(i[o]):(a[o]=!0,ye(e)))})),_o(n,(function(t){void 0!==i[t]||Ho(i,t)||(a[t]=!1,ye(e))}));else if(5===s){if(r(e)&&(ye(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),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Wr{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(Ko(n))return n;if(null==r)return;const i=Nr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=mr({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 Wr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ko,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()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Rr=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Rr||Rr.toString());const Lr=gt`
|
|
102
102
|
`,kr=gt`
|
|
103
103
|
`,Kr=Wr.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}});class Ar{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Kr.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?Ar.build(t):null!==(o=Ar.API)&&void 0!==o?o:Ar.API=Ar.build()}static await(t){return new Promise((o=>{let e=Ar.get(t);if(e)o(e);else{const r=Kr.subscribe((()=>{e=Ar.get(t),e&&(r(),o(e))}))}}))}}var Zr;const jr=Symbol("clearAfterUnitTest");class Mr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Zr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Kr.getState().uiLocale,Kr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Kr.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};I(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 Lo(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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}Zr=jr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Mr((async(t,o)=>(await Ar.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Mr((async(t,o)=>(await Ar.await()).getCustomMessageContext(t,o))));const Fr=window.FluidTopicsI18nService,Pr=window.FluidTopicsCustomI18nService;var $r=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 Br extends Io{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ar.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return Qt`
|
|
104
104
|
<slot></slot>
|
|
105
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Kr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Kr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Kr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Kr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Kr.actions.noCustom(this.noCustom),t.has("editorMode")&&Kr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Kr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Kr.actions.session(this.session),t.has("availableUiLocales")&&Kr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fr.addContext(t))),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()))}}Br.elementDefinitions={},Br.styles=kr,$r([R()],Br.prototype,"baseUrl",void 0),$r([R()],Br.prototype,"apiIntegrationIdentifier",void 0),$r([R()],Br.prototype,"uiLocale",void 0),$r([L(null)],Br.prototype,"availableUiLocales",void 0),$r([L(null)],Br.prototype,"metadataConfiguration",void 0),$r([R({type:Boolean})],Br.prototype,"editorMode",void 0),$r([R({type:Boolean})],Br.prototype,"noCustom",void 0),$r([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),$r([R({type:Boolean})],Br.prototype,"withManualResources",void 0),$r([L([])],Br.prototype,"messageContexts",void 0),$r([L(void 0)],Br.prototype,"session",void 0),$r([R({type:Object})],Br.prototype,"apiProvider",void 0);class Dr{async listMySearches(){var t;return(null===(t=Kr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ar.await()).listMySearches(Kr.getState().session.profile.userId):[]}}const zr=new r;class _r{async listMyBookmarks(){return zr.get("bookmarks",(async()=>(await Ar.await()).listMyBookmarks(Kr.getState().session.profile.userId)))}clearCache(){zr.clear("bookmarks")}}const Tr=Wr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Kr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _r,Kr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Kr.getState();I(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(){Tr.actions.savedSearches(void 0)}clearMyBookmarks(){Tr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Dr,o=await t.listMySearches();Tr.actions.savedSearches(o)}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;Tr.actions.bookmarks(o)}}},W("ft-app-context")(Br);var Hr=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 Gr=Symbol("
|
|
105
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(Kr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Kr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Kr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Kr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Kr.actions.noCustom(this.noCustom),t.has("editorMode")&&Kr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Kr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Kr.actions.session(this.session),t.has("availableUiLocales")&&Kr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fr.addContext(t))),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()))}}Br.elementDefinitions={},Br.styles=kr,$r([R()],Br.prototype,"baseUrl",void 0),$r([R()],Br.prototype,"apiIntegrationIdentifier",void 0),$r([R()],Br.prototype,"uiLocale",void 0),$r([L(null)],Br.prototype,"availableUiLocales",void 0),$r([L(null)],Br.prototype,"metadataConfiguration",void 0),$r([R({type:Boolean})],Br.prototype,"editorMode",void 0),$r([R({type:Boolean})],Br.prototype,"noCustom",void 0),$r([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),$r([R({type:Boolean})],Br.prototype,"withManualResources",void 0),$r([L([])],Br.prototype,"messageContexts",void 0),$r([L(void 0)],Br.prototype,"session",void 0),$r([R({type:Object})],Br.prototype,"apiProvider",void 0);class Dr{async listMySearches(){var t;return(null===(t=Kr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ar.await()).listMySearches(Kr.getState().session.profile.userId):[]}}const zr=new r;class _r{async listMyBookmarks(){return zr.get("bookmarks",(async()=>(await Ar.await()).listMyBookmarks(Kr.getState().session.profile.userId)))}clearCache(){zr.clear("bookmarks")}}const Tr=Wr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Kr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _r,Kr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Kr.getState();I(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(){Tr.actions.savedSearches(void 0)}clearMyBookmarks(){Tr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Dr,o=await t.listMySearches();Tr.actions.savedSearches(o)}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;Tr.actions.bookmarks(o)}}},W("ft-app-context")(Br);var Hr=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 Gr=Symbol("i18nAttributes"),qr=Symbol("i18nProperties"),Yr=Symbol("i18nUnsubs");function Vr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Pr:Fr}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[Gr])||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[qr])||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[Gr])||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[qr])||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[qr])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Gr])||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[Yr].has(t)||this[Yr].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[Yr].forEach((t=>t())),this[Yr].clear()}}return o=Yr,Hr([R({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Jr extends(Vr(Io)){}class Xr extends(Vr($o)){}var Qr=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 tn extends Xr{constructor(){super(),this.editorMode=!1,this.addStore(Kr)}render(){return this.key&&this.context?Qt`
|
|
106
106
|
<span class="ft-i18n">
|
|
107
107
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
108
108
|
</span>
|
|
109
|
-
`:this.editorMode?"Select a context and a label key.":oo}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}
|
|
109
|
+
`:this.editorMode?"Select a context and a label key.":oo}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:""})}}tn.elementDefinitions={},tn.styles=Lr,Qr([(t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!I(t,o),attribute:!1,...o};R(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})}})()],tn.prototype,"editorMode",void 0),Qr([R()],tn.prototype,"context",void 0),Qr([R()],tn.prototype,"key",void 0),Qr([L([])],tn.prototype,"args",void 0),Qr([R()],tn.prototype,"defaultMessage",void 0);class on{static build(t){return new on(t)}static fromGwt(t){return new on(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)=>Fr.resolveMessage(this.name,o,...t)})}}W("ft-i18n")(tn),t.FtI18n=tn,t.FtI18nCssVariables={},t.FtLitElementReduxWithI18n=Xr,t.FtLitElementWithI18n=Jr,t.I18nMessageContext=on,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[qr]=null!==(i=e[qr])&&void 0!==i?i:new Map,e[qr].set(r,a)},t.i18nAttributes=Gr,t.i18nProperties=qr,t.i18nUnsubs=Yr,t.styles=Lr,t.withI18n=Vr}({});
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
2
|
-
export interface
|
|
2
|
+
export interface I18nAttributeInit<E extends FtLitElement = FtLitElement> {
|
|
3
|
+
args?: any[];
|
|
4
|
+
argsProvider?: (self: E) => any[];
|
|
5
|
+
}
|
|
6
|
+
export interface I18nPropertyInit<E extends FtLitElement = FtLitElement> {
|
|
3
7
|
context: string;
|
|
4
8
|
key: string;
|
|
5
9
|
args?: any[];
|
|
@@ -12,7 +16,7 @@ export type DefaultI18nMessages<T extends I18nMessages> = {
|
|
|
12
16
|
[key in keyof T]: string;
|
|
13
17
|
};
|
|
14
18
|
type I18nPropertyProviders<T extends I18nMessages> = {
|
|
15
|
-
[key in keyof T]: Parameters<T[key]> extends [] ? () =>
|
|
19
|
+
[key in keyof T]: Parameters<T[key]> extends [] ? () => I18nPropertyInit : ((argsOrArgsProvider: ((litElement: any) => Parameters<T[key]>) | Parameters<T[key]>) => I18nPropertyInit);
|
|
16
20
|
};
|
|
17
21
|
export declare class I18nMessageContext<T extends I18nMessages> {
|
|
18
22
|
name: string;
|
package/build/lit/i18n.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { Constructor, FtLitElement, FtLitElementRedux } from "@fluid-topics/ft-wc-utils";
|
|
2
2
|
import { FtI18nService } from "@fluid-topics/ft-app-context";
|
|
3
|
-
import { I18nMessageContext,
|
|
3
|
+
import { I18nAttributeInit, I18nMessageContext, I18nPropertyInit } from "../generator/I18nMessageContext";
|
|
4
|
+
export declare const i18nAttributes: unique symbol;
|
|
4
5
|
export declare const i18nProperties: unique symbol;
|
|
5
6
|
export declare const i18nUnsubs: unique symbol;
|
|
6
7
|
export type FtLitElementWithI18nInterface = {
|
|
7
|
-
[
|
|
8
|
+
[i18nAttributes]?: Map<string, I18nAttributeInit>;
|
|
9
|
+
[i18nProperties]?: Map<string, I18nPropertyInit>;
|
|
8
10
|
[i18nUnsubs]: Map<string, Function>;
|
|
9
11
|
i18nService: FtI18nService;
|
|
10
|
-
|
|
12
|
+
useCustomMessageContexts: boolean;
|
|
13
|
+
i18n(property: I18nPropertyInit): string;
|
|
11
14
|
i18n(context: string, key: string, ...args: any[]): string;
|
|
12
15
|
addI18nMessages(name: string, defaultMessages?: Record<string, string>): void;
|
|
13
16
|
addI18nContext(context: I18nMessageContext<any>, defaultMessages?: Record<string, string>): void;
|
package/build/lit/i18n.js
CHANGED
|
@@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { FtLitElement, FtLitElementRedux } from "@fluid-topics/ft-wc-utils";
|
|
8
8
|
import { ftCustomI18nService, ftI18nService } from "@fluid-topics/ft-app-context";
|
|
9
9
|
import { property } from "lit/decorators.js";
|
|
10
|
+
export const i18nAttributes = Symbol("i18nAttributes");
|
|
10
11
|
export const i18nProperties = Symbol("i18nProperties");
|
|
11
12
|
export const i18nUnsubs = Symbol("i18nUnsubs");
|
|
12
13
|
export function withI18n(Class) {
|
|
@@ -25,45 +26,71 @@ export function withI18n(Class) {
|
|
|
25
26
|
if (typeof contextOrProperty === "string") {
|
|
26
27
|
return this.i18nService.resolveMessage(contextOrProperty, key, ...args);
|
|
27
28
|
}
|
|
28
|
-
const resolvedArgs = (_b = contextOrProperty.args) !== null && _b !== void 0 ? _b : (contextOrProperty.argsProvider
|
|
29
|
-
? contextOrProperty.argsProvider(this)
|
|
30
|
-
: []);
|
|
29
|
+
const resolvedArgs = (_b = contextOrProperty.args) !== null && _b !== void 0 ? _b : (contextOrProperty.argsProvider ? contextOrProperty.argsProvider(this) : []);
|
|
31
30
|
return this.i18nService.resolveMessage(contextOrProperty.context, contextOrProperty.key, ...resolvedArgs);
|
|
32
31
|
}
|
|
33
32
|
onI18nUpdate(context) {
|
|
34
|
-
var _b;
|
|
35
|
-
(_b = this[
|
|
33
|
+
var _b, _c;
|
|
34
|
+
(_b = this[i18nAttributes]) === null || _b === void 0 ? void 0 : _b.forEach((init, prop) => {
|
|
35
|
+
var _b;
|
|
36
|
+
const attributeValue = this.getI18nAttributeValue(prop);
|
|
37
|
+
if (((_b = attributeValue === null || attributeValue === void 0 ? void 0 : attributeValue.context) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === context.toLowerCase()) {
|
|
38
|
+
this.updateI18nAttributeMessage(prop, attributeValue, init);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
(_c = this[i18nProperties]) === null || _c === void 0 ? void 0 : _c.forEach((init, prop) => {
|
|
36
42
|
if (init.context.toLowerCase() === context.toLowerCase()) {
|
|
37
43
|
this[prop] = this.i18n(init);
|
|
38
44
|
}
|
|
39
45
|
});
|
|
40
46
|
setTimeout(() => this.requestUpdate(), 0);
|
|
41
47
|
}
|
|
48
|
+
updateI18nAttributeMessage(prop, attributeValue, init) {
|
|
49
|
+
this[prop] = {
|
|
50
|
+
...attributeValue,
|
|
51
|
+
message: this.i18n({ context: attributeValue.context, key: attributeValue.key, ...init })
|
|
52
|
+
};
|
|
53
|
+
}
|
|
42
54
|
update(props) {
|
|
43
|
-
var _b;
|
|
55
|
+
var _b, _c;
|
|
44
56
|
super.update(props);
|
|
45
|
-
(_b = this[
|
|
57
|
+
(_b = this[i18nAttributes]) === null || _b === void 0 ? void 0 : _b.forEach((init, prop) => {
|
|
58
|
+
const attributeValue = this.getI18nAttributeValue(prop);
|
|
59
|
+
if ((attributeValue === null || attributeValue === void 0 ? void 0 : attributeValue.context) && attributeValue.key && (props.has(prop) || init.argsProvider != null)) {
|
|
60
|
+
if (props.has(prop)) {
|
|
61
|
+
this.addI18nContext(attributeValue.context);
|
|
62
|
+
}
|
|
63
|
+
this.updateI18nAttributeMessage(prop, attributeValue, init);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
(_c = this[i18nProperties]) === null || _c === void 0 ? void 0 : _c.forEach((init, prop) => {
|
|
46
67
|
if (init.argsProvider != null) {
|
|
47
68
|
this[prop] = this.i18n(init);
|
|
48
69
|
}
|
|
49
70
|
});
|
|
50
71
|
}
|
|
72
|
+
getI18nAttributeValue(prop) {
|
|
73
|
+
return this[prop];
|
|
74
|
+
}
|
|
51
75
|
connectedCallback() {
|
|
76
|
+
var _b, _c, _d, _e;
|
|
52
77
|
super.connectedCallback();
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
78
|
+
new Set([
|
|
79
|
+
...(_c = (_b = this[i18nProperties]) === null || _b === void 0 ? void 0 : _b.values()) !== null && _c !== void 0 ? _c : [],
|
|
80
|
+
...[...(_e = (_d = this[i18nAttributes]) === null || _d === void 0 ? void 0 : _d.keys()) !== null && _e !== void 0 ? _e : []].map(name => this.getI18nAttributeValue(name))
|
|
81
|
+
]
|
|
82
|
+
.map(c => c === null || c === void 0 ? void 0 : c.context))
|
|
83
|
+
.forEach((context) => context && this.addI18nMessages(context));
|
|
57
84
|
}
|
|
58
|
-
addI18nMessages(
|
|
59
|
-
|
|
60
|
-
if (!this[i18nUnsubs].has(
|
|
61
|
-
this[i18nUnsubs].set(
|
|
85
|
+
addI18nMessages(context, defaultMessages) {
|
|
86
|
+
context = context.toLowerCase();
|
|
87
|
+
if (!this[i18nUnsubs].has(context)) {
|
|
88
|
+
this[i18nUnsubs].set(context, this.i18nService.subscribe(context, () => this.onI18nUpdate(context)));
|
|
62
89
|
}
|
|
63
|
-
this.i18nService.prepareContext(
|
|
90
|
+
this.i18nService.prepareContext(context, defaultMessages !== null && defaultMessages !== void 0 ? defaultMessages : {});
|
|
64
91
|
}
|
|
65
92
|
addI18nContext(context, defaultMessages) {
|
|
66
|
-
this.addI18nMessages(context.name, defaultMessages);
|
|
93
|
+
this.addI18nMessages(typeof context === "string" ? context : context.name, defaultMessages);
|
|
67
94
|
}
|
|
68
95
|
disconnectedCallback() {
|
|
69
96
|
super.disconnectedCallback();
|
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.34",
|
|
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.34",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.34",
|
|
24
24
|
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "1e947e93e937ded84f056955b14b760e9dea7058"
|
|
27
27
|
}
|