import*as e from"mobx";var a={4980(a,t,o){var s,n;a.exports=(s={action:()=>e.action,computed:()=>e.computed,makeObservable:()=>e.makeObservable,observable:()=>e.observable},n={},o.d(n,s),n)}},t={};function o(e){var s=t[e];if(void 0!==s)return s.exports;var n=t[e]={exports:{}};return a[e](n,n.exports,o),n.exports}o.d=(e,a)=>{for(var t in a)o.o(a,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a);var s={};o.d(s,{IB:()=>d,N_:()=>r,vz:()=>i});var n=o(4980);class r{get isMomentumV2Enabled(){return"momentumV2"===this.themeName}constructor(e){this.isDarkMode=!1,this.themeName="lumos",this.backgroundMode="DEFAULT",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,(0,n.makeObservable)(this,{isDarkMode:n.observable,themeName:n.observable,backgroundMode:n.observable,isVisualRebrandEnabled:n.observable,isMomentumAvatarEnabled:n.observable,isMomentumV2Enabled:n.computed,setDarkMode:n.action,setThemeName:n.action,setBackgroundMode:n.action,setVisualRebrandEnabled:n.action,setMomentumAvatar:n.action,update:n.action}),e&&this.update(e)}update(e){void 0!==e.isDarkMode&&(this.isDarkMode=e.isDarkMode),void 0!==e.themeName&&(this.themeName=e.themeName),void 0!==e.backgroundMode&&(this.backgroundMode=e.backgroundMode),void 0!==e.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=e.isVisualRebrandEnabled),void 0!==e.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=e.isMomentumAvatarEnabled)}setDarkMode(e){this.isDarkMode=e}setThemeName(e){this.themeName=e}setBackgroundMode(e){this.backgroundMode=e}setVisualRebrandEnabled(e){this.isVisualRebrandEnabled=e}setMomentumAvatar(e){this.isMomentumAvatarEnabled=e}}const i=new r;function d(e="MomentumUIThemeManager",a=i){"undefined"!=typeof globalThis&&(globalThis[e]=a),"undefined"!=typeof window&&(window[e]=a),void 0!==o.g&&(o.g[e]=a)}const b=s.N_,m=s.IB,l=s.vz;export{b as ThemeManager,m as registerThemeManagerGlobally,l as themeManager};