"use strict";

exports.__esModule = true;
exports.default = void 0;

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

/* istanbul ignore file */
// Override values to use Orckestra icon sheet and colors
// See also orc-shared/src/getTheme.js#setApplicationColors()
var colors = {
  orckestraBlue: "#00b2e2",
  pim: {
    base: "#0a98cf",
    highlight: "#8ad5f2"
  },
  oms: {
    base: "#1f5b7f",
    primary: "#b4cfe3",
    highlight: "#b4cfe3",
    select: "#b4cfe3"
  },
  marketing: {
    base: "#fd6b35",
    highlight: "#fd6b35"
  },
  analytics: {
    base: "#ffa205",
    dark: "#cf8409",
    highlight: "#f1eae0"
  }
};

var getThemeOverrides = function getThemeOverrides(appName) {
  var application = colors[appName] || {
    base: "#ff00ff",
    // Deliberately godawful default value
    highlight: "#efefef"
  };
  return {
    colors: _objectSpread(_objectSpread({}, colors), {}, {
      application: application
    })
  };
};

var _default = getThemeOverrides;
var _default2 = _default;
var _default3 = _default2;
exports.default = _default3;
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(colors, "colors", "/home/vsts/work/1/s/src/getThemeOverrides.js");
  reactHotLoader.register(getThemeOverrides, "getThemeOverrides", "/home/vsts/work/1/s/src/getThemeOverrides.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/getThemeOverrides.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();

;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(colors, "colors", "/home/vsts/work/1/s/src/getThemeOverrides.js");
  reactHotLoader.register(getThemeOverrides, "getThemeOverrides", "/home/vsts/work/1/s/src/getThemeOverrides.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/getThemeOverrides.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();