@fluid-topics/ft-copy-block 1.1.40 → 1.1.41

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.
@@ -843,9 +843,9 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
843
843
 
844
844
  `,yr=e.css`
845
845
  `,gr=e.css`
846
- `,ur=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 br{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ur.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?br.build(t):null!==(o=br.API)&&void 0!==o?o:br.API=br.build()}static await(t){return new Promise((o=>{let e=br.get(t);if(e)o(e);else{const r=ur.subscribe((()=>{e=br.get(t),e&&(r(),o(e))}))}}))}}class mr{constructor(t=!0,e){var r;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(r=i.commonCache)&&void 0!==r?r:new o.CacheRegistry,this.cache=t?i.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:br.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:br.await()}clearCache(){this.cache.clearAll()}}var xr;const Or=Symbol("clearAfterUnitTest");class vr extends mr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[xr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ur.getState().uiLocale,ur.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ur.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 i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},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)))))}}xr=Or,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends vr{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends vr{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Nr=window.FluidTopicsI18nService,Sr=window.FluidTopicsCustomI18nService;var wr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Cr 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=()=>br.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
846
+ `,ur=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,openExternalDocumentInNewTab:!1}});class br{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ur.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?br.build(t):null!==(o=br.API)&&void 0!==o?o:br.API=br.build()}static await(t){return new Promise((o=>{let e=br.get(t);if(e)o(e);else{const r=ur.subscribe((()=>{e=br.get(t),e&&(r(),o(e))}))}}))}}class mr{constructor(t=!0,e){var r;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(r=i.commonCache)&&void 0!==r?r:new o.CacheRegistry,this.cache=t?i.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:br.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:br.await()}clearCache(){this.cache.clearAll()}}var xr;const Or=Symbol("clearAfterUnitTest");class vr extends mr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[xr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ur.getState().uiLocale,ur.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ur.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 i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},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)))))}}xr=Or,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends vr{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends vr{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Nr=window.FluidTopicsI18nService,Sr=window.FluidTopicsCustomI18nService;var wr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Cr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>br.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
847
847
  <slot></slot>
848
- `}update(t){super.update(t),t.has("baseUrl")&&(ur.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ur.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ur.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ur.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ur.actions.noCustom(this.noCustom),t.has("editorMode")&&ur.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ur.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ur.actions.session(this.session),t.has("availableUiLocales")&&ur.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Nr.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()))}}Cr.elementDefinitions={},Cr.styles=gr,wr([r.property()],Cr.prototype,"baseUrl",void 0),wr([r.property()],Cr.prototype,"apiIntegrationIdentifier",void 0),wr([r.property()],Cr.prototype,"uiLocale",void 0),wr([o.jsonProperty(null)],Cr.prototype,"availableUiLocales",void 0),wr([o.jsonProperty(null)],Cr.prototype,"metadataConfiguration",void 0),wr([r.property({type:Boolean})],Cr.prototype,"editorMode",void 0),wr([r.property({type:Boolean})],Cr.prototype,"noCustom",void 0),wr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Cr.prototype,"noCustomComponent",void 0),wr([r.property({type:Boolean})],Cr.prototype,"withManualResources",void 0),wr([o.jsonProperty([])],Cr.prototype,"messageContexts",void 0),wr([o.jsonProperty(void 0)],Cr.prototype,"session",void 0),wr([r.property({type:Object})],Cr.prototype,"apiProvider",void 0);class $r extends mr{async listMySearches(){let t=ur.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Ir extends mr{async listMyBookmarks(){let t=ur.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ur=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ur.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ir,this.savedSearchesService=new $r,ur.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ur.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(),Ur.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ur.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ur.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;Ur.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Cr);var Wr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const kr=Symbol("i18nAttributes"),Er=Symbol("i18nProperties"),Rr=Symbol("i18nUnsubs");function Lr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Sr:Nr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[kr])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Er])||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[kr])||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[Er])||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[Er])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[kr])||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[Rr].has(t)||this[Rr].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[Rr].forEach((t=>t())),this[Rr].clear()}}return o=Rr,Wr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Kr extends(Lr(o.FtLitElement)){}class Zr extends(Lr(o.FtLitElementRedux)){}var zr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Fr extends Zr{constructor(){super(),this.editorMode=!1,this.addStore(ur)}render(){return this.key&&this.context?e.html`
848
+ `}update(t){super.update(t),t.has("baseUrl")&&(ur.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ur.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ur.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ur.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ur.actions.noCustom(this.noCustom),t.has("editorMode")&&ur.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ur.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ur.actions.session(this.session),t.has("availableUiLocales")&&ur.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Nr.addContext(t))),t.has("openExternalDocumentInNewTab")&&ur.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Cr.elementDefinitions={},Cr.styles=gr,wr([r.property()],Cr.prototype,"baseUrl",void 0),wr([r.property()],Cr.prototype,"apiIntegrationIdentifier",void 0),wr([r.property()],Cr.prototype,"uiLocale",void 0),wr([o.jsonProperty(null)],Cr.prototype,"availableUiLocales",void 0),wr([o.jsonProperty(null)],Cr.prototype,"metadataConfiguration",void 0),wr([r.property({type:Boolean})],Cr.prototype,"editorMode",void 0),wr([r.property({type:Boolean})],Cr.prototype,"noCustom",void 0),wr([r.property({type:Boolean})],Cr.prototype,"openExternalDocumentInNewTab",void 0),wr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Cr.prototype,"noCustomComponent",void 0),wr([r.property({type:Boolean})],Cr.prototype,"withManualResources",void 0),wr([o.jsonProperty([])],Cr.prototype,"messageContexts",void 0),wr([o.jsonProperty(void 0)],Cr.prototype,"session",void 0),wr([r.property({type:Object})],Cr.prototype,"apiProvider",void 0);class $r extends mr{async listMySearches(){let t=ur.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Ir extends mr{async listMyBookmarks(){let t=ur.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ur=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ur.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ir,this.savedSearchesService=new $r,ur.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ur.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(),Ur.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ur.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ur.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;Ur.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Cr);var Wr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const kr=Symbol("i18nAttributes"),Er=Symbol("i18nProperties"),Rr=Symbol("i18nUnsubs");function Lr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Sr:Nr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[kr])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Er])||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[kr])||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[Er])||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[Er])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[kr])||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[Rr].has(t)||this[Rr].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[Rr].forEach((t=>t())),this[Rr].clear()}}return o=Rr,Wr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Kr extends(Lr(o.FtLitElement)){}class Zr extends(Lr(o.FtLitElementRedux)){}var zr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Fr extends Zr{constructor(){super(),this.editorMode=!1,this.addStore(ur)}render(){return this.key&&this.context?e.html`
849
849
  <span class="ft-i18n">
850
850
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
851
851
  </span>
@@ -38,17 +38,17 @@ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},$=(t=E,o,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function k(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
41
+ */function I(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const I=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
46
+ */const k=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function W(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return I(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return I(0,0,{get(){return n(this)}})}}
51
+ */;function W(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return k(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return k(0,0,{get(){return n(this)}})}}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
@@ -69,7 +69,7 @@ const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeS
69
69
  * @license
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:$t,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,kt=globalThis,It=kt.trustedTypes,Wt=It?It.emptyScript:"",Lt=kt.reactiveElementPolyfillSupport,Kt=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},jt=(t,o)=>!Nt(t,o),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;let zt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Ft){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ct(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Et(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...$t(t),...Rt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(St(t))}else void 0!==t&&o.push(St(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(bt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=gt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:At).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??jt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Kt("elementProperties")]=new Map,zt[Kt("finalized")]=new Map,Lt?.({ReactiveElement:zt}),(kt.reactiveElementVersions??=[]).push("2.0.2");
72
+ */,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:$t,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,It=globalThis,kt=It.trustedTypes,Wt=kt?kt.emptyScript:"",Lt=It.reactiveElementPolyfillSupport,Kt=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},jt=(t,o)=>!Nt(t,o),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;let zt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Ft){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ct(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Et(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...$t(t),...Rt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(St(t))}else void 0!==t&&o.push(St(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(bt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=gt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:At).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??jt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Kt("elementProperties")]=new Map,zt[Kt("finalized")]=new Map,Lt?.({ReactiveElement:zt}),(It.reactiveElementVersions??=[]).push("2.0.2");
73
73
  /**
74
74
  * @license
75
75
  * Copyright 2017 Google LLC
@@ -81,13 +81,13 @@ const Zt=globalThis,Mt=Zt.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createH
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let xo=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new ho(o.insertBefore(Gt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return no}};xo._$litElement$=!0,xo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:xo});const Oo=globalThis.litElementPolyfillSupport;Oo?.({LitElement:xo}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?Ot(t):t;class So{static create(t,o,e,r){const i=t=>wo(null!=t?t:r),n=wt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=wt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wo(null!=o?o:t.lastResortDefaultValue()),r=wt`var(${wo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>wt`var(${wo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function No(t,o){return wo(`${t.name}: ${o}`)}const Co={colorWhite:So.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:So.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:So.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:So.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:So.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:So.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:So.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:So.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:So.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:So.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:So.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:So.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:So.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:So.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:So.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:So.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:So.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:So.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:So.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:So.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:So.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:So.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:So.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:So.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:So.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:So.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:So.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:So.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:So.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:So.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:So.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:So.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:So.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:So.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:So.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:So.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:So.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:So.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:So.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:So.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:So.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:So.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:So.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:So.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:So.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:So.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:So.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:So.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:So.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:So.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:So.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:So.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:So.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:So.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:So.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:So.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:So.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:So.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:So.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:So.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:So.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:So.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:So.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:So.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:So.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:So.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:So.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:So.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:So.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:So.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:So.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:So.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:So.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:So.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:So.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:So.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:So.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:So.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:So.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:So.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:So.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:So.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:So.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:So.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:So.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:So.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:So.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:So.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:So.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:So.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:So.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:So.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:So.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:So.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:So.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:So.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:So.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:So.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:So.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:So.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:So.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:So.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:So.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:So.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:So.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:So.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:So.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:So.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:So.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:So.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:So.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:So.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:So.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:So.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:So.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:So.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:So.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:So.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:So.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:So.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:So.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:So.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:So.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:So.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:So.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:So.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:So.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:So.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:So.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:So.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:So.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:So.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:So.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:So.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:So.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:So.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:So.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:So.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:So.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:So.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:So.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:So.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:So.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:So.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:So.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:So.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:So.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:So.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:So.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:So.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:So.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:So.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:So.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:So.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:So.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:So.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:So.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:So.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:So.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:So.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:So.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:So.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:So.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:So.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:So.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:So.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:So.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:So.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:So.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:So.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:So.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:So.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:So.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:So.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:So.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:So.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:So.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:So.create("--ft-icon-size-6","","SIZE","48px"),opacity0:So.create("--ft-opacity-0","","NUMBER","0"),opacity8:So.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:So.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:So.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:So.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:So.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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)")},Eo={display:{fontFamily:So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:So.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:So.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:So.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},$o={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",Co.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",Co.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",Co.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",Co.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Co.colorOrange300),borderWarningSubtle:So.extend("--ft-border-warning-subtle","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success buttons.",Co.colorGreen200),borderSuccessSubtle:So.extend("--ft-border-success-subtle","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for text fields in error states.",Co.colorRed0),borderErrorSubtle:So.extend("--ft-border-error-subtle","Used as border for error components.",Co.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for buttons in info color.",Co.colorCyan200),borderInfoSubtle:So.extend("--ft-border-info-subtle","Used as border for information components.",Co.colorCyan30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)},Ro={largeHeight:So.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:So.extend("--ft-button-large-horizontal-padding","",Co.spacing4),largeGap:So.extend("--ft-button-large-gap","",Co.spacing2),largeBorderRadius:So.extend("--ft-button-large-border-radius","",Co.borderRadiusS),largeIconSize:So.extend("--ft-button-large-icon-size","",Co.iconSize3),largeBorderWidth:So.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:So.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:So.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:So.extend("--ft-button-small-horizontal-padding","",Co.spacing3),smallGap:So.extend("--ft-button-small-gap","",Co.spacing2),smallBorderRadius:So.extend("--ft-button-small-border-radius","",Co.borderRadiusS),smallIconSize:So.extend("--ft-button-small-icon-size","",Co.iconSize2),smallBorderWidth:So.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:So.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:So.extend("--ft-button-primary-background-color","",$o.backgroundActionPrimary),primaryColor:So.extend("--ft-button-primary-color","",$o.contentGlobalOnColor),primaryIconColor:So.extend("--ft-button-primary-icon-color","",$o.contentGlobalOnColor),primaryStateLayerColor:So.extend("--ft-button-primary-state-layer-color","",$o.contentGlobalOnColor),primaryStateLayerOpacityHover:So.extend("--ft-button-primary-state-layer-opacity-hover","",Co.opacity16),primaryStateLayerOpacityFocus:So.extend("--ft-button-primary-state-layer-opacity-focus","",Co.opacity16),primaryStateLayerOpacityActive:So.extend("--ft-button-primary-state-layer-opacity-active","",Co.opacity24),primaryComponentOpacityDisabled:So.extend("--ft-button-primary-component-opacity-disabled","",Co.opacity40),focusFocusRingColor:So.extend("--ft-button-focus-focus-ring-color","",$o.borderActionFocusRing),tertiaryBackgroundColor:So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:So.extend("--ft-button-tertiary-color","",$o.contentActionPrimary),tertiaryIconColor:So.extend("--ft-button-tertiary-icon-color","",$o.contentActionPrimary),tertiaryStateLayerColor:So.extend("--ft-button-tertiary-state-layer-color","",$o.contentActionPrimary),tertiaryStateLayerOpacityHover:So.extend("--ft-button-tertiary-state-layer-opacity-hover","",Co.opacity8),tertiaryStateLayerOpacityFocus:So.extend("--ft-button-tertiary-state-layer-opacity-focus","",Co.opacity8),tertiaryStateLayerOpacityActive:So.extend("--ft-button-tertiary-state-layer-opacity-active","",Co.opacity16),tertiaryComponentOpacityDisabled:So.extend("--ft-button-tertiary-component-opacity-disabled","",Co.opacity40),secondaryBackgroundColor:So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:So.extend("--ft-button-secondary-color","",$o.contentActionPrimary),secondaryIconColor:So.extend("--ft-button-secondary-icon-color","",$o.contentActionPrimary),secondaryStateLayerColor:So.extend("--ft-button-secondary-state-layer-color","",$o.contentActionPrimary),secondaryStateLayerOpacityHover:So.extend("--ft-button-secondary-state-layer-opacity-hover","",Co.opacity8),secondaryStateLayerOpacityFocus:So.extend("--ft-button-secondary-state-layer-opacity-focus","",Co.opacity8),secondaryStateLayerOpacityActive:So.extend("--ft-button-secondary-state-layer-opacity-active","",Co.opacity16),secondaryComponentOpacityDisabled:So.extend("--ft-button-secondary-component-opacity-disabled","",Co.opacity40),secondaryBorderColor:So.extend("--ft-button-secondary-border-color","",$o.borderActionPrimary),neutralBackgroundColor:So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:So.extend("--ft-button-neutral-icon-color","",$o.contentGlobalSecondary),neutralColor:So.extend("--ft-button-neutral-color","",$o.contentGlobalSecondary),neutralStateLayerColor:So.extend("--ft-button-neutral-state-layer-color","",$o.contentGlobalSecondary),neutralStateLayerOpacityHover:So.extend("--ft-button-neutral-state-layer-opacity-hover","",Co.opacity8),neutralStateLayerOpacityFocus:So.extend("--ft-button-neutral-state-layer-opacity-focus","",Co.opacity8),neutralStateLayerOpacityActive:So.extend("--ft-button-neutral-state-layer-opacity-active","",Co.opacity16),neutralComponentOpacityDisabled:So.extend("--ft-button-neutral-component-opacity-disabled","",Co.opacity40)};So.extend("--ft-floating-menu-horizontal-padding","",Co.spacing4),So.extend("--ft-floating-menu-vertical-padding","",Co.spacing4),So.extend("--ft-floating-menu-off-icon-color","",$o.contentGlobalPrimary),So.extend("--ft-floating-menu-off-color","",$o.contentGlobalPrimary),So.extend("--ft-floating-menu-on-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-on-icon-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-gap","",Co.spacing3),So.extend("--ft-floating-menu-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),So.extend("--ft-floating-menu-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-floating-menu-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-floating-menu-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-floating-menu-component-opacity-disabled","",Co.opacity40),So.extend("--ft-floating-menu-icon-size","",Co.iconSize3),So.extend("--ft-floating-menu-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),So.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),So.extend("--ft-tabs-label-gap","",Co.spacing1),So.extend("--ft-tabs-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-tabs-icon-vertical-padding","",Co.spacing4),So.create("--ft-tabs-focus-outline-width","","SIZE","2px"),So.extend("--ft-tabs-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-tabs-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-tabs-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-tabs-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-tabs-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-off-color","",$o.contentGlobalSubtle),So.extend("--ft-tabs-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-tabs-on-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-tabs-on-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-tabs-on-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-tabs-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-on-color","",$o.contentActionPrimary),So.extend("--ft-tabs-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-collapsible-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-collapsible-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-collapsible-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-collapsible-component-opacity-disabled","",Co.opacity40),So.extend("--ft-collapsible-horizontal-padding","",Co.spacing4),So.extend("--ft-collapsible-vertical-padding","",Co.spacing3),So.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),So.extend("--ft-collapsible-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-collapsible-color","",$o.contentGlobalPrimary),So.extend("--ft-collapsible-state-layer-color","",$o.contentGlobalPrimary),So.extend("--ft-collapsible-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-collapsible-border-color","",$o.borderGlobalSubtle),So.extend("--ft-collapsible-icon-size","",Co.iconSize3),So.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-group-vertical-padding","",Co.spacing1),So.extend("--ft-switch-group-gap","",Co.spacing1),So.extend("--ft-switch-group-background-color","",$o.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",$o.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),So.extend("--ft-switch-label-vertical-padding","",Co.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",Co.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-off-color","",$o.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-switch-on-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-on-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-on-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-on-color","",$o.contentActionPrimary),So.extend("--ft-switch-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),So.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),So.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),So.extend("--ft-chart-3-light","",Co.colorUltramarine40),So.extend("--ft-chart-3-base","",Co.colorUltramarine70),So.extend("--ft-chart-4-light","",Co.colorCyan50),So.extend("--ft-chart-4-base","",Co.colorCyan100),So.extend("--ft-chart-5-light","",Co.colorRed40),So.extend("--ft-chart-5-base","",Co.colorRed60),So.extend("--ft-chart-6-light","",Co.colorGreen40),So.extend("--ft-chart-6-base","",Co.colorGreen70),So.extend("--ft-chart-7-light","",Co.colorOrange70),So.extend("--ft-chart-7-base","",Co.colorOrange100),So.extend("--ft-chart-8-light","",Co.colorAvocado70),So.extend("--ft-chart-8-base","",Co.colorAvocado200),So.extend("--ft-chart-9-light","",Co.colorBrown50),So.extend("--ft-chart-9-base","",Co.colorBrown200),So.extend("--ft-chart-10-light","",Co.colorGray50),So.extend("--ft-chart-10-base","",Co.colorGray80),So.extend("--ft-chart-monochrome-10","",Co.colorBrand10),So.extend("--ft-chart-monochrome-20","",Co.colorBrand20),So.extend("--ft-chart-monochrome-30","",Co.colorBrand40),So.extend("--ft-chart-monochrome-40","",Co.colorBrand60),So.extend("--ft-chart-monochrome-50","",Co.colorBrand0),So.extend("--ft-chart-monochrome-60","",Co.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),So.extend("--ft-chip-large-vertical-padding","",Co.spacing2),So.extend("--ft-chip-large-gap","",Co.spacing1),So.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",Co.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),So.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),So.extend("--ft-chip-medium-gap","",Co.spacing1),So.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",Co.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),So.extend("--ft-chip-small-vertical-padding","",Co.spacing05),So.extend("--ft-chip-small-gap","",Co.spacing1),So.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",Co.iconSize1),So.extend("--ft-chip-neutral-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",$o.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",$o.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",$o.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-chip-success-background-color","",$o.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",$o.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",$o.borderSuccessSubtle),So.extend("--ft-chip-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",$o.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-chip-error-background-color","",$o.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",$o.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",$o.borderErrorSubtle),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",Co.spacing2),So.extend("--ft-notice-vertical-padding","",Co.spacing1),So.extend("--ft-notice-border-radius","",Co.borderRadiusS),So.extend("--ft-notice-gap","",Co.spacing2),So.extend("--ft-notice-icon-size","",Co.iconSize3),So.extend("--ft-notice-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-notice-info-color","",$o.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-notice-warning-color","",$o.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",$o.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",$o.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",$o.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",Co.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-off-background-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-on-background-color","",$o.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",$o.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-toggle-label-color","",$o.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-toggle-gap","",Co.spacing3),So.extend("--ft-radio-label-color","",$o.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",$o.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",Co.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",Co.spacing3),So.extend("--ft-notification-icon-size","",Co.iconSize4),So.extend("--ft-notification-horizontal-padding","",Co.spacing4),So.extend("--ft-notification-vertical-padding","",Co.spacing4),So.extend("--ft-notification-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",$o.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-notification-success-background-color","",$o.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",$o.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",$o.borderSuccessSubtle),So.extend("--ft-notification-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",$o.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-notification-error-background-color","",$o.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",$o.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",$o.borderErrorSubtle),So.extend("--ft-notification-border-radius","",Co.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",Co.spacing2),So.extend("--ft-notification-gap-trailing","",Co.spacing8),So.extend("--ft-tooltip-horizontal-padding","",Co.spacing2),So.extend("--ft-tooltip-vertical-padding","",Co.spacing2),So.extend("--ft-tooltip-border-radius","",Co.borderRadiusS),So.extend("--ft-tooltip-label","",$o.contentGlobalOnColor),So.extend("--ft-tooltip-background","",$o.contentGlobalPrimary),So.extend("--ft-tooltip-background-opacity","",Co.opacity80),So.extend("--ft-tooltip-shadow","",Co.shadowElevation03);const Uo={colorPrimary:So.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:So.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:So.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:So.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:So.create("--ft-color-error","","COLOR","#B00020"),colorOutline:So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:So.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:So.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:So.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:So.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:So.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:So.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:So.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:So.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:So.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:So.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:So.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:So.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:So.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:So.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:So.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:So.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},ko=["start","end"],Io=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ko[0],o+"-"+ko[1])),[]),Wo=Math.min,Lo=Math.max,Ko=Math.round,Ao=t=>({x:t,y:t}),jo={left:"right",right:"left",bottom:"top",top:"bottom"},Fo={start:"end",end:"start"};function zo(t,o,e){return Lo(t,Wo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Mo(t){return t.split("-")[0]}function Po(t){return t.split("-")[1]}function Do(t){return"x"===t?"y":"x"}function Bo(t){return"y"===t?"height":"width"}function Ho(t){return["top","bottom"].includes(Mo(t))?"y":"x"}function To(t){return Do(Ho(t))}function _o(t){return t.replace(/left|right|bottom|top/g,(t=>jo[t]))}function Go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vo(t,o,e){let{reference:r,floating:i}=t;const n=Ho(o),a=To(o),s=Bo(a),l=Mo(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(l){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Po(o)){case"start":u[a]-=h*(e&&c?-1:1);break;case"end":u[a]+=h*(e&&c?-1:1)}return u}async function Yo(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=Zo(o,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=Go(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Go(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function qo(t,o,e){return(t?[...e.filter((o=>Po(o)===t)),...e.filter((o=>Po(o)!==t))]:e.filter((t=>Mo(t)===t))).filter((e=>!t||(Po(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Fo[t]))}(e)!==e)))}const Jo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Io,autoAlignment:u=!0,...d}=Zo(t,o),y=void 0!==p||h===Io?qo(p||null,u,h):h,g=await Yo(o,d),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Po(t),i=To(t),n=Bo(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=_o(a)),[a,_o(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Mo(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=Po(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=S.filter((t=>t[2].slice(0,Po(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Xo(t){return oe(t)?(t.nodeName||"").toLowerCase():"#document"}function Qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function te(t){var o;return null==(o=(oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function oe(t){return t instanceof Node||t instanceof Qo(t).Node}function ee(t){return t instanceof Element||t instanceof Qo(t).Element}function re(t){return t instanceof HTMLElement||t instanceof Qo(t).HTMLElement}function ie(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Qo(t).ShadowRoot)}function ne(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=fe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ae(t){return["table","td","th"].includes(Xo(t))}function se(t){const o=le(),e=fe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function le(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ce(t){return["html","body","#document"].includes(Xo(t))}function fe(t){return Qo(t).getComputedStyle(t)}function pe(t){return ee(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(t){if("html"===Xo(t))return t;const o=t.assignedSlot||t.parentNode||ie(t)&&t.host||te(t);return ie(o)?o.host:o}function ue(t){const o=he(t);return ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:re(o)&&ne(o)?o:ue(o)}function de(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ue(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Qo(i);return n?o.concat(a,a.visualViewport||[],ne(i)?i:[],a.frameElement&&e?de(a.frameElement):[]):o.concat(i,de(i,[],e))}function ye(t){const o=fe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=re(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Ko(e)!==n||Ko(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function ge(t){return ee(t)?t:t.contextElement}function be(t){const o=ge(t);if(!re(o))return Ao(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ye(o);let a=(n?Ko(e.width):e.width)/r,s=(n?Ko(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const me=Ao(0);function ve(t){const o=Qo(t);return le()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:me}function xe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ge(t);let a=Ao(1);o&&(r?ee(r)&&(a=be(r)):a=be(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Qo(t))&&o}(n,e,r)?ve(n):Ao(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Qo(n),o=r&&ee(r)?Qo(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=be(e),o=e.getBoundingClientRect(),r=fe(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,e=Qo(e).frameElement}}return Go({width:f,height:p,x:l,y:c})}function Oe(t){return xe(te(t)).left+pe(t).scrollLeft}function we(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Qo(t),r=te(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=le();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=te(t),e=pe(t),r=t.ownerDocument.body,i=Lo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Lo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Oe(t);const s=-e.scrollTop;return"rtl"===fe(r).direction&&(a+=Lo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(te(t));else if(ee(o))r=function(t,o){const e=xe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=re(t)?be(t):Ao(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=ve(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Go(r)}function Se(t,o){const e=he(t);return!(e===o||!ee(e)||ce(e))&&("fixed"===fe(e).position||Se(e,o))}function Ne(t,o,e){const r=re(o),i=te(o),n="fixed"===e,a=xe(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Ao(0);if(r||!r&&!n)if(("body"!==Xo(o)||ne(i))&&(s=pe(o)),r){const t=xe(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Oe(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ce(t,o){return re(t)&&"fixed"!==fe(t).position?o?o(t):t.offsetParent:null}function Ee(t,o){const e=Qo(t);if(!re(t))return e;let r=Ce(t,o);for(;r&&ae(r)&&"static"===fe(r).position;)r=Ce(r,o);return r&&("html"===Xo(r)||"body"===Xo(r)&&"static"===fe(r).position&&!se(r))?e:r||function(t){let o=he(t);for(;re(o)&&!ce(o);){if(se(o))return o;o=he(o)}return null}(t)||e}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=re(e),n=te(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Ao(1);const l=Ao(0);if((i||!i&&"fixed"!==r)&&(("body"!==Xo(e)||ne(n))&&(a=pe(e)),re(e))){const t=xe(e);s=be(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:te,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=de(t,[],!1).filter((t=>ee(t)&&"body"!==Xo(t))),i=null;const n="fixed"===fe(t).position;let a=n?he(t):t;for(;ee(a)&&!ce(a);){const o=fe(a),e=se(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ne(a)&&!e&&Se(t,a))?r=r.filter((t=>t!==a)):i=o,a=he(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=we(o,e,i);return t.top=Lo(r.top,t.top),t.right=Wo(r.right,t.right),t.bottom=Wo(r.bottom,t.bottom),t.left=Lo(r.left,t.left),t}),we(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ee,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ee,n=this.getDimensions;return{reference:Ne(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ye(t)},getScale:be,isElement:ee,isRTL:function(t){return"rtl"===fe(t).direction}},Re=(t,o,e)=>{const r=new Map,i={platform:$e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Vo(c,r,l),h=r,u={},d=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Vo(c,h,l))),e=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function Ue(t){return function(t){for(let o=t;o;o=ke(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=ke(t);o;o=ke(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function ke(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
84
+ let xo=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new ho(o.insertBefore(Gt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return no}};xo._$litElement$=!0,xo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:xo});const Oo=globalThis.litElementPolyfillSupport;Oo?.({LitElement:xo}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?Ot(t):t;class So{static create(t,o,e,r){const i=t=>wo(null!=t?t:r),n=wt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=wt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wo(null!=o?o:t.lastResortDefaultValue()),r=wt`var(${wo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>wt`var(${wo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function No(t,o){return wo(`${t.name}: ${o}`)}const Co={colorWhite:So.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:So.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:So.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:So.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:So.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:So.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:So.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:So.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:So.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:So.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:So.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:So.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:So.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:So.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:So.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:So.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:So.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:So.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:So.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:So.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:So.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:So.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:So.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:So.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:So.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:So.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:So.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:So.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:So.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:So.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:So.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:So.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:So.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:So.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:So.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:So.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:So.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:So.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:So.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:So.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:So.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:So.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:So.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:So.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:So.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:So.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:So.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:So.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:So.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:So.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:So.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:So.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:So.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:So.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:So.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:So.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:So.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:So.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:So.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:So.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:So.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:So.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:So.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:So.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:So.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:So.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:So.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:So.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:So.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:So.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:So.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:So.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:So.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:So.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:So.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:So.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:So.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:So.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:So.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:So.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:So.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:So.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:So.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:So.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:So.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:So.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:So.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:So.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:So.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:So.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:So.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:So.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:So.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:So.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:So.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:So.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:So.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:So.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:So.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:So.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:So.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:So.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:So.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:So.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:So.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:So.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:So.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:So.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:So.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:So.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:So.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:So.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:So.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:So.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:So.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:So.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:So.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:So.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:So.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:So.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:So.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:So.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:So.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:So.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:So.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:So.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:So.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:So.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:So.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:So.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:So.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:So.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:So.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:So.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:So.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:So.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:So.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:So.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:So.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:So.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:So.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:So.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:So.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:So.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:So.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:So.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:So.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:So.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:So.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:So.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:So.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:So.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:So.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:So.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:So.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:So.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:So.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:So.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:So.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:So.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:So.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:So.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:So.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:So.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:So.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:So.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:So.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:So.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:So.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:So.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:So.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:So.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:So.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:So.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:So.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:So.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:So.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:So.create("--ft-icon-size-6","","SIZE","48px"),opacity0:So.create("--ft-opacity-0","","NUMBER","0"),opacity8:So.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:So.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:So.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:So.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:So.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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)")},Eo={display:{fontFamily:So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:So.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:So.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:So.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},$o={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",Co.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",Co.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",Co.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",Co.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Co.colorOrange300),borderWarningSubtle:So.extend("--ft-border-warning-subtle","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success buttons.",Co.colorGreen200),borderSuccessSubtle:So.extend("--ft-border-success-subtle","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for text fields in error states.",Co.colorRed0),borderErrorSubtle:So.extend("--ft-border-error-subtle","Used as border for error components.",Co.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for buttons in info color.",Co.colorCyan200),borderInfoSubtle:So.extend("--ft-border-info-subtle","Used as border for information components.",Co.colorCyan30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)},Ro={largeHeight:So.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:So.extend("--ft-button-large-horizontal-padding","",Co.spacing4),largeGap:So.extend("--ft-button-large-gap","",Co.spacing2),largeBorderRadius:So.extend("--ft-button-large-border-radius","",Co.borderRadiusS),largeIconSize:So.extend("--ft-button-large-icon-size","",Co.iconSize3),largeBorderWidth:So.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:So.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:So.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:So.extend("--ft-button-small-horizontal-padding","",Co.spacing3),smallGap:So.extend("--ft-button-small-gap","",Co.spacing2),smallBorderRadius:So.extend("--ft-button-small-border-radius","",Co.borderRadiusS),smallIconSize:So.extend("--ft-button-small-icon-size","",Co.iconSize2),smallBorderWidth:So.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:So.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:So.extend("--ft-button-primary-background-color","",$o.backgroundActionPrimary),primaryColor:So.extend("--ft-button-primary-color","",$o.contentGlobalOnColor),primaryIconColor:So.extend("--ft-button-primary-icon-color","",$o.contentGlobalOnColor),primaryStateLayerColor:So.extend("--ft-button-primary-state-layer-color","",$o.contentGlobalOnColor),primaryStateLayerOpacityHover:So.extend("--ft-button-primary-state-layer-opacity-hover","",Co.opacity16),primaryStateLayerOpacityFocus:So.extend("--ft-button-primary-state-layer-opacity-focus","",Co.opacity16),primaryStateLayerOpacityActive:So.extend("--ft-button-primary-state-layer-opacity-active","",Co.opacity24),primaryComponentOpacityDisabled:So.extend("--ft-button-primary-component-opacity-disabled","",Co.opacity40),focusFocusRingColor:So.extend("--ft-button-focus-focus-ring-color","",$o.borderActionFocusRing),tertiaryBackgroundColor:So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:So.extend("--ft-button-tertiary-color","",$o.contentActionPrimary),tertiaryIconColor:So.extend("--ft-button-tertiary-icon-color","",$o.contentActionPrimary),tertiaryStateLayerColor:So.extend("--ft-button-tertiary-state-layer-color","",$o.contentActionPrimary),tertiaryStateLayerOpacityHover:So.extend("--ft-button-tertiary-state-layer-opacity-hover","",Co.opacity8),tertiaryStateLayerOpacityFocus:So.extend("--ft-button-tertiary-state-layer-opacity-focus","",Co.opacity8),tertiaryStateLayerOpacityActive:So.extend("--ft-button-tertiary-state-layer-opacity-active","",Co.opacity16),tertiaryComponentOpacityDisabled:So.extend("--ft-button-tertiary-component-opacity-disabled","",Co.opacity40),secondaryBackgroundColor:So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:So.extend("--ft-button-secondary-color","",$o.contentActionPrimary),secondaryIconColor:So.extend("--ft-button-secondary-icon-color","",$o.contentActionPrimary),secondaryStateLayerColor:So.extend("--ft-button-secondary-state-layer-color","",$o.contentActionPrimary),secondaryStateLayerOpacityHover:So.extend("--ft-button-secondary-state-layer-opacity-hover","",Co.opacity8),secondaryStateLayerOpacityFocus:So.extend("--ft-button-secondary-state-layer-opacity-focus","",Co.opacity8),secondaryStateLayerOpacityActive:So.extend("--ft-button-secondary-state-layer-opacity-active","",Co.opacity16),secondaryComponentOpacityDisabled:So.extend("--ft-button-secondary-component-opacity-disabled","",Co.opacity40),secondaryBorderColor:So.extend("--ft-button-secondary-border-color","",$o.borderActionPrimary),neutralBackgroundColor:So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:So.extend("--ft-button-neutral-icon-color","",$o.contentGlobalSecondary),neutralColor:So.extend("--ft-button-neutral-color","",$o.contentGlobalSecondary),neutralStateLayerColor:So.extend("--ft-button-neutral-state-layer-color","",$o.contentGlobalSecondary),neutralStateLayerOpacityHover:So.extend("--ft-button-neutral-state-layer-opacity-hover","",Co.opacity8),neutralStateLayerOpacityFocus:So.extend("--ft-button-neutral-state-layer-opacity-focus","",Co.opacity8),neutralStateLayerOpacityActive:So.extend("--ft-button-neutral-state-layer-opacity-active","",Co.opacity16),neutralComponentOpacityDisabled:So.extend("--ft-button-neutral-component-opacity-disabled","",Co.opacity40)};So.extend("--ft-floating-menu-horizontal-padding","",Co.spacing4),So.extend("--ft-floating-menu-vertical-padding","",Co.spacing4),So.extend("--ft-floating-menu-off-icon-color","",$o.contentGlobalPrimary),So.extend("--ft-floating-menu-off-color","",$o.contentGlobalPrimary),So.extend("--ft-floating-menu-on-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-on-icon-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-gap","",Co.spacing3),So.extend("--ft-floating-menu-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),So.extend("--ft-floating-menu-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-floating-menu-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-floating-menu-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-floating-menu-component-opacity-disabled","",Co.opacity40),So.extend("--ft-floating-menu-icon-size","",Co.iconSize3),So.extend("--ft-floating-menu-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),So.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),So.extend("--ft-tabs-label-gap","",Co.spacing1),So.extend("--ft-tabs-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-tabs-icon-vertical-padding","",Co.spacing4),So.create("--ft-tabs-focus-outline-width","","SIZE","2px"),So.extend("--ft-tabs-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-tabs-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-tabs-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-tabs-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-tabs-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-off-color","",$o.contentGlobalSubtle),So.extend("--ft-tabs-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-tabs-on-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-tabs-on-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-tabs-on-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-tabs-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-on-color","",$o.contentActionPrimary),So.extend("--ft-tabs-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-collapsible-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-collapsible-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-collapsible-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-collapsible-component-opacity-disabled","",Co.opacity40),So.extend("--ft-collapsible-horizontal-padding","",Co.spacing4),So.extend("--ft-collapsible-vertical-padding","",Co.spacing3),So.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),So.extend("--ft-collapsible-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-collapsible-color","",$o.contentGlobalPrimary),So.extend("--ft-collapsible-state-layer-color","",$o.contentGlobalPrimary),So.extend("--ft-collapsible-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-collapsible-border-color","",$o.borderGlobalSubtle),So.extend("--ft-collapsible-icon-size","",Co.iconSize3),So.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-group-vertical-padding","",Co.spacing1),So.extend("--ft-switch-group-gap","",Co.spacing1),So.extend("--ft-switch-group-background-color","",$o.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",$o.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),So.extend("--ft-switch-label-vertical-padding","",Co.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",Co.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-off-color","",$o.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-switch-on-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-on-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-on-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-on-color","",$o.contentActionPrimary),So.extend("--ft-switch-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),So.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),So.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),So.extend("--ft-chart-3-light","",Co.colorUltramarine40),So.extend("--ft-chart-3-base","",Co.colorUltramarine70),So.extend("--ft-chart-4-light","",Co.colorCyan50),So.extend("--ft-chart-4-base","",Co.colorCyan100),So.extend("--ft-chart-5-light","",Co.colorRed40),So.extend("--ft-chart-5-base","",Co.colorRed60),So.extend("--ft-chart-6-light","",Co.colorGreen40),So.extend("--ft-chart-6-base","",Co.colorGreen70),So.extend("--ft-chart-7-light","",Co.colorOrange70),So.extend("--ft-chart-7-base","",Co.colorOrange100),So.extend("--ft-chart-8-light","",Co.colorAvocado70),So.extend("--ft-chart-8-base","",Co.colorAvocado200),So.extend("--ft-chart-9-light","",Co.colorBrown50),So.extend("--ft-chart-9-base","",Co.colorBrown200),So.extend("--ft-chart-10-light","",Co.colorGray50),So.extend("--ft-chart-10-base","",Co.colorGray80),So.extend("--ft-chart-monochrome-10","",Co.colorBrand10),So.extend("--ft-chart-monochrome-20","",Co.colorBrand20),So.extend("--ft-chart-monochrome-30","",Co.colorBrand40),So.extend("--ft-chart-monochrome-40","",Co.colorBrand60),So.extend("--ft-chart-monochrome-50","",Co.colorBrand0),So.extend("--ft-chart-monochrome-60","",Co.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),So.extend("--ft-chip-large-vertical-padding","",Co.spacing2),So.extend("--ft-chip-large-gap","",Co.spacing1),So.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",Co.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),So.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),So.extend("--ft-chip-medium-gap","",Co.spacing1),So.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",Co.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),So.extend("--ft-chip-small-vertical-padding","",Co.spacing05),So.extend("--ft-chip-small-gap","",Co.spacing1),So.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",Co.iconSize1),So.extend("--ft-chip-neutral-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",$o.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",$o.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",$o.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-chip-success-background-color","",$o.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",$o.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",$o.borderSuccessSubtle),So.extend("--ft-chip-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",$o.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-chip-error-background-color","",$o.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",$o.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",$o.borderErrorSubtle),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",Co.spacing2),So.extend("--ft-notice-vertical-padding","",Co.spacing1),So.extend("--ft-notice-border-radius","",Co.borderRadiusS),So.extend("--ft-notice-gap","",Co.spacing2),So.extend("--ft-notice-icon-size","",Co.iconSize3),So.extend("--ft-notice-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-notice-info-color","",$o.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-notice-warning-color","",$o.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",$o.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",$o.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",$o.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",Co.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-off-background-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-on-background-color","",$o.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",$o.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-toggle-label-color","",$o.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-toggle-gap","",Co.spacing3),So.extend("--ft-radio-label-color","",$o.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",$o.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",Co.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",Co.spacing3),So.extend("--ft-notification-icon-size","",Co.iconSize4),So.extend("--ft-notification-horizontal-padding","",Co.spacing4),So.extend("--ft-notification-vertical-padding","",Co.spacing4),So.extend("--ft-notification-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",$o.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-notification-success-background-color","",$o.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",$o.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",$o.borderSuccessSubtle),So.extend("--ft-notification-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",$o.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-notification-error-background-color","",$o.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",$o.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",$o.borderErrorSubtle),So.extend("--ft-notification-border-radius","",Co.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",Co.spacing2),So.extend("--ft-notification-gap-trailing","",Co.spacing8),So.extend("--ft-tooltip-horizontal-padding","",Co.spacing2),So.extend("--ft-tooltip-vertical-padding","",Co.spacing2),So.extend("--ft-tooltip-border-radius","",Co.borderRadiusS),So.extend("--ft-tooltip-label","",$o.contentGlobalOnColor),So.extend("--ft-tooltip-background","",$o.contentGlobalPrimary),So.extend("--ft-tooltip-background-opacity","",Co.opacity80),So.extend("--ft-tooltip-shadow","",Co.shadowElevation03);const Uo={colorPrimary:So.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:So.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:So.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:So.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:So.create("--ft-color-error","","COLOR","#B00020"),colorOutline:So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:So.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:So.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:So.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:So.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:So.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:So.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:So.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:So.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:So.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:So.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:So.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:So.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:So.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:So.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:So.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:So.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Io=["start","end"],ko=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Io[0],o+"-"+Io[1])),[]),Wo=Math.min,Lo=Math.max,Ko=Math.round,Ao=t=>({x:t,y:t}),jo={left:"right",right:"left",bottom:"top",top:"bottom"},Fo={start:"end",end:"start"};function zo(t,o,e){return Lo(t,Wo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Mo(t){return t.split("-")[0]}function Po(t){return t.split("-")[1]}function Do(t){return"x"===t?"y":"x"}function Bo(t){return"y"===t?"height":"width"}function Ho(t){return["top","bottom"].includes(Mo(t))?"y":"x"}function To(t){return Do(Ho(t))}function _o(t){return t.replace(/left|right|bottom|top/g,(t=>jo[t]))}function Go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vo(t,o,e){let{reference:r,floating:i}=t;const n=Ho(o),a=To(o),s=Bo(a),l=Mo(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(l){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Po(o)){case"start":u[a]-=h*(e&&c?-1:1);break;case"end":u[a]+=h*(e&&c?-1:1)}return u}async function Yo(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=Zo(o,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=Go(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Go(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function qo(t,o,e){return(t?[...e.filter((o=>Po(o)===t)),...e.filter((o=>Po(o)!==t))]:e.filter((t=>Mo(t)===t))).filter((e=>!t||(Po(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Fo[t]))}(e)!==e)))}const Jo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=ko,autoAlignment:u=!0,...d}=Zo(t,o),y=void 0!==p||h===ko?qo(p||null,u,h):h,g=await Yo(o,d),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Po(t),i=To(t),n=Bo(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=_o(a)),[a,_o(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Mo(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=Po(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=S.filter((t=>t[2].slice(0,Po(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Xo(t){return oe(t)?(t.nodeName||"").toLowerCase():"#document"}function Qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function te(t){var o;return null==(o=(oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function oe(t){return t instanceof Node||t instanceof Qo(t).Node}function ee(t){return t instanceof Element||t instanceof Qo(t).Element}function re(t){return t instanceof HTMLElement||t instanceof Qo(t).HTMLElement}function ie(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Qo(t).ShadowRoot)}function ne(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=fe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ae(t){return["table","td","th"].includes(Xo(t))}function se(t){const o=le(),e=fe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function le(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ce(t){return["html","body","#document"].includes(Xo(t))}function fe(t){return Qo(t).getComputedStyle(t)}function pe(t){return ee(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(t){if("html"===Xo(t))return t;const o=t.assignedSlot||t.parentNode||ie(t)&&t.host||te(t);return ie(o)?o.host:o}function ue(t){const o=he(t);return ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:re(o)&&ne(o)?o:ue(o)}function de(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ue(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Qo(i);return n?o.concat(a,a.visualViewport||[],ne(i)?i:[],a.frameElement&&e?de(a.frameElement):[]):o.concat(i,de(i,[],e))}function ye(t){const o=fe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=re(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Ko(e)!==n||Ko(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function ge(t){return ee(t)?t:t.contextElement}function be(t){const o=ge(t);if(!re(o))return Ao(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ye(o);let a=(n?Ko(e.width):e.width)/r,s=(n?Ko(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const me=Ao(0);function ve(t){const o=Qo(t);return le()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:me}function xe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ge(t);let a=Ao(1);o&&(r?ee(r)&&(a=be(r)):a=be(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Qo(t))&&o}(n,e,r)?ve(n):Ao(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Qo(n),o=r&&ee(r)?Qo(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=be(e),o=e.getBoundingClientRect(),r=fe(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,e=Qo(e).frameElement}}return Go({width:f,height:p,x:l,y:c})}function Oe(t){return xe(te(t)).left+pe(t).scrollLeft}function we(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Qo(t),r=te(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=le();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=te(t),e=pe(t),r=t.ownerDocument.body,i=Lo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Lo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Oe(t);const s=-e.scrollTop;return"rtl"===fe(r).direction&&(a+=Lo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(te(t));else if(ee(o))r=function(t,o){const e=xe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=re(t)?be(t):Ao(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=ve(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Go(r)}function Se(t,o){const e=he(t);return!(e===o||!ee(e)||ce(e))&&("fixed"===fe(e).position||Se(e,o))}function Ne(t,o,e){const r=re(o),i=te(o),n="fixed"===e,a=xe(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Ao(0);if(r||!r&&!n)if(("body"!==Xo(o)||ne(i))&&(s=pe(o)),r){const t=xe(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Oe(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ce(t,o){return re(t)&&"fixed"!==fe(t).position?o?o(t):t.offsetParent:null}function Ee(t,o){const e=Qo(t);if(!re(t))return e;let r=Ce(t,o);for(;r&&ae(r)&&"static"===fe(r).position;)r=Ce(r,o);return r&&("html"===Xo(r)||"body"===Xo(r)&&"static"===fe(r).position&&!se(r))?e:r||function(t){let o=he(t);for(;re(o)&&!ce(o);){if(se(o))return o;o=he(o)}return null}(t)||e}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=re(e),n=te(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Ao(1);const l=Ao(0);if((i||!i&&"fixed"!==r)&&(("body"!==Xo(e)||ne(n))&&(a=pe(e)),re(e))){const t=xe(e);s=be(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:te,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=de(t,[],!1).filter((t=>ee(t)&&"body"!==Xo(t))),i=null;const n="fixed"===fe(t).position;let a=n?he(t):t;for(;ee(a)&&!ce(a);){const o=fe(a),e=se(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ne(a)&&!e&&Se(t,a))?r=r.filter((t=>t!==a)):i=o,a=he(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=we(o,e,i);return t.top=Lo(r.top,t.top),t.right=Wo(r.right,t.right),t.bottom=Wo(r.bottom,t.bottom),t.left=Lo(r.left,t.left),t}),we(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ee,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ee,n=this.getDimensions;return{reference:Ne(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ye(t)},getScale:be,isElement:ee,isRTL:function(t){return"rtl"===fe(t).direction}},Re=(t,o,e)=>{const r=new Map,i={platform:$e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Vo(c,r,l),h=r,u={},d=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Vo(c,h,l))),e=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function Ue(t){return function(t){for(let o=t;o;o=Ie(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ie(t);o;o=Ie(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ie(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
89
  */
90
- const Ie=window,We=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Le extends xo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{We?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ie.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ke,Ae=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const je=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),ze=Symbol("exportpartsDebouncer");class Ze extends Le{constructor(){super(),this[Ke]=new i(5),this[Fe]=this.constructor.name,this[je]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fe]&&Object.setPrototypeOf(this,this[je])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[ze].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ke=ze,Ae([R()],Ze.prototype,"exportpartsPrefix",void 0),Ae([A([])],Ze.prototype,"exportpartsPrefixes",void 0),Ae([R()],Ze.prototype,"customStylesheet",void 0);const Me=So.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
90
+ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Le extends xo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{We?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=ke.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ke,Ae=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const je=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),ze=Symbol("exportpartsDebouncer");class Ze extends Le{constructor(){super(),this[Ke]=new i(5),this[Fe]=this.constructor.name,this[je]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fe]&&Object.setPrototypeOf(this,this[je])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[ze].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ke=ze,Ae([R()],Ze.prototype,"exportpartsPrefix",void 0),Ae([A([])],Ze.prototype,"exportpartsPrefixes",void 0),Ae([R()],Ze.prototype,"customStylesheet",void 0);const Me=So.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
91
91
  .highlight-html-match {
92
92
  background: ${Me};
93
93
  }
@@ -123,7 +123,7 @@ const Ie=window,We=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShado
123
123
  display: inline-block;
124
124
  width: 0;
125
125
  }
126
- `;class Be{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}class He{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Te(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var _e,Ge,Ve;const Ye=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores");class Xe extends Ze{constructor(){super(...arguments),this[_e]=new Map,this[Ge]=new Map,this[Ve]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Je].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Te(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Je].delete(o)}setupStore(t,o){this[Je].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[qe].set(t,o.subscribe((()=>this.updateFromStores()))),Te(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Ye].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Ye].forEach((t=>t())),this[Ye]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qe(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tr(t){return!!t&&!!t[Mr]}function or(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Pr}(t)||Array.isArray(t)||!!t[Zr]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Zr])||sr(t)||lr(t))}function er(t,o,e){void 0===e&&(e=!1),0===rr(t)?(e?Object.keys:Dr)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function rr(t){var o=t[Mr];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:sr(t)?2:lr(t)?3:0}function ir(t,o){return 2===rr(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function nr(t,o,e){var r=rr(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function ar(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function sr(t){return Ar&&t instanceof Map}function lr(t){return jr&&t instanceof Set}function cr(t){return t.o||t.t}function fr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Br(t);delete o[Mr];for(var e=Dr(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function pr(t,o){return void 0===o&&(o=!1),ur(t)||tr(t)||!or(t)||(rr(t)>1&&(t.set=t.add=t.clear=t.delete=hr),Object.freeze(t),o&&er(t,(function(t,o){return pr(o,!0)}),!0)),t}function hr(){Qe(2)}function ur(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function dr(t){var o=Hr[t];return o||Qe(18,t),o}function yr(){return Lr}function gr(t,o){o&&(dr("Patches"),t.u=[],t.s=[],t.v=o)}function br(t){mr(t),t.p.forEach(xr),t.p=null}function mr(t){t===Lr&&(Lr=t.l)}function vr(t){return Lr={p:[],l:Lr,h:t,m:!0,_:0}}function xr(t){var o=t[Mr];0===o.i||1===o.i?o.j():o.g=!0}function Or(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||dr("ES5").S(o,t,r),r?(e[Mr].P&&(br(o),Qe(4)),or(t)&&(t=wr(o,t),o.l||Nr(o,t)),o.u&&dr("Patches").M(e[Mr].t,t,o.u,o.s)):t=wr(o,e,[]),br(o),o.u&&o.v(o.u,o.s),t!==zr?t:void 0}function wr(t,o,e){if(ur(o))return o;var r=o[Mr];if(!r)return er(o,(function(i,n){return Sr(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Nr(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=fr(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),er(n,(function(o,n){return Sr(t,r,i,o,n,e,a)})),Nr(t,i,!1),e&&t.u&&dr("Patches").N(r,e,t.u,t.s)}return r.o}function Sr(t,o,e,r,i,n,a){if(tr(i)){var s=wr(t,i,n&&o&&3!==o.i&&!ir(o.R,r)?n.concat(r):void 0);if(nr(e,r,s),!tr(s))return;t.m=!1}else a&&e.add(i);if(or(i)&&!ur(i)){if(!t.h.D&&t._<1)return;wr(t,i),o&&o.A.l||Nr(t,i)}}function Nr(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&pr(o,e)}function Cr(t,o){var e=t[Mr];return(e?cr(e):t)[o]}function Er(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function $r(t){t.P||(t.P=!0,t.l&&$r(t.l))}function Rr(t){t.o||(t.o=fr(t.t))}function Ur(t,o,e){var r=sr(o)?dr("MapSet").F(o,e):lr(o)?dr("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:yr(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Tr;e&&(i=[r],n=_r);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):dr("ES5").J(o,e);return(e?e.A:yr()).p.push(r),r}function kr(t){return tr(t)||Qe(22,t),function t(o){if(!or(o))return o;var e,r=o[Mr],i=rr(o);if(r){if(!r.P&&(r.i<4||!dr("ES5").K(r)))return r.t;r.I=!0,e=Ir(o,i),r.I=!1}else e=Ir(o,i);return er(e,(function(o,i){r&&function(t,o){return 2===rr(t)?t.get(o):t[o]}(r.t,o)===i||nr(e,o,t(i))})),3===i?new Set(e):e}(t)}function Ir(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return fr(t)}_e=qe,Ge=Je,Ve=Ye,Xe.reduxProperties=new Map,Xe.reduxReactiveProperties=new Set,Xe.reduxEventListeners=new Map;var Wr,Lr,Kr="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ar="undefined"!=typeof Map,jr="undefined"!=typeof Set,Fr="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,zr=Kr?Symbol.for("immer-nothing"):((Wr={})["immer-nothing"]=!0,Wr),Zr=Kr?Symbol.for("immer-draftable"):"__$immer_draftable",Mr=Kr?Symbol.for("immer-state"):"__$immer_state",Pr=""+Object.prototype.constructor,Dr="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Br=Object.getOwnPropertyDescriptors||function(t){var o={};return Dr(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Hr={},Tr={get:function(t,o){if(o===Mr)return t;var e=cr(t);if(!ir(e,o))return function(t,o,e){var r,i=Er(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!or(r)?r:r===Cr(t.t,o)?(Rr(t),t.o[o]=Ur(t.A.h,r,t)):r},has:function(t,o){return o in cr(t)},ownKeys:function(t){return Reflect.ownKeys(cr(t))},set:function(t,o,e){var r=Er(cr(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Cr(cr(t),o),n=null==i?void 0:i[Mr];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(ar(e,i)&&(void 0!==e||ir(t.t,o)))return!0;Rr(t),$r(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Cr(t.t,o)||o in t.t?(t.R[o]=!1,Rr(t),$r(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=cr(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qe(12)}},_r={};er(Tr,(function(t,o){_r[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),_r.deleteProperty=function(t,o){return _r.set.call(this,t,o,void 0)},_r.set=function(t,o,e){return Tr.set.call(this,t[0],o,e,t[0])};var Gr=function(){function t(t){var o=this;this.O=Fr,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Qe(6),void 0!==r&&"function"!=typeof r&&Qe(7),or(t)){var s=vr(o),l=Ur(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?br(s):mr(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return gr(s,r),Or(t,s)}),(function(t){throw br(s),t})):(gr(s,r),Or(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===zr&&(a=void 0),o.D&&pr(a,!0),r){var f=[],p=[];dr("Patches").M(t,a,f,p),r(f,p)}return a}Qe(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){or(t)||Qe(8),tr(t)&&(t=kr(t));var o=vr(this),e=Ur(this,t,void 0);return e[Mr].C=!0,mr(o),e},o.finishDraft=function(t,o){var e=(t&&t[Mr]).A;return gr(e,o),Or(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Fr&&Qe(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=dr("Patches").$;return tr(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Vr=new Gr,Yr=Vr.produce;function qr(t){return qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(t)}function Jr(t){var o=function(t,o){if("object"!==qr(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==qr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===qr(o)?o:String(o)}function Xr(t,o,e){return(o=Jr(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Qr(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ti(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Qr(Object(e),!0).forEach((function(o){Xr(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Qr(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function oi(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Vr.produceWithPatches.bind(Vr),Vr.setAutoFreeze.bind(Vr),Vr.setUseProxies.bind(Vr),Vr.applyPatches.bind(Vr),Vr.createDraft.bind(Vr),Vr.finishDraft.bind(Vr);var ei="function"==typeof Symbol&&Symbol.observable||"@@observable",ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},ii={INIT:"@@redux/INIT"+ri(),REPLACE:"@@redux/REPLACE"+ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ri()}};function ni(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(oi(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(oi(1));return e(ni)(t,o)}if("function"!=typeof t)throw new Error(oi(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(oi(3));return n}function p(t){if("function"!=typeof t)throw new Error(oi(4));if(l)throw new Error(oi(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(oi(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(oi(7));if(void 0===t.type)throw new Error(oi(8));if(l)throw new Error(oi(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:ii.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oi(10));i=t,h({type:ii.REPLACE})}})[ei]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oi(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ei]=function(){return this},t},r}function ai(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ii.INIT}))throw new Error(oi(12));if(void 0===e(void 0,{type:ii.PROBE_UNKNOWN_ACTION()}))throw new Error(oi(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(oi(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function si(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function li(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(oi(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=si.apply(void 0,n)(e.dispatch),ti(ti({},e),{},{dispatch:r})}}}function ci(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var fi=ci();fi.withExtraArgument=ci;var pi,hi=fi,ui=(pi=function(t,o){return pi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},pi(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}pi(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),di=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yi=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},gi=Object.defineProperty,bi=Object.defineProperties,mi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,wi=function(t,o,e){return o in t?gi(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Si=function(t,o){for(var e in o||(o={}))xi.call(o,e)&&wi(t,e,o[e]);if(vi)for(var r=0,i=vi(o);r<i.length;r++){e=i[r];Oi.call(o,e)&&wi(t,e,o[e])}return t},Ni=function(t,o){return bi(t,mi(o))},Ci="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?si:si.apply(null,arguments)};var Ei=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ui(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,yi([void 0],t[0].concat(this)))):new(o.bind.apply(o,yi([void 0],t.concat(this))))},o}(Array),$i=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ui(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,yi([void 0],t[0].concat(this)))):new(o.bind.apply(o,yi([void 0],t.concat(this))))},o}(Array);function Ri(t){return or(t)?Yr(t,(function(){})):t}function Ui(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ei;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(hi.withExtraArgument(e.extraArgument)):r.push(hi));return r}(t)}}function ki(t){var o,e=Ui(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ai(n)}var d=s;"function"==typeof d&&(d=d(e));var y=li.apply(void 0,d),g=si;c&&(g=Ci(Si({trace:!1},"object"==typeof c&&c)));var b=new $i(y),m=b;return Array.isArray(u)?m=yi([y],u):"function"==typeof u&&(m=u(b)),ni(o,p,g.apply(void 0,m))}function Ii(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Si(Si({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Wi(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Li(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ri(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Wi(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Si(Si({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Wi(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ri(t())};else{var c=Ri(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=yi([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(tr(t))return void 0===(r=e(t,o))?t:r;if(or(t))return Yr(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Ii(c,r):Ii(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ki=["name","message","stack","code"],Ai=function(t,o){this.payload=t,this.meta=o},ji=function(t,o){this.payload=t,this.meta=o},Fi=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ki;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function zi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ii(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ni(Si({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ii(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ni(Si({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ii(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Fi)(t||"Rejected"),meta:Ni(Si({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return di(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,o){return new Ai(t,o)},fulfillWithValue:function(t,o){return new ji(t,o)}})).then((function(o){if(o instanceof Ai)throw o;return o instanceof ji?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ai?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(zi)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Zi="listenerMiddleware";Ii(Zi+"/add"),Ii(Zi+"/removeAll"),Ii(Zi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Mr];return Tr.get(o,t)},set:function(o){var e=this[Mr];Tr.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Mr];if(!i.P)switch(i.i){case 5:r(i)&&$r(i);break;case 4:e(i)&&$r(i)}}}function e(t){for(var o=t.t,e=t.k,r=Dr(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mr){var a=o[n];if(void 0===a&&!ir(o,n))return!0;var s=e[n],l=s&&s[Mr];if(l?l.t!==a:!ar(s,a))return!0}}var c=!!o[Mr];return r.length!==Dr(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Hr[t]||(Hr[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Br(e);delete n[Mr];for(var a=Dr(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:yr(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mr,{value:n,writable:!0}),i},S:function(t,e,i){i?tr(e)&&e[Mr].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Mr];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)er(n,(function(o){o!==Mr&&(void 0!==i[o]||ir(i,o)?a[o]||t(n[o]):(a[o]=!0,$r(e)))})),er(i,(function(t){void 0!==n[t]||ir(n,t)||(a[t]=!1,$r(e))}));else if(5===s){if(r(e)&&($r(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Mi{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Te(i))return i;if(null==r)return;const n=Li({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=ki({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Mi(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new He,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Pi=Symbol("elementInternals");var Di,Bi,Hi;const Ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Hi=null===(Bi=null===(Di=window.safari)||void 0===Di?void 0:Di.pushNotification)||void 0===Bi?void 0:Bi.toString())&&void 0!==Hi?Hi:""),_i=So.extend("--ft-ripple-color","",Uo.colorContent),Gi={color:_i,backgroundColor:So.extend("--ft-ripple-background-color","",_i),opacityContentOnSurfacePressed:So.external(Uo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:So.external(Uo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:So.external(Uo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:So.external(Uo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:So.create("--ft-ripple-border-radius","","SIZE","0px")},Vi=So.extend("--ft-ripple-color","",Uo.colorPrimary),Yi=Vi,qi=So.extend("--ft-ripple-background-color","",Vi),Ji=So.extend("--ft-ripple-color","",Uo.colorSecondary),Xi=Ji,Qi=So.extend("--ft-ripple-background-color","",Ji),tn=wt`
126
+ `;class Be{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}class He{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Te(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var _e,Ge,Ve;const Ye=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores");class Xe extends Ze{constructor(){super(...arguments),this[_e]=new Map,this[Ge]=new Map,this[Ve]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Je].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Te(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Je].delete(o)}setupStore(t,o){this[Je].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[qe].set(t,o.subscribe((()=>this.updateFromStores()))),Te(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Ye].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Ye].forEach((t=>t())),this[Ye]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qe(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tr(t){return!!t&&!!t[Mr]}function or(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Pr}(t)||Array.isArray(t)||!!t[Zr]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Zr])||sr(t)||lr(t))}function er(t,o,e){void 0===e&&(e=!1),0===rr(t)?(e?Object.keys:Dr)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function rr(t){var o=t[Mr];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:sr(t)?2:lr(t)?3:0}function ir(t,o){return 2===rr(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function nr(t,o,e){var r=rr(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function ar(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function sr(t){return Ar&&t instanceof Map}function lr(t){return jr&&t instanceof Set}function cr(t){return t.o||t.t}function fr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Br(t);delete o[Mr];for(var e=Dr(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function pr(t,o){return void 0===o&&(o=!1),ur(t)||tr(t)||!or(t)||(rr(t)>1&&(t.set=t.add=t.clear=t.delete=hr),Object.freeze(t),o&&er(t,(function(t,o){return pr(o,!0)}),!0)),t}function hr(){Qe(2)}function ur(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function dr(t){var o=Hr[t];return o||Qe(18,t),o}function yr(){return Lr}function gr(t,o){o&&(dr("Patches"),t.u=[],t.s=[],t.v=o)}function br(t){mr(t),t.p.forEach(xr),t.p=null}function mr(t){t===Lr&&(Lr=t.l)}function vr(t){return Lr={p:[],l:Lr,h:t,m:!0,_:0}}function xr(t){var o=t[Mr];0===o.i||1===o.i?o.j():o.g=!0}function Or(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||dr("ES5").S(o,t,r),r?(e[Mr].P&&(br(o),Qe(4)),or(t)&&(t=wr(o,t),o.l||Nr(o,t)),o.u&&dr("Patches").M(e[Mr].t,t,o.u,o.s)):t=wr(o,e,[]),br(o),o.u&&o.v(o.u,o.s),t!==zr?t:void 0}function wr(t,o,e){if(ur(o))return o;var r=o[Mr];if(!r)return er(o,(function(i,n){return Sr(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Nr(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=fr(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),er(n,(function(o,n){return Sr(t,r,i,o,n,e,a)})),Nr(t,i,!1),e&&t.u&&dr("Patches").N(r,e,t.u,t.s)}return r.o}function Sr(t,o,e,r,i,n,a){if(tr(i)){var s=wr(t,i,n&&o&&3!==o.i&&!ir(o.R,r)?n.concat(r):void 0);if(nr(e,r,s),!tr(s))return;t.m=!1}else a&&e.add(i);if(or(i)&&!ur(i)){if(!t.h.D&&t._<1)return;wr(t,i),o&&o.A.l||Nr(t,i)}}function Nr(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&pr(o,e)}function Cr(t,o){var e=t[Mr];return(e?cr(e):t)[o]}function Er(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function $r(t){t.P||(t.P=!0,t.l&&$r(t.l))}function Rr(t){t.o||(t.o=fr(t.t))}function Ur(t,o,e){var r=sr(o)?dr("MapSet").F(o,e):lr(o)?dr("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:yr(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Tr;e&&(i=[r],n=_r);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):dr("ES5").J(o,e);return(e?e.A:yr()).p.push(r),r}function Ir(t){return tr(t)||Qe(22,t),function t(o){if(!or(o))return o;var e,r=o[Mr],i=rr(o);if(r){if(!r.P&&(r.i<4||!dr("ES5").K(r)))return r.t;r.I=!0,e=kr(o,i),r.I=!1}else e=kr(o,i);return er(e,(function(o,i){r&&function(t,o){return 2===rr(t)?t.get(o):t[o]}(r.t,o)===i||nr(e,o,t(i))})),3===i?new Set(e):e}(t)}function kr(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return fr(t)}_e=qe,Ge=Je,Ve=Ye,Xe.reduxProperties=new Map,Xe.reduxReactiveProperties=new Set,Xe.reduxEventListeners=new Map;var Wr,Lr,Kr="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ar="undefined"!=typeof Map,jr="undefined"!=typeof Set,Fr="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,zr=Kr?Symbol.for("immer-nothing"):((Wr={})["immer-nothing"]=!0,Wr),Zr=Kr?Symbol.for("immer-draftable"):"__$immer_draftable",Mr=Kr?Symbol.for("immer-state"):"__$immer_state",Pr=""+Object.prototype.constructor,Dr="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Br=Object.getOwnPropertyDescriptors||function(t){var o={};return Dr(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Hr={},Tr={get:function(t,o){if(o===Mr)return t;var e=cr(t);if(!ir(e,o))return function(t,o,e){var r,i=Er(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!or(r)?r:r===Cr(t.t,o)?(Rr(t),t.o[o]=Ur(t.A.h,r,t)):r},has:function(t,o){return o in cr(t)},ownKeys:function(t){return Reflect.ownKeys(cr(t))},set:function(t,o,e){var r=Er(cr(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Cr(cr(t),o),n=null==i?void 0:i[Mr];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(ar(e,i)&&(void 0!==e||ir(t.t,o)))return!0;Rr(t),$r(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Cr(t.t,o)||o in t.t?(t.R[o]=!1,Rr(t),$r(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=cr(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qe(12)}},_r={};er(Tr,(function(t,o){_r[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),_r.deleteProperty=function(t,o){return _r.set.call(this,t,o,void 0)},_r.set=function(t,o,e){return Tr.set.call(this,t[0],o,e,t[0])};var Gr=function(){function t(t){var o=this;this.O=Fr,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Qe(6),void 0!==r&&"function"!=typeof r&&Qe(7),or(t)){var s=vr(o),l=Ur(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?br(s):mr(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return gr(s,r),Or(t,s)}),(function(t){throw br(s),t})):(gr(s,r),Or(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===zr&&(a=void 0),o.D&&pr(a,!0),r){var f=[],p=[];dr("Patches").M(t,a,f,p),r(f,p)}return a}Qe(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){or(t)||Qe(8),tr(t)&&(t=Ir(t));var o=vr(this),e=Ur(this,t,void 0);return e[Mr].C=!0,mr(o),e},o.finishDraft=function(t,o){var e=(t&&t[Mr]).A;return gr(e,o),Or(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Fr&&Qe(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=dr("Patches").$;return tr(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Vr=new Gr,Yr=Vr.produce;function qr(t){return qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(t)}function Jr(t){var o=function(t,o){if("object"!==qr(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==qr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===qr(o)?o:String(o)}function Xr(t,o,e){return(o=Jr(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Qr(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ti(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Qr(Object(e),!0).forEach((function(o){Xr(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Qr(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function oi(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Vr.produceWithPatches.bind(Vr),Vr.setAutoFreeze.bind(Vr),Vr.setUseProxies.bind(Vr),Vr.applyPatches.bind(Vr),Vr.createDraft.bind(Vr),Vr.finishDraft.bind(Vr);var ei="function"==typeof Symbol&&Symbol.observable||"@@observable",ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},ii={INIT:"@@redux/INIT"+ri(),REPLACE:"@@redux/REPLACE"+ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ri()}};function ni(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(oi(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(oi(1));return e(ni)(t,o)}if("function"!=typeof t)throw new Error(oi(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(oi(3));return n}function p(t){if("function"!=typeof t)throw new Error(oi(4));if(l)throw new Error(oi(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(oi(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(oi(7));if(void 0===t.type)throw new Error(oi(8));if(l)throw new Error(oi(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:ii.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oi(10));i=t,h({type:ii.REPLACE})}})[ei]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oi(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ei]=function(){return this},t},r}function ai(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ii.INIT}))throw new Error(oi(12));if(void 0===e(void 0,{type:ii.PROBE_UNKNOWN_ACTION()}))throw new Error(oi(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(oi(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function si(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function li(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(oi(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=si.apply(void 0,n)(e.dispatch),ti(ti({},e),{},{dispatch:r})}}}function ci(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var fi=ci();fi.withExtraArgument=ci;var pi,hi=fi,ui=(pi=function(t,o){return pi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},pi(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}pi(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),di=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yi=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},gi=Object.defineProperty,bi=Object.defineProperties,mi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,wi=function(t,o,e){return o in t?gi(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Si=function(t,o){for(var e in o||(o={}))xi.call(o,e)&&wi(t,e,o[e]);if(vi)for(var r=0,i=vi(o);r<i.length;r++){e=i[r];Oi.call(o,e)&&wi(t,e,o[e])}return t},Ni=function(t,o){return bi(t,mi(o))},Ci="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?si:si.apply(null,arguments)};var Ei=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ui(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,yi([void 0],t[0].concat(this)))):new(o.bind.apply(o,yi([void 0],t.concat(this))))},o}(Array),$i=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ui(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,yi([void 0],t[0].concat(this)))):new(o.bind.apply(o,yi([void 0],t.concat(this))))},o}(Array);function Ri(t){return or(t)?Yr(t,(function(){})):t}function Ui(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ei;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(hi.withExtraArgument(e.extraArgument)):r.push(hi));return r}(t)}}function Ii(t){var o,e=Ui(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ai(n)}var d=s;"function"==typeof d&&(d=d(e));var y=li.apply(void 0,d),g=si;c&&(g=Ci(Si({trace:!1},"object"==typeof c&&c)));var b=new $i(y),m=b;return Array.isArray(u)?m=yi([y],u):"function"==typeof u&&(m=u(b)),ni(o,p,g.apply(void 0,m))}function ki(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Si(Si({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Wi(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Li(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ri(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Wi(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Si(Si({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Wi(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ri(t())};else{var c=Ri(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=yi([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(tr(t))return void 0===(r=e(t,o))?t:r;if(or(t))return Yr(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?ki(c,r):ki(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ki=["name","message","stack","code"],Ai=function(t,o){this.payload=t,this.meta=o},ji=function(t,o){this.payload=t,this.meta=o},Fi=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ki;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function zi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=ki(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ni(Si({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=ki(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ni(Si({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=ki(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Fi)(t||"Rejected"),meta:Ni(Si({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return di(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,o){return new Ai(t,o)},fulfillWithValue:function(t,o){return new ji(t,o)}})).then((function(o){if(o instanceof Ai)throw o;return o instanceof ji?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ai?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(zi)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Zi="listenerMiddleware";ki(Zi+"/add"),ki(Zi+"/removeAll"),ki(Zi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Mr];return Tr.get(o,t)},set:function(o){var e=this[Mr];Tr.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Mr];if(!i.P)switch(i.i){case 5:r(i)&&$r(i);break;case 4:e(i)&&$r(i)}}}function e(t){for(var o=t.t,e=t.k,r=Dr(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mr){var a=o[n];if(void 0===a&&!ir(o,n))return!0;var s=e[n],l=s&&s[Mr];if(l?l.t!==a:!ar(s,a))return!0}}var c=!!o[Mr];return r.length!==Dr(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Hr[t]||(Hr[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Br(e);delete n[Mr];for(var a=Dr(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:yr(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mr,{value:n,writable:!0}),i},S:function(t,e,i){i?tr(e)&&e[Mr].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Mr];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)er(n,(function(o){o!==Mr&&(void 0!==i[o]||ir(i,o)?a[o]||t(n[o]):(a[o]=!0,$r(e)))})),er(i,(function(t){void 0!==n[t]||ir(n,t)||(a[t]=!1,$r(e))}));else if(5===s){if(r(e)&&($r(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Mi{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Te(i))return i;if(null==r)return;const n=Li({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ii({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Mi(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new He,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Pi=Symbol("elementInternals");var Di,Bi,Hi;const Ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Hi=null===(Bi=null===(Di=window.safari)||void 0===Di?void 0:Di.pushNotification)||void 0===Bi?void 0:Bi.toString())&&void 0!==Hi?Hi:""),_i=So.extend("--ft-ripple-color","",Uo.colorContent),Gi={color:_i,backgroundColor:So.extend("--ft-ripple-background-color","",_i),opacityContentOnSurfacePressed:So.external(Uo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:So.external(Uo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:So.external(Uo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:So.external(Uo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:So.create("--ft-ripple-border-radius","","SIZE","0px")},Vi=So.extend("--ft-ripple-color","",Uo.colorPrimary),Yi=Vi,qi=So.extend("--ft-ripple-background-color","",Vi),Ji=So.extend("--ft-ripple-color","",Uo.colorSecondary),Xi=Ji,Qi=So.extend("--ft-ripple-background-color","",Ji),tn=wt`
127
127
  :host {
128
128
  display: contents;
129
129
  }
@@ -235,7 +235,7 @@ const Ie=window,We=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShado
235
235
  opacity: ${Gi.opacityContentOnSurfacePressed};
236
236
  transform: translate(-50%, -50%) scale(1);
237
237
  }
238
- `;const on=So.extend("--ft-typography-font-family","",Uo.titleFont),en=So.extend("--ft-typography-font-family","",Uo.contentFont),rn={fontFamily:en,fontSize:So.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:So.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:So.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:So.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:So.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nn=So.extend("--ft-typography-title-font-family","",on),an=So.extend("--ft-typography-title-font-size","",rn.fontSize,"20px"),sn=So.extend("--ft-typography-title-font-weight","",rn.fontWeight,"normal"),ln=So.extend("--ft-typography-title-letter-spacing","",rn.letterSpacing,"0.15px"),cn=So.extend("--ft-typography-title-line-height","",rn.lineHeight,"1.2"),fn=So.extend("--ft-typography-title-text-transform","",rn.textTransform,"inherit"),pn=So.extend("--ft-typography-title-dense-font-family","",on),hn=So.extend("--ft-typography-title-dense-font-size","",rn.fontSize,"14px"),un=So.extend("--ft-typography-title-dense-font-weight","",rn.fontWeight,"normal"),dn=So.extend("--ft-typography-title-dense-letter-spacing","",rn.letterSpacing,"0.105px"),yn=So.extend("--ft-typography-title-dense-line-height","",rn.lineHeight,"1.7"),gn=So.extend("--ft-typography-title-dense-text-transform","",rn.textTransform,"inherit"),bn=So.extend("--ft-typography-subtitle1-font-family","",en),mn=So.extend("--ft-typography-subtitle1-font-size","",rn.fontSize,"16px"),vn=So.extend("--ft-typography-subtitle1-font-weight","",rn.fontWeight,"600"),xn=So.extend("--ft-typography-subtitle1-letter-spacing","",rn.letterSpacing,"0.144px"),On=So.extend("--ft-typography-subtitle1-line-height","",rn.lineHeight,"1.5"),wn=So.extend("--ft-typography-subtitle1-text-transform","",rn.textTransform,"inherit"),Sn=So.extend("--ft-typography-subtitle2-font-family","",en),Nn=So.extend("--ft-typography-subtitle2-font-size","",rn.fontSize,"14px"),Cn=So.extend("--ft-typography-subtitle2-font-weight","",rn.fontWeight,"normal"),En=So.extend("--ft-typography-subtitle2-letter-spacing","",rn.letterSpacing,"0.098px"),$n=So.extend("--ft-typography-subtitle2-line-height","",rn.lineHeight,"1.7"),Rn=So.extend("--ft-typography-subtitle2-text-transform","",rn.textTransform,"inherit"),Un=So.extend("--ft-typography-body1-font-family","",en),kn=So.extend("--ft-typography-body1-font-size","",rn.fontSize,"16px"),In=So.extend("--ft-typography-body1-font-weight","",rn.fontWeight,"normal"),Wn=So.extend("--ft-typography-body1-letter-spacing","",rn.letterSpacing,"0.496px"),Ln=So.extend("--ft-typography-body1-line-height","",rn.lineHeight,"1.5"),Kn=So.extend("--ft-typography-body1-text-transform","",rn.textTransform,"inherit"),An=So.extend("--ft-typography-body2-font-family","",en),jn=So.extend("--ft-typography-body2-font-size","",rn.fontSize,"14px"),Fn=So.extend("--ft-typography-body2-font-weight","",rn.fontWeight,"normal"),zn=So.extend("--ft-typography-body2-letter-spacing","",rn.letterSpacing,"0.252px"),Zn=So.extend("--ft-typography-body2-line-height","",rn.lineHeight,"1.4"),Mn=So.extend("--ft-typography-body2-text-transform","",rn.textTransform,"inherit"),Pn=So.extend("--ft-typography-caption-font-family","",en),Dn=So.extend("--ft-typography-caption-font-size","",rn.fontSize,"12px"),Bn=So.extend("--ft-typography-caption-font-weight","",rn.fontWeight,"normal"),Hn=So.extend("--ft-typography-caption-letter-spacing","",rn.letterSpacing,"0.396px"),Tn=So.extend("--ft-typography-caption-line-height","",rn.lineHeight,"1.33"),_n=So.extend("--ft-typography-caption-text-transform","",rn.textTransform,"inherit"),Gn=So.extend("--ft-typography-breadcrumb-font-family","",en),Vn=So.extend("--ft-typography-breadcrumb-font-size","",rn.fontSize,"10px"),Yn=So.extend("--ft-typography-breadcrumb-font-weight","",rn.fontWeight,"normal"),qn=So.extend("--ft-typography-breadcrumb-letter-spacing","",rn.letterSpacing,"0.33px"),Jn=So.extend("--ft-typography-breadcrumb-line-height","",rn.lineHeight,"1.6"),Xn=So.extend("--ft-typography-breadcrumb-text-transform","",rn.textTransform,"inherit"),Qn=So.extend("--ft-typography-overline-font-family","",en),ta=So.extend("--ft-typography-overline-font-size","",rn.fontSize,"10px"),oa=So.extend("--ft-typography-overline-font-weight","",rn.fontWeight,"normal"),ea=So.extend("--ft-typography-overline-letter-spacing","",rn.letterSpacing,"1.5px"),ra=So.extend("--ft-typography-overline-line-height","",rn.lineHeight,"1.6"),ia=So.extend("--ft-typography-overline-text-transform","",rn.textTransform,"uppercase"),na={fontFamily:So.extend("--ft-typography-button-font-family","",en),fontSize:So.extend("--ft-typography-button-font-size","",rn.fontSize,"14px"),fontWeight:So.extend("--ft-typography-button-font-weight","",rn.fontWeight,"600"),letterSpacing:So.extend("--ft-typography-button-letter-spacing","",rn.letterSpacing,"1.246px"),lineHeight:So.extend("--ft-typography-button-line-height","",rn.lineHeight,"1.15"),textTransform:So.extend("--ft-typography-button-text-transform","",rn.textTransform,"uppercase")},aa=wt`
238
+ `;const on=So.extend("--ft-typography-font-family","",Uo.titleFont),en=So.extend("--ft-typography-font-family","",Uo.contentFont),rn={fontFamily:en,fontSize:So.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:So.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:So.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:So.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:So.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nn=So.extend("--ft-typography-title-font-family","",on),an=So.extend("--ft-typography-title-font-size","",rn.fontSize,"20px"),sn=So.extend("--ft-typography-title-font-weight","",rn.fontWeight,"normal"),ln=So.extend("--ft-typography-title-letter-spacing","",rn.letterSpacing,"0.15px"),cn=So.extend("--ft-typography-title-line-height","",rn.lineHeight,"1.2"),fn=So.extend("--ft-typography-title-text-transform","",rn.textTransform,"inherit"),pn=So.extend("--ft-typography-title-dense-font-family","",on),hn=So.extend("--ft-typography-title-dense-font-size","",rn.fontSize,"14px"),un=So.extend("--ft-typography-title-dense-font-weight","",rn.fontWeight,"normal"),dn=So.extend("--ft-typography-title-dense-letter-spacing","",rn.letterSpacing,"0.105px"),yn=So.extend("--ft-typography-title-dense-line-height","",rn.lineHeight,"1.7"),gn=So.extend("--ft-typography-title-dense-text-transform","",rn.textTransform,"inherit"),bn=So.extend("--ft-typography-subtitle1-font-family","",en),mn=So.extend("--ft-typography-subtitle1-font-size","",rn.fontSize,"16px"),vn=So.extend("--ft-typography-subtitle1-font-weight","",rn.fontWeight,"600"),xn=So.extend("--ft-typography-subtitle1-letter-spacing","",rn.letterSpacing,"0.144px"),On=So.extend("--ft-typography-subtitle1-line-height","",rn.lineHeight,"1.5"),wn=So.extend("--ft-typography-subtitle1-text-transform","",rn.textTransform,"inherit"),Sn=So.extend("--ft-typography-subtitle2-font-family","",en),Nn=So.extend("--ft-typography-subtitle2-font-size","",rn.fontSize,"14px"),Cn=So.extend("--ft-typography-subtitle2-font-weight","",rn.fontWeight,"normal"),En=So.extend("--ft-typography-subtitle2-letter-spacing","",rn.letterSpacing,"0.098px"),$n=So.extend("--ft-typography-subtitle2-line-height","",rn.lineHeight,"1.7"),Rn=So.extend("--ft-typography-subtitle2-text-transform","",rn.textTransform,"inherit"),Un=So.extend("--ft-typography-body1-font-family","",en),In=So.extend("--ft-typography-body1-font-size","",rn.fontSize,"16px"),kn=So.extend("--ft-typography-body1-font-weight","",rn.fontWeight,"normal"),Wn=So.extend("--ft-typography-body1-letter-spacing","",rn.letterSpacing,"0.496px"),Ln=So.extend("--ft-typography-body1-line-height","",rn.lineHeight,"1.5"),Kn=So.extend("--ft-typography-body1-text-transform","",rn.textTransform,"inherit"),An=So.extend("--ft-typography-body2-font-family","",en),jn=So.extend("--ft-typography-body2-font-size","",rn.fontSize,"14px"),Fn=So.extend("--ft-typography-body2-font-weight","",rn.fontWeight,"normal"),zn=So.extend("--ft-typography-body2-letter-spacing","",rn.letterSpacing,"0.252px"),Zn=So.extend("--ft-typography-body2-line-height","",rn.lineHeight,"1.4"),Mn=So.extend("--ft-typography-body2-text-transform","",rn.textTransform,"inherit"),Pn=So.extend("--ft-typography-caption-font-family","",en),Dn=So.extend("--ft-typography-caption-font-size","",rn.fontSize,"12px"),Bn=So.extend("--ft-typography-caption-font-weight","",rn.fontWeight,"normal"),Hn=So.extend("--ft-typography-caption-letter-spacing","",rn.letterSpacing,"0.396px"),Tn=So.extend("--ft-typography-caption-line-height","",rn.lineHeight,"1.33"),_n=So.extend("--ft-typography-caption-text-transform","",rn.textTransform,"inherit"),Gn=So.extend("--ft-typography-breadcrumb-font-family","",en),Vn=So.extend("--ft-typography-breadcrumb-font-size","",rn.fontSize,"10px"),Yn=So.extend("--ft-typography-breadcrumb-font-weight","",rn.fontWeight,"normal"),qn=So.extend("--ft-typography-breadcrumb-letter-spacing","",rn.letterSpacing,"0.33px"),Jn=So.extend("--ft-typography-breadcrumb-line-height","",rn.lineHeight,"1.6"),Xn=So.extend("--ft-typography-breadcrumb-text-transform","",rn.textTransform,"inherit"),Qn=So.extend("--ft-typography-overline-font-family","",en),ta=So.extend("--ft-typography-overline-font-size","",rn.fontSize,"10px"),oa=So.extend("--ft-typography-overline-font-weight","",rn.fontWeight,"normal"),ea=So.extend("--ft-typography-overline-letter-spacing","",rn.letterSpacing,"1.5px"),ra=So.extend("--ft-typography-overline-line-height","",rn.lineHeight,"1.6"),ia=So.extend("--ft-typography-overline-text-transform","",rn.textTransform,"uppercase"),na={fontFamily:So.extend("--ft-typography-button-font-family","",en),fontSize:So.extend("--ft-typography-button-font-size","",rn.fontSize,"14px"),fontWeight:So.extend("--ft-typography-button-font-weight","",rn.fontWeight,"600"),letterSpacing:So.extend("--ft-typography-button-letter-spacing","",rn.letterSpacing,"1.246px"),lineHeight:So.extend("--ft-typography-button-line-height","",rn.lineHeight,"1.15"),textTransform:So.extend("--ft-typography-button-text-transform","",rn.textTransform,"uppercase")},aa=wt`
239
239
  .ft-typography--title {
240
240
  font-family: ${nn};
241
241
  font-size: ${an};
@@ -275,8 +275,8 @@ const Ie=window,We=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShado
275
275
  `,fa=wt`
276
276
  .ft-typography--body1 {
277
277
  font-family: ${Un};
278
- font-size: ${kn};
279
- font-weight: ${In};
278
+ font-size: ${In};
279
+ font-weight: ${kn};
280
280
  letter-spacing: ${Wn};
281
281
  line-height: ${Ln};
282
282
  text-transform: ${Kn};
@@ -456,7 +456,7 @@ const Ie=window,We=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShado
456
456
  .ft-icon--material {
457
457
  font-family: ${xa.materialFontFamily}, "Material Icons", sans-serif;
458
458
  }
459
- `,wa=So.extend("--ft-button-color","",Uo.colorPrimary),Sa={backgroundColor:So.extend("--ft-button-background-color","",Uo.colorSurface),borderRadius:So.extend("--ft-button-border-radius","",Uo.borderRadiusL),color:wa,fontSize:So.extend("--ft-button-font-size","",na.fontSize),iconSize:So.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:So.extend("--ft-button-ripple-color","",wa),verticalPadding:So.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:So.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:So.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:So.external(Uo.colorOpacityDisabled,"Design system")},Na=So.extend("--ft-button-primary-color","",So.extend("--ft-button-color","",Uo.colorOnPrimary)),Ca={backgroundColor:So.extend("--ft-button-primary-background-color","",So.extend("--ft-button-background-color","",Uo.colorPrimary)),color:Na,rippleColor:So.extend("--ft-button-primary-ripple-color","",Na)},Ea=So.extend("--ft-button-dense-border-radius","",So.extend("--ft-button-border-radius","",Uo.borderRadiusM)),$a=So.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ra=So.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ua=So.create("--ft-button-dense-icon-padding","","SIZE","4px"),ka=[wt`
459
+ `,wa=So.extend("--ft-button-color","",Uo.colorPrimary),Sa={backgroundColor:So.extend("--ft-button-background-color","",Uo.colorSurface),borderRadius:So.extend("--ft-button-border-radius","",Uo.borderRadiusL),color:wa,fontSize:So.extend("--ft-button-font-size","",na.fontSize),iconSize:So.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:So.extend("--ft-button-ripple-color","",wa),verticalPadding:So.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:So.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:So.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:So.external(Uo.colorOpacityDisabled,"Design system")},Na=So.extend("--ft-button-primary-color","",So.extend("--ft-button-color","",Uo.colorOnPrimary)),Ca={backgroundColor:So.extend("--ft-button-primary-background-color","",So.extend("--ft-button-background-color","",Uo.colorPrimary)),color:Na,rippleColor:So.extend("--ft-button-primary-ripple-color","",Na)},Ea=So.extend("--ft-button-dense-border-radius","",So.extend("--ft-button-border-radius","",Uo.borderRadiusM)),$a=So.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ra=So.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ua=So.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ia=[wt`
460
460
  :host {
461
461
  display: inline-block;
462
462
  max-width: 100%;
@@ -593,12 +593,12 @@ const Ie=window,We=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShado
593
593
  ${No(ma.size,Sa.iconSize)};
594
594
  ${No(ma.color,"var(--ft-button-internal-color)")};
595
595
  }
596
- `,Pe],Ia=1,Wa=2,La=t=>(...o)=>({_$litDirective$:t,values:o});let Ka=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
596
+ `,Pe],ka=1,Wa=2,La=t=>(...o)=>({_$litDirective$:t,values:o});let Ka=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
597
597
  /**
598
598
  * @license
599
599
  * Copyright 2018 Google LLC
600
600
  * SPDX-License-Identifier: BSD-3-Clause
601
- */const Aa=La(class extends Ka{constructor(t){if(super(t),t.type!==Ia||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return et}});var ja=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fa extends Ze{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return io`
601
+ */const Aa=La(class extends Ka{constructor(t){if(super(t),t.type!==ka||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return et}});var ja=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fa extends Ze{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return io`
602
602
  <style>
603
603
  .ft-ripple .ft-ripple--effect {
604
604
  left: ${this.originX}px;
@@ -669,7 +669,7 @@ const za=Symbol.for(""),Za=t=>{if(t?.r===za)return t?._$litStatic$},Ma=t=>({_$li
669
669
  </div>
670
670
  </div>
671
671
  </div>
672
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Re(t,o,{platform:{...$e,getOffsetParent:t=>$e.getOffsetParent(t,Ue)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(r,t),c={x:o,y:e},f=await Yo(t,l),p=Ho(Mo(i)),h=Do(p);let u=c[h],d=c[p];if(n){const t="y"===h?"bottom":"right";u=zo(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=zo(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Jo({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ts.elementDefinitions={"ft-typography":Ta},ts.styles=Xa,Qa([R()],ts.prototype,"text",void 0),Qa([R({type:Boolean})],ts.prototype,"manual",void 0),Qa([R({type:Boolean})],ts.prototype,"inline",void 0),Qa([R({type:Number})],ts.prototype,"delay",void 0),Qa([R()],ts.prototype,"position",void 0),Qa([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],ts.prototype,"slotNodes",void 0),Qa([W(".ft-tooltip--container")],ts.prototype,"container",void 0),Qa([W(".ft-tooltip")],ts.prototype,"tooltip",void 0),Qa([W(".ft-tooltip--content")],ts.prototype,"tooltipContent",void 0),Qa([U()],ts.prototype,"visible",void 0),Qa([k({passive:!0})],ts.prototype,"onTouch",null),Qa([k({passive:!0})],ts.prototype,"onHover",null),Qa([k({passive:!0})],ts.prototype,"onOut",null),Qa([k({passive:!0})],ts.prototype,"onClick",null),K("ft-tooltip")(ts);
672
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Re(t,o,{platform:{...$e,getOffsetParent:t=>$e.getOffsetParent(t,Ue)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(r,t),c={x:o,y:e},f=await Yo(t,l),p=Ho(Mo(i)),h=Do(p);let u=c[h],d=c[p];if(n){const t="y"===h?"bottom":"right";u=zo(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=zo(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Jo({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ts.elementDefinitions={"ft-typography":Ta},ts.styles=Xa,Qa([R()],ts.prototype,"text",void 0),Qa([R({type:Boolean})],ts.prototype,"manual",void 0),Qa([R({type:Boolean})],ts.prototype,"inline",void 0),Qa([R({type:Number})],ts.prototype,"delay",void 0),Qa([R()],ts.prototype,"position",void 0),Qa([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],ts.prototype,"slotNodes",void 0),Qa([W(".ft-tooltip--container")],ts.prototype,"container",void 0),Qa([W(".ft-tooltip")],ts.prototype,"tooltip",void 0),Qa([W(".ft-tooltip--content")],ts.prototype,"tooltipContent",void 0),Qa([U()],ts.prototype,"visible",void 0),Qa([I({passive:!0})],ts.prototype,"onTouch",null),Qa([I({passive:!0})],ts.prototype,"onHover",null),Qa([I({passive:!0})],ts.prototype,"onOut",null),Qa([I({passive:!0})],ts.prototype,"onClick",null),K("ft-tooltip")(ts);
673
673
  /**
674
674
  * @license
675
675
  * Copyright 2017 Google LLC
@@ -710,7 +710,7 @@ class os extends Ka{constructor(t){if(super(t),this.et=rt,t.type!==Wa)throw Erro
710
710
  </ft-tooltip>
711
711
  `:t}resolveIcon(){return this.loading?io`
712
712
  <ft-loader part="loader icon"></ft-loader> `:this.icon?io`
713
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fs.elementDefinitions={"ft-ripple":Fa,"ft-tooltip":ts,"ft-typography":Ta,"ft-icon":ss,"ft-loader":ls},cs([R({type:String,reflect:!0})],fs.prototype,"role",void 0),cs([R()],fs.prototype,"type",void 0),cs([R({type:Boolean})],fs.prototype,"disabled",void 0),cs([R()],fs.prototype,"label",void 0),cs([R()],fs.prototype,"icon",void 0),cs([R()],fs.prototype,"iconVariant",void 0),cs([R({type:Boolean})],fs.prototype,"trailingIcon",void 0),cs([R({type:Boolean})],fs.prototype,"loading",void 0),cs([R()],fs.prototype,"tooltipPosition",void 0),cs([R({type:Boolean})],fs.prototype,"hideTooltip",void 0),cs([R({type:Boolean})],fs.prototype,"forceTooltip",void 0),cs([W(".ft-button")],fs.prototype,"button",void 0),cs([W(".ft-button--label slot")],fs.prototype,"slottedContent",void 0);var ps=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hs extends fs{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hs.styles=[De,ka],ps([R({type:Boolean})],hs.prototype,"primary",void 0),ps([R({type:Boolean})],hs.prototype,"outlined",void 0),ps([R({type:Boolean})],hs.prototype,"dense",void 0),ps([R({type:Boolean})],hs.prototype,"round",void 0);const us=[wt`
713
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fs.elementDefinitions={"ft-ripple":Fa,"ft-tooltip":ts,"ft-typography":Ta,"ft-icon":ss,"ft-loader":ls},cs([R({type:String,reflect:!0})],fs.prototype,"role",void 0),cs([R()],fs.prototype,"type",void 0),cs([R({type:Boolean})],fs.prototype,"disabled",void 0),cs([R()],fs.prototype,"label",void 0),cs([R()],fs.prototype,"icon",void 0),cs([R()],fs.prototype,"iconVariant",void 0),cs([R({type:Boolean})],fs.prototype,"trailingIcon",void 0),cs([R({type:Boolean})],fs.prototype,"loading",void 0),cs([R()],fs.prototype,"tooltipPosition",void 0),cs([R({type:Boolean})],fs.prototype,"hideTooltip",void 0),cs([R({type:Boolean})],fs.prototype,"forceTooltip",void 0),cs([W(".ft-button")],fs.prototype,"button",void 0),cs([W(".ft-button--label slot")],fs.prototype,"slottedContent",void 0);var ps=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hs extends fs{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hs.styles=[De,Ia],ps([R({type:Boolean})],hs.prototype,"primary",void 0),ps([R({type:Boolean})],hs.prototype,"outlined",void 0),ps([R({type:Boolean})],hs.prototype,"dense",void 0),ps([R({type:Boolean})],hs.prototype,"round",void 0);const us=[wt`
714
714
  :host {
715
715
  display: inline-block;
716
716
  max-width: 100%;
@@ -973,9 +973,9 @@ class os extends Ka{constructor(t){if(super(t),this.et=rt,t.type!==Wa)throw Erro
973
973
 
974
974
  `,ms=wt`
975
975
  `,vs=wt`
976
- `,xs=Mi.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 Os{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=xs.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?Os.build(t):null!==(o=Os.API)&&void 0!==o?o:Os.API=Os.build()}static await(t){return new Promise((o=>{let e=Os.get(t);if(e)o(e);else{const r=xs.subscribe((()=>{e=Os.get(t),e&&(r(),o(e))}))}}))}}class ws{constructor(t=!0,o){var e;this.overrideApi=o;let i=this.constructor;i.commonCache=null!==(e=i.commonCache)&&void 0!==e?e:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Os.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Os.await()}clearCache(){this.cache.clearAll()}}var Ss;const Ns=Symbol("clearAfterUnitTest");class Cs extends ws{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ss]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=xs.getState().uiLocale,xs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Be(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}Ss=Ns,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Cs{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Cs{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Es=window.FluidTopicsI18nService,$s=window.FluidTopicsCustomI18nService;var Rs=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Us extends Ze{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=()=>Os.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return io`
976
+ `,xs=Mi.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Os{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=xs.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?Os.build(t):null!==(o=Os.API)&&void 0!==o?o:Os.API=Os.build()}static await(t){return new Promise((o=>{let e=Os.get(t);if(e)o(e);else{const r=xs.subscribe((()=>{e=Os.get(t),e&&(r(),o(e))}))}}))}}class ws{constructor(t=!0,o){var e;this.overrideApi=o;let i=this.constructor;i.commonCache=null!==(e=i.commonCache)&&void 0!==e?e:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Os.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Os.await()}clearCache(){this.cache.clearAll()}}var Ss;const Ns=Symbol("clearAfterUnitTest");class Cs extends ws{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ss]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=xs.getState().uiLocale,xs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Be(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}Ss=Ns,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Cs{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Cs{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Es=window.FluidTopicsI18nService,$s=window.FluidTopicsCustomI18nService;var Rs=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Us extends Ze{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Os.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return io`
977
977
  <slot></slot>
978
- `}update(t){super.update(t),t.has("baseUrl")&&(xs.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xs.actions.noCustom(this.noCustom),t.has("editorMode")&&xs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xs.actions.session(this.session),t.has("availableUiLocales")&&xs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Es.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()))}}Us.elementDefinitions={},Us.styles=vs,Rs([R()],Us.prototype,"baseUrl",void 0),Rs([R()],Us.prototype,"apiIntegrationIdentifier",void 0),Rs([R()],Us.prototype,"uiLocale",void 0),Rs([A(null)],Us.prototype,"availableUiLocales",void 0),Rs([A(null)],Us.prototype,"metadataConfiguration",void 0),Rs([R({type:Boolean})],Us.prototype,"editorMode",void 0),Rs([R({type:Boolean})],Us.prototype,"noCustom",void 0),Rs([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Us.prototype,"noCustomComponent",void 0),Rs([R({type:Boolean})],Us.prototype,"withManualResources",void 0),Rs([A([])],Us.prototype,"messageContexts",void 0),Rs([A(void 0)],Us.prototype,"session",void 0),Rs([R({type:Object})],Us.prototype,"apiProvider",void 0);class ks extends ws{async listMySearches(){let t=xs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Is extends ws{async listMyBookmarks(){let t=xs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ws=Mi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Is,this.savedSearchesService=new ks,xs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=xs.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ws.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ws.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ws.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;Ws.actions.bookmarks(o)}}},K("ft-app-context")(Us);var Ls=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ks=Symbol("i18nAttributes"),As=Symbol("i18nProperties"),js=Symbol("i18nUnsubs");function Fs(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?$s:Es}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Ks])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[As])||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[Ks])||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[As])||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[As])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Ks])||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[js].has(t)||this[js].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[js].forEach((t=>t())),this[js].clear()}}return o=js,Ls([R({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class zs extends(Fs(Ze)){}class Zs extends(Fs(Xe)){}var Ms=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ps extends Zs{constructor(){super(),this.editorMode=!1,this.addStore(xs)}render(){return this.key&&this.context?io`
978
+ `}update(t){super.update(t),t.has("baseUrl")&&(xs.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xs.actions.noCustom(this.noCustom),t.has("editorMode")&&xs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xs.actions.session(this.session),t.has("availableUiLocales")&&xs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Es.addContext(t))),t.has("openExternalDocumentInNewTab")&&xs.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Us.elementDefinitions={},Us.styles=vs,Rs([R()],Us.prototype,"baseUrl",void 0),Rs([R()],Us.prototype,"apiIntegrationIdentifier",void 0),Rs([R()],Us.prototype,"uiLocale",void 0),Rs([A(null)],Us.prototype,"availableUiLocales",void 0),Rs([A(null)],Us.prototype,"metadataConfiguration",void 0),Rs([R({type:Boolean})],Us.prototype,"editorMode",void 0),Rs([R({type:Boolean})],Us.prototype,"noCustom",void 0),Rs([R({type:Boolean})],Us.prototype,"openExternalDocumentInNewTab",void 0),Rs([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Us.prototype,"noCustomComponent",void 0),Rs([R({type:Boolean})],Us.prototype,"withManualResources",void 0),Rs([A([])],Us.prototype,"messageContexts",void 0),Rs([A(void 0)],Us.prototype,"session",void 0),Rs([R({type:Object})],Us.prototype,"apiProvider",void 0);class Is extends ws{async listMySearches(){let t=xs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class ks extends ws{async listMyBookmarks(){let t=xs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ws=Mi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ks,this.savedSearchesService=new Is,xs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=xs.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ws.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ws.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ws.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;Ws.actions.bookmarks(o)}}},K("ft-app-context")(Us);var Ls=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ks=Symbol("i18nAttributes"),As=Symbol("i18nProperties"),js=Symbol("i18nUnsubs");function Fs(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?$s:Es}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Ks])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[As])||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[Ks])||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[As])||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[As])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Ks])||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[js].has(t)||this[js].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[js].forEach((t=>t())),this[js].clear()}}return o=js,Ls([R({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class zs extends(Fs(Ze)){}class Zs extends(Fs(Xe)){}var Ms=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ps extends Zs{constructor(){super(),this.editorMode=!1,this.addStore(xs)}render(){return this.key&&this.context?io`
979
979
  <span class="ft-i18n">
980
980
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
981
981
  </span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-copy-block",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "Copy block",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-i18n": "1.1.40",
23
- "@fluid-topics/ft-wc-utils": "1.1.40",
22
+ "@fluid-topics/ft-i18n": "1.1.41",
23
+ "@fluid-topics/ft-wc-utils": "1.1.41",
24
24
  "lit": "3.1.0"
25
25
  },
26
- "gitHead": "ef5d1fb82ff388535e7a81aa3e8ffdb53c7591b4"
26
+ "gitHead": "9842020c30f172387107ab92ffa3d2c5a33edce6"
27
27
  }