@fluid-topics/ft-search-result-missing-terms 1.1.39

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/README.md ADDED
@@ -0,0 +1,19 @@
1
+ A component displaying the missing terms of the query in a search results
2
+
3
+ ## Install
4
+
5
+ ```shell
6
+ npm install @fluid-topics/ft-search-result-missing-terms
7
+ yarn add @fluid-topics/ft-search-result-missing-terms
8
+ ```
9
+
10
+ ## Usage
11
+
12
+ ```typescript
13
+ import { html } from "lit"
14
+ import "@fluid-topics/ft-search-result-missing-terms"
15
+
16
+ function render() {
17
+ return html` <ft-search-result-missing-terms></ft-search-result-missing-terms> `
18
+ }
19
+ ```
@@ -0,0 +1,5 @@
1
+ import { I18nMessageContext, I18nMessages } from "@fluid-topics/ft-i18n";
2
+ export interface SearchResultMissingTermsMessages extends I18nMessages {
3
+ missing(): string;
4
+ }
5
+ export declare const searchResultMissingTermsMessages: I18nMessageContext<SearchResultMissingTermsMessages>;
@@ -0,0 +1,2 @@
1
+ import { I18nMessageContext } from "@fluid-topics/ft-i18n";
2
+ export const searchResultMissingTermsMessages = I18nMessageContext.build("designedSearchResultMissingTermsMessages");
@@ -0,0 +1,2 @@
1
+ export declare const FtSearchResultMissingTermsCssVariables: {};
2
+ export declare const styles: import("lit").CSSResult;
@@ -0,0 +1,8 @@
1
+ import { css } from "lit";
2
+ export const FtSearchResultMissingTermsCssVariables = {};
3
+ // language=CSS
4
+ export const styles = css `
5
+ [part="missing-term"] {
6
+ text-decoration: line-through;
7
+ }
8
+ `;
@@ -0,0 +1,14 @@
1
+ import { nothing, PropertyValues } from "lit";
2
+ import { FtSearchResultMissingTermsProperties } from "./ft-search-result-missing-terms.properties";
3
+ import { FtSearchResultComponent } from "@fluid-topics/ft-search-result-context/build/registration";
4
+ import { ElementDefinitionsMap } from "@fluid-topics/ft-wc-utils";
5
+ declare const FtSearchResultMissingTerms_base: typeof FtSearchResultComponent & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-i18n").FtLitElementWithI18nInterface>;
6
+ export declare class FtSearchResultMissingTerms extends FtSearchResultMissingTerms_base implements FtSearchResultMissingTermsProperties {
7
+ static elementDefinitions: ElementDefinitionsMap;
8
+ static styles: import("lit").CSSResult;
9
+ missingTerms: string[];
10
+ constructor();
11
+ protected update(props: PropertyValues): void;
12
+ protected render(): import("lit").TemplateResult<1> | typeof nothing;
13
+ }
14
+ export {};
@@ -0,0 +1,49 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, nothing, } from "lit";
8
+ import { state } from "lit/decorators.js";
9
+ import { join } from "lit/directives/join.js";
10
+ import { map } from "lit/directives/map.js";
11
+ import { styles } from "./ft-search-result-missing-terms.css";
12
+ import { withI18n } from "@fluid-topics/ft-i18n";
13
+ import { FtSearchResultComponent } from "@fluid-topics/ft-search-result-context/build/registration";
14
+ import { searchResultMissingTermsMessages } from "./SearchResultMissingTermsMessages";
15
+ import { deepEqual } from "@fluid-topics/ft-wc-utils";
16
+ import { FtTypography } from "@fluid-topics/ft-typography";
17
+ class FtSearchResultMissingTerms extends withI18n(FtSearchResultComponent) {
18
+ constructor() {
19
+ super();
20
+ this.missingTerms = [];
21
+ this.addI18nContext(searchResultMissingTermsMessages, { missing: "Missing:" });
22
+ }
23
+ update(props) {
24
+ var _a;
25
+ super.update(props);
26
+ if (props.has("result")) {
27
+ this.missingTerms = ((_a = this.result) === null || _a === void 0 ? void 0 : _a.missingTerms) || [];
28
+ }
29
+ }
30
+ render() {
31
+ if (this.missingTerms.length) {
32
+ return html `
33
+ <ft-typography variant="body2" part="missing-terms" class="ft-search-result-missing-terms">
34
+ <span>${searchResultMissingTermsMessages.messages.missing()}</span>
35
+ ${join(map(this.missingTerms, (term) => html `<span part="missing-term">${term}</span>`), html `<span part="missing-terms-separator">, </span>`)}
36
+ </ft-typography>
37
+ `;
38
+ }
39
+ return nothing;
40
+ }
41
+ }
42
+ FtSearchResultMissingTerms.elementDefinitions = {
43
+ "ft-typography": FtTypography
44
+ };
45
+ FtSearchResultMissingTerms.styles = styles;
46
+ __decorate([
47
+ state({ hasChanged: (value, oldValue) => !deepEqual(value, oldValue) })
48
+ ], FtSearchResultMissingTerms.prototype, "missingTerms", void 0);
49
+ export { FtSearchResultMissingTerms };
@@ -0,0 +1,151 @@
1
+ !function(t,o,e,r){const a=e.css`
2
+ [part="missing-term"] {
3
+ text-decoration: line-through;
4
+ }
5
+ `,n=e.css`
6
+ `,i=e.css`
7
+ `,l=o.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 c{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=l.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?c.build(t):null!==(o=c.API)&&void 0!==o?o:c.API=c.build()}static await(t){return new Promise((o=>{let e=c.get(t);if(e)o(e);else{const r=l.subscribe((()=>{e=c.get(t),e&&(r(),o(e))}))}}))}}class s{constructor(t=!0,e){var r;this.overrideApi=e;let a=this.constructor;a.commonCache=null!==(r=a.commonCache)&&void 0!==r?r:new o.CacheRegistry,this.cache=t?a.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:c.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:c.await()}clearCache(){this.cache.clearAll()}}var p;const f=Symbol("clearAfterUnitTest");class h extends s{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[p]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=l.getState().uiLocale,l.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=l.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,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,n,i;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},l).resolve(e,...r)}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=>o.delay(0).then((()=>t())).catch((()=>null)))))}}p=f,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends h{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends h{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const y=window.FluidTopicsI18nService,d=window.FluidTopicsCustomI18nService;var g=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class u extends o.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=()=>c.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
8
+ <slot></slot>
9
+ `}update(t){super.update(t),t.has("baseUrl")&&(l.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&l.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&l.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&l.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&l.actions.noCustom(this.noCustom),t.has("editorMode")&&l.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&l.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&l.actions.session(this.session),t.has("availableUiLocales")&&l.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>y.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()))}}u.elementDefinitions={},u.styles=i,g([r.property()],u.prototype,"baseUrl",void 0),g([r.property()],u.prototype,"apiIntegrationIdentifier",void 0),g([r.property()],u.prototype,"uiLocale",void 0),g([o.jsonProperty(null)],u.prototype,"availableUiLocales",void 0),g([o.jsonProperty(null)],u.prototype,"metadataConfiguration",void 0),g([r.property({type:Boolean})],u.prototype,"editorMode",void 0),g([r.property({type:Boolean})],u.prototype,"noCustom",void 0),g([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],u.prototype,"noCustomComponent",void 0),g([r.property({type:Boolean})],u.prototype,"withManualResources",void 0),g([o.jsonProperty([])],u.prototype,"messageContexts",void 0),g([o.jsonProperty(void 0)],u.prototype,"session",void 0),g([r.property({type:Object})],u.prototype,"apiProvider",void 0);class b extends s{async listMySearches(){let t=l.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class m extends s{async listMyBookmarks(){let t=l.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const O=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=l.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new m,this.savedSearchesService=new b,l.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=l.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),O.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),O.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();O.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;O.actions.bookmarks(o)}}},o.customElement("ft-app-context")(u);var N=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};const S=Symbol("i18nAttributes"),x=Symbol("i18nProperties"),v=Symbol("i18nUnsubs");function C(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?d:y}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o,e;null===(o=this[S])||void 0===o||o.forEach(((o,e)=>{var r;const a=this.getI18nAttributeValue(e);(null===(r=null==a?void 0:a.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,a,o)})),null===(e=this[x])||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[S])||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[x])||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[x])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[S])||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[v].has(t)||this[v].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[v].forEach((t=>t())),this[v].clear()}}return o=v,N([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class w extends(C(o.FtLitElement)){}class E extends(C(o.FtLitElementRedux)){}var I,U,R,W,L,K,A,Z,k,$,D,z,F,B,H,T,P,G,_=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class M extends E{constructor(){super(),this.editorMode=!1,this.addStore(l)}render(){return this.key&&this.context?e.html`
10
+ <span class="ft-i18n">
11
+ ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
12
+ </span>
13
+ `:this.editorMode?"Select a context and a label key.":e.nothing}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:""})}}M.elementDefinitions={},M.styles=n,_([o.redux()],M.prototype,"editorMode",void 0),_([r.property()],M.prototype,"context",void 0),_([r.property()],M.prototype,"key",void 0),_([o.jsonProperty([])],M.prototype,"args",void 0),_([r.property()],M.prototype,"defaultMessage",void 0);class j{static build(t){return new j(t)}static fromGwt(t){return new j(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)=>y.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(M),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function i(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(u)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=i(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=i(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,a=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),a=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(a))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},y.call(g.prototype),y.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function O(t,r){return new Promise((function(a,n){var i=new g(t,r);if(i.signal&&i.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var a=e.join(":").trim();o.append(r,a)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;a(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(i.method,i.url,!0),"include"===i.credentials?l.withCredentials=!0:"omit"===i.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),i.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),i.signal&&(i.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&i.signal.removeEventListener("abort",s)}),l.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,o.Request=g,o.Response=b,o.fetch=O,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(I||(I={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(U||(U={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(R||(R={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(W||(W={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(L||(L={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(K||(K={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(A||(A={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Z||(Z={})),function(t){t.ASC="ASC",t.DESC="DESC"}(k||(k={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}($||($={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(D||(D={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(z||(z={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(F||(F={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(B||(B={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(H||(H={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(T||(T={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(P||(P={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(G||(G={})),P.PERSONAL_BOOK_SHARE_USER,P.PERSONAL_BOOK_USER,P.HTML_EXPORT_USER,P.PERSONAL_BOOK_USER,P.PDF_EXPORT_USER,P.PERSONAL_BOOK_USER,P.KHUB_ADMIN,P.CONTENT_PUBLISHER,P.ADMIN,P.KHUB_ADMIN,P.USERS_ADMIN,P.PORTAL_ADMIN,P.DEVELOPER,P.BETA_USER,P.DEBUG_USER;class Y extends Event{constructor(){super(Y.eventName)}}Y.eventName="search-context-clear-all-filters";var V=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class X extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class J extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[q]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[q]):this.dispatchEvent(new X)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=q,V([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var Q=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class tt extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const ot=Symbol("registerInterval");class et extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ot]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[ot]):this.dispatchEvent(new tt)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=ot,Q([r.property({attribute:!1})],e.prototype,"cluster",void 0),Q([r.property({attribute:!1})],e.prototype,"result",void 0),Q([r.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(J)){}const rt=j.build("designedSearchResultMissingTermsMessages"),at=globalThis,nt=at.trustedTypes,it=nt?nt.createPolicy("lit-html",{createHTML:t=>t}):void 0,lt="$lit$",ct=`lit$${(Math.random()+"").slice(9)}$`,st="?"+ct,pt=`<${st}>`,ft=document,ht=()=>ft.createComment(""),yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,dt=Array.isArray,gt="[ \t\n\f\r]",ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bt=/-->/g,mt=/>/g,Ot=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nt=/'/g,St=/"/g,xt=/^(?:script|style|textarea|title)$/i,vt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Ct=Symbol.for("lit-noChange"),wt=Symbol.for("lit-nothing"),Et=new WeakMap,It=ft.createTreeWalker(ft,129);
14
+ /**
15
+ * @license
16
+ * Copyright 2017 Google LLC
17
+ * SPDX-License-Identifier: BSD-3-Clause
18
+ */function Ut(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==it?it.createHTML(o):o}const Rt=(t,o)=>{const e=t.length-1,r=[];let a,n=2===o?"<svg>":"",i=ut;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(i.lastIndex=p,c=i.exec(e),null!==c);)p=i.lastIndex,i===ut?"!--"===c[1]?i=bt:void 0!==c[1]?i=mt:void 0!==c[2]?(xt.test(c[2])&&(a=RegExp("</"+c[2],"g")),i=Ot):void 0!==c[3]&&(i=Ot):i===Ot?">"===c[0]?(i=a??ut,s=-1):void 0===c[1]?s=-2:(s=i.lastIndex-c[2].length,l=c[1],i=void 0===c[3]?Ot:'"'===c[3]?St:Nt):i===St||i===Nt?i=Ot:i===bt||i===mt?i=ut:(i=Ot,a=void 0);const f=i===Ot&&t[o+1].startsWith("/>")?" ":"";n+=i===ut?e+pt:s>=0?(r.push(l),e.slice(0,s)+lt+e.slice(s)+ct+f):e+ct+(-2===s?o:f)}return[Ut(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Wt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,n=0;const i=t.length-1,l=this.parts,[c,s]=Rt(t,o);if(this.el=Wt.createElement(c,e),It.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=It.nextNode())&&l.length<i;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(lt)){const o=s[n++],e=r.getAttribute(t).split(ct),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:i[2],strings:e,ctor:"."===i[1]?kt:"?"===i[1]?$t:"@"===i[1]?Dt:Zt}),r.removeAttribute(t)}else t.startsWith(ct)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(xt.test(r.tagName)){const t=r.textContent.split(ct),o=t.length-1;if(o>0){r.textContent=nt?nt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],ht()),It.nextNode(),l.push({type:2,index:++a});r.append(t[o],ht())}}}else if(8===r.nodeType)if(r.data===st)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(ct,t+1));)l.push({type:7,index:a}),t+=ct.length-1}a++}}static createElement(t,o){const e=ft.createElement("template");return e.innerHTML=t,e}}function Lt(t,o,e=t,r){if(o===Ct)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const n=yt(o)?void 0:o._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=Lt(t,a._$AS(t,o.values),a,r)),o}class Kt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??ft).importNode(o,!0);It.currentNode=r;let a=It.nextNode(),n=0,i=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new At(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new zt(a,this,t)),this._$AV.push(o),l=e[++i]}n!==l?.index&&(a=It.nextNode(),n++)}return It.currentNode=ft,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class At{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=wt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Lt(this,t,o),yt(t)?t===wt||null==t||""===t?(this._$AH!==wt&&this._$AR(),this._$AH=wt):t!==this._$AH&&t!==Ct&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>dt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==wt&&yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ft.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Wt.createElement(Ut(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Kt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Et.get(t.strings);return void 0===o&&Et.set(t.strings,o=new Wt(t)),o}T(t){dt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new At(this.k(ht()),this.k(ht()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Zt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=wt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=wt}_$AI(t,o=this,e,r){const a=this.strings;let n=!1;if(void 0===a)t=Lt(this,t,o,0),n=!yt(t)||t!==this._$AH&&t!==Ct,n&&(this._$AH=t);else{const r=t;let i,l;for(t=a[0],i=0;i<a.length-1;i++)l=Lt(this,r[e+i],o,i),l===Ct&&(l=this._$AH[i]),n||=!yt(l)||l!==this._$AH[i],l===wt?t=wt:t!==wt&&(t+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!r&&this.O(t)}O(t){t===wt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class kt extends Zt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===wt?void 0:t}}class $t extends Zt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==wt)}}class Dt extends Zt{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=Lt(this,t,o,0)??wt)===Ct)return;const e=this._$AH,r=t===wt&&e!==wt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==wt&&(e===wt||r);r&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class zt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Lt(this,t)}}const Ft=at.litHtmlPolyfillSupport;Ft?.(Wt,At),(at.litHtmlVersions??=[]).push("3.1.0");
19
+ /**
20
+ * @license
21
+ * Copyright 2020 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */
24
+ const Bt=Symbol.for(""),Ht=t=>{if(t?.r===Bt)return t?._$litStatic$},Tt=t=>({_$litStatic$:t,r:Bt}),Pt=new Map,Gt=(t=>(o,...e)=>{const r=e.length;let a,n;const i=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],a=Ht(n));)c+=a+o[++s],p=!0;s!==r&&l.push(n),i.push(c),s++}if(s===r&&i.push(o[r]),p){const t=i.join("$$lit$$");void 0===(o=Pt.get(t))&&(i.raw=i,Pt.set(t,o=i)),e=l}return t(o,...e)})(vt);var _t;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(_t||(_t={}));const Mt=t=>"string"==typeof t?e.unsafeCSS(t):t;class jt{static create(t,o,r,a){const n=t=>Mt(null!=t?t:a),i=e.css`var(${Mt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Mt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>a,i}static extend(t,o,r,a){const n=t=>r.get(null!=t?t:a),i=e.css`var(${Mt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Mt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Mt(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${Mt(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${Mt(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const Yt={colorWhite:jt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:jt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:jt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:jt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:jt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:jt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:jt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:jt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:jt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:jt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:jt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:jt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:jt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:jt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:jt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:jt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:jt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:jt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:jt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:jt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:jt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:jt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:jt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:jt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:jt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:jt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:jt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:jt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:jt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:jt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:jt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:jt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:jt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:jt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:jt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:jt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:jt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:jt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:jt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:jt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:jt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:jt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:jt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:jt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:jt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:jt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:jt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:jt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:jt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:jt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:jt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:jt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:jt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:jt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:jt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:jt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:jt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:jt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:jt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:jt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:jt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:jt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:jt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:jt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:jt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:jt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:jt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:jt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:jt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:jt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:jt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:jt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:jt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:jt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:jt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:jt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:jt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:jt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:jt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:jt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:jt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:jt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:jt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:jt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:jt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:jt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:jt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:jt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:jt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:jt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:jt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:jt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:jt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:jt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:jt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:jt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:jt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:jt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:jt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:jt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:jt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:jt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:jt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:jt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:jt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:jt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:jt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:jt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:jt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:jt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:jt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:jt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:jt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:jt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:jt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:jt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:jt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:jt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:jt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:jt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:jt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:jt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:jt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:jt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:jt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:jt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:jt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:jt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:jt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:jt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:jt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:jt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:jt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:jt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:jt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:jt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:jt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:jt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:jt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:jt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:jt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:jt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:jt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:jt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:jt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:jt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:jt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:jt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:jt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:jt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:jt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:jt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:jt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:jt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:jt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:jt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:jt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:jt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:jt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:jt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:jt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:jt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:jt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:jt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:jt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:jt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:jt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:jt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:jt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:jt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:jt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:jt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:jt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:jt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:jt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:jt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:jt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:jt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:jt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:jt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:jt.create("--ft-opacity-0","","NUMBER","0"),opacity8:jt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:jt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:jt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:jt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:jt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:jt.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:jt.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:jt.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:jt.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:jt.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:jt.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:jt.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:jt.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:jt.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)")},Vt={display:{fontFamily:jt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:jt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:jt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:jt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:jt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:jt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:jt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:jt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:jt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:jt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:jt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:jt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:jt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:jt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:jt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:jt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:jt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:jt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:jt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:jt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:jt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:jt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:jt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:jt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:jt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:jt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:jt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:jt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:jt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:jt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:jt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:jt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:jt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Xt={backgroundActionPrimary:jt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Yt.colorBrand0),backgroundErrorPrimary:jt.extend("--ft-background-error-primary","Used as background of error components.",Yt.colorRed0),backgroundErrorSubtle:jt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Yt.colorRed10),backgroundInfoPrimary:jt.extend("--ft-background-info-primary","Used as background of information components.",Yt.colorCyan200),backgroundInfoSubtle:jt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Yt.colorCyan10),backgroundWarningPrimary:jt.extend("--ft-background-warning-primary","Used as background of warning components.",Yt.colorOrange300),backgroundWarningSubtle:jt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Yt.colorOrange10),backgroundSuccessPrimary:jt.extend("--ft-background-success-primary","Used as background of success components.",Yt.colorGreen200),backgroundSuccessSubtle:jt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Yt.colorGreen10),backgroundGlobalSurface:jt.extend("--ft-background-global-surface","Used as app background.",Yt.colorWhite),backgroundGlobalOnSurface:jt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Yt.colorGray10),backgroundGlobalOnSurfaceDark:jt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Yt.colorGray30),contentActionPrimary:jt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Yt.colorBrand0),contentWarningPrimary:jt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Yt.colorOrange300),contentWarningIconOnly:jt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Yt.colorOrange0),contentErrorPrimary:jt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Yt.colorRed0),contentErrorIconOnly:jt.extend("--ft-content-error-icon-only","Used on error status icons alone",Yt.colorRed0),contentInfoPrimary:jt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Yt.colorCyan200),contentInfoIconOnly:jt.extend("--ft-content-info-icon-only","Used on info status icons alone",Yt.colorCyan0),contentSuccessPrimary:jt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Yt.colorGreen200),contentSuccessIconOnly:jt.extend("--ft-content-success-icon-only","Used on success status icons alone",Yt.colorGreen0),contentGlobalPrimary:jt.extend("--ft-content-global-primary","Used for main content on the page.",Yt.colorGray500),contentGlobalSecondary:jt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Yt.colorGray200),contentGlobalSubtle:jt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Yt.colorGray0),contentGlobalOnColor:jt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Yt.colorWhite),borderActionPrimary:jt.extend("--ft-border-action-primary","Used as border for primary action components.",Yt.colorBrand0),borderActionFocusRing:jt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Yt.colorCyan0),borderWarningPrimary:jt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Yt.colorOrange300),borderWarningSubtle:jt.extend("--ft-border-warning-subtle","Used as border for warning components.",Yt.colorOrange30),borderSuccessPrimary:jt.extend("--ft-border-success-primary","Used as border for success buttons.",Yt.colorGreen200),borderSuccessSubtle:jt.extend("--ft-border-success-subtle","Used as border for success components.",Yt.colorGreen30),borderErrorPrimary:jt.extend("--ft-border-error-primary","Used as border for text fields in error states.",Yt.colorRed0),borderErrorSubtle:jt.extend("--ft-border-error-subtle","Used as border for error components.",Yt.colorRed30),borderInfoPrimary:jt.extend("--ft-border-info-primary","Used as border for buttons in info color.",Yt.colorCyan200),borderInfoSubtle:jt.extend("--ft-border-info-subtle","Used as border for information components.",Yt.colorCyan30),borderGlobalPrimary:jt.extend("--ft-border-global-primary","Used as border for element like input.",Yt.colorGray50),borderGlobalSubtle:jt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Yt.colorGray30),borderInputPrimary:jt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Yt.colorGray80)};jt.create("--ft-button-large-height","","SIZE","40px"),jt.extend("--ft-button-large-horizontal-padding","",Yt.spacing4),jt.extend("--ft-button-large-gap","",Yt.spacing2),jt.extend("--ft-button-large-border-radius","",Yt.borderRadiusS),jt.extend("--ft-button-large-icon-size","",Yt.iconSize3),jt.create("--ft-button-large-border-width","","SIZE","1px"),jt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),jt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),jt.create("--ft-button-large-icon-only-width","","SIZE","40px"),jt.create("--ft-button-small-height","","SIZE","30px"),jt.extend("--ft-button-small-horizontal-padding","",Yt.spacing3),jt.extend("--ft-button-small-gap","",Yt.spacing2),jt.extend("--ft-button-small-border-radius","",Yt.borderRadiusS),jt.extend("--ft-button-small-icon-size","",Yt.iconSize2),jt.create("--ft-button-small-border-width","","SIZE","1px"),jt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),jt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),jt.create("--ft-button-small-icon-only-width","","SIZE","30px"),jt.extend("--ft-button-primary-background-color","",Xt.backgroundActionPrimary),jt.extend("--ft-button-primary-color","",Xt.contentGlobalOnColor),jt.extend("--ft-button-primary-icon-color","",Xt.contentGlobalOnColor),jt.extend("--ft-button-primary-state-layer-color","",Xt.contentGlobalOnColor),jt.extend("--ft-button-primary-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-button-primary-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-button-primary-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-button-primary-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-button-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),jt.extend("--ft-button-tertiary-color","",Xt.contentActionPrimary),jt.extend("--ft-button-tertiary-icon-color","",Xt.contentActionPrimary),jt.extend("--ft-button-tertiary-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-button-tertiary-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-button-tertiary-component-opacity-disabled","",Yt.opacity40),jt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),jt.extend("--ft-button-secondary-color","",Xt.contentActionPrimary),jt.extend("--ft-button-secondary-icon-color","",Xt.contentActionPrimary),jt.extend("--ft-button-secondary-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-button-secondary-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-button-secondary-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-button-secondary-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-button-secondary-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-button-secondary-border-color","",Xt.borderActionPrimary),jt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),jt.extend("--ft-button-neutral-icon-color","",Xt.contentGlobalSecondary),jt.extend("--ft-button-neutral-color","",Xt.contentGlobalSecondary),jt.extend("--ft-button-neutral-state-layer-color","",Xt.contentGlobalSecondary),jt.extend("--ft-button-neutral-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-button-neutral-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-button-neutral-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-button-neutral-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-floating-menu-horizontal-padding","",Yt.spacing4),jt.extend("--ft-floating-menu-vertical-padding","",Yt.spacing4),jt.extend("--ft-floating-menu-off-icon-color","",Xt.contentGlobalPrimary),jt.extend("--ft-floating-menu-off-color","",Xt.contentGlobalPrimary),jt.extend("--ft-floating-menu-on-color","",Xt.contentActionPrimary),jt.extend("--ft-floating-menu-on-icon-color","",Xt.contentActionPrimary),jt.extend("--ft-floating-menu-on-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-floating-menu-gap","",Yt.spacing3),jt.extend("--ft-floating-menu-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),jt.extend("--ft-floating-menu-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-floating-menu-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-floating-menu-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-floating-menu-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-floating-menu-icon-size","",Yt.iconSize3),jt.extend("--ft-floating-menu-background-color","",Xt.backgroundGlobalOnSurface),jt.extend("--ft-tabs-top-left-border-radius","",Yt.borderRadiusS),jt.extend("--ft-tabs-top-right-border-radius","",Yt.borderRadiusS),jt.extend("--ft-tabs-label-horizontal-padding","",Yt.spacing4),jt.extend("--ft-tabs-label-vertical-padding","",Yt.spacing3),jt.extend("--ft-tabs-label-gap","",Yt.spacing1),jt.extend("--ft-tabs-icon-horizontal-padding","",Yt.spacing1),jt.extend("--ft-tabs-icon-vertical-padding","",Yt.spacing4),jt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),jt.extend("--ft-tabs-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.extend("--ft-tabs-off-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-tabs-off-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-tabs-off-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-tabs-off-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-tabs-off-color","",Xt.contentGlobalSubtle),jt.extend("--ft-tabs-off-state-layer-color","",Xt.contentGlobalSubtle),jt.extend("--ft-tabs-on-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-tabs-on-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-tabs-on-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-tabs-on-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-tabs-on-color","",Xt.contentActionPrimary),jt.extend("--ft-tabs-on-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-collapsible-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-collapsible-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-collapsible-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-collapsible-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-collapsible-horizontal-padding","",Yt.spacing4),jt.extend("--ft-collapsible-vertical-padding","",Yt.spacing3),jt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),jt.extend("--ft-collapsible-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.extend("--ft-collapsible-color","",Xt.contentGlobalPrimary),jt.extend("--ft-collapsible-state-layer-color","",Xt.contentGlobalPrimary),jt.extend("--ft-collapsible-background-color","",Xt.backgroundGlobalOnSurface),jt.extend("--ft-collapsible-border-color","",Xt.borderGlobalSubtle),jt.extend("--ft-collapsible-icon-size","",Yt.iconSize3),jt.extend("--ft-switch-group-horizontal-padding","",Yt.spacing1),jt.extend("--ft-switch-group-vertical-padding","",Yt.spacing1),jt.extend("--ft-switch-group-gap","",Yt.spacing1),jt.extend("--ft-switch-group-background-color","",Xt.backgroundGlobalSurface),jt.extend("--ft-switch-group-border-color","",Xt.borderGlobalSubtle),jt.create("--ft-switch-group-border-radius","","SIZE","6px"),jt.extend("--ft-switch-label-horizontal-padding","",Yt.spacing2),jt.extend("--ft-switch-label-vertical-padding","",Yt.spacing1),jt.extend("--ft-switch-icon-horizontal-padding","",Yt.spacing1),jt.extend("--ft-switch-icon-vertical-padding","",Yt.spacing1),jt.create("--ft-switch-focus-outline-width","","SIZE","2px"),jt.extend("--ft-switch-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.extend("--ft-switch-option-border-radius","",Yt.borderRadiusS),jt.extend("--ft-switch-off-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-switch-off-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-switch-off-color","",Xt.contentGlobalSubtle),jt.extend("--ft-switch-off-state-layer-color","",Xt.contentGlobalSubtle),jt.extend("--ft-switch-on-state-layer-opacity-hover","",Yt.opacity8),jt.extend("--ft-switch-on-state-layer-opacity-focus","",Yt.opacity8),jt.extend("--ft-switch-on-state-layer-opacity-active","",Yt.opacity16),jt.extend("--ft-switch-on-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-switch-on-color","",Xt.contentActionPrimary),jt.extend("--ft-switch-on-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-chart-1-light","for area color charts",Yt.colorBrand40),jt.extend("--ft-chart-1-base","for line charts",Yt.colorBrand0),jt.extend("--ft-chart-2-light","for area color charts",Yt.colorYellow60),jt.extend("--ft-chart-2-base","for line charts",Yt.colorYellow100),jt.extend("--ft-chart-3-light","",Yt.colorUltramarine40),jt.extend("--ft-chart-3-base","",Yt.colorUltramarine70),jt.extend("--ft-chart-4-light","",Yt.colorCyan50),jt.extend("--ft-chart-4-base","",Yt.colorCyan100),jt.extend("--ft-chart-5-light","",Yt.colorRed40),jt.extend("--ft-chart-5-base","",Yt.colorRed60),jt.extend("--ft-chart-6-light","",Yt.colorGreen40),jt.extend("--ft-chart-6-base","",Yt.colorGreen70),jt.extend("--ft-chart-7-light","",Yt.colorOrange70),jt.extend("--ft-chart-7-base","",Yt.colorOrange100),jt.extend("--ft-chart-8-light","",Yt.colorAvocado70),jt.extend("--ft-chart-8-base","",Yt.colorAvocado200),jt.extend("--ft-chart-9-light","",Yt.colorBrown50),jt.extend("--ft-chart-9-base","",Yt.colorBrown200),jt.extend("--ft-chart-10-light","",Yt.colorGray50),jt.extend("--ft-chart-10-base","",Yt.colorGray80),jt.extend("--ft-chart-monochrome-10","",Yt.colorBrand10),jt.extend("--ft-chart-monochrome-20","",Yt.colorBrand20),jt.extend("--ft-chart-monochrome-30","",Yt.colorBrand40),jt.extend("--ft-chart-monochrome-40","",Yt.colorBrand60),jt.extend("--ft-chart-monochrome-50","",Yt.colorBrand0),jt.extend("--ft-chart-monochrome-60","",Yt.colorBrand200),jt.extend("--ft-chip-large-horizontal-padding","",Yt.spacing4),jt.extend("--ft-chip-large-vertical-padding","",Yt.spacing2),jt.extend("--ft-chip-large-gap","",Yt.spacing1),jt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-large-border-radius","",Yt.borderRadiusPill),jt.create("--ft-chip-large-border-width","","SIZE","1px"),jt.extend("--ft-chip-large-icon-size","",Yt.iconSize3),jt.extend("--ft-chip-medium-horizontal-padding","",Yt.spacing3),jt.extend("--ft-chip-medium-vertical-padding","",Yt.spacing1),jt.extend("--ft-chip-medium-gap","",Yt.spacing1),jt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-medium-border-radius","",Yt.borderRadiusPill),jt.create("--ft-chip-medium-border-width","","SIZE","1px"),jt.extend("--ft-chip-medium-icon-size","",Yt.iconSize2),jt.extend("--ft-chip-small-horizontal-padding","",Yt.spacing2),jt.extend("--ft-chip-small-vertical-padding","",Yt.spacing05),jt.extend("--ft-chip-small-gap","",Yt.spacing1),jt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-small-border-radius","",Yt.borderRadiusPill),jt.create("--ft-chip-small-border-width","","SIZE","1px"),jt.extend("--ft-chip-small-icon-size","",Yt.iconSize1),jt.extend("--ft-chip-neutral-background-color","",Xt.backgroundGlobalOnSurface),jt.extend("--ft-chip-neutral-color","",Xt.contentGlobalPrimary),jt.extend("--ft-chip-neutral-border-color","",Xt.borderGlobalSubtle),jt.extend("--ft-chip-info-background-color","",Xt.backgroundInfoSubtle),jt.extend("--ft-chip-info-color","",Xt.contentInfoPrimary),jt.extend("--ft-chip-info-border-color","",Xt.borderInfoSubtle),jt.extend("--ft-chip-success-background-color","",Xt.backgroundSuccessSubtle),jt.extend("--ft-chip-success-color","",Xt.contentSuccessPrimary),jt.extend("--ft-chip-success-border-color","",Xt.borderSuccessSubtle),jt.extend("--ft-chip-warning-background-color","",Xt.backgroundWarningSubtle),jt.extend("--ft-chip-warning-color","",Xt.contentWarningPrimary),jt.extend("--ft-chip-warning-border-color","",Xt.borderWarningSubtle),jt.extend("--ft-chip-error-background-color","",Xt.backgroundErrorSubtle),jt.extend("--ft-chip-error-color","",Xt.contentErrorPrimary),jt.extend("--ft-chip-error-border-color","",Xt.borderErrorSubtle),jt.create("--ft-notice-border-width","","SIZE","1px"),jt.extend("--ft-notice-horizontal-padding","",Yt.spacing2),jt.extend("--ft-notice-vertical-padding","",Yt.spacing1),jt.extend("--ft-notice-border-radius","",Yt.borderRadiusS),jt.extend("--ft-notice-gap","",Yt.spacing2),jt.extend("--ft-notice-icon-size","",Yt.iconSize3),jt.extend("--ft-notice-info-background-color","",Xt.backgroundInfoSubtle),jt.extend("--ft-notice-info-border-color","",Xt.borderInfoSubtle),jt.extend("--ft-notice-info-color","",Xt.contentInfoPrimary),jt.extend("--ft-notice-warning-background-color","",Xt.backgroundWarningSubtle),jt.extend("--ft-notice-warning-border-color","",Xt.borderWarningSubtle),jt.extend("--ft-notice-warning-color","",Xt.contentWarningPrimary),jt.extend("--ft-checkbox-label-color","",Xt.contentGlobalPrimary),jt.extend("--ft-checkbox-checked-background-color","",Xt.contentActionPrimary),jt.extend("--ft-checkbox-checked-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-checkbox-checked-color","",Xt.contentGlobalOnColor),jt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-checkbox-checked-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-checkbox-unchecked-border-color","",Yt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-color","",Yt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-checkbox-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),jt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),jt.extend("--ft-checkbox-gap","",Yt.spacing3),jt.extend("--ft-toggle-off-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-toggle-off-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-toggle-off-background-color","",Xt.contentGlobalSubtle),jt.extend("--ft-toggle-off-icon-color","",Xt.contentGlobalSubtle),jt.extend("--ft-toggle-off-state-layer-color","",Xt.contentGlobalSubtle),jt.extend("--ft-toggle-on-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-toggle-on-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-toggle-on-background-color","",Xt.contentActionPrimary),jt.extend("--ft-toggle-on-icon-color","",Xt.contentActionPrimary),jt.extend("--ft-toggle-on-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-toggle-label-color","",Xt.contentGlobalPrimary),jt.extend("--ft-toggle-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.extend("--ft-toggle-gap","",Yt.spacing3),jt.extend("--ft-radio-label-color","",Xt.contentGlobalPrimary),jt.extend("--ft-radio-selected-color","",Xt.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-color","",Xt.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-radio-selected-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-radio-unselected-state-layer-color","",Yt.colorGray80),jt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Yt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Yt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-active","",Yt.opacity24),jt.extend("--ft-radio-unselected-component-opacity-disabled","",Yt.opacity40),jt.extend("--ft-radio-focus-focus-ring-color","",Xt.borderActionFocusRing),jt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),jt.create("--ft-radio-focus-outline-width","","SIZE","2px"),jt.extend("--ft-radio-gap","",Yt.spacing3),jt.extend("--ft-notification-icon-size","",Yt.iconSize4),jt.extend("--ft-notification-horizontal-padding","",Yt.spacing4),jt.extend("--ft-notification-vertical-padding","",Yt.spacing4),jt.extend("--ft-notification-info-background-color","",Xt.backgroundInfoSubtle),jt.extend("--ft-notification-info-color","",Xt.contentInfoPrimary),jt.extend("--ft-notification-info-border-color","",Xt.borderInfoSubtle),jt.extend("--ft-notification-success-background-color","",Xt.backgroundSuccessSubtle),jt.extend("--ft-notification-success-color","",Xt.contentSuccessPrimary),jt.extend("--ft-notification-success-border-color","",Xt.borderSuccessSubtle),jt.extend("--ft-notification-warning-background-color","",Xt.backgroundWarningSubtle),jt.extend("--ft-notification-warning-color","",Xt.contentWarningPrimary),jt.extend("--ft-notification-warning-border-color","",Xt.borderWarningSubtle),jt.extend("--ft-notification-error-background-color","",Xt.backgroundErrorSubtle),jt.extend("--ft-notification-error-color","",Xt.contentErrorPrimary),jt.extend("--ft-notification-error-border-color","",Xt.borderErrorSubtle),jt.extend("--ft-notification-border-radius","",Yt.borderRadiusPill),jt.create("--ft-notification-border-width","","SIZE","1px"),jt.extend("--ft-notification-gap-leading","",Yt.spacing2),jt.extend("--ft-notification-gap-trailing","",Yt.spacing8),jt.extend("--ft-tooltip-horizontal-padding","",Yt.spacing2),jt.extend("--ft-tooltip-vertical-padding","",Yt.spacing2),jt.extend("--ft-tooltip-border-radius","",Yt.borderRadiusS),jt.extend("--ft-tooltip-label","",Xt.contentGlobalOnColor),jt.extend("--ft-tooltip-background","",Xt.contentGlobalPrimary),jt.extend("--ft-tooltip-background-opacity","",Yt.opacity80),jt.extend("--ft-tooltip-shadow","",Yt.shadowElevation03);const qt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Jt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Qt={fontFamily:Jt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},to=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",qt),oo=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Qt.fontSize,"20px"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Qt.fontWeight,"normal"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Qt.letterSpacing,"0.15px"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Qt.lineHeight,"1.2"),no=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Qt.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",qt),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Qt.fontSize,"14px"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Qt.fontWeight,"normal"),so=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Qt.letterSpacing,"0.105px"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Qt.lineHeight,"1.7"),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Qt.textTransform,"inherit"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Jt),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Qt.fontSize,"16px"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Qt.fontWeight,"600"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Qt.letterSpacing,"0.144px"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Qt.lineHeight,"1.5"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Qt.textTransform,"inherit"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Jt),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Qt.fontSize,"14px"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Qt.fontWeight,"normal"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Qt.letterSpacing,"0.098px"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Qt.lineHeight,"1.7"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Qt.textTransform,"inherit"),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Jt),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Qt.fontSize,"16px"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Qt.fontWeight,"normal"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Qt.letterSpacing,"0.496px"),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Qt.lineHeight,"1.5"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Qt.textTransform,"inherit"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Jt),Ko=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Qt.fontSize,"14px"),Ao=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Qt.fontWeight,"normal"),Zo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Qt.letterSpacing,"0.252px"),ko=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Qt.lineHeight,"1.4"),$o=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Qt.textTransform,"inherit"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Jt),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Qt.fontSize,"12px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Qt.fontWeight,"normal"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Qt.letterSpacing,"0.396px"),Ho=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Qt.lineHeight,"1.33"),To=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Qt.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Jt),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Qt.fontSize,"10px"),_o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Qt.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Qt.letterSpacing,"0.33px"),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Qt.lineHeight,"1.6"),Yo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Qt.textTransform,"inherit"),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Jt),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Qt.fontSize,"10px"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Qt.fontWeight,"normal"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Qt.letterSpacing,"1.5px"),Qo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Qt.lineHeight,"1.6"),te=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Qt.textTransform,"uppercase"),oe=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Jt),ee=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Qt.fontSize,"14px"),re=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Qt.fontWeight,"600"),ae=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Qt.letterSpacing,"1.246px"),ne=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Qt.lineHeight,"1.15"),ie=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Qt.textTransform,"uppercase"),le=e.css`
25
+ .ft-typography--title {
26
+ font-family: ${to};
27
+ font-size: ${oo};
28
+ font-weight: ${eo};
29
+ letter-spacing: ${ro};
30
+ line-height: ${ao};
31
+ text-transform: ${no};
32
+ }
33
+ `,ce=e.css`
34
+ .ft-typography--title-dense {
35
+ font-family: ${io};
36
+ font-size: ${lo};
37
+ font-weight: ${co};
38
+ letter-spacing: ${so};
39
+ line-height: ${po};
40
+ text-transform: ${fo};
41
+ }
42
+ `,se=e.css`
43
+ .ft-typography--subtitle1 {
44
+ font-family: ${ho};
45
+ font-size: ${yo};
46
+ font-weight: ${go};
47
+ letter-spacing: ${uo};
48
+ line-height: ${bo};
49
+ text-transform: ${mo};
50
+ }
51
+ `,pe=e.css`
52
+ .ft-typography--subtitle2 {
53
+ font-family: ${Oo};
54
+ font-size: ${No};
55
+ font-weight: ${So};
56
+ letter-spacing: ${xo};
57
+ line-height: ${vo};
58
+ text-transform: ${Co};
59
+ }
60
+
61
+ `,fe=e.css`
62
+ .ft-typography--body1 {
63
+ font-family: ${wo};
64
+ font-size: ${Eo};
65
+ font-weight: ${Io};
66
+ letter-spacing: ${Uo};
67
+ line-height: ${Ro};
68
+ text-transform: ${Wo};
69
+ }
70
+ `,he=e.css`
71
+ .ft-typography--body2 {
72
+ font-family: ${Lo};
73
+ font-size: ${Ko};
74
+ font-weight: ${Ao};
75
+ letter-spacing: ${Zo};
76
+ line-height: ${ko};
77
+ text-transform: ${$o};
78
+ }
79
+ `,ye=e.css`
80
+ .ft-typography--caption {
81
+ font-family: ${Do};
82
+ font-size: ${zo};
83
+ font-weight: ${Fo};
84
+ letter-spacing: ${Bo};
85
+ line-height: ${Ho};
86
+ text-transform: ${To};
87
+ }
88
+ `,de=e.css`
89
+ .ft-typography--breadcrumb {
90
+ font-family: ${Po};
91
+ font-size: ${Go};
92
+ font-weight: ${_o};
93
+ letter-spacing: ${Mo};
94
+ line-height: ${jo};
95
+ text-transform: ${Yo};
96
+ }
97
+ `,ge=e.css`
98
+ .ft-typography--overline {
99
+ font-family: ${Vo};
100
+ font-size: ${Xo};
101
+ font-weight: ${qo};
102
+ letter-spacing: ${Jo};
103
+ line-height: ${Qo};
104
+ text-transform: ${te};
105
+ }
106
+ `,ue=e.css`
107
+ .ft-typography--button {
108
+ font-family: ${oe};
109
+ font-size: ${ee};
110
+ font-weight: ${re};
111
+ letter-spacing: ${ae};
112
+ line-height: ${ne};
113
+ text-transform: ${ie};
114
+ }
115
+ `,be=e.css`
116
+ .ft-typography {
117
+ vertical-align: inherit;
118
+ }
119
+ `,me=[Object.keys(Vt).map((t=>function(t){const o=Vt[t];return e.css`
120
+ .ft-typography--${e.unsafeCSS(t)} {
121
+ font-family: ${o.fontFamily};
122
+ font-size: ${o.fontSize};
123
+ font-weight: ${o.fontWeight};
124
+ letter-spacing: ${o.letterSpacing};
125
+ line-height: ${o.lineHeight};
126
+ text-transform: ${o.textCase};
127
+ }
128
+ `}(t)))];var Oe=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class Ne extends o.FtLitElement{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Gt`
129
+ <${Tt(this.element)}
130
+ class="ft-typography ft-typography--${this.variant}">
131
+ <slot></slot>
132
+ </${Tt(this.element)}>
133
+ `:Gt`
134
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
135
+ `}}Ne.styles=[le,ce,se,pe,fe,he,ye,de,ge,ue,be,...me],Oe([r.property()],Ne.prototype,"element",void 0),Oe([r.property()],Ne.prototype,"variant",void 0),o.customElement("ft-typography")(Ne);var Se=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class xe extends(C(et)){constructor(){super(),this.missingTerms=[],this.addI18nContext(rt,{missing:"Missing:"})}update(t){var o;super.update(t),t.has("result")&&(this.missingTerms=(null===(o=this.result)||void 0===o?void 0:o.missingTerms)||[])}render(){return this.missingTerms.length?e.html`
136
+ <ft-typography variant="body2" part="missing-terms" class="ft-search-result-missing-terms">
137
+ <span>${rt.messages.missing()}</span>
138
+ ${
139
+ /**
140
+ * @license
141
+ * Copyright 2021 Google LLC
142
+ * SPDX-License-Identifier: BSD-3-Clause
143
+ */
144
+ function*(t,o){const e="function"==typeof o;if(void 0!==t){let r=-1;for(const a of t)r>-1&&(yield e?o(r):o),r++,yield a}}
145
+ /**
146
+ * @license
147
+ * Copyright 2021 Google LLC
148
+ * SPDX-License-Identifier: BSD-3-Clause
149
+ */(function*(t,o){if(void 0!==t){let e=0;for(const r of t)yield o(r,e++)}}(this.missingTerms,(t=>e.html`<span part="missing-term">${t}</span>`)),e.html`<span part="missing-terms-separator">, </span>`)}
150
+ </ft-typography>
151
+ `:e.nothing}}xe.elementDefinitions={"ft-typography":Ne},xe.styles=a,Se([r.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],xe.prototype,"missingTerms",void 0),o.customElement("ft-search-result-missing-terms")(xe),t.FtSearchResultMissingTerms=xe,t.FtSearchResultMissingTermsCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);