@bigbinary/neeto-commons-frontend 2.0.1 → 2.0.4
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/README.md +1 -1
- package/initializers.cjs.js +452 -0
- package/initializers.d.ts +59 -0
- package/initializers.js +187 -119
- package/package.json +20 -1
- package/pure.cjs.js +409 -0
- package/pure.d.ts +183 -0
- package/pure.js +61 -90
- package/react-utils.cjs.js +1260 -0
- package/react-utils.d.ts +87 -0
- package/react-utils.js +124 -165
- package/utils.cjs.js +1325 -0
- package/utils.d.ts +43 -0
- package/utils.js +725 -44
package/react-utils.js
CHANGED
|
@@ -1,83 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var Yup = require('yup');
|
|
16
|
-
var formik = require('@bigbinary/neetoui/formik');
|
|
17
|
-
var formik$1 = require('formik');
|
|
18
|
-
|
|
19
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
20
|
-
|
|
21
|
-
function _interopNamespace(e) {
|
|
22
|
-
if (e && e.__esModule) return e;
|
|
23
|
-
var n = Object.create(null);
|
|
24
|
-
if (e) {
|
|
25
|
-
Object.keys(e).forEach(function (k) {
|
|
26
|
-
if (k !== 'default') {
|
|
27
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
28
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return e[k]; }
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
n["default"] = e;
|
|
36
|
-
return Object.freeze(n);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
40
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
41
|
-
var i18next__default = /*#__PURE__*/_interopDefaultLegacy(i18next);
|
|
42
|
-
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
43
|
-
var Yup__namespace = /*#__PURE__*/_interopNamespace(Yup);
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useReducer } from 'react';
|
|
3
|
+
import { Typography, Button, Toastr } from '@bigbinary/neetoui';
|
|
4
|
+
import { Honeybadger, HoneybadgerErrorBoundary as HoneybadgerErrorBoundary$1 } from '@honeybadger-io/react';
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
6
|
+
import { Redirect, Route, useLocation } from 'react-router-dom';
|
|
7
|
+
import { Settings, LeftArrow, Help, User } from '@bigbinary/neeto-icons';
|
|
8
|
+
import { Sidebar as Sidebar$1, AppSwitcher } from '@bigbinary/neetoui/layouts';
|
|
9
|
+
import i18next from 'i18next';
|
|
10
|
+
import { values, last, mergeLeft, toLower, not, isNil, assocPath } from 'ramda';
|
|
11
|
+
import axios from 'axios';
|
|
12
|
+
import * as Yup from 'yup';
|
|
13
|
+
import { Button as Button$1, Input } from '@bigbinary/neetoui/formik';
|
|
14
|
+
import { Formik, Form } from 'formik';
|
|
44
15
|
|
|
45
16
|
var _path$2, _path2$1, _path3$1, _path4$1, _path5$1, _path6$1;
|
|
46
17
|
|
|
47
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); }
|
|
48
19
|
|
|
49
20
|
var SvgFallbackComponent = function SvgFallbackComponent(props) {
|
|
50
|
-
return /*#__PURE__*/
|
|
21
|
+
return /*#__PURE__*/React.createElement("svg", _extends$3({
|
|
51
22
|
width: 230,
|
|
52
23
|
height: 230,
|
|
53
24
|
viewBox: "0 0 317 320",
|
|
54
25
|
fill: "none",
|
|
55
26
|
xmlns: "http://www.w3.org/2000/svg"
|
|
56
|
-
}, props), _path$2 || (_path$2 = /*#__PURE__*/
|
|
27
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
|
|
57
28
|
d: "M271.071 28.008c-8.563-12.544-25.317-10.81-38.577-10.717-30.899.206-159.103.047-168.105.497-13.866.713-27.79 6.33-30.041 20.132-1.216 7.456-.14 15.427.139 22.94 1.118 30.417 1.953 68.044 5.7 95.148 1.016 7.372 2.35 14.761 6.936 20.853 7.238 9.618 21.581 12.998 33.616 13.2.141.236 110.261 2.828 150.068-.154 11.579-.87 25.682-1.74 33.488-11.652 3.913-4.971 4.246-12.136 5.028-18.171 2.816-21.653 4.695-58.296 7.156-97.59.703-11.222 1.25-24.736-5.408-34.486Zm3.044 27.34c-.082 4.493-3.429 57.629-3.648 60.853-.746 10.901-3.144 45.195-6.244 55.905-3.064 10.571-16.833 13.173-26.189 14.167-7.926.857-15.906 1.35-23.877 1.608-40.911 1.322-129.772 1.044-133.332.949-14.415-.663-30.588-4.888-36.021-19.843a81.026 81.026 0 0 1-3.298-20.918c-2.712-32.616-2.294-42.461-4.372-92.667-.293-7.188-1.76-15.638 1.536-22.356C45.898 18.356 67.727 20.417 81.1 20.27c15.73-.172 149.231-.271 157.495-.338 7.347-.06 15.278-.433 22.12 2.756 12.343 5.744 13.613 20.671 13.399 32.649v.01Z",
|
|
58
29
|
fill: "#2F3941"
|
|
59
|
-
})), _path2$1 || (_path2$1 = /*#__PURE__*/
|
|
30
|
+
})), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
|
|
60
31
|
d: "M220.642 50.4a1.586 1.586 0 0 0-.415-1.21 1.607 1.607 0 0 0-1.177-.52c-35.537-.183-99.035-.669-135.303-.466a1.056 1.056 0 0 0-.76.238 1.044 1.044 0 0 0-.373.699c-.43 34.284-.24 68.58-.24 102.862 0 1.636.685 2.122 1.643 2.162 45.113 2.049 92.2.763 137.476.91a2.342 2.342 0 0 0 1.518-.675c.405-.403.648-.94.68-1.509-.443-33.909-1.227-68.635-3.049-102.49Zm-2.277.78c1.187 24.763 1.712 49.901 2.264 74.806-45.853 1.664-90.202.658-135.787.522 0-24.642-.313-50.868 0-76.093 43.482.375 89.992.537 133.523.764ZM91.463 151.855l16.27-22.423 18.964.294c-3.709 5.108-12.138 17.321-14.959 22.512-6.749-.114-20.275-.383-20.275-.383Zm42.769.671 15.24-22.699c6.347 0 12.699-.04 19.055-.12-3.627 6.705-10.492 16.8-14.739 22.976-6.51-.007-13.028-.059-19.556-.157Zm42.469.228c5.503-8.232 10.238-15.419 16.186-23.434 6.993-.163 13.993-.365 20.998-.605-4.761 6.22-12.597 17.04-15.361 23.986-7.274.037-14.548.054-21.823.053Z",
|
|
61
32
|
fill: "#2F3941"
|
|
62
|
-
})), _path3$1 || (_path3$1 = /*#__PURE__*/
|
|
33
|
+
})), _path3$1 || (_path3$1 = /*#__PURE__*/React.createElement("path", {
|
|
63
34
|
d: "M153.904 69.903c-3.722-.185-22.748 30.824-20.049 34.788 2.493 3.664 37.821 2.965 39.914 0 2.39-3.436-16.031-34.596-19.865-34.788Zm.745 10.224c.19 2.645.576 11.328.205 13.546-.27 1.633-1.778.747-1.796-.113-.065-4.437-.177-8.883-.27-13.32a.957.957 0 0 1 .224-.699.925.925 0 0 1 1.551.221.973.973 0 0 1 .086.365Zm.707 18.984c-.727 2.011-2.791 1.389-2.791-.259-.057-3.119 3.572-1.901 2.791.26v-.001ZM155.392 199.891c1.926 4.35 9.139 2.15 6.621-3.658a3.653 3.653 0 0 0-2.338-2.083 3.669 3.669 0 0 0-3.092.487c-1.534 1.051-2.876 3.875-1.144 5.376a.499.499 0 0 0 .85-.353c.107-1.148-.119-2.371.838-3.231a2.288 2.288 0 0 1 3.549.378 2.661 2.661 0 0 1-.467 3.601 3.032 3.032 0 0 1-4.019-.994c-.313-.517-1.037-.06-.798.477ZM145.571 226.664c3.876.66 7.809.928 11.739.798 4.292.127 8.604.273 12.894.248a1.103 1.103 0 0 0 0-2.204c-4.29-.174-8.602-.186-12.894-.206a57.817 57.817 0 0 0-11.739.39.508.508 0 0 0 0 .974Z",
|
|
64
35
|
fill: "#2F3941"
|
|
65
|
-
})), _path4$1 || (_path4$1 = /*#__PURE__*/
|
|
36
|
+
})), _path4$1 || (_path4$1 = /*#__PURE__*/React.createElement("path", {
|
|
66
37
|
d: "M290.099 17.651a26.343 26.343 0 0 0-14.443-13.727c-8.184-3.209-17.301-2.702-25.923-2.622-36.725.338-187.491.226-197.868.656a46.93 46.93 0 0 0-23.035 6.39c-15.658 9.89-12.084 26.386-11.458 44.885 1.203 35.566 2.12 79.713 6.107 111.322 1.049 8.324 2.204 16.755 6.676 24.05 7.983 13.016 24.148 17.93 39.357 17.867.586 0 34.396.811 73.168 1.099.06 2.045.465 4.305.694 6.462-.845-.102-23.612.467-30.303 1.419a.956.956 0 0 0-.771.893.982.982 0 0 0 .07.415c-3.429 2.898-6.462 6.492-9.588 9.661-3.848 3.879-7.906 7.645-11.5 11.758a.822.822 0 0 0 1.163 1.163c4.026-3.696 7.685-7.846 11.473-11.786 3.151-3.283 6.762-6.462 9.603-10.051a284.168 284.168 0 0 1 30.012-1.086c.02 1.633-.067 3.567 1.553 4.394.249.132.684.04.731-.3.119-2.158.03-4.322-.266-6.463a20.308 20.308 0 0 0-1.205-6.462c9.037.065 18.32.097 27.494.082a22.04 22.04 0 0 0-.498 11.488.589.589 0 0 0 .558.411.583.583 0 0 0 .558-.411c.323-1.081.516-2.196.575-3.323 5.085.679 9.298.204 22.997 1.059 2.081.132 5.048.161 6.8.151a49.891 49.891 0 0 0 9.03 9.507 126.265 126.265 0 0 0 10.551 9.276c.89.671 1.988-.798 1.188-1.541-3.547-3.244-7.275-6.278-10.814-9.542a93.19 93.19 0 0 0-8.62-8.122.687.687 0 0 0-.296-.8 16.466 16.466 0 0 0-6.571-1.034 303.46 303.46 0 0 0-8.896-.433 119.194 119.194 0 0 0-15.245-.532c.139-2.202.522-4.237.539-6.156 26.179-.057 51.28-.512 67.03-1.762 13.367-1.064 29.723-1.842 38.877-13.173 4.737-5.858 5.182-13.963 6.112-21.166 3.929-30.407 5.575-77.387 8.06-112.188.997-13.655 2.17-28.933-3.676-41.728Zm1.613 31.317c-.146 4.2-3.837 64.939-4.225 70.999-.84 12.757-3.594 52.564-7.069 65.039-3.355 12.052-18.191 15.578-28.953 16.886-9.22 1.123-18.553 1.715-27.836 2.028-47.201 1.6-152.146 1.016-154.02.947-17.12-.746-35.33-6.288-41.204-24.174-2.597-7.906-2.91-16.548-3.567-24.799-2.594-32.741-2.42-43.205-4.722-107.053-.313-8.463-1.814-17.863.596-26.12C26.38 3.355 51.897 4.623 67.642 4.416c18.621-.248 177.824-.437 187.33-.497 8.565-.045 17.791.174 25.046 5.349 12.02 8.565 12.159 26.432 11.694 39.692v.008ZM2.113 306.233c1.504-2.13 36.665-41.756 38.413-43.727a10.606 10.606 0 0 1 9.066-3.728c23.95-.139 47.907-.29 71.857.095 44.688.73 142.992-1.775 146.288-1.74 3.231.032 7.399-.711 9.864 1.66 2.352 2.264 26.674 35.343 35.177 44.204 1.322 1.374 3.407-.716 2.093-2.093-8.324-8.682-29.105-36.658-32.5-40.888a17.18 17.18 0 0 0-4.722-5.016c-4.243-2.115-53.46.465-74.499.942-24.904.57-18.499.127-150.918.092-5.858 0-10.004.249-13.864 5.043-4.439 5.52-35.989 42.114-37.403 44.477-.44.751.663 1.365 1.148.679ZM310.594 315.641c2.172-3.694 6.668-9.738 4.511-10.439-3.336-1.064-312.387 1.784-312.387 1.784s-5.946.154-.249 5.456c5.697 5.301 5.965 6.656 16.25 6.258 10.284-.397 262.609-1.203 269.642-1.091 7.034.112 20.856.37 22.233-1.968Z",
|
|
67
38
|
fill: "#2F3941"
|
|
68
|
-
})), _path5$1 || (_path5$1 = /*#__PURE__*/
|
|
39
|
+
})), _path5$1 || (_path5$1 = /*#__PURE__*/React.createElement("path", {
|
|
69
40
|
d: "M34.938 281.227c-2.187 2.709-11.898 12.69-12.29 15.161a1.074 1.074 0 0 0 .471 1.163c1.328.85 41.622 0 50.602-.032 18.968-.08 153.463.745 156.865.79 2.603.032 4.444-.519 3.169-3.435-4.347-9.942-8.664-19.883-13.081-29.795-1.123-2.513-2.02-2.851-4.722-2.839 0 0-161.347 0-166.45-.059a.918.918 0 0 0-.874.921.92.92 0 0 0 .874.92c31.896.311 159.016-.087 167.966.445.724.045-.248-1.638 13.958 30.395.199.445.147 1.242-2.207 1.3-1.633.034-157.686-.624-193.429-.358-1.899 0-9.956.338-9.897-.14.2-1.6 12.619-14.798 23.217-31.038.365-.559-.497-1.016-.875-.512-.02-.007-8.443 11.098-13.297 17.113ZM238.084 290.689a39.103 39.103 0 0 0 3.124 6.895c.746 1.022 1.243 1.009 2.486 1.049 6.929.216 26.206-.664 45.483-.286 1.275.027 6.532.83 6.463-1.243-.102-3.042-9.343-13.789-22.084-33.67-1.454-2.272-2.08-2.411-4.956-2.284-4.702.199-32.4 1.195-41.541 1.491-1.216.04-1.223 1.934 0 1.894 47.176-1.491 43.545-1.605 43.833-1.422.93.592 1.862 2.879 2.458 3.793 1.33 2.021 17.513 26.115 18.981 28.222.878 1.256.02 1.183-1.739 1.149-1.989-.045-45.168.233-46.573.221-1.739-.022-2.589-3.415-3.3-4.931-9.112-19.476-10.563-22.476-13.054-26.54-.392-.638-1.409-.445-1.131.207 4.36 10.205 7.591 16.5 11.55 25.455ZM285.242 112.053v.445c0 .04.067.04.067 0 0-.147 0-.298.02-.445-.002-.047-.087-.052-.087 0ZM91.163 240.165s131.381-1.695 132.656-1.416c1.275.278-.313 8.776-4.226 8.751-3.912-.025-121.276.922-123.175.171-1.9-.75-7.28-7.478-5.255-7.506Z",
|
|
70
41
|
fill: "#2F3941"
|
|
71
|
-
})), _path6$1 || (_path6$1 = /*#__PURE__*/
|
|
42
|
+
})), _path6$1 || (_path6$1 = /*#__PURE__*/React.createElement("path", {
|
|
72
43
|
d: "M45.82 293.676a.023.023 0 0 0 .014-.01.025.025 0 0 0 .005-.016.027.027 0 0 0-.019-.026.027.027 0 0 0-.014.042.023.023 0 0 0 .014.01ZM220.834 284.323c-2.237-.034-6-.062-10.973-.082-1.198-2.995.522 1.459-4.325-10.759 4.354 0 7.692 0 9.735.025a.767.767 0 0 0 .545-.226.767.767 0 0 0 0-1.09.77.77 0 0 0-.545-.225c-2.09-.03-5.666-.057-10.376-.077-1.134-2.734-1.506-3.154-2.411-3.637a.552.552 0 0 0-.798.319c-.291.832-.328 1.339.355 3.308-8.714-.03-20.504-.047-33.677-.05a23.38 23.38 0 0 0-2.021-4.446.51.51 0 0 0-.566-.224.509.509 0 0 0-.383.472c.033 1.409.199 2.811.497 4.188-11.212 0-23.326 0-35.336.027a706.988 706.988 0 0 0-.186-3.171.582.582 0 0 0-1.161 0 442.255 442.255 0 0 0-.313 3.174c-12.514.017-24.854.045-35.902.079a6.379 6.379 0 0 0-.378-2.835c-.107-.266-.457-.443-.676-.187a6.309 6.309 0 0 0-1.322 3.03c-12.572.042-23.276.094-30.335.154a18.732 18.732 0 0 0 1.8-3.577c.372-1.061-1.22-2.03-1.954-1.128-1.223 1.511-2.374 3.112-3.495 4.742-2.634.03-4.386.062-5.067.095a.503.503 0 0 0-.357.861.503.503 0 0 0 .357.148c1.155.087 2.55.164 4.158.236-5.903 8.771-5.418 7.829-7.526 11.008-3.607.032-5.985.067-6.83.104a.503.503 0 0 0-.505.505.505.505 0 0 0 .505.504c1.39.1 3.4.184 5.94.249a48.466 48.466 0 0 0-3.343 6.094.431.431 0 0 0 .746.433c1.491-2.168 3.149-4.337 4.859-6.462 8.45.191 21.417.268 36.556.28a22.934 22.934 0 0 0-1.295 5.891c-.048.723.89.823 1.242.338a22.61 22.61 0 0 0 2.963-6.214c12.082 0 25.401-.03 38.835-.079a13.904 13.904 0 0 0 .698 6.238.857.857 0 0 0 .746.429.857.857 0 0 0 .746-.429 13.875 13.875 0 0 0 .952-6.251c13.227-.052 26.474-.116 38.666-.171a25.556 25.556 0 0 0 2.281 5.572.781.781 0 0 0 1.442-.392 24.472 24.472 0 0 0-.816-5.193c13.586-.062 25.705-.111 34.797-.114a27.226 27.226 0 0 0 3.362 6.462c.353.47 1.362.41 1.283-.345a25.886 25.886 0 0 0-1.554-6.119c4.439 0 7.974.022 10.37.059a.761.761 0 0 0 .543-.229.766.766 0 0 0 .222-.546.77.77 0 0 0-.775-.766Zm-170.101.139c3.142-3.859 6.303-7.563 8.562-10.853 7.58.248 18.36.358 30.772.4a97.23 97.23 0 0 1-3.278 10.287c-15.024.045-27.84.102-36.056.166Zm38.892-.173c2.341-7.884 2.585-7.954 3.072-10.273 11.167.028 23.527 0 35.999-.057-.562 6.246-.38 6.529-.691 10.247-13.287.02-26.457.048-38.38.083Zm41.303-.087c-.144-3.319.03-4.226-.263-10.253 12.178-.057 24.392-.142 35.668-.221.621 2.423-.107-.639 2.838 10.439-12.059.01-25.167.017-38.243.035Zm41.164-.023c-.072-.248-3.022-10.14-3.122-10.471 13.235-.094 25.019-.181 33.668-.216 1.941 5.087 1.325 3.139 4.136 10.737-9.003-.032-21.099-.047-34.682-.05ZM281.202 286.259c-1.339-.479-2.53-.671-8.326-.591a140.94 140.94 0 0 0-7.491-12.89 25.902 25.902 0 0 0 7.379-.656.778.778 0 0 0 .398-1.209.778.778 0 0 0-.398-.282c-2.98-.66-6.05-.813-9.081-.452a201.697 201.697 0 0 0-2.486-3.634.674.674 0 0 0-1.163.679l1.695 3.022c-4.143.151-10.849.437-15.243.636a24.566 24.566 0 0 0-3.679-4.576.437.437 0 0 0-.251-.114.444.444 0 0 0-.479.539 25.034 25.034 0 0 0 1.613 4.28 45.342 45.342 0 0 0-8.833.763.515.515 0 0 0-.365.489.511.511 0 0 0 .365.488c3.286.677 6.655.86 9.996.542 1.327 2.443 2.833 4.824 4.079 7.126 1.006 1.854 1.953 3.842 2.965 5.798a40.865 40.865 0 0 0-9.527.716.499.499 0 0 0-.405.488.496.496 0 0 0 .405.489c3.549.665 7.169.868 10.769.604a28.675 28.675 0 0 0 3.542 5.078c.37.412.962-.035.868-.498a23.462 23.462 0 0 0-1.452-4.583 1830.64 1830.64 0 0 0 15.658-.134 30.665 30.665 0 0 0 2.662 4.012c.378.497 1.283.248 1.076-.45a29.948 29.948 0 0 0-1.337-3.587 23.018 23.018 0 0 0 7.071-.599.775.775 0 0 0 .542-.756.78.78 0 0 0-.567-.738Zm-26.223-.126c-1.213-2.414-2.63-4.75-3.865-6.989-1.029-1.859-2.068-3.91-3.211-5.911 3.728-.082 8.656-.218 15.263-.4 3.599 6.462 5.696 10.337 7.091 12.882-3.291.047-6.51.157-15.278.408v.01Z",
|
|
73
44
|
fill: "#2F3941"
|
|
74
45
|
})));
|
|
75
46
|
};
|
|
76
47
|
|
|
77
|
-
|
|
48
|
+
Honeybadger.beforeNotify(function (notice) {
|
|
78
49
|
return !/ResizeObserver/.test(notice.message);
|
|
79
50
|
});
|
|
80
|
-
var honeybadger =
|
|
51
|
+
var honeybadger = Honeybadger.configure({
|
|
81
52
|
apiKey: globalProps.honeybadgerApiKey,
|
|
82
53
|
environment: globalProps.nodeEnv,
|
|
83
54
|
revision: globalProps.honeybadgerRevision,
|
|
@@ -89,28 +60,28 @@ var honeybadger = react.Honeybadger.configure({
|
|
|
89
60
|
});
|
|
90
61
|
|
|
91
62
|
var FallbackComponent = function FallbackComponent() {
|
|
92
|
-
var _useTranslation =
|
|
63
|
+
var _useTranslation = useTranslation(),
|
|
93
64
|
t = _useTranslation.t;
|
|
94
65
|
|
|
95
|
-
return /*#__PURE__*/React__default
|
|
66
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
96
67
|
className: "flex h-screen w-full flex-row items-start justify-start"
|
|
97
|
-
}, /*#__PURE__*/React__default
|
|
68
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
98
69
|
className: "m-auto text-center"
|
|
99
|
-
}, /*#__PURE__*/React__default
|
|
70
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
100
71
|
className: "m-auto mb-8 flex items-center justify-center"
|
|
101
|
-
}, /*#__PURE__*/React__default
|
|
72
|
+
}, /*#__PURE__*/React__default.createElement(SvgFallbackComponent, null)), /*#__PURE__*/React__default.createElement(Typography, {
|
|
102
73
|
component: "h2",
|
|
103
74
|
style: "h2",
|
|
104
75
|
weight: "semibold",
|
|
105
76
|
className: "mb-4"
|
|
106
|
-
}, t("neetoCommons.fallbackComponent.somethingWentWrong")), /*#__PURE__*/React__default
|
|
77
|
+
}, t("neetoCommons.fallbackComponent.somethingWentWrong")), /*#__PURE__*/React__default.createElement(Typography, {
|
|
107
78
|
component: "p",
|
|
108
79
|
style: "body1",
|
|
109
80
|
weight: "normal",
|
|
110
81
|
className: "mb-8 text-gray-600"
|
|
111
|
-
}, t("neetoCommons.fallbackComponent.tryReloading")), /*#__PURE__*/React__default
|
|
82
|
+
}, t("neetoCommons.fallbackComponent.tryReloading")), /*#__PURE__*/React__default.createElement("div", {
|
|
112
83
|
className: "flex flex-row items-center justify-center"
|
|
113
|
-
}, /*#__PURE__*/React__default
|
|
84
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
114
85
|
style: "primary",
|
|
115
86
|
size: "large",
|
|
116
87
|
onClick: function onClick() {
|
|
@@ -124,7 +95,7 @@ var HoneybadgerErrorBoundary = function HoneybadgerErrorBoundary(_ref) {
|
|
|
124
95
|
var children = _ref.children,
|
|
125
96
|
_ref$ErrorComponent = _ref.ErrorComponent,
|
|
126
97
|
ErrorComponent = _ref$ErrorComponent === void 0 ? FallbackComponent : _ref$ErrorComponent;
|
|
127
|
-
return /*#__PURE__*/React__default
|
|
98
|
+
return /*#__PURE__*/React__default.createElement(HoneybadgerErrorBoundary$1, {
|
|
128
99
|
honeybadger: honeybadger,
|
|
129
100
|
ErrorComponent: ErrorComponent
|
|
130
101
|
}, children);
|
|
@@ -190,12 +161,12 @@ var PrivateRoute = function PrivateRoute(_ref) {
|
|
|
190
161
|
redirectRoute = _ref.redirectRoute,
|
|
191
162
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
192
163
|
|
|
193
|
-
if (!condition) return /*#__PURE__*/React__default
|
|
164
|
+
if (!condition) return /*#__PURE__*/React__default.createElement(Redirect, {
|
|
194
165
|
to: {
|
|
195
166
|
pathname: redirectRoute
|
|
196
167
|
}
|
|
197
168
|
});
|
|
198
|
-
return /*#__PURE__*/React__default
|
|
169
|
+
return /*#__PURE__*/React__default.createElement(Route, _extends$2({
|
|
199
170
|
path: path,
|
|
200
171
|
component: Component
|
|
201
172
|
}, props));
|
|
@@ -273,8 +244,8 @@ var HEADERS_KEYS = {
|
|
|
273
244
|
};
|
|
274
245
|
|
|
275
246
|
var resetAuthTokens = function resetAuthTokens() {
|
|
276
|
-
|
|
277
|
-
delete
|
|
247
|
+
values(HEADERS_KEYS).forEach(function (header) {
|
|
248
|
+
delete axios.defaults.headers[header];
|
|
278
249
|
});
|
|
279
250
|
};
|
|
280
251
|
|
|
@@ -285,16 +256,16 @@ var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
|
|
|
285
256
|
|
|
286
257
|
var getTopLinks = function getTopLinks() {
|
|
287
258
|
var topLinks = [{
|
|
288
|
-
label:
|
|
289
|
-
icon:
|
|
259
|
+
label: i18next.t("neetoCommons.sidebar.profile"),
|
|
260
|
+
icon: User,
|
|
290
261
|
onClick: function onClick() {
|
|
291
262
|
return window.open(MY_PROFILE_URL, "_blank");
|
|
292
263
|
},
|
|
293
264
|
"data-cy": "my-profile-button"
|
|
294
265
|
}];
|
|
295
266
|
return globalProps.isOwner ? topLinks.concat({
|
|
296
|
-
label:
|
|
297
|
-
icon:
|
|
267
|
+
label: i18next.t("neetoCommons.sidebar.orgSettings"),
|
|
268
|
+
icon: Settings,
|
|
298
269
|
onClick: function onClick() {
|
|
299
270
|
return window.open(ORGANIZATION_SETTINGS_URL, "_blank");
|
|
300
271
|
},
|
|
@@ -314,13 +285,13 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
314
285
|
_ref$showAppSwitcher = _ref.showAppSwitcher,
|
|
315
286
|
showAppSwitcher = _ref$showAppSwitcher === void 0 ? true : _ref$showAppSwitcher;
|
|
316
287
|
|
|
317
|
-
var _useState =
|
|
288
|
+
var _useState = useState(false),
|
|
318
289
|
_useState2 = _slicedToArray(_useState, 2),
|
|
319
290
|
isAppSwitcherOpen = _useState2[0],
|
|
320
291
|
setIsAppSwitcherOpen = _useState2[1];
|
|
321
292
|
|
|
322
|
-
var location =
|
|
323
|
-
|
|
293
|
+
var location = useLocation();
|
|
294
|
+
useEffect(function () {
|
|
324
295
|
isAppSwitcherOpen && setIsAppSwitcherOpen(false); // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
325
296
|
}, [location]);
|
|
326
297
|
|
|
@@ -331,40 +302,40 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
331
302
|
|
|
332
303
|
var isWhatsNewAllowed = PERMITTED_DOMAINS.some(function (domain) {
|
|
333
304
|
return globalProps.user.email.includes(domain);
|
|
334
|
-
}) &&
|
|
335
|
-
var profileInfo =
|
|
305
|
+
}) && last(window.location.host.split(".")) !== "com";
|
|
306
|
+
var profileInfo = mergeLeft(profileInfoOverrides, {
|
|
336
307
|
name: "".concat(globalProps.user.firstName, " ").concat(globalProps.user.lastName),
|
|
337
308
|
imageUrl: globalProps.user.profileImageUrl,
|
|
338
309
|
email: globalProps.user.email || globalProps.user.phoneNumber,
|
|
339
310
|
topLinks: extraTopLinks.concat(getTopLinks()),
|
|
340
311
|
bottomLinks: [{
|
|
341
|
-
icon:
|
|
342
|
-
label:
|
|
312
|
+
icon: LeftArrow,
|
|
313
|
+
label: i18next.t("neetoCommons.sidebar.logout"),
|
|
343
314
|
onClick: handleLogout,
|
|
344
315
|
"data-cy": "profile-logout-button"
|
|
345
316
|
}],
|
|
346
317
|
helpProps: {
|
|
347
|
-
icon:
|
|
348
|
-
label:
|
|
318
|
+
icon: Help,
|
|
319
|
+
label: i18next.t("neetoCommons.sidebar.help"),
|
|
349
320
|
onClick: function onClick() {
|
|
350
|
-
return window.open("https://neeto".concat(
|
|
321
|
+
return window.open("https://neeto".concat(toLower(appName), "help.neetokb.com/"), "_blank");
|
|
351
322
|
}
|
|
352
323
|
},
|
|
353
324
|
changelogProps: isWhatsNewAllowed ? {
|
|
354
325
|
id: CHANGELOG_WIDGET_TRIGGER_ID
|
|
355
326
|
} : undefined
|
|
356
327
|
});
|
|
357
|
-
return /*#__PURE__*/React__default
|
|
328
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Sidebar$1, {
|
|
358
329
|
isCollapsed: true,
|
|
359
330
|
appName: "neeto".concat(capitalize(appName)),
|
|
360
331
|
navLinks: navLinks,
|
|
361
332
|
profileInfo: profileInfo,
|
|
362
|
-
organizationInfo:
|
|
333
|
+
organizationInfo: mergeLeft(organizationInfoOverrides, globalProps.organization),
|
|
363
334
|
onAppSwitcherToggle: function onAppSwitcherToggle() {
|
|
364
|
-
return setIsAppSwitcherOpen(
|
|
335
|
+
return setIsAppSwitcherOpen(not);
|
|
365
336
|
},
|
|
366
337
|
showAppSwitcher: showAppSwitcher
|
|
367
|
-
}), showAppSwitcher && /*#__PURE__*/React__default
|
|
338
|
+
}), showAppSwitcher && /*#__PURE__*/React__default.createElement(AppSwitcher, {
|
|
368
339
|
isOpen: isAppSwitcherOpen,
|
|
369
340
|
onClose: function onClose() {
|
|
370
341
|
return setIsAppSwitcherOpen(false);
|
|
@@ -378,12 +349,12 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
378
349
|
function useDebounce(value) {
|
|
379
350
|
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
|
|
380
351
|
|
|
381
|
-
var _useState =
|
|
352
|
+
var _useState = useState(value),
|
|
382
353
|
_useState2 = _slicedToArray(_useState, 2),
|
|
383
354
|
debouncedValue = _useState2[0],
|
|
384
355
|
setDebouncedValue = _useState2[1];
|
|
385
356
|
|
|
386
|
-
|
|
357
|
+
useEffect(function () {
|
|
387
358
|
var handler = setTimeout(function () {
|
|
388
359
|
setDebouncedValue(value);
|
|
389
360
|
}, delay);
|
|
@@ -396,7 +367,7 @@ function useDebounce(value) {
|
|
|
396
367
|
|
|
397
368
|
var useFuncDebounce = function useFuncDebounce(func) {
|
|
398
369
|
var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
|
|
399
|
-
var timer =
|
|
370
|
+
var timer = useRef(null);
|
|
400
371
|
return function () {
|
|
401
372
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
402
373
|
args[_key] = arguments[_key];
|
|
@@ -415,7 +386,7 @@ var getStorageValue = function getStorageValue(key, defaultValue) {
|
|
|
415
386
|
};
|
|
416
387
|
|
|
417
388
|
var useLocalStorage = function useLocalStorage(key, defaultValue) {
|
|
418
|
-
var _useState =
|
|
389
|
+
var _useState = useState(function () {
|
|
419
390
|
return getStorageValue(key, defaultValue);
|
|
420
391
|
}),
|
|
421
392
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -423,7 +394,7 @@ var useLocalStorage = function useLocalStorage(key, defaultValue) {
|
|
|
423
394
|
setStoredValue = _useState2[1];
|
|
424
395
|
|
|
425
396
|
var setValue = function setValue(value) {
|
|
426
|
-
if (
|
|
397
|
+
if (isNil(value)) {
|
|
427
398
|
localStorage.removeItem(key);
|
|
428
399
|
} else {
|
|
429
400
|
localStorage.setItem(key, JSON.stringify(value));
|
|
@@ -436,7 +407,7 @@ var useLocalStorage = function useLocalStorage(key, defaultValue) {
|
|
|
436
407
|
};
|
|
437
408
|
|
|
438
409
|
var useOnClickOutside = function useOnClickOutside(ref, handler) {
|
|
439
|
-
|
|
410
|
+
useEffect(function () {
|
|
440
411
|
var listener = function listener(event) {
|
|
441
412
|
// Do nothing if clicking ref's element or descendent elements
|
|
442
413
|
if (!ref.current || ref.current.contains(event.target)) {
|
|
@@ -456,8 +427,8 @@ var useOnClickOutside = function useOnClickOutside(ref, handler) {
|
|
|
456
427
|
};
|
|
457
428
|
|
|
458
429
|
var usePrevious = function usePrevious(value) {
|
|
459
|
-
var ref =
|
|
460
|
-
|
|
430
|
+
var ref = useRef(value);
|
|
431
|
+
useEffect(function () {
|
|
461
432
|
ref.current = value;
|
|
462
433
|
}, [value]);
|
|
463
434
|
return ref.current;
|
|
@@ -465,8 +436,8 @@ var usePrevious = function usePrevious(value) {
|
|
|
465
436
|
|
|
466
437
|
var useUpdateEffect = function useUpdateEffect(callback) {
|
|
467
438
|
var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
468
|
-
var isInitialMount =
|
|
469
|
-
|
|
439
|
+
var isInitialMount = useRef(true);
|
|
440
|
+
useEffect(function () {
|
|
470
441
|
if (isInitialMount.current) {
|
|
471
442
|
isInitialMount.current = false;
|
|
472
443
|
return;
|
|
@@ -495,14 +466,14 @@ var ReducerBasedProvider = function ReducerBasedProvider(initialValue, StateCont
|
|
|
495
466
|
return function Provider(_ref) {
|
|
496
467
|
var children = _ref.children;
|
|
497
468
|
|
|
498
|
-
var _useReducer =
|
|
469
|
+
var _useReducer = useReducer(reducer, initialValue),
|
|
499
470
|
_useReducer2 = _slicedToArray(_useReducer, 2),
|
|
500
471
|
state = _useReducer2[0],
|
|
501
472
|
dispatch = _useReducer2[1];
|
|
502
473
|
|
|
503
|
-
return /*#__PURE__*/React__default
|
|
474
|
+
return /*#__PURE__*/React__default.createElement(DispatchContext.Provider, {
|
|
504
475
|
value: dispatch
|
|
505
|
-
}, /*#__PURE__*/React__default
|
|
476
|
+
}, /*#__PURE__*/React__default.createElement(StateContext.Provider, {
|
|
506
477
|
value: state
|
|
507
478
|
}, children));
|
|
508
479
|
};
|
|
@@ -512,21 +483,21 @@ var StateBasedProvider = function StateBasedProvider(initialValue, StateContext,
|
|
|
512
483
|
return function Provider(_ref2) {
|
|
513
484
|
var children = _ref2.children;
|
|
514
485
|
|
|
515
|
-
var _useState =
|
|
486
|
+
var _useState = useState(initialValue),
|
|
516
487
|
_useState2 = _slicedToArray(_useState, 2),
|
|
517
488
|
state = _useState2[0],
|
|
518
489
|
setState = _useState2[1];
|
|
519
490
|
|
|
520
|
-
return /*#__PURE__*/React__default
|
|
491
|
+
return /*#__PURE__*/React__default.createElement(DispatchContext.Provider, {
|
|
521
492
|
value: setState
|
|
522
|
-
}, /*#__PURE__*/React__default
|
|
493
|
+
}, /*#__PURE__*/React__default.createElement(StateContext.Provider, {
|
|
523
494
|
value: state
|
|
524
495
|
}, children));
|
|
525
496
|
};
|
|
526
497
|
};
|
|
527
498
|
|
|
528
499
|
var _useContext = function useContext(Context) {
|
|
529
|
-
var context = React__default
|
|
500
|
+
var context = React__default.useContext(Context);
|
|
530
501
|
|
|
531
502
|
if (context === undefined) {
|
|
532
503
|
throw new Error("consumer hooks must be used within a Provider");
|
|
@@ -546,8 +517,8 @@ var createContext = function createContext(initialValue) {
|
|
|
546
517
|
var _ref3;
|
|
547
518
|
|
|
548
519
|
var reducer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
549
|
-
var StateContext = /*#__PURE__*/React__default
|
|
550
|
-
var DispatchContext = /*#__PURE__*/React__default
|
|
520
|
+
var StateContext = /*#__PURE__*/React__default.createContext();
|
|
521
|
+
var DispatchContext = /*#__PURE__*/React__default.createContext();
|
|
551
522
|
return _ref3 = {
|
|
552
523
|
Provider: reducer ? ReducerBasedProvider(initialValue, StateContext, DispatchContext, reducer) : StateBasedProvider(initialValue, StateContext, DispatchContext),
|
|
553
524
|
useState: function useState() {
|
|
@@ -565,36 +536,36 @@ var _path$1, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9;
|
|
|
565
536
|
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); }
|
|
566
537
|
|
|
567
538
|
var SvgErrorPage = function SvgErrorPage(props) {
|
|
568
|
-
return /*#__PURE__*/
|
|
539
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1({
|
|
569
540
|
width: 320,
|
|
570
541
|
height: 320,
|
|
571
542
|
fill: "none",
|
|
572
543
|
xmlns: "http://www.w3.org/2000/svg"
|
|
573
|
-
}, props), _path$1 || (_path$1 = /*#__PURE__*/
|
|
544
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
|
|
574
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",
|
|
575
546
|
fill: "#2F3941"
|
|
576
|
-
})), _path2 || (_path2 = /*#__PURE__*/
|
|
547
|
+
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
577
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",
|
|
578
549
|
fill: "#2F3941"
|
|
579
|
-
})), _path3 || (_path3 = /*#__PURE__*/
|
|
550
|
+
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
580
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",
|
|
581
552
|
fill: "#2F3941"
|
|
582
|
-
})), _path4 || (_path4 = /*#__PURE__*/
|
|
553
|
+
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
583
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",
|
|
584
555
|
fill: "#2F3941"
|
|
585
|
-
})), _path5 || (_path5 = /*#__PURE__*/
|
|
556
|
+
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
586
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",
|
|
587
558
|
fill: "#2F3941"
|
|
588
|
-
})), _path6 || (_path6 = /*#__PURE__*/
|
|
559
|
+
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
|
|
589
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",
|
|
590
561
|
fill: "#2F3941"
|
|
591
|
-
})), _path7 || (_path7 = /*#__PURE__*/
|
|
562
|
+
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
|
|
592
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",
|
|
593
564
|
fill: "#2F3941"
|
|
594
|
-
})), _path8 || (_path8 = /*#__PURE__*/
|
|
565
|
+
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
|
|
595
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",
|
|
596
567
|
fill: "#2F3941"
|
|
597
|
-
})), _path9 || (_path9 = /*#__PURE__*/
|
|
568
|
+
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
|
|
598
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",
|
|
599
570
|
fill: "#2F3941"
|
|
600
571
|
})));
|
|
@@ -605,54 +576,54 @@ var _g, _path, _defs;
|
|
|
605
576
|
function _extends() { _extends = 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.apply(this, arguments); }
|
|
606
577
|
|
|
607
578
|
var SvgNeetoLogo = function SvgNeetoLogo(props) {
|
|
608
|
-
return /*#__PURE__*/
|
|
579
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
609
580
|
xmlns: "http://www.w3.org/2000/svg",
|
|
610
581
|
width: 80,
|
|
611
582
|
height: 21,
|
|
612
583
|
fill: "none"
|
|
613
|
-
}, props), _g || (_g = /*#__PURE__*/
|
|
584
|
+
}, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
614
585
|
clipPath: "url(#neeto-logo_svg__a)"
|
|
615
|
-
}, /*#__PURE__*/
|
|
586
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
616
587
|
fill: "#212C4F",
|
|
617
588
|
d: "M15.985 8.65v2.286c0 .765 0 1.524.02 2.286a3.924 3.924 0 0 1-.346 1.844 2.436 2.436 0 0 1-1.305 1.204c-.634.262-1.21.363-1.783.242-.572-.122-1.141-.466-1.77-1.093a565.723 565.723 0 0 1-3.324-3.37l-3.31-3.38a3.533 3.533 0 0 0-.578-.538.828.828 0 0 0-.782-.066.908.908 0 0 0-.374.231.936.936 0 0 0-.226.384c-.071.286-.1.58-.087.875 0 1.245.004 2.492.012 3.74 0 1.247 0 2.501-.021 3.742-.013.312.04.624.155.913.11.27.31.49.564.622a.93.93 0 0 0 .842.024c.274-.129.522-.308.732-.529.506-.502 1.009-1.008 1.509-1.517.5-.51.992-1.024 1.476-1.544a1.101 1.101 0 0 1 .75-.39c.272.001.537.089.757.252.21.14.305.441.299.76.001.318-.112.626-.318.865-.6.62-1.196 1.249-1.795 1.87a50.555 50.555 0 0 1-1.841 1.822 2.884 2.884 0 0 1-1.69.8 3.651 3.651 0 0 1-1.856-.343 2.731 2.731 0 0 1-1.29-1.083A3.147 3.147 0 0 1 0 17.877c.015-1.537.013-3.074.011-4.613V8.65a4.077 4.077 0 0 1 .364-1.773A2.352 2.352 0 0 1 1.664 5.7a3.152 3.152 0 0 1 1.838-.186 3.248 3.248 0 0 1 1.656.988A315.665 315.665 0 0 0 8.544 9.98c1.139 1.152 2.274 2.306 3.406 3.462.154.172.332.322.527.443a.76.76 0 0 0 .652.057c.205-.063.39-.177.54-.333a.957.957 0 0 0 .212-.667c-.016-1.406-.016-2.805-.016-4.204V4.54a1.56 1.56 0 0 0-.096-.62.843.843 0 0 0-.47-.434 1.467 1.467 0 0 0-.636-.147 1.067 1.067 0 0 0-.617.254 16.238 16.238 0 0 0-1.736 1.615c-.546.57-1.08 1.156-1.65 1.703-.213.234-.495.39-.803.443a.872.872 0 0 1-.72-.311 1.062 1.062 0 0 1-.314-.81c.022-.322.16-.625.39-.848l1.729-1.767c.575-.59 1.154-1.174 1.737-1.754a3.163 3.163 0 0 1 1.284-.743c.48-.142.985-.166 1.475-.07.491.07.96.258 1.368.547.408.29.744.673.98 1.12a1.972 1.972 0 0 1 .212.938c-.006.83-.006 1.664 0 2.501.007.837.002 1.668-.013 2.493Z"
|
|
618
|
-
}))), _path || (_path = /*#__PURE__*/
|
|
589
|
+
}))), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
619
590
|
fill: "#212C4F",
|
|
620
591
|
d: "M20.17 13V4.072h2.034l.18 1.512a3.157 3.157 0 0 1 1.188-1.26c.528-.312 1.146-.468 1.854-.468 1.104 0 1.962.348 2.574 1.044.612.696.918 1.716.918 3.06V13h-2.304V8.176c0-.768-.156-1.356-.468-1.764-.312-.408-.798-.612-1.458-.612-.648 0-1.182.228-1.602.684-.408.456-.612 1.092-.612 1.908V13H20.17Zm15.29.216c-.9 0-1.699-.192-2.395-.576a4.169 4.169 0 0 1-1.638-1.62c-.396-.696-.594-1.5-.594-2.412 0-.924.192-1.746.576-2.466a4.265 4.265 0 0 1 1.62-1.674c.696-.408 1.512-.612 2.448-.612.876 0 1.65.192 2.322.576a4.055 4.055 0 0 1 1.566 1.584c.384.66.576 1.398.576 2.214 0 .132-.006.27-.018.414 0 .144-.006.294-.018.45H33.12c.048.696.288 1.242.72 1.638.444.396.978.594 1.602.594.468 0 .858-.102 1.17-.306.324-.216.564-.492.72-.828h2.34a4.26 4.26 0 0 1-.846 1.548 4.067 4.067 0 0 1-1.44 1.08c-.564.264-1.206.396-1.926.396Zm.017-7.488c-.564 0-1.062.162-1.494.486-.432.312-.708.792-.828 1.44h4.446c-.036-.588-.252-1.056-.648-1.404-.396-.348-.888-.522-1.476-.522Zm10.74 7.488c-.9 0-1.698-.192-2.394-.576a4.169 4.169 0 0 1-1.638-1.62c-.396-.696-.594-1.5-.594-2.412 0-.924.192-1.746.576-2.466a4.265 4.265 0 0 1 1.62-1.674c.696-.408 1.512-.612 2.448-.612.876 0 1.65.192 2.322.576a4.055 4.055 0 0 1 1.566 1.584c.384.66.576 1.398.576 2.214 0 .132-.006.27-.018.414 0 .144-.006.294-.018.45h-6.786c.048.696.288 1.242.72 1.638.444.396.978.594 1.602.594.468 0 .858-.102 1.17-.306.324-.216.564-.492.72-.828h2.34a4.26 4.26 0 0 1-.846 1.548 4.067 4.067 0 0 1-1.44 1.08c-.564.264-1.206.396-1.926.396Zm.018-7.488c-.564 0-1.062.162-1.494.486-.432.312-.708.792-.828 1.44h4.446c-.036-.588-.252-1.056-.648-1.404-.396-.348-.888-.522-1.476-.522ZM56.457 13c-.936 0-1.686-.228-2.25-.684-.564-.456-.846-1.266-.846-2.43V5.998h-1.53V4.072h1.53l.27-2.394h2.034v2.394h2.412v1.926h-2.412v3.906c0 .432.09.732.27.9.192.156.516.234.972.234h1.116V13h-1.566Zm7.653.216c-.864 0-1.644-.198-2.34-.594a4.468 4.468 0 0 1-1.638-1.638c-.396-.708-.594-1.524-.594-2.448 0-.924.204-1.734.612-2.43a4.429 4.429 0 0 1 1.638-1.656c.696-.396 1.476-.594 2.34-.594.852 0 1.62.198 2.304.594a4.26 4.26 0 0 1 1.638 1.656c.408.696.612 1.506.612 2.43 0 .924-.204 1.74-.612 2.448a4.296 4.296 0 0 1-1.638 1.638 4.612 4.612 0 0 1-2.322.594Zm0-1.998c.6 0 1.122-.222 1.566-.666.444-.456.666-1.128.666-2.016 0-.888-.222-1.554-.666-1.998-.444-.456-.96-.684-1.548-.684-.612 0-1.14.228-1.584.684-.432.444-.648 1.11-.648 1.998 0 .888.216 1.56.648 2.016.444.444.966.666 1.566.666Z"
|
|
621
|
-
})), _defs || (_defs = /*#__PURE__*/
|
|
592
|
+
})), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
622
593
|
id: "neeto-logo_svg__a"
|
|
623
|
-
}, /*#__PURE__*/
|
|
594
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
624
595
|
fill: "#fff",
|
|
625
596
|
d: "M0 1h16v20H0z"
|
|
626
597
|
})))));
|
|
627
598
|
};
|
|
628
599
|
|
|
629
600
|
var ErrorPage = function ErrorPage() {
|
|
630
|
-
var _useTranslation =
|
|
601
|
+
var _useTranslation = useTranslation(),
|
|
631
602
|
t = _useTranslation.t;
|
|
632
603
|
|
|
633
|
-
return /*#__PURE__*/React__default
|
|
604
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
634
605
|
className: "flex min-h-screen w-full flex-col items-center"
|
|
635
|
-
}, /*#__PURE__*/React__default
|
|
606
|
+
}, /*#__PURE__*/React__default.createElement(SvgNeetoLogo, {
|
|
636
607
|
className: "mt-20 scale-150 transform"
|
|
637
|
-
}), /*#__PURE__*/React__default
|
|
608
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
638
609
|
className: "flex w-full flex-1 items-center justify-center"
|
|
639
|
-
}, /*#__PURE__*/React__default
|
|
610
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
640
611
|
"data-cy": "empty-state-container",
|
|
641
612
|
className: "flex h-full flex-row items-start justify-start"
|
|
642
|
-
}, /*#__PURE__*/React__default
|
|
613
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
643
614
|
className: "m-auto max-w-md text-center"
|
|
644
|
-
}, /*#__PURE__*/React__default
|
|
615
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
645
616
|
"data-cy": "empty-state-image-container",
|
|
646
617
|
className: "m-auto mb-8 flex items-center justify-center"
|
|
647
|
-
}, /*#__PURE__*/React__default
|
|
618
|
+
}, /*#__PURE__*/React__default.createElement(SvgErrorPage, null)), /*#__PURE__*/React__default.createElement(Typography, {
|
|
648
619
|
component: "h2",
|
|
649
620
|
style: "h2",
|
|
650
621
|
weight: "semibold",
|
|
651
622
|
className: "mb-4",
|
|
652
623
|
"data-cy": "empty-state-title"
|
|
653
|
-
}, t("neetoCommons.errorPage.pageDoesNotExist")), /*#__PURE__*/React__default
|
|
624
|
+
}, t("neetoCommons.errorPage.pageDoesNotExist")), /*#__PURE__*/React__default.createElement("div", {
|
|
654
625
|
className: "flex flex-row items-center justify-center"
|
|
655
|
-
}, /*#__PURE__*/React__default
|
|
626
|
+
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
656
627
|
style: "primary",
|
|
657
628
|
href: "/",
|
|
658
629
|
size: "large",
|
|
@@ -1092,9 +1063,9 @@ var INITIAL_FORM_VALUES = {
|
|
|
1092
1063
|
};
|
|
1093
1064
|
var DEFAULT_EMAIL = "oliver@example.com";
|
|
1094
1065
|
var DEFAULT_PASSWORD = "welcome";
|
|
1095
|
-
var LOGIN_FORM_VALIDATION_SCHEMA =
|
|
1096
|
-
email:
|
|
1097
|
-
password:
|
|
1066
|
+
var LOGIN_FORM_VALIDATION_SCHEMA = Yup.object().shape({
|
|
1067
|
+
email: Yup.string().email("Please enter a valid email").required("Email is required"),
|
|
1068
|
+
password: Yup.string().required("Password is required")
|
|
1098
1069
|
});
|
|
1099
1070
|
|
|
1100
1071
|
function SignInForm(_ref) {
|
|
@@ -1105,37 +1076,37 @@ function SignInForm(_ref) {
|
|
|
1105
1076
|
};
|
|
1106
1077
|
|
|
1107
1078
|
var emailPrefilledInitialValues = function emailPrefilledInitialValues() {
|
|
1108
|
-
return
|
|
1079
|
+
return assocPath(["user", "email"], emailFromSearchParams() || "", INITIAL_FORM_VALUES);
|
|
1109
1080
|
};
|
|
1110
1081
|
|
|
1111
|
-
if (
|
|
1112
|
-
return /*#__PURE__*/React__default
|
|
1082
|
+
if (Button$1 === undefined) {
|
|
1083
|
+
return /*#__PURE__*/React__default.createElement("div", null, "You need to have @bigbinary/neetoui version ^3.5.11 installed to use the login form.", /*#__PURE__*/React__default.createElement("br", null), "Run the command:", /*#__PURE__*/React__default.createElement("br", null), /*#__PURE__*/React__default.createElement("code", null, "yarn add @bigbinary/neetoui@^3.5.11"));
|
|
1113
1084
|
}
|
|
1114
1085
|
|
|
1115
|
-
return /*#__PURE__*/React__default
|
|
1086
|
+
return /*#__PURE__*/React__default.createElement(Formik, {
|
|
1116
1087
|
initialValues: emailPrefilledInitialValues(),
|
|
1117
1088
|
validationSchema: LOGIN_FORM_VALIDATION_SCHEMA,
|
|
1118
1089
|
onSubmit: handleFormSubmit
|
|
1119
|
-
}, /*#__PURE__*/React__default
|
|
1090
|
+
}, /*#__PURE__*/React__default.createElement(Form, {
|
|
1120
1091
|
className: "w-full"
|
|
1121
|
-
}, /*#__PURE__*/React__default
|
|
1092
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1122
1093
|
className: "mb-6"
|
|
1123
|
-
}, /*#__PURE__*/React__default
|
|
1094
|
+
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
1124
1095
|
required: true,
|
|
1125
1096
|
label: "Email",
|
|
1126
1097
|
name: "email",
|
|
1127
1098
|
"data-test-id": "login-email",
|
|
1128
1099
|
"data-cy": "login-email-text-field"
|
|
1129
|
-
})), /*#__PURE__*/React__default
|
|
1100
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
1130
1101
|
className: "mb-6"
|
|
1131
|
-
}, /*#__PURE__*/React__default
|
|
1102
|
+
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
1132
1103
|
required: true,
|
|
1133
1104
|
type: "password",
|
|
1134
1105
|
label: "Password",
|
|
1135
1106
|
name: "password",
|
|
1136
1107
|
"data-test-id": "login-password",
|
|
1137
1108
|
"data-cy": "login-password-text-field"
|
|
1138
|
-
})), /*#__PURE__*/React__default
|
|
1109
|
+
})), /*#__PURE__*/React__default.createElement(Button$1, {
|
|
1139
1110
|
style: "secondary",
|
|
1140
1111
|
type: "submit",
|
|
1141
1112
|
"data-test-id": "login-submit-button",
|
|
@@ -1148,7 +1119,7 @@ function SignInForm(_ref) {
|
|
|
1148
1119
|
function SignIn(_ref) {
|
|
1149
1120
|
var handleSubmit = _ref.handleSubmit;
|
|
1150
1121
|
|
|
1151
|
-
var _useState =
|
|
1122
|
+
var _useState = useState(null),
|
|
1152
1123
|
_useState2 = _slicedToArray(_useState, 2),
|
|
1153
1124
|
isSubmitting = _useState2[0],
|
|
1154
1125
|
setIsSubmitting = _useState2[1];
|
|
@@ -1172,17 +1143,16 @@ function SignIn(_ref) {
|
|
|
1172
1143
|
|
|
1173
1144
|
case 3:
|
|
1174
1145
|
response = _context.sent;
|
|
1175
|
-
|
|
1146
|
+
Toastr.success("Logged in successfully.");
|
|
1176
1147
|
redirectAfterSuccessfulLogin(response.redirectTo);
|
|
1177
|
-
_context.next =
|
|
1148
|
+
_context.next = 10;
|
|
1178
1149
|
break;
|
|
1179
1150
|
|
|
1180
1151
|
case 8:
|
|
1181
1152
|
_context.prev = 8;
|
|
1182
1153
|
_context.t0 = _context["catch"](0);
|
|
1183
|
-
neetoui.Toastr.error(_context.t0);
|
|
1184
1154
|
|
|
1185
|
-
case
|
|
1155
|
+
case 10:
|
|
1186
1156
|
case "end":
|
|
1187
1157
|
return _context.stop();
|
|
1188
1158
|
}
|
|
@@ -1224,15 +1194,15 @@ function SignIn(_ref) {
|
|
|
1224
1194
|
};
|
|
1225
1195
|
}();
|
|
1226
1196
|
|
|
1227
|
-
return /*#__PURE__*/React__default
|
|
1197
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1228
1198
|
className: "w-screen h-screen flex justify-center"
|
|
1229
|
-
}, /*#__PURE__*/React__default
|
|
1199
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1230
1200
|
className: "rounded-lg bg-white p-10 shadow self-center max-w-lg min-w-max w-2/3"
|
|
1231
|
-
}, /*#__PURE__*/React__default
|
|
1201
|
+
}, /*#__PURE__*/React__default.createElement("h1", {
|
|
1232
1202
|
className: "mb-6 text-xl font-medium text-gray-800"
|
|
1233
|
-
}, "Login to your", " ", /*#__PURE__*/React__default
|
|
1203
|
+
}, "Login to your", " ", /*#__PURE__*/React__default.createElement("b", {
|
|
1234
1204
|
"data-test-id": "organization-name"
|
|
1235
|
-
}, globalProps.organization.name), " ", "account"), /*#__PURE__*/React__default
|
|
1205
|
+
}, globalProps.organization.name), " ", "account"), /*#__PURE__*/React__default.createElement(Button, {
|
|
1236
1206
|
style: "primary",
|
|
1237
1207
|
size: "large",
|
|
1238
1208
|
label: "Login as Oliver",
|
|
@@ -1240,22 +1210,11 @@ function SignIn(_ref) {
|
|
|
1240
1210
|
loading: isSubmitting,
|
|
1241
1211
|
onClick: loginAsOliver,
|
|
1242
1212
|
fullWidth: true
|
|
1243
|
-
}), /*#__PURE__*/React__default
|
|
1213
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
1244
1214
|
className: "my-6 text-center text-lg font-semibold"
|
|
1245
|
-
}, "OR"), /*#__PURE__*/React__default
|
|
1215
|
+
}, "OR"), /*#__PURE__*/React__default.createElement(SignInForm, {
|
|
1246
1216
|
handleFormSubmit: handleFormSubmit
|
|
1247
1217
|
})));
|
|
1248
1218
|
}
|
|
1249
1219
|
|
|
1250
|
-
|
|
1251
|
-
exports.HoneybadgerErrorBoundary = HoneybadgerErrorBoundary;
|
|
1252
|
-
exports.LoginPage = SignIn;
|
|
1253
|
-
exports.PrivateRoute = PrivateRoute;
|
|
1254
|
-
exports.Sidebar = Sidebar;
|
|
1255
|
-
exports.createContext = createContext;
|
|
1256
|
-
exports.useDebounce = useDebounce;
|
|
1257
|
-
exports.useFuncDebounce = useFuncDebounce;
|
|
1258
|
-
exports.useLocalStorage = useLocalStorage;
|
|
1259
|
-
exports.useOnClickOutside = useOnClickOutside;
|
|
1260
|
-
exports.usePrevious = usePrevious;
|
|
1261
|
-
exports.useUpdateEffect = useUpdateEffect;
|
|
1220
|
+
export { ErrorPage, HoneybadgerErrorBoundary, SignIn as LoginPage, PrivateRoute, Sidebar, createContext, useDebounce, useFuncDebounce, useLocalStorage, useOnClickOutside, usePrevious, useUpdateEffect };
|