@bigbinary/neeto-molecules 4.1.17 → 4.1.18

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.
@@ -28,13 +28,16 @@ var jsxRuntime = require('react/jsx-runtime');
28
28
  var reactQuery = require('@tanstack/react-query');
29
29
  var axios = require('axios');
30
30
  var Crown = require('@bigbinary/neeto-icons/Crown');
31
- var i18next = require('i18next');
32
- var Book = require('@bigbinary/neeto-icons/Book');
33
31
  var useBreakpoints = require('@bigbinary/neeto-commons-frontend/react-utils/useBreakpoints');
34
- var CheckCircle = require('@bigbinary/neeto-icons/CheckCircle');
35
- var Tag = require('@bigbinary/neetoui/Tag');
32
+ var Book = require('@bigbinary/neeto-icons/Book');
33
+ var ChatQuestions = require('@bigbinary/neeto-icons/ChatQuestions');
34
+ var Community = require('@bigbinary/neeto-icons/Community');
35
+ var Status = require('@bigbinary/neeto-icons/Status');
36
36
  var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
37
37
  var Right = require('@bigbinary/neeto-icons/Right');
38
+ var i18next = require('i18next');
39
+ var CheckCircle = require('@bigbinary/neeto-icons/CheckCircle');
40
+ var Tag = require('@bigbinary/neetoui/Tag');
38
41
  var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
39
42
  var useLocalStorage = require('@bigbinary/neeto-commons-frontend/react-utils/useLocalStorage');
40
43
  var Moon = require('@bigbinary/neeto-icons/Moon');
@@ -85,21 +88,21 @@ var SPECIAL_APP_NAMES = {
85
88
  var css$1 = ".neeto-molecules-product-switcher__wrapper{align-items:flex-start;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:column;justify-content:flex-start;max-width:100%;overflow-y:auto;padding:24px;position:relative;transition:all .3s;width:100%}@media (prefers-reduced-motion:reduce){.neeto-molecules-product-switcher__wrapper{transition:none}}@media screen and (max-width:768px){.neeto-molecules-product-switcher__wrapper{padding:16px}}.neeto-molecules-product-switcher__grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(288px,1fr))}@media only screen and (max-width:992px){.neeto-molecules-product-switcher__grid{grid-template-columns:repeat(auto-fill,minmax(248px,1fr))}}@media only screen and (max-width:640px){.neeto-molecules-product-switcher__grid{grid-template-columns:repeat(auto-fill,minmax(100%,1fr))}}.neeto-molecules-product-switcher__header{align-items:center;display:flex;gap:32px;justify-content:space-between;margin-bottom:32px;position:relative;width:100%}@media only screen and (max-width:768px){.neeto-molecules-product-switcher__header{align-items:flex-start;flex-direction:column;gap:24px}}@media only screen and (max-width:640px){.neeto-molecules-product-switcher__header h1{font-size:24px}}@media only screen and (max-width:768px){.neeto-molecules-product-switcher_modal-container .neeto-molecules-product-switcher__header-mobile{align-items:flex-start;margin-bottom:24px}}.neeto-molecules-product-switcher_modal-container .neeto-molecules-product-switcher__wrapper{padding:0}.neeto-molecules-product-switcher__close-btn{inset-inline-end:12px;position:absolute;top:12px}.neeto-molecules-product-switcher__search-wrapper{flex-grow:1}@media only screen and (min-width:992px){.neeto-molecules-product-switcher__search-wrapper{flex-grow:0;width:296px}}.neeto-molecules-product-switcher__body{display:flex;flex-direction:column;font-size:var(--neeto-ui-text-sm);gap:12px;margin-bottom:24px;width:100%}.neeto-molecules-product-switcher-link{background-color:rgb(var(--neeto-ui-white));border-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-lg);border-style:solid;border-width:1px;cursor:pointer;display:flex;flex-direction:column;gap:16px;max-width:100%;padding:10px 8px;text-decoration:none;transition:all .3s ease-in-out;width:100%}@media (prefers-reduced-motion:reduce){.neeto-molecules-product-switcher-link{transition:none}}.neeto-molecules-product-switcher-link:focus,.neeto-molecules-product-switcher-link:focus-visible{outline:none}.neeto-molecules-product-switcher-link:focus-visible{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-product-switcher-link:not(.neeto-molecules-product-switcher-link--active):hover{border-color:rgb(var(--neeto-ui-primary-500))}.neeto-molecules-product-switcher-link--active{background-color:rgb(var(--neeto-ui-primary-50));border-color:rgb(var(--neeto-ui-primary-500))}.neeto-molecules-product-switcher-link--highlighted{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-product-switcher-link__icon-holder{flex-grow:1;flex-shrink:0}.neeto-molecules-product-switcher-link__icon-holder svg{height:36px;width:auto}.neeto-molecules-product-switcher-link__icon-holder .neeto-molecules-product-switcher-link__icon-default{height:24px}.neeto-molecules-product-switcher-link__content{flex-shrink:0}.neeto-molecules-product-switcher-link__content span{display:block}.neeto-molecules-product-switcher_modal{z-index:100000}.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper--fullscreen{display:flex;flex-direction:column;height:100dvh!important;width:100vw!important}.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper--fullscreen .neeto-ui-modal__header{flex-shrink:0}.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper--fullscreen .neeto-ui-modal__body{--neeto-ui-modal-body-padding-top:24px;flex-grow:1;min-height:0;overflow-y:auto}.neeto-ui-theme--dark .neeto-molecules-product-switcher__wrapper [data-dark-mode-color=true]{fill:rgb(var(--neeto-ui-black))}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal{--neeto-molecules-product-switcher-modal-padding-y:24px;align-items:flex-start;padding-bottom:var(--neeto-molecules-product-switcher-modal-padding-y);padding-top:var(--neeto-molecules-product-switcher-modal-padding-y)}@media only screen and (min-width:1024px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal{--neeto-molecules-product-switcher-modal-padding-y:40px}}@media only screen and (min-width:1536px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal{--neeto-molecules-product-switcher-modal-padding-y:80px}}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large{--neeto-ui-modal-body-padding-top:24px;--neeto-ui-modal-body-padding-bottom:24px;--neeto-ui-modal-close-btn-top:12px;--neeto-ui-modal-close-btn-right:12px;--neeto-ui-modal-body-padding-x:0;--neeto-ui-text-h1:24px}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher-link__icon-holder svg{height:32px}@media only screen and (min-width:1024px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large{--neeto-ui-modal-wrapper-width:960px}}@media only screen and (min-width:1280px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large{--neeto-ui-modal-wrapper-width:1024px}}@media only screen and (min-width:1536px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large{--neeto-ui-modal-wrapper-width:1280px}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher-link__icon-holder svg{height:36px}}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher__header{background-color:rgb(var(--neeto-ui-white));margin-bottom:32px;padding-inline-end:56px;padding-inline-start:24px}@media only screen and (max-width:768px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher__header{gap:16px;margin-bottom:16px}}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher__body{height:calc(100dvh - var(--neeto-molecules-product-switcher-modal-padding-y)*2 - 124px);margin-bottom:0;overflow-y:auto;padding-inline-end:24px;padding-inline-start:24px}@media only screen and (max-width:768px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher__body{height:calc(90dvh - var(--neeto-molecules-product-switcher-modal-padding-y)*2 - 124px)}}.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-ui-modal__close{z-index:2}@media only screen and (min-width:1280px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher__search-wrapper{width:420px}}@media only screen and (min-width:1536px){.neeto-ui-modal__backdrop.neeto-molecules-product-switcher_modal .neeto-ui-modal__wrapper.neeto-ui-modal__wrapper--large .neeto-molecules-product-switcher__search-wrapper{width:500px}}";
86
89
  injectCss.n(css$1,{});
87
90
 
88
- var _excluded$2 = ["name", "description", "url", "isHighlighted"];
89
- function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
90
- function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
91
+ var _excluded$3 = ["name", "description", "url", "isHighlighted"];
92
+ function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
93
+ function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
91
94
  var ProductLink = function ProductLink(_ref) {
92
95
  var name = _ref.name,
93
96
  description = _ref.description,
94
97
  url = _ref.url,
95
98
  _ref$isHighlighted = _ref.isHighlighted,
96
99
  isHighlighted = _ref$isHighlighted === void 0 ? false : _ref$isHighlighted,
97
- props = _objectWithoutProperties(_ref, _excluded$2);
100
+ props = _objectWithoutProperties(_ref, _excluded$3);
98
101
  var normalizedName = (name || "").toLowerCase();
99
102
  var specialCase = SPECIAL_APP_NAMES[normalizedName];
100
103
  var appName = "Neeto".concat(name.charAt(0)).concat(name.slice(1).toLowerCase());
101
104
  var AppIcon = specialCase ? AppIcons__namespace["Neeto".concat(specialCase)] : AppIcons__namespace[appName];
102
- return /*#__PURE__*/jsxRuntime.jsxs("a", _objectSpread$6(_objectSpread$6({
105
+ return /*#__PURE__*/jsxRuntime.jsxs("a", _objectSpread$7(_objectSpread$7({
103
106
  "data-testid": "".concat(normalizedName, "-app-link"),
104
107
  href: url,
105
108
  rel: "noreferrer",
@@ -128,8 +131,8 @@ var ProductLink = function ProductLink(_ref) {
128
131
  };
129
132
  var ProductLink$1 = /*#__PURE__*/React.memo(ProductLink);
130
133
 
131
- function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
132
- function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
134
+ function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
135
+ function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
133
136
  var Content = function Content(_ref) {
134
137
  var highlightedIndex = _ref.highlightedIndex,
135
138
  filteredApps = _ref.filteredApps,
@@ -145,7 +148,7 @@ var Content = function Content(_ref) {
145
148
  return (filteredApps === null || filteredApps === void 0 ? void 0 : filteredApps.length) > 0 ? /*#__PURE__*/jsxRuntime.jsx("div", {
146
149
  className: "neeto-molecules-product-switcher__grid",
147
150
  children: filteredApps.map(function (app, index) {
148
- return /*#__PURE__*/jsxRuntime.jsx(ProductLink$1, _objectSpread$5(_objectSpread$5({}, app), {}, {
151
+ return /*#__PURE__*/jsxRuntime.jsx(ProductLink$1, _objectSpread$6(_objectSpread$6({}, app), {}, {
149
152
  "data-highlighted-index": index,
150
153
  isHighlighted: index === highlightedIndex
151
154
  }), app.name);
@@ -165,10 +168,10 @@ var neetoAppsApi = {
165
168
  fetch: fetch$1
166
169
  };
167
170
 
168
- function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
169
- function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
171
+ function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
172
+ function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
170
173
  var useFetchNeetoApps = function useFetchNeetoApps(options) {
171
- return reactQuery.useQuery(_objectSpread$4({
174
+ return reactQuery.useQuery(_objectSpread$5({
172
175
  queryKey: [QUERY_KEYS$1.NEETO_APPS_LIST],
173
176
  queryFn: neetoAppsApi.fetch
174
177
  }, options));
@@ -263,7 +266,7 @@ var useProductSwitcherNavigation = function useProductSwitcherNavigation() {
263
266
  };
264
267
  };
265
268
 
266
- var Menu$3 = function Menu(_ref) {
269
+ var Menu$4 = function Menu(_ref) {
267
270
  var _ref$isMobile = _ref.isMobile,
268
271
  isMobile = _ref$isMobile === void 0 ? false : _ref$isMobile,
269
272
  initialFocusRef = _ref.initialFocusRef;
@@ -347,7 +350,7 @@ var Modal = function Modal(_ref) {
347
350
  children: /*#__PURE__*/jsxRuntime.jsx("div", {
348
351
  className: "neeto-molecules-product-switcher_modal-container",
349
352
  "data-testid": "product-switcher-modal",
350
- children: /*#__PURE__*/jsxRuntime.jsx(Menu$3, {
353
+ children: /*#__PURE__*/jsxRuntime.jsx(Menu$4, {
351
354
  initialFocusRef: initialFocusRef
352
355
  })
353
356
  })
@@ -355,6 +358,94 @@ var Modal = function Modal(_ref) {
355
358
  });
356
359
  };
357
360
 
361
+ var _excluded$2 = ["t", "tReady"];
362
+ function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
363
+ function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
364
+ var MenuItem$7 = Dropdown$1.MenuItem;
365
+ var MenuButton$3 = reactUtils.withT(function (_ref) {
366
+ var t = _ref.t;
367
+ _ref.tReady;
368
+ var otherProps = _objectWithoutProperties(_ref, _excluded$2);
369
+ return /*#__PURE__*/jsxRuntime.jsx(MenuItem$7.Button, _objectSpread$4(_objectSpread$4({
370
+ className: "neeto-molecules-menu-sublist__item-btn",
371
+ "data-testid": "help-menu-button",
372
+ prefix: /*#__PURE__*/jsxRuntime.jsx(Help, {
373
+ size: 18
374
+ }),
375
+ style: "text",
376
+ suffix: /*#__PURE__*/jsxRuntime.jsx(Right, {
377
+ className: "rtl:scale-x-[-1]",
378
+ size: 18
379
+ })
380
+ }, otherProps), {}, {
381
+ children: t("neetoMolecules.sidebar.help")
382
+ }));
383
+ });
384
+
385
+ var Menu$3 = Dropdown$1.Menu,
386
+ MenuItem$6 = Dropdown$1.MenuItem;
387
+ var HelpMenu = function HelpMenu() {
388
+ var _useTranslation = reactI18next.useTranslation(),
389
+ t = _useTranslation.t;
390
+ var _useBreakpoints = useBreakpoints(),
391
+ isSize = _useBreakpoints.isSize;
392
+ var isMobile = isSize("mobile");
393
+ return /*#__PURE__*/jsxRuntime.jsx(Dropdown$1, {
394
+ closeOnSelect: false,
395
+ customTarget: /*#__PURE__*/jsxRuntime.jsx(MenuButton$3, {}),
396
+ interactiveDebounce: 30,
397
+ offset: [0, 5],
398
+ position: isMobile ? "bottom" : "right",
399
+ trigger: "all",
400
+ zIndex: 99999,
401
+ children: /*#__PURE__*/jsxRuntime.jsxs(Menu$3, {
402
+ children: [/*#__PURE__*/jsxRuntime.jsx(MenuItem$6.Button, {
403
+ className: "neeto-molecules-menu-sublist__item-btn",
404
+ "data-testid": "help-link-help-articles-button",
405
+ href: "https://help.".concat(ramda.toLower(globalProps.appName), ".com/"),
406
+ prefix: /*#__PURE__*/jsxRuntime.jsx(Book, {
407
+ size: 18
408
+ }),
409
+ rel: "noreferrer",
410
+ target: "_blank",
411
+ children: t("neetoMolecules.sidebar.helpLinks.helpArticles")
412
+ }), /*#__PURE__*/jsxRuntime.jsx(MenuItem$6.Button, {
413
+ className: "neeto-molecules-menu-sublist__item-btn",
414
+ "data-testid": "help-link-live-chat-button",
415
+ prefix: /*#__PURE__*/jsxRuntime.jsx(ChatQuestions, {
416
+ size: 18
417
+ }),
418
+ onClick: function onClick() {
419
+ var _window$NeetoChat, _window$NeetoChat2;
420
+ (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 || (_window$NeetoChat = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat === void 0 || _window$NeetoChat.maximizeWidget();
421
+ (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 || (_window$NeetoChat2 = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2 === void 0 || _window$NeetoChat2.openWidget();
422
+ },
423
+ children: t("neetoMolecules.sidebar.helpLinks.liveChat")
424
+ }), /*#__PURE__*/jsxRuntime.jsx(MenuItem$6.Button, {
425
+ className: "neeto-molecules-menu-sublist__item-btn",
426
+ "data-testid": "help-link-community-button",
427
+ href: "https://www.launchpass.com/neetohq",
428
+ prefix: /*#__PURE__*/jsxRuntime.jsx(Community, {
429
+ size: 18
430
+ }),
431
+ rel: "noreferrer",
432
+ target: "_blank",
433
+ children: t("neetoMolecules.sidebar.helpLinks.askTheCommunity")
434
+ }), /*#__PURE__*/jsxRuntime.jsx(MenuItem$6.Button, {
435
+ className: "neeto-molecules-menu-sublist__item-btn",
436
+ "data-testid": "help-link-status-button",
437
+ href: "https://neetostatus.com/",
438
+ prefix: /*#__PURE__*/jsxRuntime.jsx(Status, {
439
+ size: 18
440
+ }),
441
+ rel: "noreferrer",
442
+ target: "_blank",
443
+ children: t("neetoMolecules.sidebar.helpLinks.systemStatus")
444
+ })]
445
+ })
446
+ });
447
+ };
448
+
358
449
  var shouldShowWhatsNew = function shouldShowWhatsNew() {
359
450
  var _window$globalProps;
360
451
  var currentUserEmail = (_window$globalProps = window.globalProps) === null || _window$globalProps === void 0 || (_window$globalProps = _window$globalProps.user) === null || _window$globalProps === void 0 ? void 0 : _window$globalProps.email;
@@ -362,25 +453,6 @@ var shouldShowWhatsNew = function shouldShowWhatsNew() {
362
453
  };
363
454
  var MY_ORGANIZATION_URL = "/auth/organization/edit";
364
455
  var ENGAGE_WIDGET_TRIGGER_ID = "neetoengage-trigger";
365
- var DEFAULT_HELP_LINK_PROPS = {
366
- helpCenterProps: {
367
- label: i18next.t("neetoMolecules.sidebar.helpLinks.helpCenter"),
368
- icon: Book,
369
- "data-testid": "help-link-help-center-button",
370
- href: "https://help.".concat(ramda.toLower(globalProps.appName), ".com/"),
371
- target: "_blank"
372
- },
373
- liveChatProps: {
374
- label: i18next.t("neetoMolecules.sidebar.helpLinks.liveChat"),
375
- icon: Help,
376
- "data-testid": "help-link-live-chat-button",
377
- onClick: function onClick() {
378
- var _window$NeetoChat, _window$NeetoChat2;
379
- (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 || (_window$NeetoChat = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat === void 0 || _window$NeetoChat.maximizeWidget();
380
- (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 || (_window$NeetoChat2 = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2 === void 0 || _window$NeetoChat2.openWidget();
381
- }
382
- }
383
- };
384
456
  var DEFAULT_MENU_LINK_PROPS = {
385
457
  engageProps: {
386
458
  id: ENGAGE_WIDGET_TRIGGER_ID,
@@ -391,22 +463,6 @@ var DEFAULT_MENU_LINK_PROPS = {
391
463
  keyboardShortcutProps: {
392
464
  label: i18next.t("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
393
465
  "data-testid": "help-link-keyboard-shortcut-button"
394
- },
395
- statusProps: {
396
- label: i18next.t("neetoMolecules.sidebar.helpLinks.productStatus", {
397
- app: globalProps.appName
398
- }),
399
- "data-testid": "help-link-status-button",
400
- href: "https://neetostatus.com/",
401
- target: "_blank"
402
- },
403
- communityProps: {
404
- label: i18next.t("neetoMolecules.sidebar.helpLinks.community", {
405
- app: globalProps.appName
406
- }),
407
- "data-testid": "help-link-community-button",
408
- href: "https://www.launchpass.com/neetohq",
409
- target: "_blank"
410
466
  }
411
467
  };
412
468
  var NON_BUTTON_PROPS = ["isVisible"];
@@ -589,7 +645,7 @@ var Dropdown = function Dropdown() {
589
645
  },
590
646
  children: /*#__PURE__*/jsxRuntime.jsx(Menu$1, {
591
647
  children: /*#__PURE__*/jsxRuntime.jsx(MenuItem$3, {
592
- children: /*#__PURE__*/jsxRuntime.jsx(Menu$3, {})
648
+ children: /*#__PURE__*/jsxRuntime.jsx(Menu$4, {})
593
649
  })
594
650
  })
595
651
  });
@@ -841,7 +897,6 @@ var ProfileMenu = function ProfileMenu(_ref) {
841
897
  var _globalProps$user, _globalProps$user2, _globalProps$user3, _globalProps$user4;
842
898
  var profileInfo = _ref.profileInfo,
843
899
  showProductSwitcher = _ref.showProductSwitcher,
844
- helpLinks = _ref.helpLinks,
845
900
  defaultLinks = _ref.defaultLinks,
846
901
  topLinks = _ref.topLinks,
847
902
  bottomLinks = _ref.bottomLinks,
@@ -894,9 +949,7 @@ var ProfileMenu = function ProfileMenu(_ref) {
894
949
  }]
895
950
  }), showProductSwitcher && /*#__PURE__*/jsxRuntime.jsx(ProductSwitcher, {
896
951
  toggleModal: toggleModal
897
- }), /*#__PURE__*/jsxRuntime.jsx(LinkSection, {
898
- links: helpLinks
899
- }), /*#__PURE__*/jsxRuntime.jsx(Divider, {})]
952
+ }), /*#__PURE__*/jsxRuntime.jsx(HelpMenu, {}), /*#__PURE__*/jsxRuntime.jsx(Divider, {})]
900
953
  }), isAuthenticated && /*#__PURE__*/jsxRuntime.jsx(MenuItem.Button, {
901
954
  className: "neeto-molecules-profile-popup",
902
955
  "data-testid": "my-profile-button",
@@ -960,12 +1013,6 @@ var ProfileButton = function ProfileButton(_ref) {
960
1013
  window.Nv = window.Nv ? Object.assign(window.Nv, Nv) : Nv;
961
1014
  }, []);
962
1015
  var newBottomLinks = [].concat(_toConsumableArray(getDefaultBottomLinks(profileInfo.isAuthenticated, isConsumer)), _toConsumableArray(bottomLinks));
963
- var helpLinks = Object.keys(DEFAULT_HELP_LINK_PROPS).map(function (key) {
964
- return _objectSpread$1({}, DEFAULT_HELP_LINK_PROPS[key]);
965
- }).filter(function (_ref2) {
966
- var hide = _ref2.hide;
967
- return !hide;
968
- });
969
1016
  var defaultLinks = Object.keys(DEFAULT_MENU_LINK_PROPS).filter(function (key) {
970
1017
  var _DEFAULT_MENU_LINK_PR, _DEFAULT_MENU_LINK_PR2, _DEFAULT_MENU_LINK_PR3;
971
1018
  return (_DEFAULT_MENU_LINK_PR = (_DEFAULT_MENU_LINK_PR2 = (_DEFAULT_MENU_LINK_PR3 = DEFAULT_MENU_LINK_PROPS[key]).isVisible) === null || _DEFAULT_MENU_LINK_PR2 === void 0 ? void 0 : _DEFAULT_MENU_LINK_PR2.call(_DEFAULT_MENU_LINK_PR3)) !== null && _DEFAULT_MENU_LINK_PR !== void 0 ? _DEFAULT_MENU_LINK_PR : true;
@@ -979,8 +1026,8 @@ var ProfileButton = function ProfileButton(_ref) {
979
1026
  }), key === "engageProps" && changesCount && {
980
1027
  changesCount: changesCount
981
1028
  });
982
- }).filter(function (_ref3) {
983
- var hide = _ref3.hide;
1029
+ }).filter(function (_ref2) {
1030
+ var hide = _ref2.hide;
984
1031
  return !hide;
985
1032
  });
986
1033
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
@@ -1029,7 +1076,6 @@ var ProfileButton = function ProfileButton(_ref) {
1029
1076
  children: /*#__PURE__*/jsxRuntime.jsx(ProfileMenu, {
1030
1077
  customContent: customContent,
1031
1078
  defaultLinks: defaultLinks,
1032
- helpLinks: helpLinks,
1033
1079
  isConsumer: isConsumer,
1034
1080
  isOrganizationSwitcherEnabled: isOrganizationSwitcherEnabled,
1035
1081
  isThemeSwitcherEnabled: isThemeSwitcherEnabled,