@commercetools-frontend/application-shell 22.22.0 → 22.23.1

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.
Files changed (52) hide show
  1. package/dist/commercetools-frontend-application-shell.cjs.dev.js +1 -2
  2. package/dist/commercetools-frontend-application-shell.cjs.prod.js +1 -2
  3. package/dist/commercetools-frontend-application-shell.esm.js +1 -2
  4. package/dist/{custom-view-dev-host-b588e152.cjs.prod.js → custom-view-dev-host-aca5a2a3.cjs.prod.js} +1 -2
  5. package/dist/{custom-view-dev-host-e143c8ee.cjs.dev.js → custom-view-dev-host-b941b20f.cjs.dev.js} +1 -2
  6. package/dist/{custom-view-dev-host-693c1073.esm.js → custom-view-dev-host-d2bdb695.esm.js} +1 -2
  7. package/dist/declarations/src/components/application-shell/application-shell.d.ts +0 -1
  8. package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +0 -1
  9. package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +0 -1
  10. package/dist/{index-4f6bae3a.esm.js → index-258ec977.esm.js} +28 -71
  11. package/dist/{index-dfc86bb9.cjs.prod.js → index-7ac3a9e4.cjs.prod.js} +19 -60
  12. package/dist/{index-5d3ef139.cjs.dev.js → index-ff1d4765.cjs.dev.js} +27 -71
  13. package/dist/{navbar-a138be79.cjs.prod.js → navbar-70ce6631.cjs.prod.js} +0 -1
  14. package/dist/{navbar-7645ab1b.esm.js → navbar-8ce541e6.esm.js} +0 -1
  15. package/dist/{navbar-bb30c5fb.cjs.dev.js → navbar-900f1217.cjs.dev.js} +0 -1
  16. package/dist/{oidc-callback-0688e093.cjs.prod.js → oidc-callback-126170a3.cjs.prod.js} +3 -5
  17. package/dist/{oidc-callback-b8c22ca0.cjs.dev.js → oidc-callback-2e9becba.cjs.dev.js} +4 -6
  18. package/dist/{oidc-callback-4463eeb9.esm.js → oidc-callback-746b086c.esm.js} +4 -6
  19. package/dist/{project-container-4194e639.cjs.dev.js → project-container-3188ce42.cjs.dev.js} +5 -6
  20. package/dist/{project-container-49a8abc7.esm.js → project-container-6eebd08b.esm.js} +5 -6
  21. package/dist/{project-container-017c69c1.cjs.prod.js → project-container-72f308ee.cjs.prod.js} +5 -6
  22. package/dist/{project-expired-8f7be4d4.esm.js → project-expired-3576036e.esm.js} +2 -3
  23. package/dist/{project-expired-96a20812.cjs.dev.js → project-expired-45199623.cjs.dev.js} +2 -3
  24. package/dist/{project-expired-e84c16cb.cjs.prod.js → project-expired-a0e944b1.cjs.prod.js} +2 -3
  25. package/dist/{project-not-found-b54f927a.cjs.dev.js → project-not-found-2f756fdf.cjs.dev.js} +2 -3
  26. package/dist/{project-not-found-9e46f616.cjs.prod.js → project-not-found-5dacd2eb.cjs.prod.js} +2 -3
  27. package/dist/{project-not-found-2f362813.esm.js → project-not-found-f5a02afb.esm.js} +2 -3
  28. package/dist/{project-not-initialized-120d67ff.esm.js → project-not-initialized-42e01022.esm.js} +2 -3
  29. package/dist/{project-not-initialized-526d6f13.cjs.prod.js → project-not-initialized-75853f20.cjs.prod.js} +2 -3
  30. package/dist/{project-not-initialized-257a64ba.cjs.dev.js → project-not-initialized-a4969788.cjs.dev.js} +2 -3
  31. package/dist/{project-suspended-cc5d6580.esm.js → project-suspended-42b5580c.esm.js} +2 -3
  32. package/dist/{project-suspended-e9b51d72.cjs.dev.js → project-suspended-53142ef4.cjs.dev.js} +2 -3
  33. package/dist/{project-suspended-8fd1ae50.cjs.prod.js → project-suspended-afb0cd04.cjs.prod.js} +2 -3
  34. package/dist/{quick-access-6231d22e.cjs.prod.js → quick-access-d47b723e.cjs.prod.js} +1 -3
  35. package/dist/{quick-access-86a24562.cjs.dev.js → quick-access-e431eb1a.cjs.dev.js} +1 -3
  36. package/dist/{quick-access-de02f2f3.esm.js → quick-access-edd48389.esm.js} +1 -3
  37. package/dist/{redirect-to-logout-cabd6bba.cjs.prod.js → redirect-to-logout-109ff6c4.cjs.prod.js} +1 -2
  38. package/dist/{redirect-to-logout-9e54a707.esm.js → redirect-to-logout-33c1c5e4.esm.js} +1 -2
  39. package/dist/{redirect-to-logout-6a0df269.cjs.dev.js → redirect-to-logout-5a0b700e.cjs.dev.js} +1 -2
  40. package/dist/{requests-in-flight-loader-292b2a9a.esm.js → requests-in-flight-loader-994cc81c.esm.js} +1 -2
  41. package/dist/{requests-in-flight-loader-6e485f71.cjs.dev.js → requests-in-flight-loader-e4bd07df.cjs.dev.js} +1 -2
  42. package/dist/{requests-in-flight-loader-6e83541c.cjs.prod.js → requests-in-flight-loader-fe71f727.cjs.prod.js} +1 -2
  43. package/dist/{service-page-project-switcher-b593aee9.cjs.dev.js → service-page-project-switcher-24d832ca.cjs.dev.js} +1 -1
  44. package/dist/{service-page-project-switcher-9fd82d4a.cjs.prod.js → service-page-project-switcher-b1081700.cjs.prod.js} +1 -1
  45. package/dist/{service-page-project-switcher-bd161317.esm.js → service-page-project-switcher-b3f9d033.esm.js} +1 -1
  46. package/dist/{version-tracker-5a1bab66.esm.js → version-tracker-4abaa703.esm.js} +1 -2
  47. package/dist/{version-tracker-4e5f25fe.cjs.prod.js → version-tracker-58628295.cjs.prod.js} +1 -2
  48. package/dist/{version-tracker-334418e4.cjs.dev.js → version-tracker-5dd7fa56.cjs.dev.js} +1 -2
  49. package/package.json +44 -44
  50. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +3 -0
  51. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +3 -0
  52. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +3 -0
@@ -55,7 +55,6 @@ var _possibleConstructorReturn = require('@babel/runtime-corejs3/helpers/possibl
55
55
  var _getPrototypeOf = require('@babel/runtime-corejs3/helpers/getPrototypeOf');
56
56
  require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
57
57
  var _sliceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/slice');
58
- var _setTimeout = require('@babel/runtime-corejs3/core-js-stable/set-timeout');
59
58
  var _Object$fromEntries = require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
60
59
  var _flagsInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/flags');
61
60
  var react$2 = require('@apollo/client/react');
@@ -103,7 +102,6 @@ var LoadingSpinner__default = /*#__PURE__*/_interopDefault(LoadingSpinner);
103
102
  var history__default = /*#__PURE__*/_interopDefault(history);
104
103
  var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construct);
105
104
  var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanceProperty);
106
- var _setTimeout__default = /*#__PURE__*/_interopDefault(_setTimeout);
107
105
  var _Object$fromEntries__default = /*#__PURE__*/_interopDefault(_Object$fromEntries);
108
106
  var _flagsInstanceProperty__default = /*#__PURE__*/_interopDefault(_flagsInstanceProperty);
109
107
  var combineAdapters__default = /*#__PURE__*/_interopDefault(combineAdapters);
@@ -117,9 +115,9 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
117
115
  var _someInstanceProperty__default = /*#__PURE__*/_interopDefault(_someInstanceProperty);
118
116
 
119
117
  // NOTE: This string will be replaced on build time with the package version.
120
- var applicationShellVersion = "22.22.0";
118
+ var applicationShellVersion = "22.23.1";
121
119
 
122
- const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-6e83541c.cjs.prod.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
120
+ const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-fe71f727.cjs.prod.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
123
121
 
124
122
  // Attempt to load the `projectKey` from localStorage
125
123
  function selectProjectKeyFromLocalStorage() {
@@ -563,7 +561,7 @@ FetchProject.propTypes = {
563
561
  };
564
562
  FetchProject.displayName = 'FetchProject';
565
563
 
566
- var LoggedInUserQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchLoggedInUser" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", alias: { kind: "Name", value: "user" }, name: { kind: "Name", value: "me" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "gravatarHash" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "firstName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "language" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "numberFormat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "timeZone" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingGroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingSubgroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTeam" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTenant" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingCloudEnvironment" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultProjectKey" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "businessRole" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "projects" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "idTokenUserInfo" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "iss" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "sub" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "aud" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "exp" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "iat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "additionalClaims" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 723, source: { body: "query FetchLoggedInUser {\n user: me {\n id\n email\n createdAt\n gravatarHash\n firstName\n lastName\n language\n numberFormat\n timeZone\n launchdarklyTrackingId\n launchdarklyTrackingGroup\n launchdarklyTrackingSubgroup\n launchdarklyTrackingTeam\n launchdarklyTrackingTenant\n launchdarklyTrackingCloudEnvironment\n defaultProjectKey\n businessRole\n projects {\n total\n results {\n name\n key\n suspension {\n isActive\n }\n expiry {\n isActive\n }\n isProductionProject\n }\n }\n idTokenUserInfo {\n iss\n sub\n aud\n exp\n iat\n email\n name\n additionalClaims\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
564
+ var LoggedInUserQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchLoggedInUser" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", alias: { kind: "Name", value: "user" }, name: { kind: "Name", value: "me" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "gravatarHash" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "firstName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "language" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "numberFormat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "timeZone" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingGroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingSubgroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTeam" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingCloudEnvironment" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultProjectKey" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "businessRole" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "projects" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "idTokenUserInfo" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "iss" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "sub" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "aud" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "exp" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "iat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "additionalClaims" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 692, source: { body: "query FetchLoggedInUser {\n user: me {\n id\n email\n createdAt\n gravatarHash\n firstName\n lastName\n language\n numberFormat\n timeZone\n launchdarklyTrackingId\n launchdarklyTrackingGroup\n launchdarklyTrackingSubgroup\n launchdarklyTrackingTeam\n launchdarklyTrackingCloudEnvironment\n defaultProjectKey\n businessRole\n projects {\n total\n results {\n name\n key\n suspension {\n isActive\n }\n expiry {\n isActive\n }\n isProductionProject\n }\n }\n idTokenUserInfo {\n iss\n sub\n aud\n exp\n iat\n email\n name\n additionalClaims\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
567
565
  const FetchUser = props => {
568
566
  const _useMcQuery = applicationShellConnectors.useMcQuery(LoggedInUserQuery, {
569
567
  onError: sentry.reportErrorToSentry,
@@ -587,9 +585,9 @@ FetchUser.propTypes = {
587
585
  };
588
586
  FetchUser.displayName = 'FetchUser';
589
587
 
590
- const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-a138be79.cjs.prod.js' /* webpackChunkName: "navbar" */); }));
588
+ const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-70ce6631.cjs.prod.js' /* webpackChunkName: "navbar" */); }));
591
589
 
592
- const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-017c69c1.cjs.prod.js' /* webpackChunkName: "project-container" */); }));
590
+ const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-72f308ee.cjs.prod.js' /* webpackChunkName: "project-container" */); }));
593
591
 
594
592
  const getSelectedDataLocaleForProject = projectLocales => {
595
593
  const cachedDataLocale = window.localStorage.getItem(constants.STORAGE_KEYS.SELECTED_DATA_LOCALE);
@@ -626,7 +624,7 @@ ProjectDataLocale.propTypes = {
626
624
  ProjectDataLocale.displayName = 'ProjectDataLocale';
627
625
 
628
626
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
629
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct__default["default"]) return false; if (_Reflect$construct__default["default"].sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); return true; } catch (e) { return false; } }
627
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
630
628
  let ErrorBoundary = /*#__PURE__*/function (_Component) {
631
629
  _inherits(ErrorBoundary, _Component);
632
630
  var _super = _createSuper(ErrorBoundary);
@@ -701,8 +699,7 @@ var pimIndexerStates = {
701
699
  NOT_INDEXED: 'NOT_INDEXED'
702
700
  };
703
701
 
704
- const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-6231d22e.cjs.prod.js' /* webpackChunkName: "quick-access" */); }));
705
-
702
+ const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-d47b723e.cjs.prod.js' /* webpackChunkName: "quick-access" */); }));
706
703
  const QuickAccessTrigger = props => {
707
704
  const _useState = react.useState(false),
708
705
  _useState2 = _slicedToArray(_useState, 2),
@@ -788,7 +785,7 @@ const QuickAccessTrigger = props => {
788
785
  QuickAccessTrigger.propTypes = {};
789
786
  QuickAccessTrigger.displayName = 'QuickAccessTrigger';
790
787
 
791
- const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-cabd6bba.cjs.prod.js' /* webpackChunkName: "redirect-to-logout" */); }));
788
+ const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-109ff6c4.cjs.prod.js' /* webpackChunkName: "redirect-to-logout" */); }));
792
789
 
793
790
  const RedirectToProjectCreate = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-project-create-c962f72f.cjs.prod.js' /* webpackChunkName: "redirect-to-project-create" */); }));
794
791
 
@@ -824,45 +821,12 @@ const useAllMenuFeatureToggles = () => {
824
821
  function ownKeys$7(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
825
822
  function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$7(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$7(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
826
823
  var AllFeaturesQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "AllFeatures" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 72, source: { body: "query AllFeatures {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
827
- const WAIT_FOR_REMOTE_FLAGS_TIMEOUT = 500; // milliseconds
828
-
829
- const StatusAwareRenderer = props => {
830
- const _useState = react.useState(!props.shouldWaitForRemoteFlags),
831
- _useState2 = _slicedToArray(_useState, 2),
832
- shouldRender = _useState2[0],
833
- setShouldRender = _useState2[1];
834
- const _useAdapterStatus = reactBroadcast.useAdapterStatus(),
835
- isReady = _useAdapterStatus.isReady;
836
- const displayTimeout = react.useRef();
837
- if (isReady && !shouldRender) {
838
- setShouldRender(true);
839
- clearTimeout(displayTimeout.current);
840
- }
841
- react.useEffect(() => {
842
- displayTimeout.current = _setTimeout__default["default"](() => {
843
- setShouldRender(true);
844
- }, WAIT_FOR_REMOTE_FLAGS_TIMEOUT);
845
- return () => {
846
- clearTimeout(displayTimeout.current);
847
- };
848
- }, []);
849
- return shouldRender ? jsxRuntime.jsx(jsxRuntime.Fragment, {
850
- children: props.children
851
- }) : null;
852
- };
853
- StatusAwareRenderer.propTypes = {
854
- shouldWaitForRemoteFlags: _pt__default["default"].bool,
855
- children: _pt__default["default"].node.isRequired
856
- };
857
- StatusAwareRenderer.defaultProps = {
858
- shouldWaitForRemoteFlags: true
859
- };
860
824
  // This value is hard-coded here because we want to make sure that the
861
825
  // app uses our account of LD. The value is meant to be public, so there
862
826
  // is no need to be concerned about security.
863
827
  const ldClientSideIdProduction = '5979d95f6040390cd07b5e01';
864
828
  function getUserContextForLaunchDarklyAdapter(user, projectKey) {
865
- var _user$launchdarklyTra, _user$launchdarklyTra2, _user$launchdarklyTra3, _user$launchdarklyTra4, _user$launchdarklyTra5, _user$launchdarklyTra6;
829
+ var _user$launchdarklyTra, _user$launchdarklyTra2, _user$launchdarklyTra3, _user$launchdarklyTra4, _user$launchdarklyTra5;
866
830
  return {
867
831
  kind: 'user',
868
832
  key: user === null || user === void 0 ? void 0 : user.id,
@@ -871,8 +835,7 @@ function getUserContextForLaunchDarklyAdapter(user, projectKey) {
871
835
  team: (_user$launchdarklyTra2 = user === null || user === void 0 ? void 0 : user.launchdarklyTrackingTeam) !== null && _user$launchdarklyTra2 !== void 0 ? _user$launchdarklyTra2 : [],
872
836
  group: (_user$launchdarklyTra3 = user === null || user === void 0 ? void 0 : user.launchdarklyTrackingGroup) !== null && _user$launchdarklyTra3 !== void 0 ? _user$launchdarklyTra3 : '',
873
837
  subgroup: (_user$launchdarklyTra4 = user === null || user === void 0 ? void 0 : user.launchdarklyTrackingSubgroup) !== null && _user$launchdarklyTra4 !== void 0 ? _user$launchdarklyTra4 : '',
874
- tenant: (_user$launchdarklyTra5 = user === null || user === void 0 ? void 0 : user.launchdarklyTrackingTenant) !== null && _user$launchdarklyTra5 !== void 0 ? _user$launchdarklyTra5 : '',
875
- cloudEnvironment: (_user$launchdarklyTra6 = user === null || user === void 0 ? void 0 : user.launchdarklyTrackingCloudEnvironment) !== null && _user$launchdarklyTra6 !== void 0 ? _user$launchdarklyTra6 : ''
838
+ cloudEnvironment: (_user$launchdarklyTra5 = user === null || user === void 0 ? void 0 : user.launchdarklyTrackingCloudEnvironment) !== null && _user$launchdarklyTra5 !== void 0 ? _user$launchdarklyTra5 : ''
876
839
  };
877
840
  }
878
841
  const parseFlags = fetchedFlags => {
@@ -894,7 +857,7 @@ const SetupFlopFlipProvider = props => {
894
857
  combineAdapters__default["default"].combine([ldAdapter__default["default"]]);
895
858
  }
896
859
  }, [enableLongLivedFeatureFlags]);
897
- const defaultFlags = react.useMemo(() => _objectSpread$7(_objectSpread$7(_objectSpread$7({}, constants.featureFlags.FLAGS), allMenuFeatureToggles.allFeatureToggles), props.defaultFlags), [allMenuFeatureToggles.allFeatureToggles, props.defaultFlags]);
860
+ const defaultFlags = react.useMemo(() => _objectSpread$7(_objectSpread$7(_objectSpread$7({}, constants.featureFlags.DEFAULT_FLAGS), allMenuFeatureToggles.allFeatureToggles), props.defaultFlags), [allMenuFeatureToggles.allFeatureToggles, props.defaultFlags]);
898
861
  const adapterArgs = react.useMemo(() => {
899
862
  var _props$user, _props$ldClientSideId, _props$user2;
900
863
  return {
@@ -922,6 +885,7 @@ const SetupFlopFlipProvider = props => {
922
885
  const response = await apolloClient.query({
923
886
  query: AllFeaturesQuery,
924
887
  errorPolicy: 'ignore',
888
+ fetchPolicy: 'network-only',
925
889
  context: {
926
890
  target: constants.GRAPHQL_TARGETS.MERCHANT_CENTER_BACKEND
927
891
  }
@@ -936,10 +900,7 @@ const SetupFlopFlipProvider = props => {
936
900
  adapterArgs: adapterArgs,
937
901
  defaultFlags: defaultFlags,
938
902
  shouldDeferAdapterConfiguration: typeof props.shouldDeferAdapterConfiguration === 'boolean' ? props.shouldDeferAdapterConfiguration : !props.user || allMenuFeatureToggles.isLoading,
939
- children: jsxRuntime.jsx(StatusAwareRenderer, {
940
- shouldWaitForRemoteFlags: props.shouldWaitForRemoteFlags,
941
- children: props.children
942
- })
903
+ children: props.children
943
904
  });
944
905
  };
945
906
  SetupFlopFlipProvider.propTypes = {};
@@ -947,17 +908,16 @@ SetupFlopFlipProvider.displayName = 'SetupFlopFlipProvider';
947
908
 
948
909
  const NewColoursSchemaAnnouncementDialog = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./new-colors-schema-announcement-dialog-661fb5e5.cjs.prod.js'); }));
949
910
  const ThemeSwitcher = () => {
950
- const isRecolouringThemeEnabled = reactBroadcast.useFeatureToggle(constants.featureFlags.RECOLOURING);
951
- const theme = isRecolouringThemeEnabled ? 'recolouring' : 'default';
911
+ const theme = 'recolouring';
952
912
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
953
913
  children: [jsxRuntime.jsx(designSystem.ThemeProvider, {
954
914
  theme: theme,
955
915
  themeOverrides: applicationComponents.themesOverrides[theme]
956
- }), isRecolouringThemeEnabled && jsxRuntime.jsx(NewColoursSchemaAnnouncementDialog, {})]
916
+ }), jsxRuntime.jsx(NewColoursSchemaAnnouncementDialog, {})]
957
917
  });
958
918
  };
959
919
 
960
- const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-4e5f25fe.cjs.prod.js' /* webpackChunkName: "version-tracker" */); }));
920
+ const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-58628295.cjs.prod.js' /* webpackChunkName: "version-tracker" */); }));
961
921
 
962
922
  function ownKeys$6(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
963
923
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$6(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$6(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
@@ -1435,7 +1395,7 @@ const hasCachedAuthenticationState = () => {
1435
1395
  return window.localStorage.getItem(constants.STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
1436
1396
  };
1437
1397
 
1438
- const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-0688e093.cjs.prod.js' /* webpackChunkName: "oidc-callback" */); }));
1398
+ const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-126170a3.cjs.prod.js' /* webpackChunkName: "oidc-callback" */); }));
1439
1399
 
1440
1400
  function ownKeys$4(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
1441
1401
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
@@ -1633,7 +1593,6 @@ const ApplicationShell = props => {
1633
1593
  children: jsxRuntime.jsx(ApplicationShellAuthenticated, {
1634
1594
  defaultFeatureFlags: props.defaultFeatureFlags,
1635
1595
  featureFlags: props.featureFlags,
1636
- shouldWaitForRemoteFlags: props.shouldWaitForRemoteFlags,
1637
1596
  render: props.render,
1638
1597
  applicationMessages: props.applicationMessages,
1639
1598
  onMenuItemClick: props.onMenuItemClick,
@@ -1652,7 +1611,7 @@ ApplicationShell.propTypes = {};
1652
1611
  ApplicationShell.displayName = 'ApplicationShell';
1653
1612
  ApplicationShell.version = applicationShellVersion;
1654
1613
 
1655
- const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-b588e152.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
1614
+ const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-aca5a2a3.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
1656
1615
 
1657
1616
  function CustomViewFlopFlipProvider(props) {
1658
1617
  var _props$user2;
@@ -1824,7 +1783,7 @@ function StrictModeEnablement(props) {
1824
1783
  }
1825
1784
  StrictModeEnablement.propTypes = {};
1826
1785
  function CustomViewThemeProvider() {
1827
- const theme = reactBroadcast.useFeatureToggle('mcRecolouring') ? 'recolouring' : 'default';
1786
+ const theme = 'recolouring';
1828
1787
  const customViewThemeOverrides = _objectSpread$1(_objectSpread$1({}, applicationComponents.themesOverrides[theme]), customViewsThemesOverrides[theme]);
1829
1788
  return jsxRuntime.jsx(designSystem.ThemeProvider, {
1830
1789
  theme: theme,