@openfin/workspace 45.0.5 → 45.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/notifications.js CHANGED
@@ -1,2 +1,2 @@
1
- (()=>{var e,r,o={444(e,r,o){"use strict";o.d(r,{N:()=>pe,A:()=>be});var t=o(723),a=o(79),n=o(675),i=o(70),l=o(822);(0,l.h)("common.performance");const s="of-workspace-";const c=new class{mark(e){performance.mark(`${s}${e}`)}markStart(e){performance.mark(`${s}${e}-start`)}markEnd(e){performance.mark(`${s}${e}-end`)}markEndAndMeasure(e){performance.mark(`${s}${e}-end`);try{return performance.measure(`${s}${e}`,`${s}${e}-start`,`${s}${e}-end`)}catch(e){0}}markAndMeasure(e,r){performance.mark(`${s}${e}`);try{return performance.measure(`${s}${e}-measure`,`${s}${r}-start`,`${s}${e}`)}catch(e){0}}reportWorkspacePerformanceEntries(){return performance.getEntriesByType("measure").filter(e=>e.name.startsWith(s))}reportWorkspacePerformance(){return this.reportWorkspacePerformanceEntries().map(e=>({name:e.name.replace(`${s}`,"").replace("-measure",""),duration:e.duration}))}};const d=()=>{const e=`browser-window-startup-${void 0!==typeof crypto&&"randomUUID"in crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}`;return c.markStart(e),e};var u=o(102);const g=(e,r)=>r?`${r}-${e.uuid}-${e.name}`:`__browser_window__-${e.uuid}-${e.name}`,f=new Map,b=(e,r)=>{const o=g(e,r);return t=o,f.has(t)||f.set(t,(0,u.A)(t)),f.get(t)();var t};var p,h,m,v,y,k;!function(e){e.CloseBrowserWindow="close-browser-window",e.QuitPlatform="quit-platform",e.ClosePage="close-page",e.AddToChannel="add-to-channel",e.RemoveFromChannel="remove-from-channel",e.OpenSaveModalInternal="open-save-modal-internal",e.DuplicatePage="duplicate-page",e.SetSelectedScheme="set-selected-scheme",e.ShowBrowserIndicator="show-browser-indicator",e.SetSelectedLanguage="set-selected-language",e.RefreshBookmarksInternal="refresh-bookmarks",e.GetLayoutsWithSelectedViewsInternal="get-layouts-with-selected-views",e.FocusAndExpandSearchInternal="focus-and-expand-search"}(p||(p={})),function(e){e.GetPages="get-pages",e.GetActivePageForWindow="get-active-page-for-window",e.AttachPagesToWindow="attach-pages-to-window",e.DetachPagesFromWindow="detach-pages-from-window",e.SetActivePageForWindow="set-active-page-for-window",e.RenamePage="rename-page",e.ReorderPagesForWindow="reorder-pages-for-window",e.UpdatePageForWindow="update-page-for-window",e.UpdatePagesWindowOptions="update-pages-window-options",e.IsActivePageChanging="is-active-page-changing"}(h||(h={})),function(e){e.GetApps="get-apps",e.GetCuratedContent="get-curated-content",e.GetRecentlyVisited="get-recently-visited",e.GetSearchProviders="get-search-providers"}(m||(m={})),function(e){e.CreateBookmarkNode="create-bookmark-node",e.GetBookmarkNode="get-bookmark-node",e.SearchBookmarkNodes="search-bookmark-nodes",e.UpdateBookmarkNode="update-bookmark-node",e.DeleteBookmarkNode="delete-bookmark-node"}(v||(v={})),function(e){e.UpdateFavoriteEntries="update-favorite-entries",e.UpdateContentMenu="update-content-menu",e.NavigateContentMenu="navigate-content-menu",e.MoreMenuCustomOptionClicked="more-menu-custom-option-clicked",e.RefreshDockCollectionMenu="refresh-dock-collection-menu"}(y||(y={})),function(e){e.SendUpdateVersionModalResponse="send-update-version-modal-response",e.SendIntentResolverModalResponse="send-intent-resolver-modal-response"}(k||(k={}));const w={...p,...h,...y},P=(0,u.A)(`${"undefined"!=typeof fin&&fin?.me.identity.uuid}-enterprise-bookmarks`),_=e=>({identity:e,openfinWindow:fin.Window.wrapSync(e),_bookmarks:{_createBookmarkNode:async e=>(async e=>(await P()).dispatch(v.CreateBookmarkNode,e))(e),_getBookmarkNode:async e=>(async e=>(await P()).dispatch(v.GetBookmarkNode,e))(e),_searchBookmarkNodes:async e=>(async e=>(await P()).dispatch(v.SearchBookmarkNodes,e))(e),_updateBookmarkNode:async e=>(async e=>(await P()).dispatch(v.UpdateBookmarkNode,e))(e),_deleteBookmarkNode:async e=>(async e=>(await P()).dispatch(v.DeleteBookmarkNode,e))(e)},getPages:async()=>(await(0,a.bW)(e)).dispatch(a.OF.GetPagesForWindow,e),getPage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetPageForWindow,{identity:e,pageId:r}),addPage:async r=>pe().Browser.wrapSync(e)._addPage(r),_addPage:async(r,o)=>{const t=await(0,a.bW)(e),n={identity:e,page:r,insertionIndex:o?.index,multiInstanceViewBehavior:o?.multiInstanceViewBehavior};return t.dispatch(a.OF.AddPage,n)},_addPages:async(r,o)=>{const t=await(0,a.bW)(e),n=r.map(({page:e,opts:r})=>({...e,multiInstanceViewBehavior:r?.multiInstanceViewBehavior||"duplicate"})),i={identity:e,pages:n,...o};return t.dispatch(a.OF.AttachPagesToWindow,i)},removePage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.DetachPagesFromWindow,{identity:e,pageIds:[r]}),reparentPage:async r=>pe().Browser.wrapSync(e)._reparentPage(r),_reparentPage:async r=>{const{pageId:o}=r,t=await(0,a.bW)(e),n=(await t.dispatch(a.OF.GetAllAttachedPages,void 0)).find(({pageId:e})=>e===o);if(!n)throw new Error(`Reparent Page Error: Target page with pageId ${o} not found`);n.multiInstanceViewBehavior="reparent";const i={identity:e,pages:[n],insertionIndex:r.index};return t.dispatch(a.OF.AttachPagesToWindow,i)},setActivePage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.SetActivePage,{identity:e,pageId:r}),updatePage:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.UpdatePageForWindow,r)},reorderPages:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.ReorderPagesForWindow,r)},_openGlobalContextMenu:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.OpenGlobalContextMenuInternal,r)},replaceToolbarOptions:async r=>{await(0,a.bW)(e);const o=fin.Window.wrapSync(e);await o.updateOptions({workspacePlatform:{toolbarOptions:r}})},replaceWindowStateButtonOptions:async r=>{await(0,a.bW)(e);const o=fin.Window.wrapSync(e);await o.updateOptions({workspacePlatform:{windowStateButtonOptions:r}})},updateBrowserWindowTitle:async r=>{const o=fin.Window.wrapSync(e);"string"!=typeof r?await o.updateOptions({workspacePlatform:{title:r}}):console.warn("Type string for window title is deprecated, please use WindowTitle type instead",r)},_openViewTabContextMenu:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.OpenViewTabContextMenuInternal,r)},_openPageTabContextMenu:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.OpenPageTabContextMenuInternal,r)},_openSaveModal:async r=>{await(0,a.bW)(e);return(await b(e)).dispatch(w.OpenSaveModalInternal,r)},_getLayoutsWithSelectedViews:async()=>(await b(e)).dispatch(w.GetLayoutsWithSelectedViewsInternal,e),_openSaveButtonContextMenu:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.OpenSaveButtonContextMenuInternal,r)},_addDefaultPage:async r=>{const o=await(0,a.bW)(e);return r.identity=e,o.dispatch(a.OF.AddDefaultPage,r)},_trackRemovedTab:async r=>(await(0,a.bW)(e)).dispatch(a.OF.TrackRemovedTabInternal,r),_restoreRemovedTab:async r=>(await(0,a.bW)(e)).dispatch(a.OF.RestoreRemovedTabInternal,r),_trackVisitedSite:async r=>(await(0,a.bW)(e)).dispatch(a.OF.TrackVisitedSiteInternal,r),_getRecentlyVisitedSites:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetRecentlyVisitedSitesInternal,r),_getFrequentlyVisitedSites:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetFrequentlyVisitedSitesInternal,r),_searchSites:async r=>(await(0,a.bW)(e)).dispatch(a.OF.SearchSitesInternal,{identity:e,req:r}),_getSearchProviders:async()=>(await(0,a.bW)(e)).dispatch(a.OF.GetSearchProvidersInternal,{identity:e}),_getCuratedContent:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetCuratedContentInternal,{identity:e,req:r}),_handleRequestNavigation:async r=>(await(0,a.bW)(e)).dispatch(a.OF.HandleRequestNavigationInternal,r),_sendUpdateVersionModalResponse:async r=>(await(0,a.bW)(e)).dispatch(a.OF.SendUpdateVersionModalResponseInternal,r)}),M=e=>{const r=fin.Platform.wrapSync(e);return{wrapSync:e=>_(e),createWindow:async o=>{const t=d();(e=>{fin.Application.wrapSync({uuid:fin.me.identity.uuid}).once("window-shown",()=>{c.markAndMeasure("browser-window-shown",e)})})(t),await(0,a.bW)(e);const n=await r.createWindow(o);return(e=>{c.markAndMeasure("browser-window-started",e)})(t),_(n.identity)},getAllAttachedPages:async()=>(await(0,a.bW)(e)).dispatch(a.OF.GetAllAttachedPages,void 0),getAllWindows:async()=>{await(0,a.bW)(e);return(await(0,i.Io)()).map(e=>_(e.identity))},getUniquePageTitle:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetUniquePageTitle,r),getLastFocusedWindow:async()=>(await(0,a.bW)(e)).dispatch(a.OF.GetLastFocusedBrowserWindow,void 0),getPageByViewIdentity:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetPageByViewIdentity,r)}};var S,x;!function(e){e.Home="/home/",e.HomeSearch="/home/?deeplink=search",e.HomePagesRename="/home/pages/rename/",e.Dock="/dock/",e.Docs="/provider/docs/",e.Storefront="/storefront/",e.DeprecatedAlert="/provider/deprecated-alert/",e.Analytics="/provider/analytics/",e.Provider="/provider/"}(S||(S={})),function(e){e.Browser="/browser/",e.BrowserPopupMenu="/popup-menu/",e.BrowserPopupMenuSaveModal="/popup-menu/save-modal/",e.BrowserPopupMenuLayouts="/popup-menu/layouts/layouts/",e.BrowserPopupMenuColorLinking="/popup-menu/color-linking/color-linking/",e.BrowserIndicator="/indicator/",e.BrowserPopupMenuAddressSearchResultsView="/popup-menu/address-search-results-view/",e.ResponseModal="/popup-menu/response-modal/",e.CloseConfirmationModal="/popup-menu/close-confirmation-modal/",e.EnterpriseBrowser="/enterprise/",e.EnterpriseLandingPage="/enterprise/landing/",e.EnterpriseContextMenu="/context-menu/",e.EnterpriseBookmarkDialog="/bookmark-dialog/",e.EnterpriseAboutPage="/popup-menu/about/",e.StorageProxy="/storage-proxy",e.DropdownMenu="/dropdown-menu/",e.TabSearchModal="/popup-menu/tab-search-modal/",e.EnterpriseDock="/dock/",e.ZoomControlsDialog="/zoom-controls-dialog/",e.DesktopSignalsModal="/popup-menu/desktop-signals-modal/",e.IntentsResolverModal="/popup-menu/intents-resolver-modal/",e.FindInPageModal="/popup-menu/find-in-page-modal/"}(x||(x={}));const C={...S,...x};var I;!function(e){e.Search="search"}(I||(I={}));const A=C;var O=o(438);const F=(0,l.h)("common.overrides");async function W(){const{manifest:e,initialOptions:r}=await(0,O.o3)();return e?.platform.workspace||e?.platform.home||r?.workspace||r?.home||F.warn("getManifestOverrides","Missing Home development manifest overrides, using Desktop Owner Settings."),e?.platform.workspace?(F.debug("getManifestOverrides","Returning settings from manifest.workspace",{workspace:e?.platform.workspace}),e?.platform.workspace):e?.platform.home?(F.debug("getManifestOverrides","Returning settings from manifest.home",{home:e?.platform.home}),e?.platform.home):r?.workspace?(F.debug("getManifestOverrides","Returning settings from initialOptions.workspace",{workspace:r?.workspace}),r?.workspace):r?.home?(F.debug("getManifestOverrides","Returning settings from initialOptions.home",{home:r?.home}),r?.home):{}}const D=e=>fin.System.getSystemAppConfig(e);async function T(){if(!t.cI)return F.warn("getDOSOverrides","The fin API was not available, returning no result"),{};try{let e=await D("workspace").catch(e=>{F.debug("getDOSOverrides","customConfig entry for SystemApp workspace not available in Desktop Owner Settings",{error:e?.message})});return e||(F.debug("getDOSOverrides","In the absence of workspace custom config, falling back to check for home custom config"),e=await D("home"),F.debug("getDOSOverrides","Home custom config retrieved")),F.debug("getDOSOverrides","Returning DOS settings",{overrides:e}),e}catch(e){if(!t.Hd)return{};if(!(e instanceof Error))throw e;F.warn("getDOSOverrides","Missing Workspace Desktop Owner Settings configuration, using defaults",{error:e?.message})}return{}}let B;const R=(0,l.h)("common.browserBaseUrl");let E;const $=e=>e.replace(/\/$/,"");async function z(){const e=(await async function(){if(B)return B;if(!t.cI)return t.YY&&F.warn("getOverrides","The Fin API was not available. Returning an empty result."),{};const[e,r]=await Promise.all([T(),W()]);return B={...r,...e,disableRuntimeValidation:r.disableRuntimeValidation||e.disableRuntimeValidation},F.debug("getOverrides","Returning final overrides",{overrides:B}),B}()).browserBaseUrl;if(e)try{const r=new URL(e);if(r.pathname.endsWith("/")&&(r.pathname=$(r.pathname)),""===r.pathname||"/"===r.pathname)return $(e);if("/workspace"===r.pathname)return r.pathname+=`/${t.et}`,r.toString();R.warn("getBaseUrl","browserOverrideBaseUrl must be a valid url with path /workspace",{browserOverrideBaseUrl:e})}catch(r){R.warn("getBaseUrl","browserOverrideBaseUrl must be a valid url",{browserOverrideBaseUrl:e})}return E??t.bD}async function N(e=!1){const r=await z()+A.EnterpriseBrowser;return e?r:$(r)}const G=(0,l.h)("common.debounce"),j=(e,r=0)=>{let o,t,a=!1;const n=async t=>{const i=await e(...t);if(a){await new Promise(e=>setTimeout(e,r));const e=o;return o=void 0,a=!1,n(e)}return i};return(...e)=>(t?(a=!0,o=e):t=n(e).catch(e=>{throw G.error("makeDebouncedFunc","Error in debounced function",{error:e instanceof Error?e.message:String(e)}),e}).finally(()=>{t=void 0}),t)};var L;!function(e){e.Home="/home",e.Browser="/browser",e.Enterprise="/enterprise",e.Provider="/provider",e.Storefront="/storefront",e.Dock="/dock"}(L||(L={}));function V(e,r){return async(o,...t)=>{e.has(o)&&e.get(o).forEach(e=>e(...t)),r&&await r({event:o,payload:t})}}function H(e,r){return r&&r(r=>{const{event:o,payload:t}=r;e.has(o)&&e.get(o).forEach(e=>e(...t))}),(r,o)=>{e.has(r)||e.set(r,new Set),e.get(r).add(o)}}function U(e){return(r,o)=>{e.has(r)||e.set(r,new Set);const t=e.get(r),a=(...e)=>{o(...e),t.delete(a)};t.add(a)}}function q(e){return(r,o)=>{e.has(r)&&e.get(r).delete(o)}}var K=o(275);(0,l.h)("common.enterpriseBrowser");let Y;const Q=async e=>(Y||(Y=await(async e=>{const r=e?fin.Window.wrapSync(e):fin.Window.getCurrentSync(),o=await r.getOptions();return o.workspacePlatform?.windowType&&"enterprise"===o.workspacePlatform.windowType})(e)),Y);const Z={name:i.Q.BrowserMenu,alwaysOnTop:!0,autoShow:!0,frame:!1,resizable:!1,backgroundColor:"#2f3136",smallWindow:!0,showTaskbarIcon:!1,backgroundThrottling:!1,saveWindowState:!1};function X(e){const r={...Z,...e};return r.url=function(e,r){if(!t.YY)throw new Error("resolveAbsolutePath can only be used in a window");const o=r??window.location;if(/^(?:[a-z]+:)?\/\//i.test(e))return e;const a=`${o.protocol}//${o.hostname}`;return new URL(e,a).href}(r.url??""),r}const J=function(e){const r=new Map;return{emit:V(r,r=>t.cI&&fin.InterApplicationBus.publish(e,r)),addListener:H(r,r=>t.cI&&fin.InterApplicationBus.subscribe({uuid:fin.me.uuid},e,r)),addListenerWithUUID:o=>H(r,r=>t.cI&&fin.InterApplicationBus.subscribe({uuid:o},e,r)),removeListener:q(r),once:U(r)}}("window.menu"),ee=(e,r)=>fin.Window.wrapSync(e).updateOptions({opacity:r}),re=e=>J.emit("response",e),oe=j(()=>(0,O.v1)().getChildWindows(),500);const te=new Map;async function ae(e,r,o){const t=X(e);if(t.backgroundColor=await(0,K.Pw)(fin.me.identity),!te.has(t.name)){const a=new Promise(a=>{J.once("ready",async e=>{if(e.name===t.name){const r=await te.get(t.name);t.preventBlur||r.once("blurred",async()=>{if(ee(e,0),r.hide(),re({name:t.name,data:{actionName:"Cancel"}}),o=r.identity.name,[i.Q.BrowserSaveMenu,i.Q.DockSaveWorkspaceMenu,i.Q.DesktopSignalsModal].includes(o)){const e=await r.getOptions();"submitting"!==e.customContext&&"error"!==e.customContext&&r.close()}else r.identity.name.startsWith(i.Q.BrowserMenu)&&r.close();var o}),setTimeout(async()=>{await ee(e,1);1!==(await fin.Window.wrapSync(e).getOptions()).opacity&&ee(e,1)}),a(r)}});const n=(async()=>{const a=await fin.Platform.getCurrentSync().createWindow(((e,r)=>{const o=e;return o.workspacePlatform||(o.workspacePlatform={}),o.workspacePlatform._internalDeferShowOptions={setAsForeground:!!r,deferShowEnabled:!0,autoShow:o.workspacePlatform?._internalAutoShow||o.workspacePlatform?._internalDeferShowOptions?.autoShow||void 0===o.autoShow||o.autoShow},o.autoShow=!1,o})({...t,opacity:0,url:r||t.url,defaultLeft:o?.left,defaultTop:o?.top,defaultWidth:o?.width,defaultHeight:o?.height,workspacePlatform:{preventBlur:e.preventBlur}},!0));return a.once("closed",()=>{te.delete(t.name)}),a})();te.set(t.name,n)});return a}return te.get(t.name)}async function ne(e,r){const o=X(e),t={top:o.top,left:o.left,width:o.defaultWidth||o.width,height:o.defaultHeight||o.height};return r.set("parentName",fin.Window.getCurrentSync().identity.name),{name:o.name,bounds:t,route:`${o.url}#${r.toString()}`}}async function ie({options:e,parameters:r}){J.emit("modal-opened",e.name,fin.me.identity.name);const o=r??new URLSearchParams,t=X(e),{name:a,modalParentIdentity:n}=t;if(!o.has("isEnterprise")){const e=`${await Q(n)}`;o.set("isEnterprise",e)}let i=await async function(e){return(await oe()).find(r=>r.identity.name===e)}(a);if(i)await async function(e,r){const{name:o,bounds:t,route:a}=await ne(e,r),n={uuid:fin.me.identity.uuid,name:o},i=fin.Window.wrapSync(n);await Promise.all([i.hide(),ee(n,0),i.setBounds(t)]),e.preventBlur||i.once("blurred",()=>{ee(n,0),i.hide(),re({name:n.name,data:{actionName:"Cancel"}})}),J.emit("update",o,t,a),await re({name:o,data:{actionName:"Cancel"}})}(t,o);else{const{route:r,bounds:a}=await ne(e,o);i=await ae({...t},r,a)}return i}var le,se;!function(e){e.RelativeToParentWindow="relative-to-parent-window",e.RelativeToMonitor="relative-to-monitor"}(le||(le={})),function(e){e.Top="top",e.Below="below"}(se||(se={}));(0,l.h)("common.IndicatorBounds");require("react-i18next");const ce=require("i18next");o.n(ce)().t;var de;!function(e){e.Label="normal",e.Separator="separator",e.Submenu="submenu",e.Checkbox="checkbox"}(de||(de={}));de.Separator;(0,l.h)("common.modalBounds");const ue=async e=>{const r=e&&await(0,i.Iq)(e).getBounds(),o=e?await(0,i.jz)(r):(await fin.System.getMonitorInfo()).primaryMonitor;return(0,i.VE)(o.availableRect)};const ge=e=>({createPage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.CreateSavedPageInternal,r),deletePage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.DeleteSavedPageInternal,r),updatePage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.UpdateSavedPageInternal,r),getPage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetSavedPage,r),getPages:async r=>(await(0,a.bW)(e)).dispatch(a.OF.GetSavedPages,r),savePage:async r=>(await(0,a.bW)(e)).dispatch(a.OF.SavePage,r),createWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.CreateSavedWorkspace,r),deleteWorkspace:async r=>{const o=pe(),t=await o.getCurrentWorkspace();if(t.workspaceId===r)throw new Error(`Cannot delete current active workspace ${t.title}`);return(await(0,a.N)(e)).dispatch(a.OF.DeleteSavedWorkspace,r)},updateWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.UpdateSavedWorkspace,r),getWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.GetSavedWorkspace,r),getWorkspaces:async r=>(await(0,a.N)(e)).dispatch(a.OF.GetSavedWorkspaces,r),getWorkspacesMetadata:async r=>(await(0,a.N)(e)).dispatch(a.OF.GetSavedWorkspacesMetadata,r),saveWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.SaveWorkspace,r),getDockProviderConfig:async r=>(await(0,a.N)(e)).dispatch(a.OF.GetDockProviderConfig,r),saveDockProviderConfig:async r=>(await(0,a.N)(e)).dispatch(a.OF.SaveDockProviderConfig,r)});o(78),o(695),o(105);(0,l.h)("theming-api");const fe=e=>({getThemes:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetThemes,void 0),getGeneratedPalettes:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetGeneratedPalettes,void 0),getThemePaletteSheet:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetThemePaletteSheet,void 0),setSelectedScheme:async r=>(await(0,a.N)(e)).dispatch(a.OF.SetSelectedScheme,r),getSelectedScheme:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetSelectedScheme,void 0),getNotificationIndicatorColorsInternal:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetNotificationIndicatorColorsInternal,void 0),getIsLegacySinglePaletteTheme:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetIsLegacySinglePaletteTheme,void 0),getLegacyNotificationsThemeInternal:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetLegacyNotificationsThemeInternal,void 0)}),be=e=>{const r=fin.Platform.wrapSync(e);let o;const l=Object.assign(r,{applySnapshot:async(r,o)=>{if("string"!=typeof r&&!r?.windows)throw new Error("Not a valid browser snapshot");return fin.Platform.wrapSync(e).applySnapshot(r,o)},getSnapshot:()=>fin.Platform.wrapSync(e).getSnapshot().then(e=>e),getViewSnapshot:r=>fin.Platform.wrapSync(e).getViewSnapshot(r),createView:(r,o,t)=>fin.Platform.wrapSync(e).createView(r,o,t),launchApp:async r=>{console.warn("launchApp method is deprecated. It is recommended to use createView - https://developers.openfin.co/of-docs/docs/platform-getting-started#add-a-view-to-an-existing-window or createWindow - https://developers.openfin.co/of-docs/docs/platform-getting-started#create-a-platform-window instead."),r.target||(r.target={uuid:t.$h,name:t.vL,entityType:t.fT||"unknown"});return(await(0,a.N)(e)).dispatch(a.OF.LaunchApp,r)},_invokeCustomAction:async(r,o)=>{const t=await(0,a.N)(e),i={actionId:r,payload:{...o,callerType:o.callerType||n.vc.API}};return t.dispatch(a.OF.InvokeCustomActionInternal,i)},_requestQuitPlatformDialog:async r=>(await(0,a.N)(e)).dispatch(a.OF.RequestQuitPlatformDialogInternal,r),_showUpdateVersionModal:async r=>(await(0,a.N)(e)).dispatch(a.OF.ShowUpdateVersionModalInternal,r),_showApplyAndPublishModal:async()=>(await(0,a.N)(e)).dispatch(a.OF.ShowApplyAndPublishModalInternal,void 0),getCurrentWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.GetCurrentWorkspace,r),applyWorkspace:async(r,o)=>(await(0,a.N)(e)).dispatch(a.OF.ApplyWorkspace,{...r,options:o}),restoreLastSavedWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.RestoreLastSavedWorkspaceInternal,r),setActiveWorkspace:async r=>(await(0,a.N)(e)).dispatch(a.OF.SetActiveWorkspace,r),getLanguage:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetLanguage),_getLanguageResources:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetLanguageResourcesInternal),setLanguage:async r=>(await(0,a.N)(e)).dispatch(a.OF.SetLanguage,r),_raiseAnalytics:async r=>{if(o||(o=await(0,a.KZ)(e)),"object"==typeof o&&o?.analytics?.isSupported){return(await(0,a.N)(e)).dispatch(a.OF.Analytics,r)}e.uuid},getNotificationsConfig:async()=>{console.warn("Notifications config is now part of the platform manifest and is automatically resolved by the notifications API. Do NOT use getNotificationsConfig method as it will not return the correct configuration.")},_refreshBookmarksInternal:async()=>(await(0,a.N)(e)).dispatch(a.OF.RefreshBookmarksInternal),_launchBookmarkInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.LaunchBookmarkInternal,r),_updateDockFavoritesInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.UpdateDockFavoritesInternal,r),_updateContentMenuInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.UpdateContentMenuInternal,r),_launchDockEntryInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.LaunchDockEntryInternal,r),_setDockFavoritesInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.SetDockFavoritesOrderInternal,r),_setDefaultDockButtonsOrderInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.SetDefaultDockButtonsOrderInternal,r),_removeDockFavoriteInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.RemoveDockFavoriteInternal,r),_addDockFavoriteInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.AddDockFavoriteInternal,r),_navigateContentMenuInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.NavigateContentMenuInternal,r),_openDockWorkspacesContextMenuInternal:async()=>(await(0,a.N)(e)).dispatch(a.OF.GetDockWorkspacesContextMenuInternal),_handleDockWorkspacesMenuResponseInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.HandleDockWorkspacesMenuResponseInternal,r),_refreshDockCollectionMenuInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.RefreshDockCollectionMenuInternal,r),_launchCollectionInternal:async r=>(await(0,a.N)(e)).dispatch(a.OF.LaunchCollectionInternal,r),_focusAndExpandSearchInternal:async()=>(await(0,a.N)(e)).dispatch(a.OF.FocusAndExpandSearchInternal),_showAboutPagePopup:async e=>(async e=>{const r=new URLSearchParams({...e,title:"About"}),o=await ue(fin.me.identity),t=e.copyrightMessage?320:286,a=(0,i.Xq)(o,{height:t,width:360});return ie({options:{frame:!0,smallWindow:!0,saveWindowState:!1,showTaskbarIcon:!0,includeInSnapshots:!1,workspacePlatform:{windowType:"enterprise"},resizable:!1,name:i.Q.AboutPageWindow,url:await N()+A.EnterpriseAboutPage,defaultWidth:360,defaultHeight:t,preventBlur:!0,...a},parameters:r})})(e),Theme:fe(e),Browser:M(e),Storage:ge(e)});return l},pe=()=>be(fin.me.identity)},675(e,r,o){"use strict";o.d(r,{qT:()=>n,vc:()=>f});var t,a,n,i,l,s,c,d,u,g,f;o(250);!function(e){e.UrlChange="URL_CHANGE",e.ViewAdded="VIEW_ADDED",e.ViewRemoved="VIEW_REMOVED",e.PageContextAdded="PAGE_CONTEXT_ADDED",e.PageContextRemoved="PAGE_CONTEXT_REMOVED"}(t||(t={})),function(e){e.NewWindow="NewWindow",e.NewPage="NewPage",e.SavePage="SavePage",e.SavePageAs="SavePageAs",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.CloseWindow="CloseWindow",e.RestoreChanges="RestoreChanges",e.SaveWorkspace="SaveWorkspace",e.SaveWorkspaceAs="SaveWorkspaceAs",e.RenameWorkspace="RenameWorkspace",e.SwitchWorkspace="SwitchWorkspace",e.DeleteWorkspace="DeleteWorkspace",e.Downloads="Downloads",e.OpenStorefront="OpenStorefront",e.ManageDesktopSignals="ManageDesktopSignals",e.FindInPage="FindInPage",e.Appearance="Appearance",e.Quit="Quit",e.Custom="Custom"}(a||(a={})),function(e){e.Light="light",e.Dark="dark",e.System="system"}(n||(n={})),function(e){e.Close="Close",e.Duplicate="Duplicate",e.Rename="Rename",e.Save="Save",e.SaveAs="Save As",e.NewPage="New Page",e.Pin="Pin",e.Unpin="Unpin",e.ShowHideTabs="ShowHideTabs",e.DeletePage="Delete Page",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Refresh="Refresh",e.CloseOthers="Close others",e.Delete="Delete",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.ManageDesktopSignals="ManageDesktopSignals",e.AddToChannel="AddToChannel",e.Custom="Custom"}(i||(i={})),function(e){e.Lock="Lock",e.AddToChanel="AddToChannel",e.ManageDesktopSignals="ManageDesktopSignals",e.FindInPage="FindInPage",e.Print="Print",e.Pin="Pin"}(l||(l={})),function(e){e.EditName="Edit Name",e.Move="Move",e.Delete="Delete"}(s||(s={})),function(e){e.NewView="NewView",e.DuplicateViews="DuplicateView",e.OpenWithDefaultBrowser="OpenWithDefaultBrowser",e.ReloadViews="ReloadTab",e.CloseViews="CloseTab",e.AddToChannel="AddToChannel",e.RemoveFromChannel="RemoveFromChannel",e.Back="Back",e.Forward="Forward",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.Custom="Custom"}(c||(c={})),function(e){e.ShowHideTabs="ShowHideTabs",e.ColorLinking="ColorLinking",e.PresetLayouts="PresetLayouts",e.LockUnlockPage="LockUnlockPage",e.SaveMenu="SaveMenu",e.SavePage="SavePage",e.Download="Download",e.Minimise="Minimise",e.Maximise="Maximise",e.Close="Close",e.Custom="Custom"}(d||(d={})),function(e){e.SavePage="SavePage",e.SaveWorkspace="SaveWorkspace",e.SavePageAs="SavePageAs",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Custom="Custom"}(u||(u={})),function(e){e.Browser="browser",e.Platform="platform"}(g||(g={})),function(e){e.CustomButton="CustomButton",e.StoreCustomButton="StoreCustomButton",e.CustomDropdownItem="CustomDropdownItem",e.GlobalContextMenu="GlobalContextMenu",e.ViewTabContextMenu="ViewTabContextMenu",e.PageTabContextMenu="PageTabContextMenu",e.SaveButtonContextMenu="SaveButtonContextMenu",e.API="API"}(f||(f={}));var b;!function(e){e.SAVE_PAGE="SAVE_PAGE",e.SAVE_WORKSPACE="SAVE_WORKSPACE",e.SAVE_PAGE_AS="SAVE_PAGE_AS",e.SAVE_WORKSPACE_AS="SAVE_WORKSPACE_AS",e.RENAME_PAGE="RENAME_PAGE",e.RENAME_WORKSPACE="RENAME_WORKSPACE"}(b||(b={}))},250(e,r,o){"use strict";var t;!function(e){e.Left="Left",e.Right="Right",e.Top="Top",e.Bottom="Bottom"}(t||(t={}))},78(e,r,o){"use strict";o.d(r,{XI:()=>l,kz:()=>c});var t=o(438),a=(o(102),o(822)),n=o(70);const i=(0,a.h)("common.protocol.notifications"),l="of-workspace-notifications-sync";var s;async function c(){const e=await async function(){try{const e=await(0,t.S8)(),r=e?.notifications?.customManifest?.manifestUuid;return r||n.ct.uuid}catch(e){return i.warn("getNotificationCenterUuid","Could not get manifest options for notifications, using default",{error:e instanceof Error?e.message:String(e)}),n.ct.uuid}}();return e!==n.ct.uuid?`${e}-${l}`:l}!function(e){e.UpdatePlatformThemeScheme="update-platform-theme-scheme"}(s||(s={}))},79(e,r,o){"use strict";o.d(r,{KZ:()=>i,N:()=>l,OF:()=>a,bW:()=>s});const t=(0,o(822).h)("common.protocol.workspacePlatform");var a;!function(e){e.LaunchApp="launchApp",e.SavePage="savePage",e.GetSavedPage="getSavedPage",e.CreateSavedPage="createSavedPage",e.UpdateSavedPage="updateSavedPage",e.DeleteSavedPage="deleteSavedPage",e.GetSavedPages="getSavedPages",e.CreateSavedPageInternal="createSavedPageInternal",e.UpdateSavedPageInternal="updateSavedPageInternal",e.DeleteSavedPageInternal="deleteSavedPageInternal",e.UpdatePageForWindow="updatePageForWindow",e.AttachPagesToWindow="attachPagesToWindow",e.DetachPagesFromWindow="detachPagesFromWindow",e.ReorderPagesForWindow="reorderPagesForWindow",e.SetActivePage="setActivePage",e.AddPage="addPage",e.AddDefaultPage="addDefaultPage",e.GetAllAttachedPages="getAllAttachedPages",e.GetActivePageIdForWindow="getActivePageIdForWindow",e.GetPagesForWindow="getPagesForWindow",e.GetPageForWindow="getPageForWindow",e.GetSavedPageMetadata="getSavedPageMetadata",e.GetUniquePageTitle="getUniquePageTitle",e.GetLastFocusedBrowserWindow="getLastFocusedBrowserWindow",e.GetPageByViewIdentity="getPageByViewIdentity",e.GetThemes="getThemes",e.GetGeneratedPalettes="getGeneratedPalettes",e.GetThemePaletteSheet="getThemePaletteSheet",e.GetSelectedScheme="getSelectedScheme",e.SetSelectedScheme="setSelectedScheme",e.OpenGlobalContextMenuInternal="openGlobalContextMenuInternal",e.OpenViewTabContextMenuInternal="openViewTabContextMenuInternal",e.OpenPageTabContextMenuInternal="openPageTabContextMenuInternal",e.OpenSaveButtonContextMenuInternal="openSaveButtonContextMenuInternal",e.InvokeCustomActionInternal="invokeCustomActionInternal",e.RequestQuitPlatformDialogInternal="requestQuitPlatformDialogInternal",e.GetSavedWorkspace="getSavedWorkspace",e.CreateSavedWorkspace="createSavedWorkspace",e.UpdateSavedWorkspace="updateSavedWorkspace",e.DeleteSavedWorkspace="deleteSavedWorkspace",e.GetSavedWorkspaces="getSavedWorkspaces",e.GetSavedWorkspacesMetadata="getSavedWorkspacesMetadata",e.SaveWorkspace="saveWorkspace",e.GetCurrentWorkspace="getCurrentWorkspace",e.ApplyWorkspace="applyWorkspace",e.RestoreLastSavedWorkspaceInternal="restoreLastSavedWorkspaceInternal",e.SetActiveWorkspace="setActiveWorkspace",e.IsBrowserInitialized="isBrowserInitialized",e.Analytics="analyticsInternal",e.GetLanguage="getLanguage",e.GetLanguageResourcesInternal="getLanguageResourcesInternal",e.SetLanguage="setLanguage",e.GetDockProviderConfig="getDockProviderConfig",e.SaveDockProviderConfig="saveDockProviderConfig",e.HandleSaveModalOnPageClose="handleSaveModalOnPageClose",e.ShouldPageClose="shouldPageClose",e.ShouldWindowClose="shouldWindowClose",e.CopyPage="copyPage",e.HandlePageChanges="handlePageChanges",e.MarkUnsavedPagesAsSavedInternal="markUnsavedPagesAsSavedInternal",e.TrackRemovedTabInternal="trackRemovedTabInternal",e.RestoreRemovedTabInternal="restoreRemovedTabInternal",e.TrackVisitedSiteInternal="trackVisitedSiteInternal",e.GetRecentlyVisitedSitesInternal="getRecentlyVisitedSitesInternal",e.GetFrequentlyVisitedSitesInternal="getFrequentlyVisitedSitesInternal",e.SearchSitesInternal="searchSitesInternal",e.GetSearchProvidersInternal="getSearchProvidersInternal",e.GetCuratedContentInternal="getCuratedContentInternal",e.HandleRequestNavigationInternal="handleRequestNavigationInternal",e.RefreshBookmarksInternal="refreshBookmarksInternal",e.LaunchBookmarkInternal="launchBookmarkInternal",e.GetNotificationsConfig="getNotificationsConfig",e.UpdateDockFavoritesInternal="updateDockFavoritesInternal",e.UpdateContentMenuInternal="updateContentMenuInternal",e.LaunchDockEntryInternal="launchDockEntryInternal",e.SetDockFavoritesOrderInternal="setDockFavoritesOrderInternal",e.NavigateContentMenuInternal="navigateContentMenuInternal",e.SetDefaultDockButtonsOrderInternal="setDefaultDockButtonsOrderInternal",e.GetDockWorkspacesContextMenuInternal="getDockWorkspacesContextMenuInternal",e.HandleDockWorkspacesMenuResponseInternal="handleDockWorkspacesMenuResponseInternal",e.RefreshDockCollectionMenuInternal="refreshDockCollectionMenuInternal",e.LaunchCollectionInternal="launchCollectionInternal",e.RemoveDockFavoriteInternal="removeDockFavoriteInternal",e.AddDockFavoriteInternal="addDockFavoriteInternal",e.FocusAndExpandSearchInternal="focusAndExpandSearchInternal",e.SendUpdateVersionModalResponseInternal="sendUpdateVersionModalResponseInternal",e.ShowUpdateVersionModalInternal="showUpdateVersionModalInternal",e.ShowApplyAndPublishModalInternal="showApplyAndPublishModalInternal",e.GetNotificationIndicatorColorsInternal="getNotificationIndicatorColorsInternal",e.GetIsLegacySinglePaletteTheme="getIsLegacySinglePaletteTheme",e.GetLegacyNotificationsThemeInternal="getLegacyNotificationsThemeInternal"}(a||(a={}));const n=async e=>fin.Platform.wrapSync(e).getClient(),i=async e=>{const r=await n(e),o="Target is not a Workspace Platform. Target must call WorkspacePlatform.init";let a;try{a=await r.dispatch("isWorkspacePlatform")}catch(e){throw new Error(o)}if("boolean"==typeof a&&a)return t.warn("internalGetWorkspacePlatformChannelClient","You are using an older version of the workspace platform. Please update your workspace platform."),a;if("object"==typeof a&&a.isWorkspacePlatform)return a;throw new Error(o)},l=async e=>(await i(e),n(e)),s=async e=>{const r=await i(e);if("object"==typeof r&&!0!==r?.isBrowserInitialized)throw new Error("Target is not a Browser-enabled Workspace Platform.");return n(e)}},695(e,r,o){"use strict";var t=o(102),a=(o(723),o(822)),n=(o(70),o(905));(0,a.h)("workspace"),(0,t.A)("__of_workspace_protocol__"),(0,t.A)(n.BT)},905(e,r,o){"use strict";o.d(r,{BT:()=>t});const t="__search-openfin-browser-home-topic__";var a,n;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(a||(a={})),function(e){e[e.Initial=0]="Initial",e[e.Open=1]="Open",e[e.Close=2]="Close"}(n||(n={}))},105(e,r,o){"use strict";o.d(r,{P9:()=>s});var t=o(766),a=o(275);const n=(e,r,o)=>{void 0!==o&&(e[r]=o)},i=e=>{const r={},o={light:{},dark:{}};if("palette"in e){const t=e.palette;n(r,"brand.base.dark",t.background1),n(r,"brand.accent.dark",t.brandPrimary),n(r,"brand.base.light",t.textDefault),n(r,"brand.accent.light",t.brandPrimary),n(r,"color.role.background.1",t.background1),n(r,"color.role.background.2",t.background2),n(r,"color.role.background.3",t.background3),n(r,"color.role.background.4",t.background4),n(r,"color.role.background.5",t.background5),n(r,"color.role.background.6",t.background6),n(r,"color.role.background.accent.base",t.brandPrimary),n(r,"color.shared.button.default.background.default",t.brandSecondary),n(r,"color.shared.button.primary.background.default",t.brandPrimary),n(r,"color.shared.button.primary.background.pressed",t.brandPrimaryActive),n(r,"color.role.background.accent.strong",t.brandPrimaryHover),n(r,"color.shared.button.primary.background.hover",t.brandPrimaryHover),n(r,"color.role.foreground.onPrimary",t.brandPrimaryText),n(r,"color.shared.button.primary.text.default",t.brandPrimaryText),n(r,"color.shared.button.default.background.default",t.brandSecondary),n(r,"color.role.transparent.18",t.brandSecondaryActive),n(r,"color.shared.button.default.background.pressed",t.brandSecondaryActive),n(r,"color.shared.button.default.background.hover",t.brandSecondaryHover),n(r,"color.shared.button.default.text.default",t.brandSecondaryText),n(r,"color.shared.form.background.default",t.inputBackground),n(r,"color.shared.form.value.filled",t.inputColor),n(r,"color.shared.form.placeholder.default",t.inputPlaceholder),n(r,"color.shared.form.border.focus",t.inputFocused),n(r,"color.role.border.base",t.background5),n(r,"color.shared.form.border.default",t.inputBorder),n(r,"color.role.identifier.green",t.statusSuccess),n(r,"color.role.identifier.yellow",t.statusWarning),n(r,"color.role.identifier.red",t.statusCritical),n(r,"color.role.foreground.base",t.textDefault),n(r,"color.role.foreground.soft",t.textHelp),n(r,"color.role.foreground.softer",t.textInactive),n(r,"color.shared.form.border.focus",t.borderNeutral),n(r,"color.role.link.default",t.linkDefault),n(r,"color.role.link.hover",t.linkHover),n(o.light,"icon.symbol",e?.brand?.icons?.light?.symbol),n(o.dark,"icon.symbol",e?.brand?.icons?.dark?.symbol),n(o.light,"icon.wordmark",e?.brand?.icons?.light?.wordmark),n(o.dark,"icon.wordmark",e?.brand?.icons?.dark?.wordmark)}if("palettes"in e){const{dark:t,light:a}=e.palettes;n(r,"brand.base.dark",t.background1),n(r,"brand.accent.dark",t.brandPrimary),n(r,"brand.base.light",t.textDefault),n(r,"brand.accent.light",a.brandPrimary),n(o.dark,"color.role.background.1",t.background1),n(o.dark,"color.role.background.2",t.background2),n(o.dark,"color.role.background.3",t.background3),n(o.dark,"color.role.background.4",t.background4),n(o.dark,"color.role.background.5",t.background5),n(o.dark,"color.role.background.6",t.background6),n(o.dark,"color.role.background.accent.base",t.brandPrimary),n(o.dark,"color.shared.button.default.background.default",t.brandSecondary),n(o.dark,"color.shared.button.primary.background.default",t.brandPrimary),n(o.dark,"color.shared.button.primary.background.pressed",t.brandPrimaryActive),n(o.dark,"color.role.background.accent.strong",t.brandPrimaryHover),n(o.dark,"color.shared.button.primary.background.hover",t.brandPrimaryHover),n(o.dark,"color.role.foreground.onPrimary",t.brandPrimaryText),n(o.dark,"color.shared.button.primary.text.default",t.brandPrimaryText),n(o.dark,"color.shared.button.default.background.default",t.brandSecondary),n(o.dark,"color.role.transparent.18",t.brandSecondaryActive),n(o.dark,"color.shared.button.default.background.pressed",t.brandSecondaryActive),n(o.dark,"color.shared.button.default.background.hover",t.brandSecondaryHover),n(o.dark,"color.shared.button.default.text.default",t.brandSecondaryText),n(o.dark,"color.shared.form.background.default",t.inputBackground),n(o.dark,"color.shared.form.value.filled",t.inputColor),n(o.dark,"color.shared.form.placeholder.default",t.inputPlaceholder),n(o.dark,"color.shared.form.border.focus",t.inputFocused),n(o.dark,"color.role.border.base",t.background5),n(o.dark,"color.shared.form.border.default",t.inputBorder),n(o.dark,"color.role.identifier.green",t.statusSuccess),n(o.dark,"color.role.identifier.yellow",t.statusWarning),n(o.dark,"color.role.identifier.red",t.statusCritical),n(o.dark,"color.role.foreground.base",t.textDefault),n(o.dark,"color.role.foreground.soft",t.textHelp),n(o.dark,"color.role.foreground.softer",t.textInactive),n(o.dark,"color.shared.form.border.focus",t.borderNeutral),n(o.dark,"color.role.link.default",t.linkDefault),n(o.dark,"color.role.link.hover",t.linkHover),n(o.light,"color.role.background.1",a.background1),n(o.light,"color.role.background.2",a.background2),n(o.light,"color.role.background.3",a.background3),n(o.light,"color.role.background.4",a.background4),n(o.light,"color.role.background.5",a.background5),n(o.light,"color.role.background.6",a.background6),n(o.light,"color.role.background.accent.base",a.brandPrimary),n(o.light,"color.shared.button.default.background.default",a.brandSecondary),n(o.light,"color.shared.button.primary.background.default",a.brandPrimary),n(o.light,"color.shared.button.primary.background.pressed",a.brandPrimaryActive),n(o.light,"color.role.background.accent.strong",a.brandPrimaryHover),n(o.light,"color.shared.button.primary.background.hover",a.brandPrimaryHover),n(o.light,"color.role.foreground.onPrimary",a.brandPrimaryText),n(o.light,"color.shared.button.primary.text.default",a.brandPrimaryText),n(o.light,"color.shared.button.default.background.default",a.brandSecondary),n(o.light,"color.role.transparent.18",a.brandSecondaryActive),n(o.light,"color.shared.button.default.background.pressed",a.brandSecondaryActive),n(o.light,"color.shared.button.default.background.hover",a.brandSecondaryHover),n(o.light,"color.shared.button.default.text.default",a.brandSecondaryText),n(o.light,"color.shared.form.background.default",a.inputBackground),n(o.light,"color.shared.form.value.filled",a.inputColor),n(o.light,"color.shared.form.placeholder.default",a.inputPlaceholder),n(o.light,"color.shared.form.border.focus",a.inputFocused),n(o.light,"color.role.border.base",a.background5),n(o.light,"color.shared.form.border.default",a.inputBorder),n(o.light,"color.role.identifier.green",a.statusSuccess),n(o.light,"color.role.identifier.yellow",a.statusWarning),n(o.light,"color.role.identifier.red",a.statusCritical),n(o.light,"color.role.foreground.base",a.textDefault),n(o.light,"color.role.foreground.soft",a.textHelp),n(o.light,"color.role.foreground.softer",a.textInactive),n(o.light,"color.shared.form.border.focus",a.borderNeutral),n(o.light,"color.role.link.default",a.linkDefault),n(o.light,"color.role.link.hover",a.linkHover),n(o.light,"icon.symbol",e?.brand?.icons?.light?.symbol),n(o.dark,"icon.symbol",e?.brand?.icons?.dark?.symbol),n(o.light,"icon.wordmark",e?.brand?.icons?.light?.wordmark),n(o.dark,"icon.wordmark",e?.brand?.icons?.dark?.wordmark)}return"brand"in e&&(n(o.light,"icon.symbol",e?.brand?.icons?.light?.symbol),n(o.dark,"icon.symbol",e?.brand?.icons?.dark?.symbol),n(o.light,"icon.wordmark",e?.brand?.icons?.light?.wordmark),n(o.dark,"icon.wordmark",e?.brand?.icons?.dark?.wordmark)),[r,o]},l=e=>{const r={light:{},dark:{}};return n(r.light,"icon.symbol",e?.icons?.light?.symbol),n(r.dark,"icon.symbol",e?.icons?.dark?.symbol),n(r.light,"icon.wordmark",e?.icons?.light?.wordmark),n(r.dark,"icon.wordmark",e?.icons?.dark?.wordmark),r},s=e=>{const r=(e?.length?e:a.O)[0];if("seed"in r){const e="brand"in r?{...l(r.brand),...r.overrides}:r.overrides,o=(0,t.V)(r.seed,e),n={dark:o.dark,light:o.light};return{generatedPalettes:n,themePaletteSheet:(0,a.v3)(n)}}if("palette"in r){const e={...a.$s,...r.palette},o={...r,palette:e},[n,l]=i(o),s=(0,t.V)(n,l),c={dark:s.dark,light:s.light};return{generatedPalettes:c,themePaletteSheet:(0,a.v3)(c)}}if("palettes"in r){const{dark:e,light:o}=r.palettes,n={...a.$s,...e},l={...a.X,...o},s={...r,palettes:{dark:n,light:l}},[c,d]=i(s),u=(0,t.V)(c,d),g={dark:u.dark,light:u.light};return{generatedPalettes:g,themePaletteSheet:(0,a.v3)(g)}}const[o,n]=i(a.O[0]),s=(0,t.V)(o,n),c={dark:s.dark,light:s.light};return{generatedPalettes:c,themePaletteSheet:(0,a.v3)(c)}}},275(e,r,o){"use strict";o.d(r,{$s:()=>f,O:()=>b,Pw:()=>v,X:()=>g,qq:()=>m,v3:()=>p});var t=o(516),a=o(822),n=o(70),i=o(444),l=o(675),s=(o(695),o(79)),c=o(105);const d=(0,a.h)("common.theming"),u={[t.Palette.brandPrimary]:"#0A76D3",[t.Palette.brandPrimaryActive]:"#0A71C9",[t.Palette.brandPrimaryHover]:"#0B84EB",[t.Palette.brandPrimaryFocused]:t.Color.white,[t.Palette.brandPrimaryText]:t.Color.white,[t.Palette.statusSuccess]:t.Color.functional1,[t.Palette.statusWarning]:t.Color.functional10,[t.Palette.statusCritical]:t.Color.functional7,[t.Palette.statusActive]:t.Color.functional3,[t.Palette.contentBackground1]:"#0A76D3",[t.Palette.contentBackground2]:"#000000",[t.Palette.contentBackground3]:"#000000",[t.Palette.contentBackground4]:"#000000",[t.Palette.contentBackground5]:"#000000",[t.Palette.borderNeutral]:t.Color.silverGray},g={...u,[t.Palette.background1]:t.Color.white,[t.Palette.background2]:t.Color.lightGray1,[t.Palette.background3]:t.Color.lightGray2,[t.Palette.background4]:t.Color.lightGray3,[t.Palette.background5]:t.Color.lightGray4,[t.Palette.background6]:t.Color.lightGray5,[t.Palette.brandSecondary]:t.Color.lightGray4,[t.Palette.brandSecondaryActive]:t.Color.lightGray4Active,[t.Palette.brandSecondaryHover]:t.Color.lightGray4Hover,[t.Palette.brandSecondaryFocused]:t.Color.darkGray5,[t.Palette.brandSecondaryText]:t.Color.darkGray5,[t.Palette.inputBackground]:t.Color.lightGray3,[t.Palette.inputColor]:t.Color.darkGray5,[t.Palette.inputPlaceholder]:t.Color.darkGray2,[t.Palette.inputDisabled]:t.Color.neutralGray,[t.Palette.inputFocused]:t.Color.lightGray5,[t.Palette.inputBorder]:t.Color.neutralGray,[t.Palette.textDefault]:t.Color.darkGray5,[t.Palette.textHelp]:t.Color.darkGray3,[t.Palette.textInactive]:t.Color.neutralGray},f={...u,[t.Palette.background1]:t.Color.darkGray6,[t.Palette.background2]:t.Color.darkGray5,[t.Palette.background3]:t.Color.darkGray4,[t.Palette.background4]:t.Color.darkGray3,[t.Palette.background5]:t.Color.darkGray2,[t.Palette.background6]:t.Color.darkGray1,[t.Palette.brandSecondary]:t.Color.darkGray2,[t.Palette.brandSecondaryActive]:t.Color.darkGray2Active,[t.Palette.brandSecondaryHover]:t.Color.darkGray2Hover,[t.Palette.brandSecondaryFocused]:t.Color.white,[t.Palette.brandSecondaryText]:t.Color.white,[t.Palette.inputBackground]:t.Color.darkGray1,[t.Palette.inputColor]:t.Color.white,[t.Palette.inputPlaceholder]:t.Color.lightGray5,[t.Palette.inputDisabled]:t.Color.neutralGray,[t.Palette.inputFocused]:t.Color.lightGray5,[t.Palette.inputBorder]:t.Color.neutralGray,[t.Palette.textDefault]:t.Color.white,[t.Palette.textHelp]:t.Color.lightGray5,[t.Palette.textInactive]:t.Color.neutralGray},b=[{label:"OpenFin Default Light and Dark Theme",palettes:{light:{...g,backgroundPrimary:t.Color.darkGray5},dark:{...f,backgroundPrimary:t.Color.darkGray5}}}],p=(e,r)=>{const o=e.light.toCSS(),t=e.dark.toCSS(),a=r?.light??"",n=r?.dark??"";return`:root{${o}${a}}\n [data-scheme="dark"] {\n ${t}${n}\n }\n @media (prefers-color-scheme: dark) {\n [data-scheme="system"] {${t}${n} }\n }\n\n @media (prefers-color-scheme: light) {\n [data-scheme="system"] {${o}${a} }\n }\n `},h=async e=>{const r=fin?.__internal_?.initialOptions?.workspacePlatform?._themeData;if(!r||e.uuid!==n.$p.uuid){r||d.info("getComputedTheme","Unable to find preloaded theme data, fetching from platform provider");try{const r=await(0,i.A)(e).Theme.getGeneratedPalettes();return{themes:r,selectedScheme:await(0,i.A)(e).Theme.getSelectedScheme()}}catch{return d.warn("getThemeData","getGeneratedPalettes unavailable — platform is likely pre-v24. Falling back to legacy getThemes + theme-engine conversion"),(async e=>{const r=await(0,i.A)(e).Theme.getThemes(),o=await(0,i.A)(e).Theme.getSelectedScheme(),{generatedPalettes:t,themePaletteSheet:a}=(0,c.P9)(r);return{themes:t,selectedScheme:o,themePaletteSheet:a}})(e)}}return r},m=async e=>{const r=await h(e),{themes:o,selectedScheme:t}=r;let a=r.themePaletteSheet;if(!a&&o&&"dark"in o&&"light"in o){const e=o;"function"==typeof e.dark?.toCSS&&"function"==typeof e.light?.toCSS&&(a=p(e))}if(!a){const r=await(async e=>{try{const r=await(0,i.A)(e).Theme.getThemePaletteSheet();if(r?.trim())return r}catch(e){d.warn("getThemePaletteSheetFromPlatform","Theme API fallback failed",{error:e instanceof Error?e.message:String(e)})}})(e);r&&(a=r)}return{theme:o,defaultScheme:t,themePaletteSheet:a}},v=async e=>{const r=await(0,i.A)(e).Theme.getGeneratedPalettes(),o=await(async e=>{const r=await(0,s.N)(e||fin.me.identity),o=await r.dispatch(s.OF.GetSelectedScheme,void 0);return o===l.qT.System?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":o})(e),t=r.dark["color.role.background.1"],a=r.light["color.role.background.1"];return o===l.qT.Dark?t:a}},438(e,r,o){"use strict";o.d(r,{MW:()=>t,S8:()=>d,o3:()=>g,v1:()=>s});var t,a,n=o(723);!function(e){e.Workspace="openfin-workspace",e.OldWorkspace="openfin-browser"}(t||(t={})),function(e){e.FinProtocol="fin-protocol"}(a||(a={}));const i={uuid:n.$h},l=(t.Workspace,e=>{if(!n.cI)throw new Error("getApplication cannot be used in a non OpenFin env. Avoid using this during pre-rendering.");return fin.Application.wrapSync(e)}),s=()=>l(i);let c=null;const d=async()=>(c||(c=fin.Application.getCurrentSync().getManifest()),c);let u=null;const g=async()=>(u||(u=fin.Application.getCurrentSync().getInfo()),u)},102(e,r,o){"use strict";o.d(r,{A:()=>i});var t=o(723);const a=(0,o(822).h)("common.channels"),n=t.YY&&"complete"!==document.readyState&&new Promise(e=>document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&e()}));function i(e){let r;const o=new Set;return()=>{if(!t.cI)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return r||(a.debug("getChannelClient","Connecting to channel provider",{channelName:e}),r=(async()=>{await n;const i={clientAPIVersion:t.et},l=await fin.InterApplicationBus.Channel.connect(e,{payload:i});return l.onDisconnection(async()=>{o.forEach(e=>e()),o.clear(),a.warn("onDisconnection","Disconnected from channel provider",{channelName:e}),r=void 0}),l})().then(r=>(a.debug("getChannelClient","Connected to channel provider",{channelName:e}),r.addDisconnectionListener=e=>{o.add(e)},r)).catch(o=>{throw r=void 0,new Error(`failed to connect to channel provider ${e}: ${o}`)})),r}}},723(e,r,o){"use strict";var t;o.d(r,{$h:()=>l,Hd:()=>d,YY:()=>n,bD:()=>g,cI:()=>a,et:()=>f,fT:()=>c,vL:()=>s}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(t||(t={}));const a="undefined"!=typeof window&&"undefined"!=typeof fin,n=("undefined"==typeof process||process.env,"undefined"!=typeof window),i=n?window.origin:t.Local,l=a&&fin.me.uuid,s=a&&fin.me.name,c=a&&fin.me.entityType,d=(t.Local,t.Dev,t.Staging,"prod"===t.Prod),u=e=>e.startsWith("http://")||e.startsWith("https://")?e:i+e,g=(u("https://workspace.openfin.co/workspace/45.0.5"),u("https://workspace.openfin.co/workspace/45.0.5")),f=("undefined"!=typeof WORKSPACE_DOCS_PLATFORM_URL&&u(WORKSPACE_DOCS_PLATFORM_URL),"undefined"!=typeof WORKSPACE_DOCS_CLIENT_URL&&u(WORKSPACE_DOCS_CLIENT_URL),"45.0.5");"undefined"!=typeof WORKSPACE_BUILD_SHA&&WORKSPACE_BUILD_SHA},822(e,r,o){"use strict";o.d(r,{h:()=>i});let t="undefined"==typeof LOG_STRINGIFY||!0===LOG_STRINGIFY;const a={includeTimestamp:!0,customPrefix:"",stringifyData:void 0},n=e=>{try{return JSON.stringify(e,null,2)}catch(r){try{const r=new WeakSet;return JSON.stringify(e,(e,o)=>{if("object"==typeof o&&null!==o){if(r.has(o))return"[Circular Reference]";r.add(o)}return"bigint"==typeof o?`[BigInt: ${o.toString()}]`:"function"==typeof o?`[Function: ${o.name||"anonymous"}]`:"symbol"==typeof o?`[Symbol: ${o.toString()}]`:void 0===o?"[Undefined]":o},2)}catch(r){try{return`[Non-serializable: ${Object.prototype.toString.call(e)}]`}catch{return"[Unable to serialize data]"}}}},i=(e,r={})=>{const o={...a,...r},i=(a,i,l,s)=>{try{const c=((e,r,o,t)=>{const a=t.includeTimestamp?(new Date).toISOString():"";return`${a?`${a} `:""}${t.customPrefix?`${t.customPrefix} `:""}[${e}][${r}] ${o}`})(e,i,l,o),d=((e,r)=>{if(!e)return;const o="function"==typeof e?e():e;return o?r?n(o):o:void 0})(s,void 0!==r.stringifyData?r.stringifyData:t),u=console[a];void 0!==d?u(c,d):u(c)}catch(r){try{console.error("[Logger Error] Failed to log message:",r),console[a](`[${e}][${i}]`,l,s)}catch(e){}}};return{debug:(e,r,o)=>i("debug",e,r,o),info:(e,r,o)=>i("info",e,r,o),warn:(e,r,o)=>i("warn",e,r,o),error:(e,r,o)=>i("error",e,r,o)}}},277(e,r,o){"use strict";o.d(r,{os:()=>l});var t=o(723),a=o(822);o(70);(0,a.h)("common.usageRegister");var n;!function(e){e.Browser="Browser",e.Dock="Dock",e.EnterpriseDock="EnterpriseDock",e.Home="Home",e.Notification="Notification",e.Storefront="Storefront",e.Platform="Platform",e.Theming="Theming",e.Microflow="Microflow"}(n||(n={}));const i=async(e,r,o="workspace-licensing")=>{const a={apiVersion:r.apiVersion||t.et,componentName:e,componentVersion:r.componentVersion||t.et,allowed:r.allowed,rejectionCode:r.rejectionCode};fin.System.registerUsage({type:o,data:a})};const l=e=>{i(n.Notification,e)};new Map},70(e,r,o){"use strict";o.d(r,{$p:()=>d,Io:()=>g,Iq:()=>c,Q:()=>i,VE:()=>l,Xq:()=>s,ct:()=>u,jz:()=>f});o(78);var t=o(438),a=o(723);const n=(0,o(822).h)("common.window");var i;!function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window",e.ClassicWindow="internal-generated-classic-window",e.BrowserAddressSearchPrefix="openfin-browser-menu-address-search-",e.DockCompanion="openfin-dock-companion",e.AICompanionPrefix="openfin-ai-companion-",e.AboutPageWindow="here-about-page",e.FindInPageViewPrefix="here-find-in-page-view-",e.BrowserMenu="openfin-browser-menu",e.BrowserSaveMenu="openfin-browser-save-menu",e.DockSaveWorkspaceMenu="openfin-dock3-save-workspace-menu",e.DropdownMenu="openfin-enterprise-dropdown-menu",e.EnterpriseContextMenu="openfin-enterprise-context-menu",e.TabSearchMenu="openfin-browser-tab-search-menu",e.EnterpriseBookmarkDialogWindow="openfin-enterprise-bookmark-dialog",e.ZoomControlsDialog="here-zoom-controls-dialog",e.UpdateVersionModal="here-update-version-modal",e.ApplyAndPublishModal="here-apply-and-publish-modal",e.PublishOnCloseModal="here-publish-on-close-modal",e.DesktopSignalsModal="here-desktop-signals-modal",e.IntentsResolverModal="here-intents-resolver-modal"}(i||(i={}));const l=e=>({left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}),s=(e,r)=>{const o=r.width/2,t=r.height/2;return{left:Math.round(e.left-o),top:Math.round(e.top-t),width:r.width,height:r.height}};function c(e){if(!a.cI)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}const d={name:a.vL,uuid:a.$h};i.Home,t.MW.Workspace,i.Dock,t.MW.Workspace;const u={name:"Notification-Center",uuid:"notifications-service"};i.Storefront,t.MW.Workspace,t.MW.Workspace,t.MW.Workspace;async function g(){const e=await fin.Application.getCurrentSync().getChildWindows(),r=await Promise.all(e.map(async e=>(async e=>{try{const r=await fin.Window.wrapSync({name:e.name,uuid:e.uuid??fin.me.uuid}).getOptions();return("browser"===r.workspacePlatform?.windowType||"enterprise"===r.workspacePlatform?.windowType)&&r.workspacePlatform?.pages}catch(e){return n.warn("isBrowserWindow","Error checking if window is a browser window",{error:e instanceof Error?e.message:String(e)}),!1}})(e.identity)));return e.filter((e,o)=>r[o])}async function f(e){const r=await fin.System.getMonitorInfo();return[r.primaryMonitor,...r.nonPrimaryMonitors].reduce((r,o)=>{const t=function(e,r){const o=e.top,t=e.left,a=e.top+e.height,n=e.left+e.width,i=r.monitorRect.top,l=r.monitorRect.left,s=r.monitorRect.bottom,c=r.monitorRect.right;if(o>s||a<i||t>c||n<l)return 0;const d=Math.max(o,i),u=Math.max(t,l);return(Math.min(a,s)-d)*(Math.min(n,c)-u)/(e.height*e.width)}(e,o);return t>r.percentage?{percentage:t,monitor:o}:r},{percentage:0,monitor:r.primaryMonitor}).monitor}},516(e,r){var o={d:(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};o.r(t),o.d(t,{Color:()=>a,Palette:()=>k,createTheme:()=>le});const a={white:"#FFFFFF",lightGray1:"#FAFBFE",lightGray2:"#F3F5F8",lightGray3:"#ECEEF1",lightGray4:"#DDDFE4",lightGray5:"#C9CBD2",neutralGray:"#7D808A",neutralGray80:"rgba(125,128,138,0.8)",silverGray:"#C0C1C2",darkGray1:"#53565F",darkGray2:"#383A40",darkGray3:"#2F3136",darkGray4:"#24262B",darkGray5:"#1E1F23",darkGray6:"#111214",openFinDarkest:"#3D39CD",openFinDarker:"#4642E0",openFin:"#504CFF",openFinLight:"#5254FB",openFinLighter:"#5C5EFE",openFinLightest:"#6864FF",functional1:"#207735",functional2:"#46C8F1",functional3:"#0A76D3",functional4:"#6CADE5",functional5:"#0A76D3",functional6:"#882BFE",functional7:"#F31818",functional8:"#C93400",functional9:"#FF5E60",functional10:"#F48F00",purple:"var(--color-primitives-indigo-500)",lightblue:"var(--color-primitives-blue-500)",aqua:"var(--color-primitives-teal-500)",yellow:"var(--color-primitives-yellow-500)",salmon:"var(--color-primitives-orange-500)",pink:"var(--color-primitives-pink-500)",lightpink:"var(--color-primitives-pink-500)",white00:"rgba(255,255,255,0.0)",white10:"rgba(255,255,255,0.1)",white20:"rgba(255,255,255,0.2)",white30:"rgba(255,255,255,0.3)",white40:"rgba(255,255,255,0.4)",white50:"rgba(255,255,255,0.5)",white60:"rgba(255,255,255,0.6)",white70:"rgba(255,255,255,0.7)",white80:"rgba(255,255,255,0.8)",white90:"rgba(255,255,255,0.9)",black00:"rgba(0,0,0,0.0)",black10:"rgba(0,0,0,0.1)",black20:"rgba(0,0,0,0.2)",black30:"rgba(0,0,0,0.3)",black40:"rgba(0,0,0,0.4)",black50:"rgba(0,0,0,0.5)",black60:"rgba(0,0,0,0.6)",black70:"rgba(0,0,0,0.7)",black80:"rgba(0,0,0,0.8)",black90:"rgba(0,0,0,0.9)",transparent:"transparent",openFinActive:"#4642FF",openFinHover:"#6965FF",lightGray4Active:"#D7DADF",lightGray4Hover:"#EBECEF",darkGray2Active:"#33353B",darkGray2Hover:"#44464E"},n="xsmall",i="small",l="base",s="large",c="xlarge",d="xxlarge",u="xxxlarge",g="xxxxlarge",f={[n]:4,[i]:8,[l]:12,[s]:16,[c]:20,[d]:24,[u]:32,[g]:48},b={[n]:"4px",[i]:"8px",[l]:"12px",[s]:"16px",[c]:"20px",[d]:"24px",[u]:"32px",[g]:"72px"},p={[n]:"2px",[i]:"4px",[l]:"8px",[s]:"24px",pill:"100vh",round:"50%",none:"0"},h={[l]:"0 4px 4px rgba(0, 0, 0, 0.25)"},m=["Inter","system-ui","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"].join(","),v={[n]:"8px",[i]:"10px",[l]:"12px",[s]:"14px",[c]:"16px",[d]:"18px",[u]:"20px",[g]:"40px"},y={[n]:b.small,[i]:b.base,[l]:"15px",[s]:b.xlarge,[c]:b.xxlarge,[d]:b.xxxlarge,[u]:b.xxxxlarge,[g]:b.xxxxlarge},k={background1:"background1",background2:"background2",background3:"background3",background4:"background4",background5:"background5",background6:"background6",brandPrimary:"brandPrimary",brandSecondary:"brandSecondary",brandPrimaryActive:"brandPrimaryActive",brandPrimaryHover:"brandPrimaryHover",brandPrimaryFocused:"brandPrimaryFocused",brandPrimaryText:"brandPrimaryText",brandSecondaryActive:"brandSecondaryActive",brandSecondaryHover:"brandSecondaryHover",brandSecondaryFocused:"brandSecondaryFocused",brandSecondaryText:"brandSecondaryText",inputBackground:"inputBackground",inputColor:"inputColor",inputPlaceholder:"inputPlaceholder",inputDisabled:"inputDisabled",inputFocused:"inputFocused",inputBorder:"inputBorder",statusSuccess:"statusSuccess",statusWarning:"statusWarning",statusCritical:"statusCritical",statusActive:"statusActive",textDefault:"textDefault",textHelp:"textHelp",textInactive:"textInactive",borderNeutral:"borderNeutral",contentBackground1:"contentBackground1",contentBackground2:"contentBackground2",contentBackground3:"contentBackground3",contentBackground4:"contentBackground4",contentBackground5:"contentBackground5",linkDefault:"linkDefault",linkHover:"linkHover"};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var P=/^\s+/,_=/\s+$/;function M(e,r){if(r=r||{},(e=e||"")instanceof M)return e;if(!(this instanceof M))return new M(e,r);var o=function(e){var r,o,t,a={r:0,g:0,b:0},n=1,i=null,l=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){e=e.replace(P,"").replace(_,"").toLowerCase();var r,o=!1;if(G[e])e=G[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=ee.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=ee.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ee.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=ee.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ee.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=ee.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ee.hex8.exec(e))?{r:U(r[1]),g:U(r[2]),b:U(r[3]),a:Q(r[4]),format:o?"name":"hex8"}:(r=ee.hex6.exec(e))?{r:U(r[1]),g:U(r[2]),b:U(r[3]),format:o?"name":"hex"}:(r=ee.hex4.exec(e))?{r:U(r[1]+""+r[1]),g:U(r[2]+""+r[2]),b:U(r[3]+""+r[3]),a:Q(r[4]+""+r[4]),format:o?"name":"hex8"}:!!(r=ee.hex3.exec(e))&&{r:U(r[1]+""+r[1]),g:U(r[2]+""+r[2]),b:U(r[3]+""+r[3]),format:o?"name":"hex"}}(e)),"object"==w(e)&&(re(e.r)&&re(e.g)&&re(e.b)?(r=e.r,o=e.g,t=e.b,a={r:255*V(r,255),g:255*V(o,255),b:255*V(t,255)},c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):re(e.h)&&re(e.s)&&re(e.v)?(i=K(e.s),l=K(e.v),a=function(e,r,o){e=6*V(e,360),r=V(r,100),o=V(o,100);var t=Math.floor(e),a=e-t,n=o*(1-r),i=o*(1-a*r),l=o*(1-(1-a)*r),s=t%6;return{r:255*[o,i,n,n,l,o][s],g:255*[l,o,o,i,n,n][s],b:255*[n,n,l,o,o,i][s]}}(e.h,i,l),c=!0,d="hsv"):re(e.h)&&re(e.s)&&re(e.l)&&(i=K(e.s),s=K(e.l),a=function(e,r,o){var t,a,n;function i(e,r,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(r-e)*o:o<.5?r:o<2/3?e+(r-e)*(2/3-o)*6:e}if(e=V(e,360),r=V(r,100),o=V(o,100),0===r)t=a=n=o;else{var l=o<.5?o*(1+r):o+r-o*r,s=2*o-l;t=i(s,l,e+1/3),a=i(s,l,e),n=i(s,l,e-1/3)}return{r:255*t,g:255*a,b:255*n}}(e.h,i,s),c=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=L(n),{ok:c,format:e.format||d,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:n}}(e);this._originalInput=e,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||o.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=o.ok}function S(e,r,o){e=V(e,255),r=V(r,255),o=V(o,255);var t,a,n=Math.max(e,r,o),i=Math.min(e,r,o),l=(n+i)/2;if(n==i)t=a=0;else{var s=n-i;switch(a=l>.5?s/(2-n-i):s/(n+i),n){case e:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-e)/s+2;break;case o:t=(e-r)/s+4}t/=6}return{h:t,s:a,l}}function x(e,r,o){e=V(e,255),r=V(r,255),o=V(o,255);var t,a,n=Math.max(e,r,o),i=Math.min(e,r,o),l=n,s=n-i;if(a=0===n?0:s/n,n==i)t=0;else{switch(n){case e:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-e)/s+2;break;case o:t=(e-r)/s+4}t/=6}return{h:t,s:a,v:l}}function C(e,r,o,t){var a=[q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16))];return t&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function I(e,r,o,t){return[q(Y(t)),q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16))].join("")}function A(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.s-=r/100,o.s=H(o.s),M(o)}function O(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.s+=r/100,o.s=H(o.s),M(o)}function F(e){return M(e).desaturate(100)}function W(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.l+=r/100,o.l=H(o.l),M(o)}function D(e,r){r=0===r?0:r||10;var o=M(e).toRgb();return o.r=Math.max(0,Math.min(255,o.r-Math.round(-r/100*255))),o.g=Math.max(0,Math.min(255,o.g-Math.round(-r/100*255))),o.b=Math.max(0,Math.min(255,o.b-Math.round(-r/100*255))),M(o)}function T(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.l-=r/100,o.l=H(o.l),M(o)}function B(e,r){var o=M(e).toHsl(),t=(o.h+r)%360;return o.h=t<0?360+t:t,M(o)}function R(e){var r=M(e).toHsl();return r.h=(r.h+180)%360,M(r)}function E(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var o=M(e).toHsl(),t=[M(e)],a=360/r,n=1;n<r;n++)t.push(M({h:(o.h+n*a)%360,s:o.s,l:o.l}));return t}function $(e){var r=M(e).toHsl(),o=r.h;return[M(e),M({h:(o+72)%360,s:r.s,l:r.l}),M({h:(o+216)%360,s:r.s,l:r.l})]}function z(e,r,o){r=r||6,o=o||30;var t=M(e).toHsl(),a=360/o,n=[M(e)];for(t.h=(t.h-(a*r>>1)+720)%360;--r;)t.h=(t.h+a)%360,n.push(M(t));return n}function N(e,r){r=r||6;for(var o=M(e).toHsv(),t=o.h,a=o.s,n=o.v,i=[],l=1/r;r--;)i.push(M({h:t,s:a,v:n})),n=(n+l)%1;return i}M.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,o,t=this.toRgb();return e=t.r/255,r=t.g/255,o=t.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=x(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=x(this._r,this._g,this._b),r=Math.round(360*e.h),o=Math.round(100*e.s),t=Math.round(100*e.v);return 1==this._a?"hsv("+r+", "+o+"%, "+t+"%)":"hsva("+r+", "+o+"%, "+t+"%, "+this._roundA+")"},toHsl:function(){var e=S(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=S(this._r,this._g,this._b),r=Math.round(360*e.h),o=Math.round(100*e.s),t=Math.round(100*e.l);return 1==this._a?"hsl("+r+", "+o+"%, "+t+"%)":"hsla("+r+", "+o+"%, "+t+"%, "+this._roundA+")"},toHex:function(e){return C(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,r,o,t,a){var n=[q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16)),q(Y(t))];return a&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*V(this._r,255))+"%",g:Math.round(100*V(this._g,255))+"%",b:Math.round(100*V(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*V(this._r,255))+"%, "+Math.round(100*V(this._g,255))+"%, "+Math.round(100*V(this._b,255))+"%)":"rgba("+Math.round(100*V(this._r,255))+"%, "+Math.round(100*V(this._g,255))+"%, "+Math.round(100*V(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[C(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+I(this._r,this._g,this._b,this._a),o=r,t=this._gradientType?"GradientType = 1, ":"";if(e){var a=M(e);o="#"+I(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+t+"startColorstr="+r+",endColorstr="+o+")"},toString:function(e){var r=!!e;e=e||this._format;var o=!1,t=this._a<1&&this._a>=0;return r||!t||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(o=this.toRgbString()),"prgb"===e&&(o=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(o=this.toHexString()),"hex3"===e&&(o=this.toHexString(!0)),"hex4"===e&&(o=this.toHex8String(!0)),"hex8"===e&&(o=this.toHex8String()),"name"===e&&(o=this.toName()),"hsl"===e&&(o=this.toHslString()),"hsv"===e&&(o=this.toHsvString()),o||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return M(this.toString())},_applyModification:function(e,r){var o=e.apply(null,[this].concat([].slice.call(r)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(W,arguments)},brighten:function(){return this._applyModification(D,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(A,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(F,arguments)},spin:function(){return this._applyModification(B,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(R,arguments)},monochromatic:function(){return this._applyCombination(N,arguments)},splitcomplement:function(){return this._applyCombination($,arguments)},triad:function(){return this._applyCombination(E,[3])},tetrad:function(){return this._applyCombination(E,[4])}},M.fromRatio=function(e,r){if("object"==w(e)){var o={};for(var t in e)e.hasOwnProperty(t)&&(o[t]="a"===t?e[t]:K(e[t]));e=o}return M(e,r)},M.equals=function(e,r){return!(!e||!r)&&M(e).toRgbString()==M(r).toRgbString()},M.random=function(){return M.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},M.mix=function(e,r,o){o=0===o?0:o||50;var t=M(e).toRgb(),a=M(r).toRgb(),n=o/100;return M({r:(a.r-t.r)*n+t.r,g:(a.g-t.g)*n+t.g,b:(a.b-t.b)*n+t.b,a:(a.a-t.a)*n+t.a})},M.readability=function(e,r){var o=M(e),t=M(r);return(Math.max(o.getLuminance(),t.getLuminance())+.05)/(Math.min(o.getLuminance(),t.getLuminance())+.05)},M.isReadable=function(e,r,o){var t,a,n,i,l,s=M.readability(e,r);switch(a=!1,(n=o,"AA"!==(i=((n=n||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(l=(n.size||"small").toLowerCase())&&"large"!==l&&(l="small"),t={level:i,size:l}).level+t.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},M.mostReadable=function(e,r,o){var t,a,n,i,l=null,s=0;a=(o=o||{}).includeFallbackColors,n=o.level,i=o.size;for(var c=0;c<r.length;c++)(t=M.readability(e,r[c]))>s&&(s=t,l=M(r[c]));return M.isReadable(e,l,{level:n,size:i})||!a?l:(o.includeFallbackColors=!1,M.mostReadable(e,["#fff","#000"],o))};var G=M.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=M.hexNames=function(e){var r={};for(var o in e)e.hasOwnProperty(o)&&(r[e[o]]=o);return r}(G);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function V(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var o=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(r,Math.max(0,parseFloat(e))),o&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function H(e){return Math.min(1,Math.max(0,e))}function U(e){return parseInt(e,16)}function q(e){return 1==e.length?"0"+e:""+e}function K(e){return e<=1&&(e=100*e+"%"),e}function Y(e){return Math.round(255*parseFloat(e)).toString(16)}function Q(e){return U(e)/255}var Z,X,J,ee=(X="[\\s|\\(]+("+(Z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Z+")[,|\\s]+("+Z+")\\s*\\)?",J="[\\s|\\(]+("+Z+")[,|\\s]+("+Z+")[,|\\s]+("+Z+")[,|\\s]+("+Z+")\\s*\\)?",{CSS_UNIT:new RegExp(Z),rgb:new RegExp("rgb"+X),rgba:new RegExp("rgba"+J),hsl:new RegExp("hsl"+X),hsla:new RegExp("hsla"+J),hsv:new RegExp("hsv"+X),hsva:new RegExp("hsva"+J),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function re(e){return!!ee.CSS_UNIT.exec(e)}const oe=(e,r,o)=>{if(o&&(o<0||o>100))throw new Error(`${o} must be a number between 0 and 100`);return M(e)[r](o).toString()},te=(e,r)=>oe(e,"lighten",r),ae=(e,r)=>M.mostReadable(e,r).toHexString(),ne={fontFamily:m,fontSize:v,fontWeight:{normal:400,bold:600},lineHeight:{ui:1,heading:1.2,text:1.5},iconSize:y,radius:p,shadow:h,transition:{base:"200ms cubic-bezier(0.16, 1, 0.3, 1)",none:"0ms"},unit:f,px:b},ie=(e,r)=>{return{[`${e}Active`]:(o=r,oe(o,"darken",2)),[`${e}Hover`]:te(r,5),[`${e}Focused`]:ae(r,[a.white,a.darkGray5]),[`${e}Text`]:ae(r,[a.white,a.darkGray5])};var o},le=e=>Object.assign(Object.assign({},ne),{palette:Object.assign(Object.assign(Object.assign({},ie(k.brandPrimary,e.brandPrimary)),ie(k.brandSecondary,e.brandSecondary)),e)});var se=r;for(var ce in t)se[ce]=t[ce];t.__esModule&&Object.defineProperty(se,"__esModule",{value:!0})},812(e){"use strict";e.exports=require("@openfin/notifications")},766(e,r,o){"use strict";o.d(r,{V:()=>mt});var t={436(e,r,o){var t,a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\ud800-\\udfff",l="\\u2700-\\u27bf",s="a-z\\xdf-\\xf6\\xf8-\\xff",c="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",u="["+d+"]",g="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",f="\\d+",b="["+l+"]",p="["+s+"]",h="[^"+i+d+f+l+s+c+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+c+"]",k="(?:"+p+"|"+h+")",w="(?:"+y+"|"+h+")",P="(?:['’](?:d|ll|m|re|s|t|ve))?",_="(?:['’](?:D|LL|M|RE|S|T|VE))?",M="(?:"+g+"|\\ud83c[\\udffb-\\udfff])?",S="[\\ufe0e\\ufe0f]?",x=S+M+"(?:\\u200d(?:"+["[^"+i+"]",m,v].join("|")+")"+S+M+")*",C="(?:"+[b,m,v].join("|")+")"+x,I=RegExp("['’]","g"),A=RegExp(g,"g"),O=RegExp([y+"?"+p+"+"+P+"(?="+[u,y,"$"].join("|")+")",w+"+"+_+"(?="+[u,y+k,"$"].join("|")+")",y+"?"+k+"+"+P,y+"+"+_,f,C].join("|"),"g"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,W="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,D="object"==typeof self&&self&&self.Object===Object&&self,T=W||D||Function("return this")(),B=(t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==t?void 0:t[e]}),R=Object.prototype.toString,E=T.Symbol,$=E?E.prototype:void 0,z=$?$.toString:void 0;function N(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==R.call(e)}(e))return z?z.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}(e)}var G,j=(G=function(e,r,o){return e+(o?"-":"")+r.toLowerCase()},function(e){return function(e,r,o){for(var t=-1,a=e?e.length:0;++t<a;)o=r(o,e[t],t,e);return o}(function(e){return function(e){return F.test(e)}(e=N(e))?function(e){return e.match(O)||[]}(e):function(e){return e.match(a)||[]}(e)}(function(e){return(e=N(e))&&e.replace(n,B).replace(A,"")}(e).replace(I,"")),G,"")});e.exports=j},89(e,r,o){e=o.nmd(e);var t="__lodash_hash_undefined__",a=9007199254740991,n="[object Arguments]",i="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[n]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d[i]=d["[object Map]"]=d["[object Number]"]=d[l]=d["[object RegExp]"]=d["[object Set]"]=d["[object String]"]=d["[object WeakMap]"]=!1;var u,g,f,b="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,p="object"==typeof self&&self&&self.Object===Object&&self,h=b||p||Function("return this")(),m=r&&!r.nodeType&&r,v=m&&e&&!e.nodeType&&e,y=v&&v.exports===m,k=y&&b.process,w=function(){try{return v&&v.require&&v.require("util").types||k&&k.binding&&k.binding("util")}catch(e){}}(),P=w&&w.isTypedArray,_=Array.prototype,M=Function.prototype,S=Object.prototype,x=h["__core-js_shared__"],C=M.toString,I=S.hasOwnProperty,A=(u=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",O=S.toString,F=C.call(Object),W=RegExp("^"+C.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),D=y?h.Buffer:void 0,T=h.Symbol,B=h.Uint8Array,R=(D&&D.allocUnsafe,g=Object.getPrototypeOf,f=Object,function(e){return g(f(e))}),E=Object.create,$=S.propertyIsEnumerable,z=_.splice,N=T?T.toStringTag:void 0,G=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),j=D?D.isBuffer:void 0,L=Math.max,V=Date.now,H=le(h,"Map"),U=le(Object,"create"),q=function(){function e(){}return function(r){if(!ye(r))return{};if(E)return E(r);e.prototype=r;var o=new e;return e.prototype=void 0,o}}();function K(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function Y(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function Q(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function Z(e){var r=this.__data__=new Y(e);this.size=r.size}function X(e,r,o){(void 0!==o&&!ge(e[r],o)||void 0===o&&!(r in e))&&re(e,r,o)}function J(e,r,o){var t=e[r];I.call(e,r)&&ge(t,o)&&(void 0!==o||r in e)||re(e,r,o)}function ee(e,r){for(var o=e.length;o--;)if(ge(e[o][0],r))return o;return-1}function re(e,r,o){"__proto__"==r&&G?G(e,r,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[r]=o}function oe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":N&&N in Object(e)?function(e){var r=I.call(e,N),o=e[N];try{e[N]=void 0;var t=!0}catch(e){}var a=O.call(e);return t&&(r?e[N]=o:delete e[N]),a}(e):function(e){return O.call(e)}(e)}function te(e){return ke(e)&&oe(e)==n}function ae(e,r,o,t,a){e!==r&&function(e,r,o){for(var t=-1,a=Object(e),n=o(e),i=n.length;i--;){var l=n[++t];if(!1===r(a[l],l))break}}(r,function(n,i){if(a||(a=new Z),ye(n))!function(e,r,o,t,a,n,i){var s=de(e,o),c=de(r,o),d=i.get(c);if(d)X(e,o,d);else{var u,g,f,b,p,h=n?n(s,c,o+"",e,r,i):void 0,m=void 0===h;if(m){var v=be(c),y=!v&&he(c),k=!v&&!y&&we(c);h=c,v||y||k?be(s)?h=s:ke(p=s)&&pe(p)?h=function(e,r){var o=-1,t=e.length;for(r||(r=Array(t));++o<t;)r[o]=e[o];return r}(s):y?(m=!1,h=function(e){return e.slice()}(c)):k?(m=!1,b=new(f=(u=c).buffer).constructor(f.byteLength),new B(b).set(new B(f)),g=b,h=new u.constructor(g,u.byteOffset,u.length)):h=[]:function(e){if(!ke(e)||oe(e)!=l)return!1;var r=R(e);if(null===r)return!0;var o=I.call(r,"constructor")&&r.constructor;return"function"==typeof o&&o instanceof o&&C.call(o)==F}(c)||fe(c)?(h=s,fe(s)?h=function(e){return function(e,r,o){var t=!o;o||(o={});for(var a=-1,n=r.length;++a<n;){var i=r[a],l=void 0;void 0===l&&(l=e[i]),t?re(o,i,l):J(o,i,l)}return o}(e,Pe(e))}(s):ye(s)&&!me(s)||(h=function(e){return"function"!=typeof e.constructor||ce(e)?{}:q(R(e))}(c))):m=!1}m&&(i.set(c,h),a(h,c,t,n,i),i.delete(c)),X(e,o,h)}}(e,r,i,o,ae,t,a);else{var s=t?t(de(e,i),n,i+"",e,r,a):void 0;void 0===s&&(s=n),X(e,i,s)}},Pe)}K.prototype.clear=function(){this.__data__=U?U(null):{},this.size=0},K.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},K.prototype.get=function(e){var r=this.__data__;if(U){var o=r[e];return o===t?void 0:o}return I.call(r,e)?r[e]:void 0},K.prototype.has=function(e){var r=this.__data__;return U?void 0!==r[e]:I.call(r,e)},K.prototype.set=function(e,r){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=U&&void 0===r?t:r,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var r=this.__data__,o=ee(r,e);return!(o<0||(o==r.length-1?r.pop():z.call(r,o,1),--this.size,0))},Y.prototype.get=function(e){var r=this.__data__,o=ee(r,e);return o<0?void 0:r[o][1]},Y.prototype.has=function(e){return ee(this.__data__,e)>-1},Y.prototype.set=function(e,r){var o=this.__data__,t=ee(o,e);return t<0?(++this.size,o.push([e,r])):o[t][1]=r,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(H||Y),string:new K}},Q.prototype.delete=function(e){var r=ie(this,e).delete(e);return this.size-=r?1:0,r},Q.prototype.get=function(e){return ie(this,e).get(e)},Q.prototype.has=function(e){return ie(this,e).has(e)},Q.prototype.set=function(e,r){var o=ie(this,e),t=o.size;return o.set(e,r),this.size+=o.size==t?0:1,this},Z.prototype.clear=function(){this.__data__=new Y,this.size=0},Z.prototype.delete=function(e){var r=this.__data__,o=r.delete(e);return this.size=r.size,o},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,r){var o=this.__data__;if(o instanceof Y){var t=o.__data__;if(!H||t.length<199)return t.push([e,r]),this.size=++o.size,this;o=this.__data__=new Q(t)}return o.set(e,r),this.size=o.size,this};var ne=G?function(e,r){return G(e,"toString",{configurable:!0,enumerable:!1,value:(o=r,function(){return o}),writable:!0});var o}:Se;function ie(e,r){var o,t,a=e.__data__;return("string"==(t=typeof(o=r))||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==o:null===o)?a["string"==typeof r?"string":"hash"]:a.map}function le(e,r){var o=function(e,r){return null==e?void 0:e[r]}(e,r);return function(e){return!(!ye(e)||function(e){return!!A&&A in e}(e))&&(me(e)?W:s).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(o)?o:void 0}function se(e,r){var o=typeof e;return!!(r=null==r?a:r)&&("number"==o||"symbol"!=o&&c.test(e))&&e>-1&&e%1==0&&e<r}function ce(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||S)}function de(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}var ue=function(e){var r=0,o=0;return function(){var t=V(),a=16-(t-o);if(o=t,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(ne);function ge(e,r){return e===r||e!=e&&r!=r}var fe=te(function(){return arguments}())?te:function(e){return ke(e)&&I.call(e,"callee")&&!$.call(e,"callee")},be=Array.isArray;function pe(e){return null!=e&&ve(e.length)&&!me(e)}var he=j||function(){return!1};function me(e){if(!ye(e))return!1;var r=oe(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function ye(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function ke(e){return null!=e&&"object"==typeof e}var we=P?function(e){return function(r){return e(r)}}(P):function(e){return ke(e)&&ve(e.length)&&!!d[oe(e)]};function Pe(e){return pe(e)?function(e){var r=be(e),o=!r&&fe(e),t=!r&&!o&&he(e),a=!r&&!o&&!t&&we(e),n=r||o||t||a,i=n?function(e,r){for(var o=-1,t=Array(e);++o<e;)t[o]=r(o);return t}(e.length,String):[],l=i.length;for(var s in e)n&&("length"==s||t&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||se(s,l))||i.push(s);return i}(e):function(e){if(!ye(e))return function(e){var r=[];if(null!=e)for(var o in Object(e))r.push(o);return r}(e);var r=ce(e),o=[];for(var t in e)("constructor"!=t||!r&&I.call(e,t))&&o.push(t);return o}(e)}var _e,Me=(_e=function(e,r,o){ae(e,r,o)},function(e){return ue(function(e,r,o){return r=L(void 0===r?e.length-1:r,0),function(){for(var t=arguments,a=-1,n=L(t.length-r,0),i=Array(n);++a<n;)i[a]=t[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=t[a];return l[r]=o(i),function(e,r,o){switch(o.length){case 0:return e.call(r);case 1:return e.call(r,o[0]);case 2:return e.call(r,o[0],o[1]);case 3:return e.call(r,o[0],o[1],o[2])}return e.apply(r,o)}(e,this,l)}}(e,void 0,Se),e+"")}(function(e,r){var o=-1,t=r.length,a=t>1?r[t-1]:void 0,n=t>2?r[2]:void 0;for(a=_e.length>3&&"function"==typeof a?(t--,a):void 0,n&&function(e,r,o){if(!ye(o))return!1;var t=typeof r;return!!("number"==t?pe(o)&&se(r,o.length):"string"==t&&r in o)&&ge(o[r],e)}(r[0],r[1],n)&&(a=t<3?void 0:a,t=1),e=Object(e);++o<t;){var i=r[o];i&&_e(e,i,o)}return e}));function Se(e){return e}e.exports=Me}},a={};function n(e){var r=a[e];if(void 0!==r)return r.exports;var o=a[e]={id:e,loaded:!1,exports:{}};return t[e](o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i=n(89),l=n.n(i);const s=JSON.parse('{"brand":{"base":{"dark":"rgba(20, 6, 17, 1)","light":"rgba(255, 255, 255, 1)"},"accent":{"dark":"rgba(255, 214, 210, 1)","light":"rgba(100, 30, 85, 1)"}},"icon":{"symbol":"","wordmark":""},"color":{"role":{"focusRing":"{color.role.transparent.50}","overlay":"rgba(0, 0, 0, 0.75)","background":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.role.background.1}","inverse":"{color.generated.foreground.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"},"informative":{"strong":"{color.generated.informative.strong}","base":"{color.generated.informative.base}","soft":"{color.generated.informative.soft}","stronger":"{color.generated.informative.stronger}","softer":"{color.generated.informative.softer}","softest":"{color.generated.informative.softest}"}},"foreground":{"base":"{color.generated.foreground.base}","soft":"{color.generated.foreground.soft}","softer":"{color.generated.foreground.softer}","onPrimary":"{color.generated.background.base}","inverse":"{color.generated.background.base}","neutral":"{color.generated.foreground.base}","positive":"{color.generated.positive.base}","warning":"{color.generated.warning.base}","critical":"{color.generated.critical.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"informative":"{color.generated.informative.base}"},"border":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.generated.scale.5}","strong":"{color.generated.foreground.soft}","stronger":"{color.generated.foreground.softer}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"}},"identifier":{"blue":"{color.generated.identifier.blue}","pink":"{color.generated.identifier.pink}","indigo":"{color.generated.identifier.indigo}","teal":"{color.generated.identifier.teal}","green":"{color.generated.identifier.green}","orange":"{color.generated.identifier.orange}","red":"{color.generated.identifier.red}","yellow":"{color.generated.identifier.yellow}","gray":"{color.generated.identifier.gray}"},"link":{"default":"{color.generated.accent.base}","hover":"{color.generated.accent.stronger}"},"transparent":{"0":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.001}]},"8":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.08}]},"12":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.12}]},"18":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.18}]},"32":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.32}]},"50":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.5}]}}},"generated":{"scale":{"1":"{color.generated.background.base}","2":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.06}]},"3":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.12}]},"4":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.18}]},"5":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.24}]},"6":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.3}]}},"foreground":{"soft":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.75}]},"softer":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.6}]}}},"enterprise":{"contextMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}"},"contextMenuItem":{"divider":"{color.role.border.3}","heading":"{color.role.foreground.soft}","default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","active":"{color.role.background.3}","focus":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.critical.softest}","active":"{color.role.background.critical.softest}","focus":"{color.role.background.critical.softest}"},"text":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"},"icon":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"}}},"view":{"border":"{color.role.border.base}"},"viewSplitter":{"default":"{color.role.transparent.0}","hover":"{color.role.background.6}"},"window":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"topChrome":{"border":"{color.role.border.base}"},"topTab":{"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.accent.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.topTab.background.default}","hover":"{color.enterprise.topTab.background.hover}","selected":"{color.enterprise.topTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"unsavedIcon":"{color.role.foreground.base}","loader":"{color.role.foreground.base}"},"viewTab":{"border":{"selected":"{color.role.foreground.base}","dragging":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","inactive":"{color.role.foreground.soft}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.viewTab.background.default}","hover":"{color.enterprise.viewTab.background.hover}","active":"{color.enterprise.viewTab.background.active}","selected":"{color.enterprise.viewTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"loader":"{color.role.foreground.base}"},"command":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"shortcutKey":{"background":"{color.role.background.4}","icon":"{color.role.foreground.base}"},"searchBar":{"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","active":"{color.role.border.6}","focus":"{color.role.border.strong}"},"icon":{"default":"{color.role.foreground.base}"},"value":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.searchBar.background.default}","hover":"{color.enterprise.searchBar.background.hover}"},"middle":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]}}}},"searchMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}","commandBar":"{color.role.background.2}","banner":"{color.role.background.2}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"searchResult":{"icon":"{color.shared.icon.accent}","iconBackground":{"default":"{color.role.background.2}","selected":"{color.role.background.1}"},"heading":"{color.role.foreground.soft}","title":"{color.role.foreground.base}","description":"{color.role.foreground.soft}","link":"{color.role.link.default}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.4}"}},"progressIndicator":{"container":"{color.role.transparent.18}","fill":"{color.role.foreground.accent.base}"},"sidePanel":{"background":{"_value":"{color.role.background.base}","transparent":{"_inputs":["{color.enterprise.sidePanel.background}"],"_transforms":[{"type":"alpha","amount":0}]}},"border":"{color.role.border.base}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","softer":"{color.role.foreground.softer}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}"}},"prompt":{"text":"{color.role.foreground.base}","icon":"{color.role.foreground.base}","iconBackground":"{color.role.background.base}","editBorder":"{color.role.border.base}","background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}"}},"composer":{"background":"{color.role.background.2}","border":"{color.role.border.base}","placeholder":"{color.role.foreground.soft}","text":"{color.role.foreground.base}"},"skeletonLoader":{"background":"{color.role.background.2}","template":{"start":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]},"middle":"{color.role.background.4}","end":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]}}},"searchFilter":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.accent.softer}","selectedHover":"{color.role.background.accent.soft}"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.3}","selected":"{color.role.border.accent.base}","selectedHover":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"}},"searchTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"indicator":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"}},"featuredContentItem":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.4}","selected":"{color.role.background.4}"},"text":{"default":"{color.role.foreground.base}"}}},"shared":{"overlay":"{color.role.overlay}","focusRing":"{color.role.focusRing}","watermark":"{color.role.transparent.50}","modal":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}","selected":"{color.role.background.3}"}},"card":{"text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}","selected":"{color.role.background.base}","loading":"rgba(255, 255, 255, 1)"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"shadow":{"default":"{color.role.transparent.8}","hover":"{color.role.transparent.12}"}},"banner":{"positive":{"background":"{color.role.background.positive.soft}","border":"{color.role.border.positive.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.positive}"},"warning":{"background":"{color.role.background.warning.strong}","border":"{color.role.border.warning.base}","text":"{color.role.foreground.inverse}","icon":"{color.role.foreground.warning}"},"critical":{"background":"{color.role.background.critical.soft}","border":"{color.role.border.critical.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.critical}"}},"button":{"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"text":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.background.critical.base}","hover":"{color.role.background.critical.strong}","pressed":"{color.role.background.critical.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}","pressed":"{color.role.foreground.inverse}"},"text":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}"},"focusRing":"{color.role.background.critical.soft}"},"ghost":{"icon":{"default":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.background.accent.strong}"},"background":"{color.role.transparent.0}"}},"iconButton":{"ghost":{"icon":{"default":"{color.role.foreground.base}"},"background":"{color.role.transparent.0}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"}},"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"}},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","error":"{color.role.foreground.critical}","background3":"{color.role.background.3}","background1":"{color.role.background.1}","accent":"{color.role.foreground.accent.base}","border":"{color.role.foreground.base}","accentTransparent":{"_inputs":["{color.shared.icon.accent}"],"_transforms":[{"type":"alpha","amount":0.16}]}},"dock":{"background":"{color.role.background.base}","dragIndicator":"{color.role.foreground.soft}","border":{"default":"{color.role.border.base}","drag":"{color.role.border.accent.base}"}},"indicator":{"text":"{color.role.foreground.inverse}","background":{"blue":"{color.role.identifier.blue}","orange":"{color.role.identifier.orange}","indigo":"{color.role.identifier.indigo}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}","green":"{color.role.identifier.green}","teal":"{color.role.identifier.teal}","red":"{color.role.identifier.red}","expired":"{color.role.background.6}","transparent":"{color.role.transparent.0}"}},"notification":{"background":"{color.role.background.3}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"placementOption":{"text":{"default":"{color.role.foreground.base}"},"backdrop":"{color.role.background.2}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.background.6}"},"previewObject":{"default":"{color.role.background.5}","hover":"{color.role.background.accent.base}","selected":"{color.role.background.accent.base}"}},"platformSelector":{"underline":"{color.role.border.base}"},"notificationCenter":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"toggle":{"track":{"off":"{color.role.transparent.32}","on":"{color.role.background.accent.base}"},"thumb":{"off":"{color.role.foreground.base}","on":"{color.role.foreground.onPrimary}"}},"colorChannel":{"blue":"{color.role.identifier.blue}","pink":"{color.role.identifier.pink}","indigo":"{color.role.identifier.indigo}","teal":"{color.role.identifier.teal}","green":"{color.role.identifier.green}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","yellow":"{color.role.identifier.yellow}","gray":"{color.role.identifier.gray}","unlink":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"dropzone":{"border":"{color.role.border.accent.base}","background":{"_inputs":["{color.role.background.accent.base}"],"_transforms":[{"type":"alpha","amount":0.25}]}},"form":{"label":"{color.role.foreground.base}","helpIcon":"{color.role.foreground.soft}","optionalDot":"{color.role.foreground.critical}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","filled":"{color.role.transparent.0}","error":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","focus":"{color.role.border.strong}","filled":"{color.role.border.base}","error":"{color.role.border.critical.base}","selected":"{color.role.border.accent.base}"},"placeholder":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"},"icon":{"default":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"errorMessage":{"background":"{color.role.background.critical.softest}","text":"{color.role.foreground.critical}","icon":"{color.role.foreground.critical}"},"focusRing":"{color.role.border.accent.soft}","hint":"{color.role.foreground.softer}"},"scrollBar":{"area":"{color.role.transparent.32}","bar":"{color.role.transparent.50}"}},"coreui":{"home":{"background":"{color.role.background.2}","border":"{color.role.border.4}"},"homeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","focus":"{color.role.background.4}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}"}},"homeResult":{"icon":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.6}","launching":"{color.role.background.6}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"}},"homeTemplate":{"background":"{color.role.background.3}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"homeCard":{"background":"{color.role.background.3}"},"homeHotkey":{"background":"{color.role.background.6}","icon":"{color.role.foreground.base}","text":"{color.role.foreground.base}"},"homeText":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"store":{"background":"{color.role.background.2}"},"storeBanner":{"background":"{color.role.background.accent.base}","button":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}"},"text":{"default":"{color.role.foreground.accent.base}","hover":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.base}"}},"header":{"title":"{color.role.foreground.onPrimary}","description":"{color.role.foreground.onPrimary}"}},"storeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","filled":"{color.role.background.4}","error":"{color.role.background.4}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}","error":"{color.role.border.critical.base}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","filled":"{color.role.foreground.base}","error":"{color.role.foreground.critical}"},"icon":"{color.role.foreground.base}"},"storeSidebar":{"background":"{color.role.background.3}","header":"{color.role.foreground.base}"},"storeCard":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"storeMenuItem":{"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"category":"{color.role.foreground.soft}"},"storeFooter":{"link":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"tagline":"{color.role.foreground.base}","icon":"{color.role.foreground.base}"},"browser":{"background":"{color.role.background.1}","border":"{color.role.border.base}"},"browserTopBar":{"background":"{color.role.background.2}","border":"{color.role.border.base}"},"browserToolbarIcon":{"default":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}","active":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}","active":"{color.role.transparent.0}","hover":"{color.role.background.4}"}},"browserViewSplitter":{"default":"{color.role.background.1}","hover":"{color.role.background.3}"},"browserPageTab":{"text":{"default":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"background":{"default":"{color.role.background.4}","selected":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"}},"browserViewTab":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.2}","active":"{color.role.background.2}","focus":"{color.role.background.2}"},"text":{"default":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.5}","focus":"{color.role.border.5}"},"icon":"{color.role.foreground.base}"},"browserView":{"border":{"default":"{color.role.transparent.0}","focus":"{color.role.border.base}","green":"{color.role.identifier.green}","purple":"{color.role.identifier.indigo}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}"},"icon":"{color.role.foreground.base}"}},"admin":{"1":"#ffffff","color":"#ffffff","color2":"#ffffff"},"_utilities":{"green":"{color.role.background.positive.base}","red":"{color.role.background.critical.base}","appBackground1":"{color.role.background.1}","loader":"#e3e1e200","dataViz":{"linePlot":"{color.role.border.accent.base}"},"teamsProfiles":{"text":{"red":"#76213e","green":"#164229","yellow":"#805d0b","orange":"#56392b","purple":"#282155","blue":"#0f3157"},"background":{"red":"#f5d4df","green":"#cfe0d6","yellow":"#fdefca","orange":"#e8ddd9","purple":"#d6d4e9","blue":"#cddaea"}},"appBackground2":"{color.role.background.2}","appBackground3":"{color.role.background.3}"}},"colorPrimitives":{"green":{"50":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.green.base}","600":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"blue":{"50":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.blue.base}","600":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"indigo":{"50":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.indigo.base}","600":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"pink":{"50":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.pink.base}","600":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"orange":{"50":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.orange.base}","600":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"teal":{"50":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.teal.base}","600":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"red":{"50":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.red.base}","600":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"yellow":{"50":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.yellow.base}","600":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"gray":{"50":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.gray.base}","600":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}}}}'),c=JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(3, 227, 156, 1)"},"blue":{"base":"rgba(31, 169, 255, 1)"},"indigo":{"base":"rgba(147, 133, 255, 1)"},"pink":{"base":"rgba(240, 163, 222, 1)"},"orange":{"base":"rgba(254, 159, 108, 1)"},"teal":{"base":"rgba(72, 224, 224, 1)"},"red":{"base":"rgba(250, 102, 105, 1)"},"yellow":{"base":"rgba(250, 214, 127, 1)"},"gray":{"base":"rgba(156, 160, 160, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.8}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.7}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.dark}","500":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.dark}"},"foreground":{"base":"{brand.base.light}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.500}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","active":"{color.role.background.accent.strong}"},"text":{"pressed":"{color.role.background.accent.strong}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","pressed":"{color.role.background.accent.strong}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}},"storeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}}},"role":{"border":{"stronger":"{color.role.foreground.soft}","strong":"{color.role.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"}}},"view":{"background":"{color.role.background.3}"},"topChrome":{"background":"{color.role.background.base}"},"logo":{"background":"{brand.accent.dark}","foreground":"{brand.accent.light}"},"topTab":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"viewTab":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.5}","active":"{color.role.background.5}","selected":"{color.role.background.5}","dragging":"{color.role.background.5}"}},"searchBar":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}","active":"{color.role.background.3}","focus":"{color.role.background.3}"}},"searchResult":{"background":{"hover":"{color.role.background.4}"}}}}}'),d=JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(1, 126, 86, 1)"},"blue":{"base":"rgba(0, 113, 184, 1)"},"indigo":{"base":"rgba(83, 61, 255, 1)"},"pink":{"base":"rgba(215, 15, 167, 1)"},"orange":{"base":"rgba(208, 74, 1, 1)"},"teal":{"base":"rgba(22, 131, 131, 1)"},"red":{"base":"rgba(206, 8, 10, 1)"},"yellow":{"base":"rgba(155, 111, 3, 1)"},"gray":{"base":"rgba(104, 109, 110, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.5}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.light}","500":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.light}"},"foreground":{"base":"{brand.base.dark}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.400}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","active":"{color.role.background.accent.stronger}"},"text":{"pressed":"{color.role.background.accent.stronger}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}},"storeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}}},"role":{"border":{"stronger":"{color.generated.foreground.soft}","strong":"{color.generated.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.softer}","hover":"{color.role.foreground.softer}","active":"{color.role.foreground.softer}","focus":"{color.role.foreground.softer}"}}},"view":{"background":"{color.role.background.1}"},"topChrome":{"background":"{color.role.background.2}"},"topTab":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.1}","selected":"{color.role.background.1}","dragging":"{color.role.background.1}"}},"logo":{"background":"{brand.accent.light}","foreground":"{brand.accent.dark}"},"viewTab":{"background":{"default":"{color.role.background.1}","hover":"{color.role.background.3}","active":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"searchBar":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","active":"{color.role.background.base}","focus":"{color.role.background.base}"}}}}}');var u=n(436),g=n.n(u);const f=e=>Object.entries(e).map(([e,r])=>{const o=e.startsWith("icon.")?(e=>e.includes(";")?`"${e.replace(/"/g,'\\"')}"`:e)(r):r;return`--${g()(e)}: ${o};`}).join(""),b=e=>()=>f(e),p=(e,r,o={})=>{const{format:t="data-scheme-dark"}=o,a=f(e),n=f(r);switch(t){case"prefers-color-scheme":return`:root {${a}} @media (prefers-color-scheme: dark) { :root {${n} }}`;case"data-scheme-dark":return`:root {${a}} [data-scheme="dark"] { ${n} }`}},h=(e,r=[])=>{if(!r.length||!e.color)return e;const o={...e},t={...e.color};return r.forEach(e=>{delete t[e]}),o.color=t,o},m=(e,r)=>{if("number"==typeof e)return 3===r?{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255}:4===r?{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255}:6===r?{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255}:8===r?{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}:void 0},v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},y=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,k="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",w=`${k}%`,P=`(?:${k}%|${k})`,_=`(?:${k}(deg|grad|rad|turn)|${k})`,M="\\s*,\\s*",S=(new RegExp(`^(?:${k}%|${k}|none)$`),new RegExp(`^rgba?\\(\\s*${k}${M}${k}${M}${k}\\s*(?:,\\s*${P}\\s*)?\\)$`)),x=new RegExp(`^rgba?\\(\\s*${w}${M}${w}${M}${w}\\s*(?:,\\s*${P}\\s*)?\\)$`),C=(e="rgb")=>r=>void 0!==(r=((e,r)=>void 0===e?void 0:"object"!=typeof e?ee(e):void 0!==e.mode?e:r?{...e,mode:r}:void 0)(r,e))?r.mode===e?r:I[r.mode][e]?I[r.mode][e](r):"rgb"===e?I[r.mode].rgb(r):I.rgb[e](I[r.mode].rgb(r)):void 0,I={},A={},O=[],F={},W=e=>e,D=e=>(I[e.mode]={...I[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(r=>{I[r]||(I[r]={}),I[r][e.mode]=e.fromMode[r]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(r=>{if(void 0===e.ranges[r]&&(e.ranges[r]=[0,1]),!e.interpolate[r])throw new Error(`Missing interpolator for: ${r}`);"function"==typeof e.interpolate[r]&&(e.interpolate[r]={use:e.interpolate[r]}),e.interpolate[r].fixup||(e.interpolate[r].fixup=W)}),A[e.mode]=e,(e.parse||[]).forEach(r=>{B(r,e.mode)}),C(e.mode)),T=e=>A[e],B=(e,r)=>{if("string"==typeof e){if(!r)throw new Error("'mode' required when 'parser' is a string");F[e]=r}else"function"==typeof e&&O.indexOf(e)<0&&O.push(e)},R=/[^\x00-\x7F]|[a-zA-Z_]/,E=/[^\x00-\x7F]|[-\w]/,$="function",z="ident",N="number",G="percentage",j="none",L="hue",V="alpha";let H=0;function U(e){let r=e[H],o=e[H+1];return"-"===r||"+"===r?/\d/.test(o)||"."===o&&/\d/.test(e[H+2]):/\d/.test("."===r?o:r)}function q(e){if(H>=e.length)return!1;let r=e[H];if(R.test(r))return!0;if("-"===r){if(e.length-H<2)return!1;let r=e[H+1];return!("-"!==r&&!R.test(r))}return!1}const K={deg:1,rad:180/Math.PI,grad:.9,turn:360};function Y(e){let r="";if("-"!==e[H]&&"+"!==e[H]||(r+=e[H++]),r+=Q(e),"."===e[H]&&/\d/.test(e[H+1])&&(r+=e[H++]+Q(e)),"e"!==e[H]&&"E"!==e[H]||("-"!==e[H+1]&&"+"!==e[H+1]||!/\d/.test(e[H+2])?/\d/.test(e[H+1])&&(r+=e[H++]+Q(e)):r+=e[H++]+e[H++]+Q(e)),q(e)){let o=Z(e);return"deg"===o||"rad"===o||"turn"===o||"grad"===o?{type:L,value:r*K[o]}:void 0}return"%"===e[H]?(H++,{type:G,value:+r}):{type:N,value:+r}}function Q(e){let r="";for(;/\d/.test(e[H]);)r+=e[H++];return r}function Z(e){let r="";for(;H<e.length&&E.test(e[H]);)r+=e[H++];return r}function X(e){let r=Z(e);return"("===e[H]?(H++,{type:$,value:r}):"none"===r?{type:j,value:void 0}:{type:z,value:r}}function J(e,r){const o=[];let t;for(;e._i<e.length;)if(t=e[e._i++],t.type===j||t.type===N||t.type===V||t.type===G||r&&t.type===L)o.push(t);else{if(")"!==t.type)return;if(e._i<e.length)return}if(!(o.length<3||o.length>4)){if(4===o.length){if(o[3].type!==V)return;o[3]=o[3].value}return 3===o.length&&o.push({type:j,value:void 0}),o.every(e=>e.type!==V)?o:void 0}}const ee=e=>{if("string"!=typeof e)return;const r=function(e=""){let r,o=e.trim(),t=[];for(H=0;H<o.length;)if(r=o[H++],"\n"!==r&&"\t"!==r&&" "!==r){if(","===r)return;if(")"!==r){if("+"===r){if(H--,U(o)){t.push(Y(o));continue}return}if("-"===r){if(H--,U(o)){t.push(Y(o));continue}if(q(o)){t.push({type:z,value:Z(o)});continue}return}if("."===r){if(H--,U(o)){t.push(Y(o));continue}return}if("/"===r){for(;H<o.length&&("\n"===o[H]||"\t"===o[H]||" "===o[H]);)H++;let e;if(U(o)&&(e=Y(o),e.type!==L)){t.push({type:V,value:e});continue}if(q(o)&&"none"===Z(o)){t.push({type:V,value:{type:j,value:void 0}});continue}return}if(/\d/.test(r))H--,t.push(Y(o));else{if(!R.test(r))return;H--,t.push(X(o))}}else t.push({type:")"})}else for(;H<o.length&&("\n"===o[H]||"\t"===o[H]||" "===o[H]);)H++;return t}(e),o=r?function(e){e._i=0;let r=e[e._i++];if(!r||r.type!==$)return;let o=J(e,!0);return o?(o.unshift(r.value),o):void 0}(r):void 0;let t,a=0,n=O.length;for(;a<n;)if(void 0!==(t=O[a++](e,o)))return t;return r?function(e){e._i=0;let r=e[e._i++];if(!r||r.type!==$||"color"!==r.value)return;if(r=e[e._i++],r.type!==z)return;const o=F[r.value];if(!o)return;const t={mode:o},a=J(e,!1);if(!a)return;const n=T(o).channels;for(let e,r,o=0;o<n.length;o++)e=a[o],r=n[o],e.type!==j&&(t[r]=e.type===N?e.value:e.value/100,"alpha"===r&&(t[r]=Math.max(0,Math.min(1,t[r]))));return t}(r):void 0},re=(oe=(e,r,o)=>e+o*(r-e),e=>{let r=(e=>{let r=[];for(let o=0;o<e.length-1;o++){let t=e[o],a=e[o+1];void 0===t&&void 0===a?r.push(void 0):void 0!==t&&void 0!==a?r.push([t,a]):r.push(void 0!==t?[t,t]:[a,a])}return r})(e);return e=>{let o=e*r.length,t=e>=1?r.length-1:Math.max(Math.floor(o),0),a=r[t];return void 0===a?void 0:oe(a[0],a[1],o-t)}});var oe;const te=e=>{let r=!1,o=e.map(e=>void 0!==e?(r=!0,e):1);return r?o:e},ae={mode:"rgb",channels:["r","g","b","alpha"],parse:[function(e,r){if(!r||"rgb"!==r[0]&&"rgba"!==r[0])return;const o={mode:"rgb"},[,t,a,n,i]=r;return t.type!==L&&a.type!==L&&n.type!==L?(t.type!==j&&(o.r=t.type===N?t.value/255:t.value/100),a.type!==j&&(o.g=a.type===N?a.value/255:a.value/100),n.type!==j&&(o.b=n.type===N?n.value/255:n.value/100),i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o):void 0},e=>{let r;return(r=e.match(y))?m(parseInt(r[1],16),r[1].length):void 0},e=>{let r,o={mode:"rgb"};if(r=e.match(S))void 0!==r[1]&&(o.r=r[1]/255),void 0!==r[2]&&(o.g=r[2]/255),void 0!==r[3]&&(o.b=r[3]/255);else{if(!(r=e.match(x)))return;void 0!==r[1]&&(o.r=r[1]/100),void 0!==r[2]&&(o.g=r[2]/100),void 0!==r[3]&&(o.b=r[3]/100)}return void 0!==r[4]?o.alpha=Math.max(0,Math.min(1,r[4]/100)):void 0!==r[5]&&(o.alpha=Math.max(0,Math.min(1,+r[5]))),o},e=>m(v[e.toLowerCase()],6),e=>"transparent"===e?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,"srgb"],serialize:"srgb",interpolate:{r:re,g:re,b:re,alpha:{use:re,fixup:te}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},ne=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),ie=e=>{let r=ne(e.r),o=ne(e.g),t=ne(e.b),a={mode:"xyz65",x:.5766690429101305*r+.1855582379065463*o+.1882286462349947*t,y:.297344975250536*r+.6273635662554661*o+.0752914584939979*t,z:.0270313613864123*r+.0706888525358272*o+.9913375368376386*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},le=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),se=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"a98",r:le(2.0415879038107465*e-.5650069742788597*r-.3447313507783297*o),g:le(-.9692436362808798*e+1.8759675015077206*r+.0415550574071756*o),b:le(.0134442806320312*e-.1183623922310184*r+1.0151749943912058*o)};return void 0!==t&&(a.alpha=t),a},ce=(e=0)=>{const r=Math.abs(e);return r<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((r+.055)/1.055,2.4)},de=({r:e,g:r,b:o,alpha:t})=>{let a={mode:"lrgb",r:ce(e),g:ce(r),b:ce(o)};return void 0!==t&&(a.alpha=t),a},ue=e=>{let{r,g:o,b:t,alpha:a}=de(e),n={mode:"xyz65",x:.4123907992659593*r+.357584339383878*o+.1804807884018343*t,y:.2126390058715102*r+.715168678767756*o+.0721923153607337*t,z:.0193308187155918*r+.119194779794626*o+.9505321522496607*t};return void 0!==a&&(n.alpha=a),n},ge=(e=0)=>{const r=Math.abs(e);return r>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(r,1/2.4)-.055):12.92*e},fe=({r:e,g:r,b:o,alpha:t},a="rgb")=>{let n={mode:a,r:ge(e),g:ge(r),b:ge(o)};return void 0!==t&&(n.alpha=t),n},be=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=fe({r:3.2409699419045226*e-1.537383177570094*r-.4986107602930034*o,g:-.9692436362808796*e+1.8759675015077204*r+.0415550574071756*o,b:.0556300796969936*e-.2039769588889765*r+1.0569715142428784*o});return void 0!==t&&(a.alpha=t),a},pe={...ae,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>se(ue(e)),xyz65:se},toMode:{rgb:e=>be(ie(e)),xyz65:ie}},he=e=>(e%=360)<0?e+360:e,me=e=>(e=>e.map((r,o,t)=>{if(void 0===r)return r;let a=he(r);return 0===o||void 0===e[o-1]?a:(e=>Math.abs(e)<=180?e:e-360*Math.sign(e))(a-he(t[o-1]))}).reduce((e,r)=>e.length&&void 0!==r&&void 0!==e[e.length-1]?(e.push(r+e[e.length-1]),e):(e.push(r),e),[]))(e),ve=[-.14861,1.78277,-.29227,-.90649,1.97294,0],ye=Math.PI/180,ke=180/Math.PI;let we=ve[3]*ve[4],Pe=ve[1]*ve[4],_e=ve[1]*ve[2]-ve[0]*ve[3];const Me=(e,r)=>{if(void 0===e.h||void 0===r.h||!e.s||!r.s)return 0;let o=he(e.h),t=he(r.h),a=Math.sin((t-o+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*r.s)*a},Se=(e,r)=>{if(void 0===e.h||void 0===r.h||!e.c||!r.c)return 0;let o=he(e.h),t=he(r.h),a=Math.sin((t-o+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*r.c)*a},xe=e=>{let r=e.reduce((e,r)=>{if(void 0!==r){let o=r*Math.PI/180;e.sin+=Math.sin(o),e.cos+=Math.cos(o)}return e},{sin:0,cos:0}),o=180*Math.atan2(r.sin,r.cos)/Math.PI;return o<0?360+o:o},Ce={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(_e*o+e*we-r*Pe)/(_e+we-Pe),n=o-a,i=(ve[4]*(r-a)-ve[2]*n)/ve[3],l={mode:"cubehelix",l:a,s:0===a||1===a?void 0:Math.sqrt(n*n+i*i)/(ve[4]*a*(1-a))};return l.s&&(l.h=Math.atan2(i,n)*ke-120),void 0!==t&&(l.alpha=t),l}},toMode:{rgb:({h:e,s:r,l:o,alpha:t})=>{let a={mode:"rgb"};e=(void 0===e?0:e+120)*ye,void 0===o&&(o=0);let n=void 0===r?0:r*o*(1-o),i=Math.cos(e),l=Math.sin(e);return a.r=o+n*(ve[0]*i+ve[1]*l),a.g=o+n*(ve[2]*i+ve[3]*l),a.b=o+n*(ve[4]*i+ve[5]*l),void 0!==t&&(a.alpha=t),a}},interpolate:{h:{use:re,fixup:me},s:re,l:re,alpha:{use:re,fixup:te}},difference:{h:Me},average:{h:xe}},Ie=({l:e,a:r,b:o,alpha:t},a="lch")=>{void 0===r&&(r=0),void 0===o&&(o=0);let n=Math.sqrt(r*r+o*o),i={mode:a,l:e,c:n};return n&&(i.h=he(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(i.alpha=t),i},Ae=({l:e,c:r,h:o,alpha:t},a="lab")=>{void 0===o&&(o=0);let n={mode:a,l:e,a:r?r*Math.cos(o/180*Math.PI):0,b:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(n.alpha=t),n},Oe=Math.pow(29,3)/Math.pow(3,3),Fe=Math.pow(6,3)/Math.pow(29,3),We=.3457/.3585,De=.2958/.3585,Te=.3127/.329,Be=.3583/.329;Math.pow(29,3),Math.pow(3,3),Math.pow(6,3),Math.pow(29,3);let Re=e=>Math.pow(e,3)>Fe?Math.pow(e,3):(116*e-16)/Oe;const Ee=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+16)/116,n=a-o/200,i={mode:"xyz65",x:Re(r/500+a)*Te,y:1*Re(a),z:Re(n)*Be};return void 0!==t&&(i.alpha=t),i},$e=e=>be(Ee(e)),ze=e=>e>Fe?Math.cbrt(e):(Oe*e+16)/116,Ne=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=ze(e/Te),n=ze(r/1),i={mode:"lab65",l:116*n-16,a:500*(a-n),b:200*(n-ze(o/Be))};return void 0!==t&&(i.alpha=t),i},Ge=e=>{let r=Ne(ue(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},je=26/180*Math.PI,Le=Math.cos(je),Ve=Math.sin(je),He=100/Math.log(1.39),Ue=({l:e,c:r,h:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"lab65",l:(Math.exp(1*e/He)-1)/.0039},n=(Math.exp(.0435*r*1*1)-1)/.075,i=n*Math.cos(o/180*Math.PI-je),l=n*Math.sin(o/180*Math.PI-je);return a.a=i*Le-l/.83*Ve,a.b=i*Ve+l/.83*Le,void 0!==t&&(a.alpha=t),a},qe=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=r*Le+o*Ve,n=.83*(o*Le-r*Ve),i=Math.sqrt(a*a+n*n),l={mode:"dlch",l:He/1*Math.log(1+.0039*e),c:Math.log(1+.075*i)/.0435};return l.c&&(l.h=he((Math.atan2(n,a)+je)/Math.PI*180)),void 0!==t&&(l.alpha=t),l},Ke=e=>Ue(Ie(e,"dlch")),Ye=e=>Ae(qe(e),"dlab"),Qe={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:Ke,rgb:e=>$e(Ke(e))},fromMode:{lab65:Ye,rgb:e=>Ye(Ge(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:re,a:re,b:re,alpha:{use:re,fixup:te}}},Ze=Qe,Xe={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Ue,dlab:e=>Ae(e,"dlab"),rgb:e=>$e(Ue(e))},fromMode:{lab65:qe,dlab:e=>Ie(e,"dlch"),rgb:e=>qe(Ge(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:re,c:re,h:{use:re,fixup:me},alpha:{use:re,fixup:te}},difference:{h:Se},average:{h:xe}},Je=Xe,er={mode:"hsi",toMode:{rgb:function({h:e,s:r,i:o,alpha:t}){e=he(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:o*(1+r*(3/(2-n)-1)),g:o*(1+r*(3*(1-n)/(2-n)-1)),b:o*(1-r)};break;case 1:a={r:o*(1+r*(3*(1-n)/(2-n)-1)),g:o*(1+r*(3/(2-n)-1)),b:o*(1-r)};break;case 2:a={r:o*(1-r),g:o*(1+r*(3/(2-n)-1)),b:o*(1+r*(3*(1-n)/(2-n)-1))};break;case 3:a={r:o*(1-r),g:o*(1+r*(3*(1-n)/(2-n)-1)),b:o*(1+r*(3/(2-n)-1))};break;case 4:a={r:o*(1+r*(3*(1-n)/(2-n)-1)),g:o*(1-r),b:o*(1+r*(3/(2-n)-1))};break;case 5:a={r:o*(1+r*(3/(2-n)-1)),g:o*(1-r),b:o*(1+r*(3*(1-n)/(2-n)-1))};break;default:a={r:o*(1-r),g:o*(1-r),b:o*(1-r)}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:function({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),i={mode:"hsi",s:e+r+o===0?0:1-3*n/(e+r+o),i:(e+r+o)/3};return a-n!==0&&(i.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(i.alpha=t),i}},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:re,fixup:me},s:re,i:re,alpha:{use:re,fixup:te}},difference:{h:Me},average:{h:xe}},rr=er,or=new RegExp(`^hsla?\\(\\s*${_}${M}${w}${M}${w}\\s*(?:,\\s*${P}\\s*)?\\)$`),tr={mode:"hsl",toMode:{rgb:function({h:e,s:r,l:o,alpha:t}){e=he(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=o+r*(o<.5?o:1-o),i=n-2*(n-o)*Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:n,g:i,b:2*o-n};break;case 1:a={r:i,g:n,b:2*o-n};break;case 2:a={r:2*o-n,g:n,b:i};break;case 3:a={r:2*o-n,g:i,b:n};break;case 4:a={r:i,g:2*o-n,b:n};break;case 5:a={r:n,g:2*o-n,b:i};break;default:a={r:2*o-n,g:2*o-n,b:2*o-n}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}},fromMode:{rgb:function({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),i={mode:"hsl",s:a===n?0:(a-n)/(1-Math.abs(a+n-1)),l:.5*(a+n)};return a-n!==0&&(i.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(i.alpha=t),i}},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,r){if(!r||"hsl"!==r[0]&&"hsla"!==r[0])return;const o={mode:"hsl"},[,t,a,n,i]=r;if(t.type!==j){if(t.type===G)return;o.h=t.value}if(a.type!==j){if(a.type===L)return;o.s=a.value/100}if(n.type!==j){if(n.type===L)return;o.l=n.value/100}return i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o},e=>{let r=e.match(or);if(!r)return;let o={mode:"hsl"};return void 0!==r[3]?o.h=+r[3]:void 0!==r[1]&&void 0!==r[2]&&(o.h=((e,r)=>{switch(r){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}})(r[1],r[2])),void 0!==r[4]&&(o.s=Math.min(Math.max(0,r[4]/100),1)),void 0!==r[5]&&(o.l=Math.min(Math.max(0,r[5]/100),1)),void 0!==r[6]?o.alpha=Math.max(0,Math.min(1,r[6]/100)):void 0!==r[7]&&(o.alpha=Math.max(0,Math.min(1,+r[7]))),o}],serialize:e=>`hsl(${void 0!==e.h?e.h:"none"} ${void 0!==e.s?100*e.s+"%":"none"} ${void 0!==e.l?100*e.l+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:re,fixup:me},s:re,l:re,alpha:{use:re,fixup:te}},difference:{h:Me},average:{h:xe}},ar=tr;function nr({h:e,s:r,v:o,alpha:t}){e=he(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:o,g:o*(1-r*n),b:o*(1-r)};break;case 1:a={r:o*(1-r*n),g:o,b:o*(1-r)};break;case 2:a={r:o*(1-r),g:o,b:o*(1-r*n)};break;case 3:a={r:o*(1-r),g:o*(1-r*n),b:o};break;case 4:a={r:o*(1-r*n),g:o*(1-r),b:o};break;case 5:a={r:o,g:o*(1-r),b:o*(1-r*n)};break;default:a={r:o*(1-r),g:o*(1-r),b:o*(1-r)}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}function ir({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),i={mode:"hsv",s:0===a?0:1-n/a,v:a};return a-n!==0&&(i.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(i.alpha=t),i}const lr={mode:"hsv",toMode:{rgb:nr},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:ir},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:re,fixup:me},s:re,v:re,alpha:{use:re,fixup:te}},difference:{h:Me},average:{h:xe}},sr={mode:"hwb",toMode:{rgb:function({h:e,w:r,b:o,alpha:t}){if(void 0===r&&(r=0),void 0===o&&(o=0),r+o>1){let e=r+o;r/=e,o/=e}return nr({h:e,s:1===o?1:1-r/(1-o),v:1-o,alpha:t})}},fromMode:{rgb:function(e){let r=ir(e);if(void 0===r)return;let o=void 0!==r.s?r.s:0,t=void 0!==r.v?r.v:0,a={mode:"hwb",w:(1-o)*t,b:1-t};return void 0!==r.h&&(a.h=r.h),void 0!==r.alpha&&(a.alpha=r.alpha),a}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,r){if(!r||"hwb"!==r[0])return;const o={mode:"hwb"},[,t,a,n,i]=r;if(t.type!==j){if(t.type===G)return;o.h=t.value}if(a.type!==j){if(a.type===L)return;o.w=a.value/100}if(n.type!==j){if(n.type===L)return;o.b=n.value/100}return i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o}],serialize:e=>`hwb(${void 0!==e.h?e.h:"none"} ${void 0!==e.w?100*e.w+"%":"none"} ${void 0!==e.b?100*e.b+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:re,fixup:me},w:re,b:re,alpha:{use:re,fixup:te}},difference:{h:(e,r)=>{if(void 0===e.h||void 0===r.h)return 0;let o=he(e.h),t=he(r.h);return Math.abs(t-o)>180?o-(t-360*Math.sign(t-o)):t-o}},average:{h:xe}},cr=sr,dr=.1593017578125,ur=78.84375,gr=.8359375,fr=18.8515625,br=18.6875;function pr(e){if(e<0)return 0;const r=Math.pow(e,1/ur);return 1e4*Math.pow(Math.max(0,r-gr)/(fr-br*r),1/dr)}function hr(e){if(e<0)return 0;const r=Math.pow(e/1e4,dr);return Math.pow((gr+fr*r)/(1+br*r),ur)}const mr=e=>Math.max(e/203,0),vr=({i:e,t:r,p:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a=pr(e+.008609037037932761*r+.11102962500302593*o),n=pr(e-.00860903703793275*r-.11102962500302599*o),i=pr(e+.5600313357106791*r-.32062717498731885*o),l={mode:"xyz65",x:mr(2.070152218389422*a-1.3263473389671556*n+.2066510476294051*i),y:mr(.3647385209748074*a+.680566024947227*n-.0453045459220346*i),z:mr(-.049747207535812*a-.0492609666966138*n+1.1880659249923042*i)};return void 0!==t&&(l.alpha=t),l},yr=(e=0)=>Math.max(203*e,0),kr=({x:e,y:r,z:o,alpha:t})=>{const a=yr(e),n=yr(r),i=yr(o),l=hr(.3592832590121217*a+.6976051147779502*n-.0358915932320289*i),s=hr(-.1920808463704995*a+1.1004767970374323*n+.0753748658519118*i),c=hr(.0070797844607477*a+.0748396662186366*n+.8433265453898765*i),d={mode:"itp",i:.5*l+.5*s,t:1.61376953125*l-3.323486328125*s+1.709716796875*c,p:4.378173828125*l-4.24560546875*s-.132568359375*c};return void 0!==t&&(d.alpha=t),d},wr={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:vr,rgb:e=>be(vr(e))},fromMode:{xyz65:kr,rgb:e=>kr(ue(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:re,t:re,p:re,alpha:{use:re,fixup:te}}},Pr=e=>{if(e<0)return 0;let r=Math.pow(e/1e4,dr);return Math.pow((gr+fr*r)/(1+br*r),134.03437499999998)},_r=(e=0)=>Math.max(203*e,0),Mr=({x:e,y:r,z:o,alpha:t})=>{e=_r(e),r=_r(r);let a=1.15*e-.15*(o=_r(o)),n=.66*r+.34*e,i=Pr(.41478972*a+.579999*n+.014648*o),l=Pr(-.20151*a+1.120649*n+.0531008*o),s=Pr(-.0166008*a+.2648*n+.6684799*o),c=(i+l)/2,d={mode:"jab",j:.44*c/(1-.56*c)-16295499532821565e-27,a:3.524*i-4.066708*l+.542708*s,b:.199076*i+1.096799*l-1.295875*s};return void 0!==t&&(d.alpha=t),d},Sr=16295499532821565e-27,xr=e=>{if(e<0)return 0;let r=Math.pow(e,.007460772656268216);return 1e4*Math.pow((gr-r)/(br*r-fr),1/dr)},Cr=e=>e/203,Ir=({j:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+Sr)/(.44+.56*(e+Sr)),n=xr(a+.13860504*r+.058047316*o),i=xr(a-.13860504*r-.058047316*o),l=xr(a-.096019242*r-.8118919*o),s={mode:"xyz65",x:Cr(1.661373024652174*n-.914523081304348*i+.23136208173913045*l),y:Cr(-.3250758611844533*n+1.571847026732543*i-.21825383453227928*l),z:Cr(-.090982811*n-.31272829*i+1.5227666*l)};return void 0!==t&&(s.alpha=t),s},Ar=e=>{let r=Mr(ue(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},Or=e=>be(Ir(e)),Fr={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:Ar,xyz65:Mr},toMode:{rgb:Or,xyz65:Ir},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:re,a:re,b:re,alpha:{use:re,fixup:te}}},Wr=({j:e,a:r,b:o,alpha:t})=>{void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.sqrt(r*r+o*o),n={mode:"jch",j:e,c:a};return a&&(n.h=he(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(n.alpha=t),n},Dr=({j:e,c:r,h:o,alpha:t})=>{void 0===o&&(o=0);let a={mode:"jab",j:e,a:r?r*Math.cos(o/180*Math.PI):0,b:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(a.alpha=t),a},Tr={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Dr,rgb:e=>Or(Dr(e))},fromMode:{rgb:e=>Wr(Ar(e)),jab:Wr},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:re,fixup:me},c:re,j:re,alpha:{use:re,fixup:te}},difference:{h:Se},average:{h:xe}},Br=Tr,Rr=Math.pow(29,3)/Math.pow(3,3),Er=Math.pow(6,3)/Math.pow(29,3);let $r=e=>Math.pow(e,3)>Er?Math.pow(e,3):(116*e-16)/Rr;const zr=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+16)/116,n=a-o/200,i={mode:"xyz50",x:$r(r/500+a)*We,y:1*$r(a),z:$r(n)*De};return void 0!==t&&(i.alpha=t),i},Nr=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=fe({r:3.1341359569958707*e-1.6173863321612538*r-.4906619460083532*o,g:-.978795502912089*e+1.916254567259524*r+.03344273116131949*o,b:.07195537988411677*e-.2289768264158322*r+1.405386058324125*o});return void 0!==t&&(a.alpha=t),a},Gr=e=>Nr(zr(e)),jr=e=>{let{r,g:o,b:t,alpha:a}=de(e),n={mode:"xyz50",x:.436065742824811*r+.3851514688337912*o+.14307845442264197*t,y:.22249319175623702*r+.7168870538238823*o+.06061979053616537*t,z:.013923904500943465*r+.09708128566574634*o+.7140993584005155*t};return void 0!==a&&(n.alpha=a),n},Lr=e=>e>Er?Math.cbrt(e):(Rr*e+16)/116,Vr=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Lr(e/We),n=Lr(r/1),i={mode:"lab",l:116*n-16,a:500*(a-n),b:200*(n-Lr(o/De))};return void 0!==t&&(i.alpha=t),i},Hr=e=>{let r=Vr(jr(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},Ur={mode:"lab",toMode:{xyz50:zr,rgb:Gr},fromMode:{xyz50:Vr,rgb:Hr},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[function(e,r){if(!r||"lab"!==r[0])return;const o={mode:"lab"},[,t,a,n,i]=r;return t.type!==L&&a.type!==L&&n.type!==L?(t.type!==j&&(o.l=Math.min(Math.max(0,t.value),100)),a.type!==j&&(o.a=a.type===N?a.value:125*a.value/100),n.type!==j&&(o.b=n.type===N?n.value:125*n.value/100),i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o):void 0}],serialize:e=>`lab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:re,a:re,b:re,alpha:{use:re,fixup:te}}},qr=Ur,Kr={...qr,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:Ee,rgb:$e},fromMode:{xyz65:Ne,rgb:Ge},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}},Yr={mode:"lch",toMode:{lab:Ae,rgb:e=>Gr(Ae(e))},fromMode:{rgb:e=>Ie(Hr(e)),lab:Ie},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[function(e,r){if(!r||"lch"!==r[0])return;const o={mode:"lch"},[,t,a,n,i]=r;if(t.type!==j){if(t.type===L)return;o.l=Math.min(Math.max(0,t.value),100)}if(a.type!==j&&(o.c=Math.max(0,a.type===N?a.value:150*a.value/100)),n.type!==j){if(n.type===G)return;o.h=n.value}return i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o}],serialize:e=>`lch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:re,fixup:me},c:re,l:re,alpha:{use:re,fixup:te}},difference:{h:Se},average:{h:xe}},Qr=Yr,Zr={...Qr,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>Ae(e,"lab65"),rgb:e=>$e(Ae(e,"lab65"))},fromMode:{rgb:e=>Ie(Ge(e),"lch65"),lab65:e=>Ie(e,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}},Xr=Zr,Jr=({l:e,u:r,v:o,alpha:t})=>{void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.sqrt(r*r+o*o),n={mode:"lchuv",l:e,c:a};return a&&(n.h=he(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(n.alpha=t),n},eo=({l:e,c:r,h:o,alpha:t})=>{void 0===o&&(o=0);let a={mode:"luv",l:e,u:r?r*Math.cos(o/180*Math.PI):0,v:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(a.alpha=t),a},ro=(e,r,o)=>4*e/(e+15*r+3*o),oo=(e,r,o)=>9*r/(e+15*r+3*o),to=ro(We,1,De),ao=oo(We,1,De),no=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(n=r/1)<=Er?Rr*n:116*Math.cbrt(n)-16;var n;let i=ro(e,r,o),l=oo(e,r,o);isFinite(i)&&isFinite(l)?(i=13*a*(i-to),l=13*a*(l-ao)):a=i=l=0;let s={mode:"luv",l:a,u:i,v:l};return void 0!==t&&(s.alpha=t),s},io=4*(lo=We)/(lo+15+3*De);var lo;const so=({l:e,u:r,v:o,alpha:t})=>{if(void 0===e&&(e=0),0===e)return{mode:"xyz50",x:0,y:0,z:0};void 0===r&&(r=0),void 0===o&&(o=0);let a=r/(13*e)+io,n=o/(13*e)+.4880797507034157,i=1*(e<=8?e/Rr:Math.pow((e+16)/116,3)),l={mode:"xyz50",x:i*(9*a)/(4*n),y:i,z:i*(12-3*a-20*n)/(4*n)};return void 0!==t&&(l.alpha=t),l},co={mode:"lchuv",toMode:{luv:eo,rgb:e=>Nr(so(eo(e)))},fromMode:{rgb:e=>Jr(no(jr(e))),luv:Jr},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:re,fixup:me},c:re,l:re,alpha:{use:re,fixup:te}},difference:{h:Se},average:{h:xe}},uo=co,go={...ae,mode:"lrgb",toMode:{rgb:fe},fromMode:{rgb:de},parse:["srgb-linear"],serialize:"srgb-linear"},fo={mode:"luv",toMode:{xyz50:so,rgb:e=>Nr(so(e))},fromMode:{xyz50:no,rgb:e=>no(jr(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:re,u:re,v:re,alpha:{use:re,fixup:te}}},bo=fo,po=({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.cbrt(.412221469470763*e+.5363325372617348*r+.0514459932675022*o),n=Math.cbrt(.2119034958178252*e+.6806995506452344*r+.1073969535369406*o),i=Math.cbrt(.0883024591900564*e+.2817188391361215*r+.6299787016738222*o),l={mode:"oklab",l:.210454268309314*a+.7936177747023054*n-.0040720430116193*i,a:1.9779985324311684*a-2.42859224204858*n+.450593709617411*i,b:.0259040424655478*a+.7827717124575296*n-.8086757549230774*i};return void 0!==t&&(l.alpha=t),l},ho=e=>{let r=po(de(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},mo=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.pow(e+.3963377773761749*r+.2158037573099136*o,3),n=Math.pow(e-.1055613458156586*r-.0638541728258133*o,3),i=Math.pow(e-.0894841775298119*r-1.2914855480194092*o,3),l={mode:"lrgb",r:4.076741636075957*a-3.3077115392580616*n+.2309699031821044*i,g:-1.2684379732850317*a+2.6097573492876887*n-.3413193760026573*i,b:-.0041960761386756*a-.7034186179359362*n+1.7076146940746117*i};return void 0!==t&&(l.alpha=t),l},vo=e=>fe(mo(e));function yo(e){const r=.206,o=1.206/1.03;return.5*(o*e-r+Math.sqrt((o*e-r)*(o*e-r)+.12*o*e))}function ko(e){return(e*e+.206*e)/(1.206/1.03*(e+.03))}function wo(e,r){let o=function(e,r){let o,t,a,n,i,l,s,c;-1.88170328*e-.80936493*r>1?(o=1.19086277,t=1.76576728,a=.59662641,n=.75515197,i=.56771245,l=4.0767416621,s=-3.3077115913,c=.2309699292):1.81444104*e-1.19445276*r>1?(o=.73956515,t=-.45954404,a=.08285427,n=.1254107,i=.14503204,l=-1.2684380046,s=2.6097574011,c=-.3413193965):(o=1.35733652,t=-.00915799,a=-1.1513021,n=-.50559606,i=.00692167,l=-.0041960863,s=-.7034186147,c=1.707614701);let d=o+t*e+a*r+n*e*e+i*e*r,u=.3963377774*e+.2158037573*r,g=-.1055613458*e-.0638541728*r,f=-.0894841775*e-1.291485548*r;{let e=1+d*u,r=1+d*g,o=1+d*f,t=l*(e*e*e)+s*(r*r*r)+c*(o*o*o),a=l*(3*u*e*e)+s*(3*g*r*r)+c*(3*f*o*o);d-=t*a/(a*a-.5*t*(l*(6*u*u*e)+s*(6*g*g*r)+c*(6*f*f*o)))}return d}(e,r),t=mo({l:1,a:o*e,b:o*r}),a=Math.cbrt(1/Math.max(t.r,t.g,t.b));return[a,a*o]}function Po(e,r,o=null){o||(o=wo(e,r));let t=o[0],a=o[1];return[a/t,a/(1-t)]}function _o(e,r,o){let t=wo(r,o),a=function(e,r,o,t,a,n=null){let i;if(n||(n=wo(e,r)),(o-a)*n[1]-(n[0]-a)*t<=0)i=n[1]*a/(t*n[0]+n[1]*(a-o));else{i=n[1]*(a-1)/(t*(n[0]-1)+n[1]*(a-o));{let n=o-a,l=.3963377774*e+.2158037573*r,s=-.1055613458*e-.0638541728*r,c=-.0894841775*e-1.291485548*r,d=n+t*l,u=n+t*s,g=n+t*c;{let e=a*(1-i)+i*o,r=i*t,n=e+r*l,f=e+r*s,b=e+r*c,p=n*n*n,h=f*f*f,m=b*b*b,v=3*d*n*n,y=3*u*f*f,k=3*g*b*b,w=6*d*d*n,P=6*u*u*f,_=6*g*g*b,M=4.0767416621*p-3.3077115913*h+.2309699292*m-1,S=4.0767416621*v-3.3077115913*y+.2309699292*k,x=S/(S*S-.5*M*(4.0767416621*w-3.3077115913*P+.2309699292*_)),C=-M*x,I=-1.2684380046*p+2.6097574011*h-.3413193965*m-1,A=-1.2684380046*v+2.6097574011*y-.3413193965*k,O=A/(A*A-.5*I*(-1.2684380046*w+2.6097574011*P-.3413193965*_)),F=-I*O,W=-.0041960863*p-.7034186147*h+1.707614701*m-1,D=-.0041960863*v-.7034186147*y+1.707614701*k,T=D/(D*D-.5*W*(-.0041960863*w-.7034186147*P+1.707614701*_)),B=-W*T;C=x>=0?C:1e6,F=O>=0?F:1e6,B=T>=0?B:1e6,i+=Math.min(C,Math.min(F,B))}}}return i}(r,o,e,1,e,t),n=Po(r,o,t),i=e*(.11516993+1/(7.4477897+4.1590124*o+r*(1.75198401*o-2.19557347+r*(-2.13704948-10.02301043*o+r*(5.38770819*o-4.24894561+4.69891013*r))))),l=(1-e)*(.11239642+1/(1.6132032-.68124379*o+r*(.40370612+.90148123*o+r*(.6122399*o-.27087943+r*(.00299215-.45399568*o-.14661872*r))))),s=a/Math.min(e*n[0],(1-e)*n[1])*.9*Math.sqrt(Math.sqrt(1/(1/(i*i*i*i)+1/(l*l*l*l))));return i=.4*e,l=.8*(1-e),[Math.sqrt(1/(1/(i*i)+1/(l*l))),s,a]}function Mo(e){const r=void 0!==e.l?e.l:0,o=void 0!==e.a?e.a:0,t=void 0!==e.b?e.b:0,a={mode:"okhsl",l:yo(r)};void 0!==e.alpha&&(a.alpha=e.alpha);let n=Math.sqrt(o*o+t*t);if(!n)return a.s=0,a;let i,[l,s,c]=_o(r,o/n,t/n);if(n<s){let e=0,r=.8*l;i=(n-e)/(r+(1-r/s)*(n-e))*.8}else{let e=.2*s*s*1.25*1.25/l;i=.8+(n-s)/(e+(1-e/(c-s))*(n-s))*.2}return i&&(a.s=i,a.h=he(180*Math.atan2(t,o)/Math.PI)),a}function So(e){let r=void 0!==e.h?e.h:0,o=void 0!==e.s?e.s:0,t=void 0!==e.l?e.l:0;const a={mode:"oklab",l:ko(t)};if(void 0!==e.alpha&&(a.alpha=e.alpha),!o||1===t)return a.a=a.b=0,a;let n,i,l,s,c=Math.cos(r/180*Math.PI),d=Math.sin(r/180*Math.PI),[u,g,f]=_o(a.l,c,d);o<.8?(n=1.25*o,i=0,l=.8*u,s=1-l/g):(n=5*(o-.8),i=g,l=.2*g*g*1.25*1.25/u,s=1-l/(f-g));let b=i+n*l/(1-s*n);return a.a=b*c,a.b=b*d,a}const xo={...ar,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Mo,rgb:e=>Mo(ho(e))},toMode:{oklab:So,rgb:e=>vo(So(e))}},Co=xo;function Io(e){let r=void 0!==e.l?e.l:0,o=void 0!==e.a?e.a:0,t=void 0!==e.b?e.b:0,a=Math.sqrt(o*o+t*t),n=a?o/a:1,i=a?t/a:1,[l,s]=Po(n,i),c=1-.5/l,d=s/(a+r*s),u=d*r,g=d*a,f=ko(u),b=g*f/u,p=mo({l:f,a:n*b,b:i*b}),h=Math.cbrt(1/Math.max(p.r,p.g,p.b,0));r/=h,a=a/h*yo(r)/r,r=yo(r);const m={mode:"okhsv",s:a?(.5+s)*g/(.5*s+s*c*g):0,v:r?r/u:0};return m.s&&(m.h=he(180*Math.atan2(t,o)/Math.PI)),void 0!==e.alpha&&(m.alpha=e.alpha),m}function Ao(e){const r={mode:"oklab"};void 0!==e.alpha&&(r.alpha=e.alpha);const o=void 0!==e.h?e.h:0,t=void 0!==e.s?e.s:0,a=void 0!==e.v?e.v:0,n=Math.cos(o/180*Math.PI),i=Math.sin(o/180*Math.PI),[l,s]=Po(n,i),c=.5,d=1-c/l,u=1-t*c/(c+s-s*d*t),g=t*s*c/(c+s-s*d*t),f=ko(u),b=g*f/u,p=mo({l:f,a:n*b,b:i*b}),h=Math.cbrt(1/Math.max(p.r,p.g,p.b,0)),m=ko(a*u),v=g*m/u;return r.l=m*h,r.a=v*n*h,r.b=v*i*h,r}const Oo={...lr,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Io,rgb:e=>Io(ho(e))},toMode:{oklab:Ao,rgb:e=>vo(Ao(e))}},Fo=Oo,Wo={...qr,mode:"oklab",toMode:{lrgb:mo,rgb:vo},fromMode:{lrgb:po,rgb:ho},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[function(e,r){if(!r||"oklab"!==r[0])return;const o={mode:"oklab"},[,t,a,n,i]=r;return t.type!==L&&a.type!==L&&n.type!==L?(t.type!==j&&(o.l=Math.min(Math.max(0,t.type===N?t.value:t.value/100),1)),a.type!==j&&(o.a=a.type===N?a.value:.4*a.value/100),n.type!==j&&(o.b=n.type===N?n.value:.4*n.value/100),i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o):void 0}],serialize:e=>`oklab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},Do=Wo,To={...Qr,mode:"oklch",toMode:{oklab:e=>Ae(e,"oklab"),rgb:e=>vo(Ae(e,"oklab"))},fromMode:{rgb:e=>Ie(ho(e),"oklch"),oklab:e=>Ie(e,"oklch")},parse:[function(e,r){if(!r||"oklch"!==r[0])return;const o={mode:"oklch"},[,t,a,n,i]=r;if(t.type!==j){if(t.type===L)return;o.l=Math.min(Math.max(0,t.type===N?t.value:t.value/100),1)}if(a.type!==j&&(o.c=Math.max(0,a.type===N?a.value:.4*a.value/100)),n.type!==j){if(n.type===G)return;o.h=n.value}return i.type!==j&&(o.alpha=Math.min(1,Math.max(0,i.type===N?i.value:i.value/100))),o}],serialize:e=>`oklch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},Bo=To,Ro=e=>{let{r,g:o,b:t,alpha:a}=de(e),n={mode:"xyz65",x:.486570948648216*r+.265667693169093*o+.1982172852343625*t,y:.2289745640697487*r+.6917385218365062*o+.079286914093745*t,z:0*r+.0451133818589026*o+1.043944368900976*t};return void 0!==a&&(n.alpha=a),n},Eo=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=fe({r:2.4934969119414263*e-.9313836179191242*r-.402710784450717*o,g:-.8294889695615749*e+1.7626640603183465*r+.0236246858419436*o,b:.0358458302437845*e-.0761723892680418*r+.9568845240076871*o},"p3");return void 0!==t&&(a.alpha=t),a},$o={...ae,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>Eo(ue(e)),xyz65:Eo},toMode:{rgb:e=>be(Ro(e)),xyz65:Ro}},zo=e=>{let r=Math.abs(e);return r>=1/512?Math.sign(e)*Math.pow(r,1/1.8):16*e},No=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"prophoto",r:zo(1.3457868816471585*e-.2555720873797946*r-.0511018649755453*o),g:zo(-.5446307051249019*e+1.5082477428451466*r+.0205274474364214*o),b:zo(0*e+0*r+1.2119675456389452*o)};return void 0!==t&&(a.alpha=t),a},Go=(e=0)=>{let r=Math.abs(e);return r>=16/512?Math.sign(e)*Math.pow(r,1.8):e/16},jo=e=>{let r=Go(e.r),o=Go(e.g),t=Go(e.b),a={mode:"xyz50",x:.7977666449006423*r+.1351812974005331*o+.0313477341283922*t,y:.2880748288194013*r+.7118352342418731*o+899369387256e-16*t,z:0*r+0*o+.8251046025104602*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},Lo={...ae,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:No,rgb:e=>No(jr(e))},toMode:{xyz50:jo,rgb:e=>Nr(jo(e))}},Vo=1.09929682680944,Ho=e=>{const r=Math.abs(e);return r>.018053968510807?(Math.sign(e)||1)*(Vo*Math.pow(r,.45)-(Vo-1)):4.5*e},Uo=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"rec2020",r:Ho(1.7166511879712683*e-.3556707837763925*r-.2533662813736599*o),g:Ho(-.6666843518324893*e+1.6164812366349395*r+.0157685458139111*o),b:Ho(.0176398574453108*e-.0427706132578085*r+.9421031212354739*o)};return void 0!==t&&(a.alpha=t),a},qo=1.09929682680944,Ko=(e=0)=>{let r=Math.abs(e);return r<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((r+qo-1)/qo,1/.45)},Yo=e=>{let r=Ko(e.r),o=Ko(e.g),t=Ko(e.b),a={mode:"xyz65",x:.6369580483012911*r+.1446169035862083*o+.1688809751641721*t,y:.262700212011267*r+.6779980715188708*o+.059301716469862*t,z:0*r+.0280726930490874*o+1.0609850577107909*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},Qo={...ae,mode:"rec2020",fromMode:{xyz65:Uo,rgb:e=>Uo(ue(e))},toMode:{xyz65:Yo,rgb:e=>be(Yo(e))},parse:["rec2020"],serialize:"rec2020"},Zo=.0037930732552754493,Xo=Math.cbrt(Zo),Jo=e=>Math.cbrt(e)-Xo,et=e=>Math.pow(e+Xo,3),rt={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a=et(e+r)-Zo,n=et(r-e)-Zo,i=et(o+r)-Zo,l=fe({r:11.031566904639861*a-9.866943908131562*n-.16462299650829934*i,g:-3.2541473810744237*a+4.418770377582723*n-.16462299650829934*i,b:-3.6588512867136815*a+2.7129230459360922*n+1.9459282407775895*i});return void 0!==t&&(l.alpha=t),l}},fromMode:{rgb:e=>{const{r,g:o,b:t,alpha:a}=de(e),n=Jo(.3*r+.622*o+.078*t+Zo),i=Jo(.23*r+.692*o+.078*t+Zo),l={mode:"xyb",x:(n-i)/2,y:(n+i)/2,b:Jo(.2434226892454782*r+.2047674442449682*o+.5518098665095535*t+Zo)-(n+i)/2};return void 0!==a&&(l.alpha=a),l}},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:re,y:re,b:re,alpha:{use:re,fixup:te}}},ot={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Nr,lab:Vr},fromMode:{rgb:jr,lab:zr},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:re,y:re,z:re,alpha:{use:re,fixup:te}}},tt={mode:"xyz65",toMode:{rgb:be,xyz50:e=>{let{x:r,y:o,z:t,alpha:a}=e;void 0===r&&(r=0),void 0===o&&(o=0),void 0===t&&(t=0);let n={mode:"xyz50",x:1.0479298208405488*r+.0229467933410191*o-.0501922295431356*t,y:.0296278156881593*r+.990434484573249*o-.0170738250293851*t,z:-.0092430581525912*r+.0150551448965779*o+.7518742899580008*t};return void 0!==a&&(n.alpha=a),n}},fromMode:{rgb:ue,xyz50:e=>{let{x:r,y:o,z:t,alpha:a}=e;void 0===r&&(r=0),void 0===o&&(o=0),void 0===t&&(t=0);let n={mode:"xyz65",x:.9554734527042182*r-.0230985368742614*o+.0632593086610217*t,y:-.0283697069632081*r+1.0099954580058226*o+.021041398966943*t,z:.0123140016883199*r-.0205076964334779*o+1.3303659366080753*t};return void 0!==a&&(n.alpha=a),n}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:re,y:re,z:re,alpha:{use:re,fixup:te}}},at={mode:"yiq",toMode:{rgb:({y:e,i:r,q:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a={mode:"rgb",r:e+.95608445*r+.6208885*o,g:e-.27137664*r-.6486059*o,b:e-1.10561724*r+1.70250126*o};return void 0!==t&&(a.alpha=t),a}},fromMode:{rgb:({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a={mode:"yiq",y:.29889531*e+.58662247*r+.11448223*o,i:.59597799*e-.2741761*r-.32180189*o,q:.21147017*e-.52261711*r+.31114694*o};return void 0!==t&&(a.alpha=t),a}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:re,i:re,q:re,alpha:{use:re,fixup:te}}};let nt=((e=4)=>r=>"number"==typeof r?((e,r)=>Math.round(e*(r=Math.pow(10,r)))/r)(r,e):r)(2);const it=e=>Math.max(0,Math.min(1,e||0)),lt=e=>Math.round(255*it(e)),st=C("rgb"),ct=(C("hsl"),e=>(e=>{if(void 0===e)return;let r=lt(e.r),o=lt(e.g),t=lt(e.b);return void 0===e.alpha||1===e.alpha?`rgb(${r}, ${o}, ${t})`:`rgba(${r}, ${o}, ${t}, ${nt(it(e.alpha))})`})(st(e))),dt={normal:(e,r)=>r,multiply:(e,r)=>e*r,screen:(e,r)=>e+r-e*r,"hard-light":(e,r)=>r<.5?2*e*r:2*r*(1-e)-1,overlay:(e,r)=>e<.5?2*r*e:2*e*(1-r)-1,darken:(e,r)=>Math.min(e,r),lighten:(e,r)=>Math.max(e,r),"color-dodge":(e,r)=>0===e?0:1===r?1:Math.min(1,e/(1-r)),"color-burn":(e,r)=>1===e?1:0===r?0:1-Math.min(1,(1-e)/r),"soft-light":(e,r)=>r<.5?e-(1-2*r)*e*(1-e):e+(2*r-1)*((e<.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e),difference:(e,r)=>Math.abs(e-r),exclusion:(e,r)=>e+r-2*e*r},ut=(D(pe),D(Ce),D(Ze),D(Je),D(rr),D(ar),D(lr),D(cr),D(wr),D(Fr),D(Br),D(qr),D(Kr),D(Qr),D(Xr),D(uo),D(go),D(bo),D(Co),D(Fo),D(Do),D(Bo),D($o),D(Lo),D(Qo),D(ae),D(rt),D(ot),D(tt),D(at),C("rgb"));function gt(e,r="",o={}){for(const[t,a]of Object.entries(e)){const e=r?`${r}.${t}`:t;if(a&&"object"==typeof a){if("_value"in a)o[e]=a._value;else{const r=Object.keys(a).filter(e=>e.startsWith("_inputs")||e.startsWith("_transforms"));r.length&&(o[e]=r.reduce((e,r)=>(e[r]=a[r],e),{}))}const r=Object.keys(a).filter(e=>!e.startsWith("_"));r.length>0&&gt(Object.fromEntries(r.map(e=>[e,a[e]])),e,o)}else o[e]=a}return o}const ft=C("rgb"),bt=(e,r,o=new Set,t)=>{if(t&&(e=>e.startsWith("icon"))(t))return e;const a=e.match(/^{(.+)}$/);if(!a){const r=ft(e);if(void 0===r)throw new Error(`Color "${e}" is not a valid color.`);return ct(r)}const n=a[1],i=pt(n,r,o);return r[n]=i,i},pt=(e,r,o=new Set)=>{if(o.has(e))throw new Error(`Circular reference: ${e}`);o.add(e);const t=r[e];if("object"==typeof t){const e=t._inputs.map(e=>"object"==typeof e?{...e,color:bt(e.color,r,o)}:bt(e,r,o));return function(e){if(0===e._inputs.length)throw new Error("Missing _inputs for color blend");let r=function(e){if(!e.length)throw new Error("Inputs array for a computed token cannot be empty.");return((e,r="normal",o="rgb")=>{let t="function"==typeof r?r:dt[r],a=C(o),n=T(o).channels,i=e.map(e=>{let r=a(e);return void 0===r.alpha&&(r.alpha=1),r});return i.reduce((e,r)=>{if(void 0===e)return r;let a=r.alpha+e.alpha*(1-r.alpha);return n.reduce((o,n)=>("alpha"!==n&&(0===a?o[n]=0:(o[n]=r.alpha*(1-e.alpha)*r[n]+r.alpha*e.alpha*t(e[n],r[n])+(1-r.alpha)*e.alpha*e[n],o[n]=Math.max(0,Math.min(1,o[n]/a)))),o),{mode:o,alpha:a})})})([...e.map(e=>{let r,o;if("string"==typeof e)r=e;else{if(!e.color)throw new Error("ColorRef object must have a color property");r=e.color,o=e.alpha}const t=ut(r);if(!t)throw new Error(`Invalid color: ${r}`);return void 0!==o?(t.alpha=(t.alpha??1)*o,t):t})],"normal")}(e._inputs);return e._transforms?.length&&(r=function(e,r=[]){const o=C("hsl")(e);for(const e of r)switch(e.type){case"alpha":o.alpha=e.amount;break;case"lighten":o.l=Math.min(1,o.l+e.amount);break;case"darken":o.l=Math.max(0,o.l-e.amount);break;case"saturate":o.s=Math.min(1,o.s+e.amount)}return ut(o)}(r,e._transforms)),ct(r)}({...t,_inputs:e})}if("string"==typeof t)return bt(t,r,o,e);throw new Error(`Reference not found or in wrong format: ${e}, value: ${t}`)},ht=(e,r)=>{const o={...gt(e),...r};return Object.keys(o).forEach(e=>{o[e]=pt(e,o)}),o},mt=(e={},{light:r,dark:o,exclude:t}={})=>{const a=h(s,t),n=h(d,t),i=h(c,t),u=l()({},a,n),g=l()({},a,i),f={...e,...r},m={...e,...o},v=ht(u,f),y=ht(g,m),k=((e,r)=>(o={})=>p(e,r,o))(v,y),w=((e,r)=>(o={})=>{if("undefined"==typeof document)throw new Error("inject() only works in browser environments");const t=p(e,r,o),a=document.createElement("style");return a.textContent=t,document.head.appendChild(a),a})(v,y);return{toCSS:k,inject:w,light:{...v,toCSS:b(v)},dark:{...y,toCSS:b(y)}}}}},t={};function a(e){var r=t[e];if(void 0!==r)return r.exports;var n=t[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(o,t){if(1&t&&(o=this(o)),8&t)return o;if("object"==typeof o&&o){if(4&t&&o.__esModule)return o;if(16&t&&"function"==typeof o.then)return o}var n=Object.create(null);a.r(n);var i={};e=e||[null,r({}),r([]),r(r)];for(var l=2&t&&o;("object"==typeof l||"function"==typeof l)&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,a.d(n,i),n},a.d=(e,r)=>{for(var o in r)a.o(r,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";a.r(n),a.d(n,{deregister:()=>h,isLegacyNotifications:()=>g,register:()=>p,usesNotificationsSyncChannel:()=>u});var e=a(277),r=a(78),o=a(275),t=a(444),i=a(812),l={};for(const e in i)["default","usesNotificationsSyncChannel","isLegacyNotifications","register","deregister"].indexOf(e)<0&&(l[e]=()=>i[e]);a.d(n,l);const s=async e=>{if(e instanceof Error){let r=e.message;if(e.message.includes("register-notifications-platform")){if(r="Notifications platforms are not supported in versions below 1.13.0, try updating your notifications-service.",i?.provider?.getStatus){const{version:e}=await i.provider.getStatus();r+=` Your version is: ${e}`}return r}return e.message}return"string"==typeof e?e:"unknown error registering Notifications"},c=async e=>{if(e instanceof Error&&e.message.includes("register-notifications-platform"))throw new Error(await s(e));throw e},d="of-notifications-service-v1",u=e=>{const[r]=e.split("."),o=Number.parseInt(r,10);return Number.isFinite(o)&&o>=2},g=e=>{const[r,o]=e.split(".").map(Number);return r<2||2===r&&o<=13},f={channelName:r.XI},b=async(e,r,o=!1)=>{const t=u(r.notificationsVersion)?f.channelName:d,a=await fin.InterApplicationBus.Channel.connect(t,{wait:o}),n=u(r.notificationsVersion)?"register-platform":"register-notifications-platform";await a.dispatch(n,e)};async function p(a){try{const n=await(0,r.kz)(),l=a&&"notificationsCustomManifest"in a?{customManifest:a.notificationsCustomManifest}:void 0;let s=!1;n!==r.XI?(f.channelName=n,s=!0):l&&l.customManifest?.manifestUuid&&(f.channelName=`${l.customManifest.manifestUuid}-${r.XI}`,console.warn("Using 'notificationsCustomManifest' is deprecated. Please include custom manifest in platform manifest."));const c=await i.register(l),d=(0,t.N)(),u=await d.Theme.getThemePaletteSheet(),p=await d.Theme.getNotificationIndicatorColorsInternal();if(a){const e=await(0,o.qq)(fin.me.identity),r=g(c.notificationsVersion),t=r?await d.Theme.getLegacyNotificationsThemeInternal():null,n="notificationsPlatformOptions"in a?a.notificationsPlatformOptions:a,i=t??u;await b({theme:i,...r?{}:{notificationsIndicatorColors:p},scheme:e.defaultScheme,...n,workspacePlatform:{identity:fin.Platform.getCurrentSync().identity,analytics:{isSupported:!0}}},{notificationsVersion:c.notificationsVersion},s)}return(0,e.os)({allowed:!0,apiVersion:i.VERSION,componentVersion:c.notificationsVersion}),c}catch(r){(0,e.os)({allowed:!1,rejectionCode:await s(r),apiVersion:i.VERSION}),await c(r)}}const h=async e=>{try{const{version:r}=await i.provider.getStatus();if(null===r)throw new Error("Notifications service is not currently running.");await(async(e,r)=>{const o=u(r.notificationsVersion)?f.channelName:d,t=await fin.InterApplicationBus.Channel.connect(o,{wait:!1}),a=u(r.notificationsVersion)?"deregister-platform":"deregister-notifications-platform";await t.dispatch(a,e)})({id:e},{notificationsVersion:r})}catch(e){await c(e)}}})(),module.exports=n})();
1
+ (()=>{"use strict";var e={78(e,t,n){n.d(t,{XI:()=>s,kz:()=>l});var a=n(438),o=(n(102),n(822)),r=n(70);const i=(0,o.h)("common.protocol.notifications"),s="of-workspace-notifications-sync";var c;async function l(){const e=await async function(){try{const e=await(0,a.S8)(),t=e?.notifications?.customManifest?.manifestUuid;return t||r.ct.uuid}catch(e){return i.warn("getNotificationCenterUuid","Could not get manifest options for notifications, using default",{error:e instanceof Error?e.message:String(e)}),r.ct.uuid}}();return e!==r.ct.uuid?`${e}-${s}`:s}!function(e){e.UpdatePlatformThemeScheme="update-platform-theme-scheme"}(c||(c={}))},79(e,t,n){n.d(t,{N:()=>s,OF:()=>o});const a=(0,n(822).h)("common.protocol.workspacePlatform");var o;!function(e){e.LaunchApp="launchApp",e.SavePage="savePage",e.GetSavedPage="getSavedPage",e.CreateSavedPage="createSavedPage",e.UpdateSavedPage="updateSavedPage",e.DeleteSavedPage="deleteSavedPage",e.GetSavedPages="getSavedPages",e.CreateSavedPageInternal="createSavedPageInternal",e.UpdateSavedPageInternal="updateSavedPageInternal",e.DeleteSavedPageInternal="deleteSavedPageInternal",e.UpdatePageForWindow="updatePageForWindow",e.AttachPagesToWindow="attachPagesToWindow",e.DetachPagesFromWindow="detachPagesFromWindow",e.ReorderPagesForWindow="reorderPagesForWindow",e.SetActivePage="setActivePage",e.AddPage="addPage",e.AddDefaultPage="addDefaultPage",e.GetAllAttachedPages="getAllAttachedPages",e.GetActivePageIdForWindow="getActivePageIdForWindow",e.GetPagesForWindow="getPagesForWindow",e.GetPageForWindow="getPageForWindow",e.GetSavedPageMetadata="getSavedPageMetadata",e.GetUniquePageTitle="getUniquePageTitle",e.GetLastFocusedBrowserWindow="getLastFocusedBrowserWindow",e.GetPageByViewIdentity="getPageByViewIdentity",e.GetThemes="getThemes",e.GetGeneratedPalettes="getGeneratedPalettes",e.GetThemePaletteSheet="getThemePaletteSheet",e.GetSelectedScheme="getSelectedScheme",e.SetSelectedScheme="setSelectedScheme",e.OpenGlobalContextMenuInternal="openGlobalContextMenuInternal",e.OpenViewTabContextMenuInternal="openViewTabContextMenuInternal",e.OpenPageTabContextMenuInternal="openPageTabContextMenuInternal",e.OpenSaveButtonContextMenuInternal="openSaveButtonContextMenuInternal",e.InvokeCustomActionInternal="invokeCustomActionInternal",e.RequestQuitPlatformDialogInternal="requestQuitPlatformDialogInternal",e.GetSavedWorkspace="getSavedWorkspace",e.CreateSavedWorkspace="createSavedWorkspace",e.UpdateSavedWorkspace="updateSavedWorkspace",e.DeleteSavedWorkspace="deleteSavedWorkspace",e.GetSavedWorkspaces="getSavedWorkspaces",e.GetSavedWorkspacesMetadata="getSavedWorkspacesMetadata",e.SaveWorkspace="saveWorkspace",e.GetCurrentWorkspace="getCurrentWorkspace",e.ApplyWorkspace="applyWorkspace",e.RestoreLastSavedWorkspaceInternal="restoreLastSavedWorkspaceInternal",e.SetActiveWorkspace="setActiveWorkspace",e.IsBrowserInitialized="isBrowserInitialized",e.Analytics="analyticsInternal",e.GetLanguage="getLanguage",e.GetLanguageResourcesInternal="getLanguageResourcesInternal",e.SetLanguage="setLanguage",e.GetDockProviderConfig="getDockProviderConfig",e.SaveDockProviderConfig="saveDockProviderConfig",e.HandleSaveModalOnPageClose="handleSaveModalOnPageClose",e.ShouldPageClose="shouldPageClose",e.ShouldWindowClose="shouldWindowClose",e.CopyPage="copyPage",e.HandlePageChanges="handlePageChanges",e.MarkUnsavedPagesAsSavedInternal="markUnsavedPagesAsSavedInternal",e.TrackRemovedTabInternal="trackRemovedTabInternal",e.RestoreRemovedTabInternal="restoreRemovedTabInternal",e.TrackVisitedSiteInternal="trackVisitedSiteInternal",e.GetRecentlyVisitedSitesInternal="getRecentlyVisitedSitesInternal",e.GetFrequentlyVisitedSitesInternal="getFrequentlyVisitedSitesInternal",e.SearchSitesInternal="searchSitesInternal",e.GetSearchProvidersInternal="getSearchProvidersInternal",e.GetCuratedContentInternal="getCuratedContentInternal",e.HandleRequestNavigationInternal="handleRequestNavigationInternal",e.RefreshBookmarksInternal="refreshBookmarksInternal",e.LaunchBookmarkInternal="launchBookmarkInternal",e.GetNotificationsConfig="getNotificationsConfig",e.UpdateDockFavoritesInternal="updateDockFavoritesInternal",e.UpdateContentMenuInternal="updateContentMenuInternal",e.LaunchDockEntryInternal="launchDockEntryInternal",e.SetDockFavoritesOrderInternal="setDockFavoritesOrderInternal",e.NavigateContentMenuInternal="navigateContentMenuInternal",e.SetDefaultDockButtonsOrderInternal="setDefaultDockButtonsOrderInternal",e.GetDockWorkspacesContextMenuInternal="getDockWorkspacesContextMenuInternal",e.HandleDockWorkspacesMenuResponseInternal="handleDockWorkspacesMenuResponseInternal",e.RefreshDockCollectionMenuInternal="refreshDockCollectionMenuInternal",e.LaunchCollectionInternal="launchCollectionInternal",e.RemoveDockFavoriteInternal="removeDockFavoriteInternal",e.AddDockFavoriteInternal="addDockFavoriteInternal",e.FocusAndExpandSearchInternal="focusAndExpandSearchInternal",e.SendUpdateVersionModalResponseInternal="sendUpdateVersionModalResponseInternal",e.ShowUpdateVersionModalInternal="showUpdateVersionModalInternal",e.ShowApplyAndPublishModalInternal="showApplyAndPublishModalInternal",e.GetNotificationIndicatorColorsInternal="getNotificationIndicatorColorsInternal",e.GetIsLegacySinglePaletteTheme="getIsLegacySinglePaletteTheme",e.GetLegacyNotificationsThemeInternal="getLegacyNotificationsThemeInternal"}(o||(o={}));const r=async e=>fin.Platform.wrapSync(e).getClient(),i=async e=>{const t=await r(e),n="Target is not a Workspace Platform. Target must call WorkspacePlatform.init";let o;try{o=await t.dispatch("isWorkspacePlatform")}catch(e){throw new Error(n)}if("boolean"==typeof o&&o)return a.warn("internalGetWorkspacePlatformChannelClient","You are using an older version of the workspace platform. Please update your workspace platform."),o;if("object"==typeof o&&o.isWorkspacePlatform)return o;throw new Error(n)},s=async e=>(await i(e),r(e))},438(e,t,n){n.d(t,{MW:()=>a,S8:()=>s});var a,o,r=n(723);!function(e){e.Workspace="openfin-workspace",e.OldWorkspace="openfin-browser"}(a||(a={})),function(e){e.FinProtocol="fin-protocol"}(o||(o={}));r.$h,a.Workspace;let i=null;const s=async()=>(i||(i=fin.Application.getCurrentSync().getManifest()),i)},102(e,t,n){var a=n(723);(0,n(822).h)("common.channels"),a.YY&&"complete"!==document.readyState&&new Promise(e=>document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&e()}))},723(e,t,n){var a;n.d(t,{$h:()=>s,YY:()=>r,et:()=>d,vL:()=>c}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(a||(a={}));const o="undefined"!=typeof window&&"undefined"!=typeof fin,r=("undefined"==typeof process||process.env,"undefined"!=typeof window),i=r?window.origin:a.Local,s=o&&fin.me.uuid,c=o&&fin.me.name,l=(o&&fin.me.entityType,a.Local,a.Dev,a.Staging,a.Prod,e=>e.startsWith("http://")||e.startsWith("https://")?e:i+e),d=(l("https://workspace.openfin.co/workspace/45.0.7"),l("https://workspace.openfin.co/workspace/45.0.7"),"undefined"!=typeof WORKSPACE_DOCS_PLATFORM_URL&&l(WORKSPACE_DOCS_PLATFORM_URL),"undefined"!=typeof WORKSPACE_DOCS_CLIENT_URL&&l(WORKSPACE_DOCS_CLIENT_URL),"45.0.7");"undefined"!=typeof WORKSPACE_BUILD_SHA&&WORKSPACE_BUILD_SHA},822(e,t,n){n.d(t,{h:()=>i});let a="undefined"==typeof LOG_STRINGIFY||!0===LOG_STRINGIFY;const o={includeTimestamp:!0,customPrefix:"",stringifyData:void 0},r=e=>{try{return JSON.stringify(e,null,2)}catch(t){try{const t=new WeakSet;return JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular Reference]";t.add(n)}return"bigint"==typeof n?`[BigInt: ${n.toString()}]`:"function"==typeof n?`[Function: ${n.name||"anonymous"}]`:"symbol"==typeof n?`[Symbol: ${n.toString()}]`:void 0===n?"[Undefined]":n},2)}catch(t){try{return`[Non-serializable: ${Object.prototype.toString.call(e)}]`}catch{return"[Unable to serialize data]"}}}},i=(e,t={})=>{const n={...o,...t},i=(o,i,s,c)=>{try{const l=((e,t,n,a)=>{const o=a.includeTimestamp?(new Date).toISOString():"";return`${o?`${o} `:""}${a.customPrefix?`${a.customPrefix} `:""}[${e}][${t}] ${n}`})(e,i,s,n),d=((e,t)=>{if(!e)return;const n="function"==typeof e?e():e;return n?t?r(n):n:void 0})(c,void 0!==t.stringifyData?t.stringifyData:a),p=console[o];void 0!==d?p(l,d):p(l)}catch(t){try{console.error("[Logger Error] Failed to log message:",t),console[o](`[${e}][${i}]`,s,c)}catch(e){}}};return{debug:(e,t,n)=>i("debug",e,t,n),info:(e,t,n)=>i("info",e,t,n),warn:(e,t,n)=>i("warn",e,t,n),error:(e,t,n)=>i("error",e,t,n)}}},277(e,t,n){n.d(t,{os:()=>s});var a=n(723),o=n(822);n(70);(0,o.h)("common.usageRegister");var r;!function(e){e.Browser="Browser",e.Dock="Dock",e.EnterpriseDock="EnterpriseDock",e.Home="Home",e.Notification="Notification",e.Storefront="Storefront",e.Platform="Platform",e.Theming="Theming",e.Microflow="Microflow"}(r||(r={}));const i=async(e,t,n="workspace-licensing")=>{const o={apiVersion:t.apiVersion||a.et,componentName:e,componentVersion:t.componentVersion||a.et,allowed:t.allowed,rejectionCode:t.rejectionCode};fin.System.registerUsage({type:n,data:o})};const s=e=>{i(r.Notification,e)};new Map},70(e,t,n){n.d(t,{ct:()=>i});n(78);var a=n(438),o=n(723);(0,n(822).h)("common.window");var r;!function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window",e.ClassicWindow="internal-generated-classic-window",e.BrowserAddressSearchPrefix="openfin-browser-menu-address-search-",e.DockCompanion="openfin-dock-companion",e.AICompanionPrefix="openfin-ai-companion-",e.AboutPageWindow="here-about-page",e.FindInPageViewPrefix="here-find-in-page-view-",e.BrowserMenu="openfin-browser-menu",e.BrowserSaveMenu="openfin-browser-save-menu",e.DockSaveWorkspaceMenu="openfin-dock3-save-workspace-menu",e.DropdownMenu="openfin-enterprise-dropdown-menu",e.EnterpriseContextMenu="openfin-enterprise-context-menu",e.TabSearchMenu="openfin-browser-tab-search-menu",e.EnterpriseBookmarkDialogWindow="openfin-enterprise-bookmark-dialog",e.ZoomControlsDialog="here-zoom-controls-dialog",e.UpdateVersionModal="here-update-version-modal",e.ApplyAndPublishModal="here-apply-and-publish-modal",e.PublishOnCloseModal="here-publish-on-close-modal",e.DesktopSignalsModal="here-desktop-signals-modal",e.IntentsResolverModal="here-intents-resolver-modal"}(r||(r={}));o.vL,o.$h;r.Home,a.MW.Workspace,r.Dock,a.MW.Workspace;const i={name:"Notification-Center",uuid:"notifications-service"};r.Storefront,a.MW.Workspace,a.MW.Workspace,a.MW.Workspace},812(e){e.exports=require("@openfin/notifications")}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};n.r(a),n.d(a,{deregister:()=>v,isLegacyNotifications:()=>u,register:()=>S,usesNotificationsSyncChannel:()=>f});var o=n(277),r=n(78),i=n(79),s=n(812),c={};for(const e in s)["default","usesNotificationsSyncChannel","isLegacyNotifications","register","deregister"].indexOf(e)<0&&(c[e]=()=>s[e]);n.d(a,c);const l=async e=>{if(e instanceof Error){let t=e.message;if(e.message.includes("register-notifications-platform")){if(t="Notifications platforms are not supported in versions below 1.13.0, try updating your notifications-service.",s?.provider?.getStatus){const{version:e}=await s.provider.getStatus();t+=` Your version is: ${e}`}return t}return e.message}return"string"==typeof e?e:"unknown error registering Notifications"},d=async e=>{if(e instanceof Error&&e.message.includes("register-notifications-platform"))throw new Error(await l(e));throw e},p="of-notifications-service-v1",f=e=>{const[t]=e.split("."),n=Number.parseInt(t,10);return Number.isFinite(n)&&n>=2},u=e=>{const[t,n]=e.split(".").map(Number);return t<2||2===t&&n<=13},g={channelName:r.XI},m=async(e,t,n=!1)=>{const a=f(t.notificationsVersion)?g.channelName:p,o=await fin.InterApplicationBus.Channel.connect(a,{wait:n}),r=f(t.notificationsVersion)?"register-platform":"register-notifications-platform";await o.dispatch(r,e)};async function S(e){try{const t=await(0,r.kz)(),n=e&&"notificationsCustomManifest"in e?{customManifest:e.notificationsCustomManifest}:void 0;let a=!1;t!==r.XI?(g.channelName=t,a=!0):n&&n.customManifest?.manifestUuid&&(g.channelName=`${n.customManifest.manifestUuid}-${r.XI}`,console.warn("Using 'notificationsCustomManifest' is deprecated. Please include custom manifest in platform manifest."));const c=await s.register(n),l=await(0,i.N)(fin.me.identity),d=await l.dispatch(i.OF.GetThemePaletteSheet,void 0),p=await l.dispatch(i.OF.GetNotificationIndicatorColorsInternal,void 0);if(e){const t=await l.dispatch(i.OF.GetSelectedScheme,void 0),n=u(c.notificationsVersion),o=n?await l.dispatch(i.OF.GetLegacyNotificationsThemeInternal,void 0):null,r="notificationsPlatformOptions"in e?e.notificationsPlatformOptions:e,s=o??d;await m({theme:s,...n?{}:{notificationsIndicatorColors:p},scheme:t,...r,workspacePlatform:{identity:fin.Platform.getCurrentSync().identity,analytics:{isSupported:!0}}},{notificationsVersion:c.notificationsVersion},a)}return(0,o.os)({allowed:!0,apiVersion:s.VERSION,componentVersion:c.notificationsVersion}),c}catch(e){(0,o.os)({allowed:!1,rejectionCode:await l(e),apiVersion:s.VERSION}),await d(e)}}const v=async e=>{try{const{version:t}=await s.provider.getStatus();if(null===t)throw new Error("Notifications service is not currently running.");await(async(e,t)=>{const n=f(t.notificationsVersion)?g.channelName:p,a=await fin.InterApplicationBus.Channel.connect(n,{wait:!1}),o=f(t.notificationsVersion)?"deregister-platform":"deregister-notifications-platform";await a.dispatch(o,e)})({id:e},{notificationsVersion:t})}catch(e){await d(e)}};module.exports=a})();
2
2
  //# sourceMappingURL=notifications.js.map