@bigbinary/neeto-commons-frontend 2.0.4 → 2.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/react-utils.d.ts CHANGED
@@ -1,22 +1,18 @@
1
- import { AvatarProps } from "@bigbinary/neetoui";
2
- import {
3
- LinkType,
4
- NavLinkItemType,
5
- SidebarProps,
6
- } from "@bigbinary/neetoui/layouts";
1
+ import { AvatarProps, TooltipProps, TypographyProps } from "@bigbinary/neetoui";
2
+ import { LinkType, NavLinkItemType } from "@bigbinary/neetoui/layouts";
7
3
  import React from "react";
4
+ import { RouteProps } from "react-router-dom";
8
5
  import { ObjectAndPrimitives } from "./pure";
6
+ import { DateTimeType, timeFormat } from "./utils";
9
7
 
10
8
  export const HoneybadgerErrorBoundary: React.FC<{
11
- ErrorComponent?: React.ReactNode;
9
+ ErrorComponent?: React.ReactNode | React.ComponentType<any>;
12
10
  }>;
13
- export function PrivateRoute<Component extends JSX.Element>(
11
+ export function PrivateRoute(
14
12
  props: {
15
- component: Component;
16
13
  condition: boolean;
17
- path: string;
18
14
  redirectRoute: string;
19
- } & { [key in keyof Component]: Component[key] }
15
+ } & RouteProps
20
16
  ): JSX.Element;
21
17
  export const Sidebar: React.FC<{
22
18
  navLinks: NavLinkItemType[];
@@ -85,3 +81,13 @@ export const LoginPage: React.FC<{
85
81
  };
86
82
  }) => any;
87
83
  }>;
84
+
85
+ export const DateFormat: {
86
+ [key in Capitalize<keyof typeof timeFormat>]: React.FC<{
87
+ date: DateTimeType;
88
+ typographyProps?: Partial<TypographyProps>;
89
+ tooltipProps?: Partial<TooltipProps>;
90
+ }>;
91
+ };
92
+
93
+ export const TimeFormat: typeof DateFormat;
package/react-utils.js CHANGED
@@ -1,24 +1,97 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useState, useEffect, useRef, useReducer } from 'react';
3
- import { Typography, Button, Toastr } from '@bigbinary/neetoui';
3
+ import { Typography, Tooltip, Button, Toastr } from '@bigbinary/neetoui';
4
+ import { fromPairs, keys, values, mergeLeft, toLower, not, isNil, assocPath } from 'ramda';
5
+ import dayjs from 'dayjs';
6
+ import relativeTime from 'dayjs/plugin/relativeTime';
7
+ import updateLocale from 'dayjs/plugin/updateLocale';
4
8
  import { Honeybadger, HoneybadgerErrorBoundary as HoneybadgerErrorBoundary$1 } from '@honeybadger-io/react';
5
9
  import { useTranslation } from 'react-i18next';
6
10
  import { Redirect, Route, useLocation } from 'react-router-dom';
7
11
  import { Settings, LeftArrow, Help, User } from '@bigbinary/neeto-icons';
8
12
  import { Sidebar as Sidebar$1, AppSwitcher } from '@bigbinary/neetoui/layouts';
9
13
  import i18next from 'i18next';
10
- import { values, last, mergeLeft, toLower, not, isNil, assocPath } from 'ramda';
11
14
  import axios from 'axios';
12
15
  import * as Yup from 'yup';
13
16
  import { Button as Button$1, Input } from '@bigbinary/neetoui/formik';
14
17
  import { Formik, Form } from 'formik';
15
18
 
19
+ function _extends$3() {
20
+ _extends$3 = Object.assign ? Object.assign.bind() : function (target) {
21
+ for (var i = 1; i < arguments.length; i++) {
22
+ var source = arguments[i];
23
+
24
+ for (var key in source) {
25
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
26
+ target[key] = source[key];
27
+ }
28
+ }
29
+ }
30
+
31
+ return target;
32
+ };
33
+ return _extends$3.apply(this, arguments);
34
+ }
35
+
36
+ var capitalize = function capitalize(string) {
37
+ return string.charAt(0).toUpperCase() + string.slice(1);
38
+ };
39
+
40
+ dayjs.extend(relativeTime);
41
+ dayjs.extend(updateLocale);
42
+ var timeFormat = {
43
+ fromNow: function fromNow(time) {
44
+ return dayjs(time).fromNow();
45
+ },
46
+ time: function time(_time) {
47
+ return dayjs(_time).format("h:mm A");
48
+ },
49
+ date: function date(time) {
50
+ return dayjs(time).format("MMM D, YYYY");
51
+ },
52
+ dateWeek: function dateWeek(time) {
53
+ return dayjs(time).format("MMM D, YYYY ddd");
54
+ },
55
+ dateWeekWithoutYear: function dateWeekWithoutYear(time) {
56
+ return dayjs(time).format("MMM D, ddd");
57
+ },
58
+ dateTime: function dateTime(time) {
59
+ return dayjs(time).format("MMM D, YYYY h:mm A");
60
+ },
61
+ dateWeekTime: function dateWeekTime(time) {
62
+ return dayjs(time).format("MMM D, YYYY ddd h:mm A");
63
+ },
64
+ extended: function extended(time) {
65
+ var dateTime = dayjs(time).format("dddd MMMM D, YYYY h:mm A");
66
+ var fromNow = dayjs(time).fromNow();
67
+ return "".concat(dateTime, " (").concat(fromNow, ")");
68
+ }
69
+ };
70
+
71
+ var DateFormat = fromPairs(keys(timeFormat).map(function (key) {
72
+ return [capitalize(key), function (_ref) {
73
+ var date = _ref.date,
74
+ _ref$tooltipProps = _ref.tooltipProps,
75
+ tooltipProps = _ref$tooltipProps === void 0 ? {} : _ref$tooltipProps,
76
+ _ref$typographyProps = _ref.typographyProps,
77
+ typographyProps = _ref$typographyProps === void 0 ? {} : _ref$typographyProps;
78
+ var dateDisplay = /*#__PURE__*/React__default.createElement(Typography, _extends$3({
79
+ component: "span"
80
+ }, typographyProps), timeFormat[key](date));
81
+ return key === "extended" ? dateDisplay : /*#__PURE__*/React__default.createElement(Tooltip, _extends$3({
82
+ position: "top",
83
+ content: timeFormat.extended(date)
84
+ }, tooltipProps), dateDisplay);
85
+ }];
86
+ }));
87
+ var TimeFormat = DateFormat;
88
+
16
89
  var _path$2, _path2$1, _path3$1, _path4$1, _path5$1, _path6$1;
17
90
 
18
- function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
91
+ function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
19
92
 
20
93
  var SvgFallbackComponent = function SvgFallbackComponent(props) {
21
- return /*#__PURE__*/React.createElement("svg", _extends$3({
94
+ return /*#__PURE__*/React.createElement("svg", _extends$2({
22
95
  width: 230,
23
96
  height: 230,
24
97
  viewBox: "0 0 317 320",
@@ -45,20 +118,6 @@ var SvgFallbackComponent = function SvgFallbackComponent(props) {
45
118
  })));
46
119
  };
47
120
 
48
- Honeybadger.beforeNotify(function (notice) {
49
- return !/ResizeObserver/.test(notice.message);
50
- });
51
- var honeybadger = Honeybadger.configure({
52
- apiKey: globalProps.honeybadgerApiKey,
53
- environment: globalProps.nodeEnv,
54
- revision: globalProps.honeybadgerRevision,
55
- developmentEnvironments: ["development", "test"],
56
- enableUncaught: true,
57
- async: true,
58
- breadcrumbsEnabled: true,
59
- projectRoot: "webpack:///./"
60
- });
61
-
62
121
  var FallbackComponent = function FallbackComponent() {
63
122
  var _useTranslation = useTranslation(),
64
123
  t = _useTranslation.t;
@@ -85,7 +144,7 @@ var FallbackComponent = function FallbackComponent() {
85
144
  style: "primary",
86
145
  size: "large",
87
146
  onClick: function onClick() {
88
- return window.location.reload(false);
147
+ return window.location.reload();
89
148
  },
90
149
  label: t("neetoCommons.fallbackComponent.reload")
91
150
  }))));
@@ -95,29 +154,25 @@ var HoneybadgerErrorBoundary = function HoneybadgerErrorBoundary(_ref) {
95
154
  var children = _ref.children,
96
155
  _ref$ErrorComponent = _ref.ErrorComponent,
97
156
  ErrorComponent = _ref$ErrorComponent === void 0 ? FallbackComponent : _ref$ErrorComponent;
157
+ Honeybadger.beforeNotify(function (notice) {
158
+ return !/ResizeObserver/.test(notice.message);
159
+ });
160
+ var honeybadger = Honeybadger.configure({
161
+ apiKey: globalProps.honeybadgerApiKey,
162
+ environment: globalProps.nodeEnv,
163
+ revision: globalProps.honeybadgerRevision,
164
+ developmentEnvironments: ["development", "test"],
165
+ enableUncaught: true,
166
+ async: true,
167
+ breadcrumbsEnabled: true,
168
+ projectRoot: "webpack:///./"
169
+ });
98
170
  return /*#__PURE__*/React__default.createElement(HoneybadgerErrorBoundary$1, {
99
171
  honeybadger: honeybadger,
100
172
  ErrorComponent: ErrorComponent
101
173
  }, children);
102
174
  };
103
175
 
104
- function _extends$2() {
105
- _extends$2 = Object.assign ? Object.assign.bind() : function (target) {
106
- for (var i = 1; i < arguments.length; i++) {
107
- var source = arguments[i];
108
-
109
- for (var key in source) {
110
- if (Object.prototype.hasOwnProperty.call(source, key)) {
111
- target[key] = source[key];
112
- }
113
- }
114
- }
115
-
116
- return target;
117
- };
118
- return _extends$2.apply(this, arguments);
119
- }
120
-
121
176
  function _objectWithoutPropertiesLoose(source, excluded) {
122
177
  if (source == null) return {};
123
178
  var target = {};
@@ -166,7 +221,7 @@ var PrivateRoute = function PrivateRoute(_ref) {
166
221
  pathname: redirectRoute
167
222
  }
168
223
  });
169
- return /*#__PURE__*/React__default.createElement(Route, _extends$2({
224
+ return /*#__PURE__*/React__default.createElement(Route, _extends$3({
170
225
  path: path,
171
226
  component: Component
172
227
  }, props));
@@ -233,10 +288,6 @@ function _slicedToArray(arr, i) {
233
288
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
234
289
  }
235
290
 
236
- var capitalize = function capitalize(string) {
237
- return string.charAt(0).toUpperCase() + string.slice(1);
238
- };
239
-
240
291
  var HEADERS_KEYS = {
241
292
  xAuthEmail: "X-Auth-Email",
242
293
  xAuthToken: "X-Auth-Token",
@@ -250,13 +301,13 @@ var resetAuthTokens = function resetAuthTokens() {
250
301
  };
251
302
 
252
303
  var MY_PROFILE_URL = "/auth/profile/edit";
253
- var ORGANIZATION_SETTINGS_URL = "/auth/organization/edit";
304
+ var MY_ORGANIZATION_URL = "/auth/organization/edit";
254
305
  var PERMITTED_DOMAINS = ["@bigbinary.com", "@example.com"];
255
306
  var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
256
307
 
257
308
  var getTopLinks = function getTopLinks() {
258
309
  var topLinks = [{
259
- label: i18next.t("neetoCommons.sidebar.profile"),
310
+ label: i18next.t("neetoCommons.sidebar.myProfile"),
260
311
  icon: User,
261
312
  onClick: function onClick() {
262
313
  return window.open(MY_PROFILE_URL, "_blank");
@@ -264,10 +315,10 @@ var getTopLinks = function getTopLinks() {
264
315
  "data-cy": "my-profile-button"
265
316
  }];
266
317
  return globalProps.isOwner ? topLinks.concat({
267
- label: i18next.t("neetoCommons.sidebar.orgSettings"),
318
+ label: i18next.t("neetoCommons.sidebar.myOrganization"),
268
319
  icon: Settings,
269
320
  onClick: function onClick() {
270
- return window.open(ORGANIZATION_SETTINGS_URL, "_blank");
321
+ return window.open(MY_ORGANIZATION_URL, "_blank");
271
322
  },
272
323
  "data-cy": "profile-organization-settings-button"
273
324
  }) : topLinks;
@@ -302,7 +353,7 @@ var Sidebar = function Sidebar(_ref) {
302
353
 
303
354
  var isWhatsNewAllowed = PERMITTED_DOMAINS.some(function (domain) {
304
355
  return globalProps.user.email.includes(domain);
305
- }) && last(window.location.host.split(".")) !== "com";
356
+ });
306
357
  var profileInfo = mergeLeft(profileInfoOverrides, {
307
358
  name: "".concat(globalProps.user.firstName, " ").concat(globalProps.user.lastName),
308
359
  imageUrl: globalProps.user.profileImageUrl,
@@ -531,7 +582,7 @@ var createContext = function createContext(initialValue) {
531
582
  }), _ref3;
532
583
  };
533
584
 
534
- var _path$1, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9;
585
+ var _path$1, _path2, _path3, _path4, _path5, _path6, _path7;
535
586
 
536
587
  function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
537
588
 
@@ -539,34 +590,29 @@ var SvgErrorPage = function SvgErrorPage(props) {
539
590
  return /*#__PURE__*/React.createElement("svg", _extends$1({
540
591
  width: 320,
541
592
  height: 320,
593
+ viewBox: "0 0 240 240",
542
594
  fill: "none",
543
595
  xmlns: "http://www.w3.org/2000/svg"
544
596
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
545
- d: "M74.962 233.398c10.518.217 21.025 1.033 31.545 1.382 10.127.336 34.024.786 35.84.935.558.03 1.097.215 1.555.534a4.41 4.41 0 0 0 2.503.8 2.134 2.134 0 0 1 1.424 1.229c.789 2.163 2.328 2.438 4.427 2.502 73.542 2.215 51.394 2.215 59.61 2.013 2.054.033 4.05.689 5.723 1.882a168.88 168.88 0 0 1 18.589 12.64 121.04 121.04 0 0 1 12.172 10.747c1.816 1.805 3.796 3.589 3.372 6.504-.706 4.862-1.12 3.92-14.325 4.32-47.291 1.43-56.133 1.816-65.354 1.621-18.96-.4-87.39-2.544-102.653-3.133-20.259-.781-26.265-1.637-34.787-3.97a6.05 6.05 0 0 1-1.795-.96c-1.875-1.312-2.232-2.742-.674-4.393a44.74 44.74 0 0 1 6.24-5.6 161.981 161.981 0 0 1 20.418-12.389c17.816-9.949 16.707-9.683 18.502-9.682 20.756.027 41.511.16 62.255.207 1.249 0 1.6-.48 1.902-2.644-2.957-.281-10.329.12-18.861-.097-28.78-.733-45.32-2.786-89.61-2.339-5.135.052-10.27-.189-15.393-.13a19.847 19.847 0 0 1-7.472-1.36 2.855 2.855 0 0 1-2.075-2.17 2.85 2.85 0 0 1 1.02-2.824 17.354 17.354 0 0 1 8.48-4.48 93.594 93.594 0 0 1 18.927-3.067c7.463-.48 14.935-.845 22.408-.827a64.319 64.319 0 0 1 17.687 2.56c.939.287 1.794.798 2.49 1.49 1.137 1.148.503 2.636-.99 3.416a19.443 19.443 0 0 1-6.134 1.48 65.163 65.163 0 0 1-16.122.369c-2.862-.246-3.601-.817-4.32.141a1.352 1.352 0 0 1-1.099.261c-2.253-.344-4.49-.735-6.712-1.195-.32-.069-.728-.816-.696-1.208.08-.952.3-1.887.653-2.775a1.426 1.426 0 0 1 1.142-.717c2.23.348 4.463.781 6.668 1.272a1.478 1.478 0 0 1 .99.751c.26.987.96.968 1.698 1.011 8.868.533 14.457.619 22.193-1.326a.248.248 0 0 0 .137-.394.245.245 0 0 0-.137-.086c-.851-.239-1.702-.509-2.56-.709a82.468 82.468 0 0 0-19.427-2.002 173.149 173.149 0 0 0-32.557 3.04 24.872 24.872 0 0 0-9.432 3.589c-.496.375-.965.786-1.401 1.229a.36.36 0 0 0-.11.33.368.368 0 0 0 .215.273 21.269 21.269 0 0 0 7.546 1.35c5.377.33 36.31.184 56.365.599Zm-41.293 36.056a.578.578 0 0 0-.14.524.586.586 0 0 0 .351.413c9.03 4.704 31.08 4.48 44.997 4.952 101.44 3.471 77.392 3.176 157.064 1.588 3.817-.076 7.635-.152 11.443-.37a2.415 2.415 0 0 0 2.035-1.297 2.426 2.426 0 0 0-.099-2.412 12.886 12.886 0 0 0-1.904-2.785 46.267 46.267 0 0 0-4.502-4.32c-19.468-15.794-17.6-14.029-25.901-19.242a6.326 6.326 0 0 0-2.741-1.24c-63.166-2.907-101.186-2.4-134.253-2.88a14.397 14.397 0 0 0-8.17 2.339c-17.6 10.936-24.918 13.419-33.295 20.407-1.672 1.392-3.256 2.884-4.885 4.323Zm12.989-43.779a11.626 11.626 0 0 0-2.165-.304c-.109.358-.253.774-.131.87.604.48 1.83.576.64.837a3.574 3.574 0 0 0-.935.305c.032.098-.142.556-.109.653l2.143.336c.197-.902.36-1.696.557-2.697Z",
597
+ d: "M168.161 166.069a41.16 41.16 0 0 1 1.784 22.647l14.369-1.59-8.004-22.059-8.149 1.002ZM59.88 183.248l2.29 4.953a48.712 48.712 0 0 0 22.135-10.56l2.327 1.147s.537-15.294-5.807-27.36c-3.7.557-7.26 1.811-10.492 3.697 0 0-1.927 9.223 5.338 15.681 0 .007-8.551 10.569-15.791 12.442ZM67.021 199.962s17.185-1.579 36.709-14.364c0 0 7.456 1.818 14.04 2.743a58.077 58.077 0 0 1-14.5 11.705l-35.16 2.527-1.089-2.611ZM99.977 151.92s3.488 13.944-3.016 31.38c0 0 2.76.918 9.042 2.676 0 0 8.244-14.513 4.62-31.286l-10.646-2.77ZM124.276 159.271s1.08 19.336-5.865 28.854c3.765.685 7.562 1.179 11.376 1.48 0 0 7.656-9.288 7.09-26.4 0-.005-12.568-3.658-12.601-3.934ZM146.933 165.253s3.452 14.268-1.9 25.168c0 0 10.428-.12 13.889-.749a55.916 55.916 0 0 0 .438-23.42 62.905 62.905 0 0 1-12.427-.999ZM44.304 162.181a.57.57 0 0 0-1.038-.12c-2.168 3.551-5.21 8.004-7.616 11.435a.804.804 0 0 0 .217 1.12 8.158 8.158 0 0 0 3.457 1.472c7.65.936 10.596-9.888 4.98-13.907Zm-.388 1.047a6.555 6.555 0 0 1 1.646 6.546 19.439 19.439 0 0 0-3.868-2.75c.764-1.255 1.506-2.52 2.226-3.796h-.004Zm-6.471 10.464c.433-.658.864-1.316 1.293-1.976a11.107 11.107 0 0 0 3.288 2.445 5.162 5.162 0 0 1-4.586-.469h.005Zm5.798-.22a20.607 20.607 0 0 0-3.76-2.908c.42-.654 1.454-2.302 1.56-2.469a14.387 14.387 0 0 0 4.052 3 6.406 6.406 0 0 1-1.852 2.377Z",
546
598
  fill: "#2F3941"
547
599
  })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
548
- d: "M128.675 218.387c-2.142-.75-4.339-1.448-6.385-2.4-4.74-2.213-9.487-4.435-14.053-6.973a26.335 26.335 0 0 1-5.994-4.785c-2.98-3.09-1.217-6.199 1.903-7.615a25.418 25.418 0 0 1 10.692-2.067c5.146.019 10.292.435 15.426.728 1.533.32 1.92 1.448-1.621 1.099-8.518 0-13.129-.432-19.166.696a24.578 24.578 0 0 0-4.983 1.698 2.416 2.416 0 0 0-.566 4.221 28.52 28.52 0 0 0 4.765 3.68 73.706 73.706 0 0 0 8.235 4.329c24.544 10.795 46.73 14.32 63.45 13.424 3.424.02 6.784-.931 9.691-2.742a5.171 5.171 0 0 0 1.893-5.144 11.235 11.235 0 0 0-7.148-7.52c-4.46-1.888-9.108-3.36-13.683-4.994-2.422-.867-1.59-1.376-.32-1.185a53.233 53.233 0 0 1 13.989 3.644c3.36 1.501 6.57 3.306 8.342 6.733 2.285 4.416 1.698 7.256-2.339 10.954.458.193.892.438 1.295.729a1.896 1.896 0 0 1 .635 2.351 1.893 1.893 0 0 1-.536.689c-14.664 8.116-71.317 5.964-93.091-2.512a14.172 14.172 0 0 1-3.83-2.48 2.827 2.827 0 0 1 .598-4.198 19.145 19.145 0 0 1 9.388-2.067c6.724.166 16.586 1.033 23.413 1.707ZM103.36 145.889c34.758 9.628 72.392 14.441 106.96 20.96 2.133.401 8 2.643-3.52 1.958-92.323-15.658-77.957-14.226-115.206-23.206-1.773-.62-2.354-.544.195-11.421 1.6-6.821 3.265-23.618 8.376-42.99 1.88-7.124 3.881-11.41 8.081-36 .173-1.012.676-1.585 1.73-1.447 16.48 2.155 32.683 6.848 85.814 17.046 6.172 1.184 25.044 5.24 30.741 6.493a29.16 29.16 0 0 1 4.514 1.317c2.099.587 1.451 2.517-.499 2.08-6.069-1.33-38.432-8.115-38.596-8.147a1.609 1.609 0 0 0-1.26.555c-2.016 2.424-4.016 4.851-5.92 7.36-5.2 6.87-6.292 9.92-7.408 13.509-2.212 7.126-3.503 8.917-10.388 13.771-11.259 7.941-11.214 6.526-25.835 14.675-1.76.981-3.315 2.331-5.014 3.437-2.802 1.822-4.615 4.64-6.951 6.896a38.986 38.986 0 0 1-6.363 4.722 23.165 23.165 0 0 1-8.757 3.316 18.097 18.097 0 0 0-10.04 4.396c-.155.161-.313.361-.654.72Zm-9.67-2.154c2.296.461 4.601.92 6.88 1.458a1.75 1.75 0 0 0 1.76-.567c2.985-3.598 6.72-5.03 11.323-5.742a25.484 25.484 0 0 0 12.64-6.364c2.166-1.848 3.873-4.22 5.973-6.156 9.904-9.138 23.68-11.813 37.288-23.2 1.92-1.47 3.439-3.4 4.416-5.613.226-.657.286-1.36.174-2.045-1.616-7.808.448-7.61-.446-11.715-1.317-6.048 1.081-8.027 4.884-13.934-22.931-3.92-45.131-10.51-68.022-14.337-2.88 21.09-3.44 18.657-7.85 36.818-5.396 22.218-6.832 33.467-8.561 42.683-.426 2.274-1.042 4.507-1.664 6.787a1.565 1.565 0 0 0 1.208 1.927h-.003Zm96.18-71.706c-2.926-.566-5.862-1.156-8.811-1.664a1.542 1.542 0 0 0-1.219.48c-.936 1.143-1.728 2.4-2.632 3.559-4.896 6.307-1.44 7.237-2.262 14.216a32.866 32.866 0 0 0 .048 4.8.317.317 0 0 0 .276.307.322.322 0 0 0 .349-.223c1.64-7.078 6.323-11.812 14.255-21.475h-.004Z",
600
+ d: "m58.862 179.071-.847-2.147a.74.74 0 0 0-.6-.388c-2.478-.216-1.941-.351-6.695-.6a14.66 14.66 0 0 0 1.73-3.48.575.575 0 0 0-.348-.733.574.574 0 0 0-.732.347c-2.15 5.625-8.716 10.29-14.313 7.119-3.48-1.885-5.82-5.307-7.935-8.674a3.763 3.763 0 0 0 2.528-1.477c.582-.849.96-1.82 1.108-2.839.371.876.817 1.719 1.332 2.52a.767.767 0 0 0 1.105.248l1.78-1.55a.572.572 0 0 0-.682-.915l-1.222.752c-.806-1.727-.967-2.026-1.453-2.901 1.08-.918 3.126.011 5.864-.223a5.501 5.501 0 0 0 4.52-2.67c1.252-2.098 1.098-4.512 3.454-8.68.568-.43-.218-1.303-.486-3.607a.572.572 0 0 0-.645-.489 26.254 26.254 0 0 0-6.851 2.312 58.82 58.82 0 0 0-14.664 8.986 9.7 9.7 0 0 0-.667-1.336.57.57 0 0 0-1.036-.098.571.571 0 0 0-.059.422 5.458 5.458 0 0 0 .447 2.202 19.463 19.463 0 0 0-2.04 2.28.832.832 0 0 0-.078.862c.297.677.63 1.338.998 1.98a9.6 9.6 0 0 0 5.383 4.143c2.295 4.215 4.32 7.811 8.488 10.2 4.889 2.679 10.238.652 13.698-3.663a23.755 23.755 0 0 0 6.988 1.002l.895 1.58a.574.574 0 0 0 .76.264.57.57 0 0 0 .267-.758l.008.009Zm-26.209-21.068a40.435 40.435 0 0 1 4.4-3.214h.027a.497.497 0 0 1 .466-.082.497.497 0 0 1 .327.341c1.253 2.576 1.086 3.97.942 4.48-.753 2.502-3.46 2.76-5.241.914a5.915 5.915 0 0 1-1.086-1.525.776.776 0 0 1 .165-.914Zm-7.518 6.545a.433.433 0 0 1-.177-.359.428.428 0 0 1 .198-.347v-.032a34.532 34.532 0 0 1 3.728-2.787.665.665 0 0 1 .787.096c2.184 1.947 1.82 5.337-1.09 5.32-1.581-.037-3.326-1.901-3.446-1.891Z",
549
601
  fill: "#2F3941"
550
602
  })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
551
- d: "M248.329 74.977c-1.987-3.218-5.515-4.971-8.995-6.298a126.644 126.644 0 0 0-21.843-6.07c-33.557-7.904-56.182-14.371-75.872-17.394-9.505-1.467-19.409-2.219-21.139-2.494a24.176 24.176 0 0 0-10.942.86 11.706 11.706 0 0 0-8.17 8.657c-1.136 4.069-15.392 66.643-18.648 87.113a59.395 59.395 0 0 0-.827 13.488c.85 4.026 4.297 5.178 7.56 6.24.16.053 26.72 6.536 45.872 9.746 4.895.816 9.79 1.636 14.685 2.459-3.828 5.76-19.117 28.402-20.82 32.872-.598 1.6.751 2.187 1.295 1.011 8.072-11.537 8.273-13.076 21.417-32.86a1.767 1.767 0 0 1 1.44-.599c3.373.501 6.72 1.109 10.357 1.719 0 4.428-.571 28.256 1.533 37.897.544 1.752 1.523 3.155 2.08.49-.32-6.864-1.44-11.139-1.501-17.872-.054-6.787-.24-13.586-.371-20.461 13.344 2.603 11.68 2.04 14.859 2.643.704.133.347.191 36.387 7.322 2.252.435 4.514 1.131 6.733-.055 1.6-.523.925-2.164-.186-1.708-.8-.064-1.652.251-2.436.108a374.982 374.982 0 0 1-11.389-2.164c-53.76-11.16-111.02-18.036-121.71-23.245a6.216 6.216 0 0 1-3.23-3.079c-1.44-3.241-.8-6.657-.36-9.91 1.162-8.453 17.772-84.8 18.993-88.96a20.8 20.8 0 0 1 2.752-5.712c1.784-2.61 4.753-3.437 7.68-3.84a50.13 50.13 0 0 1 8.31-.32c.16 0 12.869 1.507 13.031 1.533 14.598 2.286 81.774 17.936 102.588 24.65 3.895 1.26 7.52 2.903 9.812 6.612 1.001 1.32 3.647 1.816 1.055-2.379Z",
603
+ d: "M52.498 166.036c1.788.309 4.219.555 5.745.646a.572.572 0 0 1-.059 1.14 55.126 55.126 0 0 1-6.52-.498.707.707 0 0 1-.59-.704c0-3.24-1.305-7.038-2.253-9.954a.828.828 0 0 1 .438-1.004c1.701-.79 3.653-2.259 4.044-4.091a2.149 2.149 0 0 0-1.537-2.664 5.796 5.796 0 0 0-3.96.069.524.524 0 0 1-.436-.95 6.94 6.94 0 0 1 5.768.022 3.364 3.364 0 0 1 1.691 3.818 7.653 7.653 0 0 1-4.22 4.969 31.465 31.465 0 0 1 1.889 9.201ZM7.213 158.976c1.13.584 2.345.989 3.6 1.2 10.588 1.83 14.784-10.784 24.279-12.282a5.788 5.788 0 0 1 4.333.766.575.575 0 0 0 .777-.146.574.574 0 0 0-.11-.783 7.09 7.09 0 0 0-5.183-1.162c-10.18 1.233-14.309 13.509-23.916 12.369a10.87 10.87 0 0 1-3.313-.898.524.524 0 0 0-.467.936Z",
552
604
  fill: "#2F3941"
553
605
  })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
554
- d: "M310.866 36.285a41.589 41.589 0 0 1-18.88 14.72c-.304.12-.599-.783-.893-1.066.354-.124.718-.219 1.088-.283a25.703 25.703 0 0 0 9.518-5.982 51.98 51.98 0 0 0 6.114-7.04c2.88-5.373.64-3.04.403-2.784-1.296 1.349-2.59 2.686-3.819 4.078a43.995 43.995 0 0 1-13.6 10.618 1.046 1.046 0 0 1-.96-.034c-1.501-1.664-2.959-3.382-4.32-4.949a23.5 23.5 0 0 0 12.998-14.13c1.612-6.08-5.958 9.617-13.499 12.532-.925.358-.902-.263-1.034-.925a66.36 66.36 0 0 0 5.461-4.16 19.327 19.327 0 0 0 4.949-7.36c1.197-6.32-.424-2.024-.553-1.73a22.594 22.594 0 0 1-7.082 8.8c-1.44 1.1-2.459 2.698-5.037 2.4a80.752 80.752 0 0 0-12.227.209 1.88 1.88 0 0 0-1.295.673 10.898 10.898 0 0 0-1.174 2.514 605.882 605.882 0 0 0-3.144 9.942c-.653 2.131-.96 4.437-3.52 5.28a3.547 3.547 0 0 0-.653.32c-2.067 1.186-2.165 1.392-1.883 3.68-.517.154-1.022.347-1.51.578-3.746 2.046-4.407 4.452-4.7 8.82a38.754 38.754 0 0 0-.065 4.298 5.467 5.467 0 0 1-3.516 5.194 5.462 5.462 0 0 1-2.183.353c-3.52-.272-5.309-2.62-4.972-5.395.087-.782.064-1.208.098-2.013-.544-1.28-1.502-.412-1.643.47-.175 1.076-.359 2.153-.435 3.23a6.303 6.303 0 0 0 5.091 5.71c2.067.24 9.6 1.251 9.725-8.115a28.948 28.948 0 0 1 .358-5.58 6.861 6.861 0 0 1 4.8-6.147c.73.97 1.469 1.947 2.262 3.003a10.03 10.03 0 0 0-1.086.8c-4.32 4.077-3.011 3.43-3.253 12.32-.064 3.095-.518 4.91-4.993 7.615a10.053 10.053 0 0 1-13.397-1.978 10.05 10.05 0 0 1-2.082-4.44 10.634 10.634 0 0 1 .685-7.288c.272-.566.392-1.163-.381-1.305-.336-.055-.8.294-1.142.532-.184.12-.261.404-.359.633a11.97 11.97 0 0 0-.184 9.843c1.556 3.742 3.829 6.72 8.386 7.376 3.444.696 7.024.063 10.019-1.773 5.898-3.826 5.344-6.224 5.146-12.173-.088-2.763.009-5.427 2.381-7.42 1.11-.933 1.44-.913 2.459.067.445.435 1.381.947 1.76.761 5.254-2.576 4.71-3.725 6.88-3.296 1.152.24 15.68-.277 16.272-.32 1.054-.09 2.051.42 2.23-1.87.056-.717 1.132-7.84 1.567-10.682a1.47 1.47 0 0 1 .63-1.033c1.662-.705 7.879-2.799 10.584-4.983a30.066 30.066 0 0 0 8.039-8.777c1.595-3.872.065-3.045-.429-2.338Zm-20.842 17.709c-.544 2.936-1 5.905-1.44 8.865-.152 1.12-.515 1.372-1.784 1.392-.598.01-12.542.392-16.577-.32a1.517 1.517 0 0 1-.882-.61 195.798 195.798 0 0 1-4.079-5.873 1.887 1.887 0 0 1-.272-1.371c1.316-4.59 2.709-9.158 4.024-13.749.196-.664.436-.947 1.111-.97 1.6-.054 2.88-.303 10.518-.564.359-.011.935.16 1.055.403 1.849 3.86 4.841 6.862 7.56 10.06a3.033 3.033 0 0 1 .766 2.736ZM280.451 233.311c-.288 1.719-2.545 1.893-2.512 2.328.397 5.232 2.435 29.718 2.839 36.526.291 4.89.051 9.586.24 12.044.979-.32 1.87-.621 2.958-.97 0-.32.365-46.056.501-48.786.198-4 1.523-3.155 1.784.685-.066 16.143-.186 32.285-.229 48.418 0 .358-.086.904-.32 1.032a40.815 40.815 0 0 1-5.12 2.622c-1.011.394-1.64-.533-1.632-1.99.069-12.437.416-.8-2.024-37.235-.275-4.117-.202-7.098-.467-12.063a15.292 15.292 0 0 1-4.536.032c-.511 2.949-.994 6.232-1.578 9.192-.776 3.936-7.603 38.376-7.809 39.507-.218 1.186-.568 1.407-1.44.696a57.633 57.633 0 0 1-4.668-4.11 2.865 2.865 0 0 1-.587-2.09c.405-3.87.92-7.723 1.338-11.595.705-6.545-.139-4.133 3.04-23.865.32-1.98.696-3.949 1.099-5.908.25-2.5 1.142-2.545 1.218.197.075 2.743-2.106 20.504-2.839 26.639-.573 4.787-1.057 9.572-1.665 14.358-.109.861-.359 1.142.38 1.589.696.63 1.666 1.197 2.48 1.849 1.76-8.344 1.039-5.79 2.231-12.422 1.958-10.901 2.907-14.035 5.048-24.29.723-3.472 1.307-6.98 2.033-10.454.089-.251.239-.476.436-.655a1.61 1.61 0 0 1 .696-.367c2.523.057 3.98.892 6.145-.348.749-.48 3.239-2.22 2.96-.566ZM264.245 212.014c-1.28 1.772-2.904 2.145-4.341.99a12.627 12.627 0 0 1-3.144-8.354c-.03-1.011-.426-1.449-1.403-1.382a2.853 2.853 0 0 1-.392-.021c-2.847-.16-3.483-1.065-3.448-3.872.049-3.928-.287-7.854-.435-11.792-.077-2.054-.074-4.701-.087-5.6-.017-1.205.447-1.84 1.469-1.544a56.214 56.214 0 0 1 11.291 4.373c2.816 1.77 3.615 2.374 4.253 3.949.183.439.281.91.286 1.385.026 6.994.026 16.189-4.049 21.868ZM283.77 227.68c-2.503.587-4.983 1.349-7.506 1.698a61.94 61.94 0 0 1-6.946.267c3.938-12.837 2.72-25.84 1.12-38.88 2.252.587 3.33.197 3.906-.306 1.15-1.006 1.341-3.294 1.501-3.241 5.872 26.366 3.849 16.846 7.925 40.462Z",
606
+ d: "M6.226 151.849a7.241 7.241 0 0 0 5.547 2.819 13.345 13.345 0 0 0 8.507-3.228.572.572 0 0 0 .122-.797.567.567 0 0 0-.798-.122 15.573 15.573 0 0 1-6.448 2.427 7.369 7.369 0 0 1-6.156-1.8.524.524 0 0 0-.774.701ZM42.307 140.682a6.532 6.532 0 0 1 1.654-.188c3.55.043 5.677 2.4 5.94 5.967a.575.575 0 0 1-.135.416.57.57 0 0 1-.806.064.571.571 0 0 1-.2-.39c-.26-2.825-1.886-4.73-4.8-4.68a5.04 5.04 0 0 0-1.688.307.71.71 0 0 1-.805-.24 9.952 9.952 0 0 0-12.335-2.751c-5.184 2.39-6.932 6.567-10.734 8.76-3.702 2.137-9.319 1.607-12.261-1.595a.524.524 0 1 1 .763-.72 8.102 8.102 0 0 0 5.204 2.232c7.893.644 8.679-6.689 16.34-10.183a11.68 11.68 0 0 1 8.899-.517 10.106 10.106 0 0 1 4.964 3.518ZM201.673 151.615a24.463 24.463 0 0 1-5.711 8.497.576.576 0 0 0-.075.79.574.574 0 0 0 .787.103 13.394 13.394 0 0 0 6-9.097.524.524 0 0 0-1.001-.293ZM205.2 152.462c-1.219 2.88-3.79 7.49-6.281 9.55a.572.572 0 1 0 .701.904c3.878-2.819 5.429-5.64 6.57-10.121a.524.524 0 0 0-.99-.333ZM208.56 154.134c-2.04 6.751-8.28 15.451-14.833 18.426a.568.568 0 0 0 .022 1.053.566.566 0 0 0 .436-.009c7.999-3.378 13.223-10.84 15.382-19.189a.521.521 0 0 0-.37-.621.519.519 0 0 0-.386.043.52.52 0 0 0-.251.297Z",
555
607
  fill: "#2F3941"
556
608
  })), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
557
- d: "M268.32 169.481c1.387.829-.493.723-1.73 2.142a2.417 2.417 0 0 1-.968.839 1.189 1.189 0 0 1 .098-1.077 3.835 3.835 0 0 1 2.6-1.904Zm-5.21 2.122a.66.66 0 0 0-.26.87c.984 2.05-.618 2.858-.512 3.2.392 1.306-.436 1.002-1.164.96a1.908 1.908 0 0 0-2.035 2.645 1.85 1.85 0 0 0 1.341 1.063 1.853 1.853 0 0 0 1.64-.487 2.038 2.038 0 0 1 1.205-.34c.428.015.839.164 1.177.426.895.651 1.936 1.176 3.133 1.92.947.45-.499.464-1.512.043-.729-.304-.126 1.73-.16 2.818a.694.694 0 0 0 .392.662 7.697 7.697 0 0 1 4.09 5.332c.011.032.011.075.022.108 1.6 13.01 2.701 25.951-1.137 38.807a13.174 13.174 0 0 1-1.136 3.213c-.16.273-1.22.412-1.512.414-3.732.016-7.498.331-11.04-1.28a3.393 3.393 0 0 1-2.415-3.504c1.077-13.784 1.311-17.416 2.002-23.168.12-1.002.553-2.024.88-.36.217 8.55-1.176 15.715-.76 24.214a.681.681 0 0 0 .456.61 17.569 17.569 0 0 0 9.997 1.086 1.864 1.864 0 0 0 .99-1.131 62.729 62.729 0 0 0 2.925-23.027c-.235-4.819-.335-9.65-.597-14.467a13.205 13.205 0 0 0-.8-2.797l.011.022c-.097-.228-.189-.454-.283-.684-.606-1.501-1.982-2.16-3.165-3.058-.371-.282-.729-.598-1.088-.891a2.813 2.813 0 0 0 .066-3.547.7.7 0 0 0-.859-.271 5.513 5.513 0 0 1-3.285.32 2.952 2.952 0 0 1-1.784-3.36c.51-1.168-.431-.297-1.231-.96-.273-.227-.097-1.28-.172-1.371-.698-.186-1.631.694-1.938.37-.269-.285.576-2.328.784-3.405.402-2.08-.245-5.371.424-7.386a10.178 10.178 0 0 1 4.894-5.44c3.186-1.71 8.575-2.001 11.706 2.066.381.337.829.59 1.315.741.235.095.475.179.719.249 1.28.459 1.492.874.707 1.664a.68.68 0 0 0-.169.366.68.68 0 0 0 .071.396 7.353 7.353 0 0 1 .674 4.721c-.107.576.461 1.28.741 1.92a9.661 9.661 0 0 1 1.108 5.874 6.07 6.07 0 0 1-3.828 4.352c-1.28.56-.607.91-.773 5.547-.064 1.783-1.28 2.08-1.512.109-.087-1.349-.048-2.709-.043-4.069a.674.674 0 0 0-.599-.673c-1.657-.16-2.88-1.029-1.326-.871a5.27 5.27 0 0 0 2.87-.598 5.646 5.646 0 0 0 3.504-4.699 10.896 10.896 0 0 0-2.96-8.268c-1.611-1.628-2.065-1.838-4.393-.369-.215.109-3.807 2.465-5.404 3.373h.008Zm-5.972 2.305c4.982-3.248 9.992-6.409 14.804-9.453a.665.665 0 0 0-.043-1.153 4.056 4.056 0 0 1-.816-.565 8.772 8.772 0 0 0-13.379 1.544c-1.174 1.872-.936 6.027-1.512 8.453a15.068 15.068 0 0 0-.381 1.76c-.102.557.859-.285 1.319-.586h.008ZM235.973 168.479c-1.099-.38-.919-1.382-.773-2.132 1.538-7.914 5.195-24.173 7.006-31.97 2.1-9.048 3.52-13.354 8.984-39.627.405-1.941.237-3.444.8-3.906.303-.251.738-.561 1.066-.51.227.035.533.63.533.979a18.26 18.26 0 0 1-.229 3.36c-.968 5.145-1.938 10.301-3.04 15.426-.037.16-9.376 41.638-12.651 54.704-.328 1.276-.107 2.916-1.696 3.676ZM240.8 104.248c-1.494 9.01-2.41 15.991-10.149 45.36-.824 3.124-1.779 6.218-2.633 9.333-.122.447-2.501 5.157-1.424-4.176.64-2.96 1.513-5.862 2.294-8.79 5.586-20.938 2.198-8.037 5.493-22.125.273-1.163.72-2.294.936-3.47 2.11-11.46 4.069-22.08 4.547-26.367.099-.892.338-1.422 1.272-1.37 1.034.057.718.89.773 1.489.011.37-.615 7.148-1.109 10.116Z",
609
+ d: "M203.742 168.706c-5.676 5.708-14.826 9.308-21.815 9.034a410.807 410.807 0 0 1-3.371-9.336c.96-.055 2.421-.208 3.347-.337 1.095-.152-.12-1.707 2.509-4.347 4.179-4.178 13.809-5.832 14.566-13.478a.57.57 0 0 0-1.133-.14c-1.237 8.458-15.48 8.128-16.649 16.758-.943.182-2.04.386-3 .502l-.991-2.874a.826.826 0 0 0-1.007-.53c-4.327 1.232-8.703 1.235-13.2 1.394-24.056.848-38.991-8.964-61.192-14.04-15.686-3.579-32.202-1.299-41.88 11.554a.677.677 0 0 0-.096.636c2.264 6.23 3.584 13.838-.684 18.88a.626.626 0 0 0-.101.644c1.92 4.6 7.472 17.709 8.28 19.68a.574.574 0 0 0 .734.294.571.571 0 0 0 .324-.721c-.801-1.983-6.19-14.898-8.04-19.388 4.28-5.334 3.143-13.019.877-19.501 9.399-12.076 25.241-14.072 40.252-10.59 22.289 5.16 37.166 15.049 61.591 14.205 4.313.05 8.618-.369 12.84-1.249 2.442 7.102 4.885 13.906 7.749 20.851-27.428 4.069-54.752 4.515-81.408-2.239a72.364 72.364 0 0 1-21.724-9.917.527.527 0 0 0-.58-.028.534.534 0 0 0-.238.322.518.518 0 0 0 .196.546 73.386 73.386 0 0 0 22.023 10.257 162.974 162.974 0 0 0 15.325 3.213 47.83 47.83 0 0 0 3.739 8.209.57.57 0 0 0 1.059-.427 34.85 34.85 0 0 0-3.339-7.553c22.037 3.36 44.07 2.354 66.204-.916a.822.822 0 0 0 .592-.408c.33-.585.12-.161-3.136-8.751 8.193.747 16.416-3.159 22.2-9.425a.568.568 0 0 0-.432-.934.571.571 0 0 0-.391.15ZM95.45 49.08a5.227 5.227 0 0 0-8.81-3.607 5.147 5.147 0 0 0-.098 7.32 5.202 5.202 0 0 0 8.907-3.713Zm-5.21 3.618a3.72 3.72 0 1 1 2.68-6.299 3.748 3.748 0 0 1-2.68 6.299ZM110.052 51.031a5.225 5.225 0 0 0-8.814-3.607 5.144 5.144 0 0 0-.1 7.32 5.203 5.203 0 0 0 8.914-3.713Zm-5.204 3.618a3.724 3.724 0 0 1-3.103-1.668 3.722 3.722 0 0 1 4.242-5.593 3.712 3.712 0 0 1 1.541.961 3.75 3.75 0 0 1-.651 5.66c-.6.405-1.305.627-2.029.64ZM124.768 53.13a5.233 5.233 0 0 0-3.244-4.647 5.228 5.228 0 0 0-5.572 1.04 5.157 5.157 0 0 0-1.577 3.64 5.148 5.148 0 0 0 1.479 3.68 5.203 5.203 0 0 0 8.914-3.713Zm-5.206 3.618a3.716 3.716 0 0 1-3.102-1.668 3.723 3.723 0 0 1-.32-3.508 3.724 3.724 0 0 1 6.103-1.123 3.75 3.75 0 0 1-2.681 6.299ZM120.72 111.438s-1.034-.3-2.658-.76a104.539 104.539 0 0 0 2.658-17.841 1.936 1.936 0 0 0-.26-1.472 1.95 1.95 0 0 0-1.23-.85 1.94 1.94 0 0 0-2.306 1.514 104.366 104.366 0 0 0-4.767 17.015 263.097 263.097 0 0 0-10.287-2.59c1.56-5.04 3-10.92 4.108-16.12a1.944 1.944 0 0 0-3.691-1.211 190.895 190.895 0 0 0-7.296 18.637 3.081 3.081 0 0 0 2.28 3.96c4.873 1.044 9.643 1.876 13.979 2.566-.85 5.385-1.296 9.614-1.296 9.614a2.115 2.115 0 0 0 .857 2.216c.231.16.491.273.766.332a2.134 2.134 0 0 0 1.609-.305 2.102 2.102 0 0 0 .912-1.36s1.371-4.208 2.824-9.627c1.768.261 2.908.421 2.908.421a2.126 2.126 0 0 0 1.62-.271 2.13 2.13 0 0 0 .949-2.186 2.106 2.106 0 0 0-.907-1.369 2.111 2.111 0 0 0-.776-.318l.004.005ZM188.438 122.867s-1.033-.3-2.656-.76a104.455 104.455 0 0 0 2.662-17.841 1.94 1.94 0 0 0-3.795-.808 104.13 104.13 0 0 0-4.769 17.015 261.26 261.26 0 0 0-10.286-2.59c1.56-5.055 3-10.947 4.107-16.122a1.938 1.938 0 0 0-1.241-2.45 1.942 1.942 0 0 0-2.45 1.241 190.25 190.25 0 0 0-7.296 18.637 3.087 3.087 0 0 0 .262 2.486 3.07 3.07 0 0 0 2.018 1.474c4.862 1.041 9.629 1.873 13.979 2.565-.85 5.386-1.295 9.615-1.295 9.615a2.115 2.115 0 0 0 .857 2.216 2.115 2.115 0 0 0 1.602.341 2.119 2.119 0 0 0 1.686-1.674s1.37-4.208 2.822-9.628c1.768.262 2.909.422 2.909.422a2.124 2.124 0 0 0 1.595-.294c.471-.306.802-.786.92-1.335a2.124 2.124 0 0 0-1.629-2.515l-.002.005ZM156.774 103.806a12.619 12.619 0 0 0-5.298-8.143 12.613 12.613 0 0 0-9.516-1.957 12.936 12.936 0 0 0-10.32 10.32l-2.16 11.64a13.235 13.235 0 0 0 2.196 9.918 13.015 13.015 0 0 0 8.476 5.36 13.018 13.018 0 0 0 9.772-2.256 12.807 12.807 0 0 0 5.15-8.356l1.768-11.71a12.41 12.41 0 0 0-.068-4.816Zm-4.088 4.057c-2.64 12.315-2.489 12.589-3.686 14.333a7.593 7.593 0 0 1-4.854 3.12 7.407 7.407 0 0 1-8.594-5.752c-.395-1.896-.056-2.224 2.075-14.451a7.642 7.642 0 0 1 13.61-3.227 7.113 7.113 0 0 1 1.449 5.977Z",
558
610
  fill: "#2F3941"
559
611
  })), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
560
- d: "M283.77 227.681c-1.164-6.755-2.207-13.52-3.52-20.243-1.325-6.767-2.978-13.472-4.421-20.216a3.066 3.066 0 0 1 0-.887c.078-1.491.381-2.811 2.589-1.76.718 1.077 1.534 2.1 2.144 3.231a119.448 119.448 0 0 1 7.592 18.101c1.665 7.257 3.396 14.08 3.545 21.054.034 1.522-1.305 1.859-2.251 2.328a17.21 17.21 0 0 1-3.634 1.098 1.421 1.421 0 0 1-1.92-1.44c-.054-.41-.081-.834-.124-1.266Zm-6.549-40.867c4.699 13.989 6.342 27.36 8.659 41.553a25.986 25.986 0 0 1 2.523-.718c1.394-.248 1.776-.947 1.546-2.36-2.747-16.8-4.511-24.96-11.477-38.56-.435-.712-1.632-1.419-1.251.082v.003Z",
612
+ d: "M70.08 149.16a9.079 9.079 0 0 1-4.046-1.136 8.404 8.404 0 0 1-4.158-8.6l14.564-93.97a8.16 8.16 0 0 1 9.284-6.821c147.683 22.46 140.142 20.52 142.785 22.106a8.194 8.194 0 0 1 3.879 8.227l-13.783 92.32a8.363 8.363 0 0 1-9.341 7.056l-3.016-.39a.571.571 0 0 0-.519.911.57.57 0 0 0 .372.219l3.013.402a9.54 9.54 0 0 0 10.68-8.018l14.093-92.28a9.719 9.719 0 0 0-8.15-11.066A262627.5 262627.5 0 0 0 85.966 37.044a9.74 9.74 0 0 0-11.075 8.173L60.764 139.25a9.503 9.503 0 0 0 4.749 9.699 10.314 10.314 0 0 0 4.457 1.243.521.521 0 0 0 .11-1.032Z",
561
613
  fill: "#2F3941"
562
614
  })), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
563
- d: "M288.142 205.906a118.554 118.554 0 0 0-7.592-18.101c-.611-1.131-1.425-2.153-2.144-3.23a18.446 18.446 0 0 1 8.855-3.182c.707-.108.969.185 1.11.892a1628.627 1628.627 0 0 0 3.72 18.253c.567 2.687.64 2.695-1.577 4.101-.754.482-1.578.843-2.372 1.267ZM303.774 194.001a14.571 14.571 0 0 1-7.974 6.88c-1.795.8-2.686.011-.619-1.045a21.922 21.922 0 0 0 8.267-9.845 24.666 24.666 0 0 0 1.544-7.56c.773-6.145-4.078-17.067-7.059-21.363 0 0-2.08-2.699-4.525-5.6-1.098-1.307-1.525-1.834-2.427-2.035a11.733 11.733 0 0 1-1.719-.25c-.686-.192-1.315-.686 0-1.033a3.792 3.792 0 0 1 3.754 1.153 72.046 72.046 0 0 1 10.41 14.043c6.124 15.668 2.945 22.484.348 26.655ZM192.494 93.773c-.32-1.87.679-2.022 2.448.48 1.394 1.971 4.341 6.211 4.48 6.418 3.709-2.08 6.88-5.199 11.149-6.112.914-.32 2.435.168-.934 2.4-2.605 1.72-5.21 3.44-7.855 5.12-.825.521-.998.889-.32 1.784 1.964 2.56 3.788 5.216 5.613 7.875.411.598 1.339 1.318.522 2.088-.173.16-1.475-.493-1.92-1.045-1.536-1.88-5.255-6.589-6.667-8.539a76.357 76.357 0 0 1-9.954 7.278c-.534.344-1.44.738-1.73-.185-.129-.415.468-1.218.936-1.6 1.492-1.218 3.09-2.295 4.6-3.493 1.415-1.12 2.72-2.4 4.16-3.48.64-.48.575-.846.24-1.371a1991.38 1991.38 0 0 1-4.768-7.618ZM223.84 173.94c2.002 2.637 4.16 5.157 6.026 7.886a49.096 49.096 0 0 0 8.48 9.6c3.12 2.677 6.134 5.687 9.856 7.452 1.144.542 1.92 1.26-.055 1.076a23.813 23.813 0 0 1-10.257-5.884 66.455 66.455 0 0 1-15.002-19.319c-.862-1.576-.525-2.762.952-.811ZM175.275 146.933c-4-3.574-8.013-7.008-13.413-8.682-5.694-1.76-10.961-.137-13.726.381-.96.415-1.589-.086-.621-1.022a8.116 8.116 0 0 1 4.57-2.099 20.966 20.966 0 0 1 12.595 1.251c3.741 1.689 7.36 3.633 9.79 7.136.507.87.936 1.783 1.28 2.729.09.436-.07.669-.475.306ZM244.045 179.707a49.412 49.412 0 0 1-14.283-9.432c-8.436-8.381-6.927-7.125-9.301-12.237-.381-1.022-.01-2.806 1.131-.489 1.893 4.764 5.779 7.808 9.41 11.084 4.974 4.48 10.812 7.69 16.502 11.128.195.141 2.349 3.242-3.459-.054ZM246.307 291.66c4.851-.609 7.095-2.422 10.72-5.025 1.482-1.067 1.663.182 1.426.521a15.074 15.074 0 0 1-8.789 5.92c-1.424.53-2.931.801-4.45.8-1.534-.129-2.099-.968-1.457-2.436 1.953-4.48 6.744-6.096 11.377-7.56.687-.216 1.76-.708 2.122.38.349 1.056-.651 1.309-1.44 1.621-5.736 2.295-8.251 2.941-9.509 5.779ZM284.334 288.211c3.711 2.4 5.624 3.428 10.226 3.72 1.28.16 1.338-.39.936-.651a5.418 5.418 0 0 0-2.208-.99c-2.002-.656-3.851-1.664-6.027-2.535-1.76-.968-1.835-1.6 1.675-.566 2.595.77 5.112 1.797 7.637 2.797.541.246 1.01.628 1.36 1.109a1.436 1.436 0 0 1-.106 2.012 1.434 1.434 0 0 1-.656.338c-1.753.41-3.572.446-5.341.107a17.229 17.229 0 0 1-7.8-3.502c-1.24-1.447-1.326-2.741.304-1.839Z",
564
- fill: "#2F3941"
565
- })), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
566
- d: "M295.442 172.625c.36 3.443-1.501 5.732-4.026 7.603-1.478.968-1.784.32-.891-.8.708-.881 1.369-1.8 1.979-2.752a10.277 10.277 0 0 0 .022-8.419 18.002 18.002 0 0 0-4.416-7.191c-.195-.185-1.339-1.806.652-.99.625.369 1.2.819 1.708 1.337a18.7 18.7 0 0 1 4.972 11.212ZM237.877 64.839a.624.624 0 0 0-.895.097.633.633 0 0 0-.128.304c-.104.817 0 1.72-.587 1.177a2.784 2.784 0 0 1-.32-2.938 1.59 1.59 0 0 1 2.274 0 11.061 11.061 0 0 1 3.981 4.427c.441.835.312 1.41-.676.533-1.366-1.21-1.425-1.74-3.649-3.6ZM285.216 155.004c-.882-.152-.49-.702.544-.728a8.549 8.549 0 0 1 3.971.522c.385.136.729.368 1 .674 1.207 1.404.381 1.48.25 1.448-1.675-1.197-2.904-1.068-5.765-1.916ZM271.608 169.723a8.478 8.478 0 0 1 2.523 2.936c.24.727.22 1.515-.054 2.23-.042.152-.32.4-.456.381-.195-.025-.557-.272-.544-.392.256-2.515-1.49-3.829-3.024-5.28-1.055-.702-.827-1.333 1.555.125ZM221.626 170.689c-1.752 3.002-.261 3.949.238 5.559a2.706 2.706 0 0 1-2.349-2.579c-.069-2.1.325-2.828 2.111-2.98ZM289.904 158.703a10.359 10.359 0 0 0-4.906-1.023c-.5 0-.857-.728-.217-1.208.883-.66 3.528.16 4.71.925.731.475 1.272 1.644.413 1.306ZM220.309 164.226c-1.501-.521-2.215.172-2.709 1.328a.927.927 0 0 1-.859.32 1.031 1.031 0 0 1-.381-.848c.027-.498.149-.987.36-1.44.32-.704.658-1.318 1.675-1.28 1.261.064 1.685.496 1.914 1.92ZM219.874 166.937c-1.512 1.208-2.632 2.089-1.37 3.556 1.28 1.154-.186 1.746-1.469-.14a2.208 2.208 0 0 1 .229-2.48 2.001 2.001 0 0 1 2.61-.936ZM268.998 177.869h4.296c.64.37.501.786-.96.826-2.041.057-3.336-.272-3.336-.826ZM19.115 232.866c-.174-.02-.353-.027-.528-.048.175.021.354.028.528.048ZM237.8 270.308c-.817.287-1.663.484-2.523.587-7.603.104-15.218.272-22.821.185-22.704-.26-73.309-2.88-103.52-3.547-16.394-.363-32.8-.405-49.189-.64a54.517 54.517 0 0 1-6.592-.587 2.362 2.362 0 0 1-1.12-.733.689.689 0 0 1-.11-.877c1.393-2.172.726-.334 27.118-15.99a8.211 8.211 0 0 1 4.64-.859c6.005.125 95.2 1.182 105.536 1.469 6.984.193 13.967.8 20.951 1.206a9.973 9.973 0 0 1 5.939 2.906c3.437 2.915 7.07 5.612 10.67 8.342 4.594 3.482 4.997 3.454 10.976 8.082.005.14.024.304.045.456Zm-85.6-7.8c7.245.414 14.314.843 21.386 1.251.764.045 2.216 1.747 3.579 2.774a1.052 1.052 0 0 0 1.033-.109 1.515 1.515 0 0 0 .13-1.164 5.149 5.149 0 0 0-.739-1.25c.139-.054.286-.087.435-.099 6.29.422 12.597.56 18.894.838 1.76.077 3.616-.019 4.7 1.805.211.357.587.307 2.382.458-.533-2.05-.454-1.544-.402-2.013.413.022.837.062 1.261.065 8 .064 5.743.276 7.855-.761a5.996 5.996 0 0 0-1.741-.696c-2.818-.16-5.647-.216-8.463-.381-1.233-.072-1.742-.741-5.515-4.514-.217-.217-.381-.489-.675-.859 4.45-.077 8.702.533 12.946-.272a1.88 1.88 0 0 0-1.12-.48c-3.242-.281-6.484-.629-9.735-.837-2.536-.16-5.061-.195-6.68-2.62-.043-.066-.118-.16-.184-.175-.347-.051-.827-.197-1.022-.033-.195.163-.216.684-.131 1.012.111.332.268.647.467.935-6.689 0-13.383-.011-20.08-.032a2.104 2.104 0 0 1-1.28-.653 20.14 20.14 0 0 0-1.698-1.958c-.424-.32-1.152-.25-1.75-.359a5.972 5.972 0 0 0 .109 1.544c.241.515.544.998.902 1.44-.718 0-10.79-.089-15.349-.152a4.815 4.815 0 0 1-2.153-.173c-.38-.22-.24-1.208-.5-1.774-.16-.358-.632-.8-.96-.8-.328 0-.745.502-.87.87a7.167 7.167 0 0 0-.13 1.796c-6.276-.24-12.465-.48-18.742-.73.048-.877.033-1.757-.043-2.632-.053-.36-.523-.653-.8-.979-.919.997-.64.053-1.349 3.502-5.547-.229-10.974-.456-16.403-.673a17.67 17.67 0 0 0-.165-2.58c-.51.48-1.035.943-1.522 1.44-.171.178-.198.498-.371.676-.173.177-.456.443-.696.444-3.024.016-6.037.023-9.408.023 1.232-1.669 1.04-1.12 1.413-2.904-.504.093-.99.265-1.44.51-.578.447-.989 1.101-1.544 1.578a2.303 2.303 0 0 1-1.306.619c-17.47-.018-14.824-.301-16.088.045a1.786 1.786 0 0 0 1.25.761c3.384.16 10.656.511 14.08.511.032.131.066.261.086.392-1.142 1.174-2.24 2.4-3.448 3.502a2.66 2.66 0 0 1-1.62.576c-14.77.336-9.97.024-13.674.435 0 .207.011.415.011.621 4.178.175 8.365.347 12.597.533-.533.718-1.002 1.338-1.469 1.968.087.131.186.262.272.392a5.905 5.905 0 0 0 2.08-.773 5.655 5.655 0 0 1 5.266-1.44c.867.09 1.74.104 2.61.043h6.646a6.736 6.736 0 0 1-.043.696c-.239.687-.49 1.536.369 1.76.458.12 1.106-.55 1.666-.87.382-.219-.048-1.352 1.92-1.317 4.264.077 15.893.207 17.448.207a8.856 8.856 0 0 0 .174 2.035c.139.424.631.728.968 1.088.32-.349.8-.64.96-1.056.175-.606.282-1.23.32-1.859.131-.055.207-.122.283-.12 7.128.124 14.248.532 21.375.8.213.05.414.144.588.278.175.133.319.301.423.494.48.829.742 1.772 1.262 2.56.285.436.903.64 1.381.948a6.474 6.474 0 0 0 .32-1.664 14.932 14.932 0 0 0-.536-2.464h-.003ZM141.021 92.456c-2.469 2.6-4.759 5.032-7.091 7.408-.46.467-1.525 1.09-1.709.936-.856-.72-.139-1.555.349-2.121 1.873-2.173 3.827-4.268 5.76-6.386.404-.443.881-.826 1.457-1.37-2.4-3.51-4.168-6.269-5.243-8-.619-1.001-.51-2.502 1.36-.707a298.98 298.98 0 0 1 4.994 6.517c.16.205.337.38.64.717 7.52-6.034 6.892-5.706 8.974-7.3 1.424-1.28 2.546.143 1.381 1.28a83.337 83.337 0 0 1-8.995 7.887 71.55 71.55 0 0 1 6.265 9.854c.576.8-.197 2.22-1.654.676-1.827-2.59-3.52-5.27-5.33-7.877-.272-.386-.579-.741-1.158-1.514Z",
567
- fill: "#2F3941"
568
- })), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
569
- d: "M197.727 262.899c-5.199-.218-19.092-.754-20.8-.925-1.228-.121-1.629-.819-5.407-4.851 3.104 0 18.226.44 20.64.512.377-.003.745.119 1.045.347 1.624 1.488 3.187 3.024 4.776 4.536a4.424 4.424 0 0 1-.254.381ZM149.886 256.918c3.732 0 15.372.05 17.58.109.38-.038.762.049 1.088.249 1.4 1.396 2.752 2.85 4.32 4.504-3.263-.185-16.143-.931-19.612-1.044-1.294-.042-2.26-.24-2.568-1.719a12.957 12.957 0 0 0-.808-2.099ZM147.341 256.71c.425 1.218.849 2.383 1.305 3.68-7.124-.249-14.118-.48-21.233-.728.217-1.217.435-2.4.653-3.644 6.428.224 12.803.452 19.275.692ZM125.88 255.818c-.283 1.425-.512 2.6-.762 3.84H107.05c.664-1.44 1.291-2.842 1.969-4.21.075-.152.447-.238.675-.229 5.328.22 10.671.392 16.186.599ZM92.845 259.211c3.61-4.107 3.68-4.306 4.122-4.307 3.187-.011 6.374-.011 9.91-.011-.936 1.697-1.656 3.022-2.4 4.308a.981.981 0 0 1-.717.413c-3.627.012-7.245.019-10.856.023-.027-.143-.038-.277-.059-.426ZM268.154 172.916c.123.261.311.478.522.604.211.127.427.151.602.068.175-.082.294-.265.331-.508a1.4 1.4 0 0 0-.135-.787 1.403 1.403 0 0 0-.521-.604c-.211-.127-.428-.151-.603-.069-.175.083-.294.266-.331.509a1.41 1.41 0 0 0 .135.787Z",
615
+ d: "m74.215 56.362 157.429 23.14a.57.57 0 0 0 .166-1.13L74.37 55.332a.522.522 0 0 0-.155 1.03Z",
570
616
  fill: "#2F3941"
571
617
  })));
572
618
  };
@@ -1217,4 +1263,4 @@ function SignIn(_ref) {
1217
1263
  })));
1218
1264
  }
1219
1265
 
1220
- export { ErrorPage, HoneybadgerErrorBoundary, SignIn as LoginPage, PrivateRoute, Sidebar, createContext, useDebounce, useFuncDebounce, useLocalStorage, useOnClickOutside, usePrevious, useUpdateEffect };
1266
+ export { DateFormat, ErrorPage, HoneybadgerErrorBoundary, SignIn as LoginPage, PrivateRoute, Sidebar, TimeFormat, createContext, useDebounce, useFuncDebounce, useLocalStorage, useOnClickOutside, usePrevious, useUpdateEffect };
package/utils.cjs.js CHANGED
@@ -545,12 +545,6 @@ var getRandomInt = function getRandomInt() {
545
545
 
546
546
  return Math.floor(Math.random() * (b - a) + a);
547
547
  };
548
- ramda.complement(ramda.isNil);
549
- ramda.complement(ramda.isEmpty);
550
- ramda.curry(function (x, y) {
551
- return x !== y;
552
- });
553
- ramda.complement(ramda.equals);
554
548
 
555
549
  var queryString = {};
556
550
 
@@ -1175,7 +1169,7 @@ var filterObj = function (obj, predicate) {
1175
1169
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1176
1170
 
1177
1171
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1178
- var withEventTargetValue = ramda.curry(function (func, event) {
1172
+ var withEventTargetValue = /*#__PURE__*/ramda.curry(function (func, event) {
1179
1173
  return func(event.target.value);
1180
1174
  });
1181
1175
  var getSubdomain = function getSubdomain() {
package/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import axios from 'axios';
2
- import { values, complement, isNil, isEmpty, curry, equals, toPairs, omit } from 'ramda';
2
+ import { values, curry, toPairs, omit, isEmpty } from 'ramda';
3
3
  import i18next from 'i18next';
4
4
  import dayjs from 'dayjs';
5
5
  import relativeTime from 'dayjs/plugin/relativeTime';
@@ -533,12 +533,6 @@ var getRandomInt = function getRandomInt() {
533
533
 
534
534
  return Math.floor(Math.random() * (b - a) + a);
535
535
  };
536
- complement(isNil);
537
- complement(isEmpty);
538
- curry(function (x, y) {
539
- return x !== y;
540
- });
541
- complement(equals);
542
536
 
543
537
  var queryString = {};
544
538
 
@@ -1163,7 +1157,7 @@ var filterObj = function (obj, predicate) {
1163
1157
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1164
1158
 
1165
1159
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1166
- var withEventTargetValue = curry(function (func, event) {
1160
+ var withEventTargetValue = /*#__PURE__*/curry(function (func, event) {
1167
1161
  return func(event.target.value);
1168
1162
  });
1169
1163
  var getSubdomain = function getSubdomain() {