andoncloud-sdk 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/andoncloud-sdk.js +195 -504
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/backdropPattern~bkGGEBvj.svg +101 -0
- package/dist/images/backdropPattern.svg +101 -0
- package/dist/images/loader.svg +52 -0
- package/dist/loader~baKSJYnU.svg +52 -0
- package/package.json +25 -24
- package/src/images/backdropPattern.svg +101 -0
- package/src/images/loader.svg +52 -0
- package/src/index.d.ts +2 -0
package/dist/andoncloud-sdk.js
CHANGED
|
@@ -6,12 +6,11 @@ var reactRouterDom = require('react-router-dom');
|
|
|
6
6
|
var propTypes = require('prop-types');
|
|
7
7
|
var CssBaseline = _interopDefault(require('@mui/material/CssBaseline'));
|
|
8
8
|
var styles = require('@mui/material/styles');
|
|
9
|
-
var useModalHook = require('use-modal-hook');
|
|
10
9
|
var mobx = require('mobx');
|
|
10
|
+
var material = require('@mui/material');
|
|
11
11
|
var mobxReactLite = require('mobx-react-lite');
|
|
12
12
|
var Dialog = _interopDefault(require('@mui/material/Dialog'));
|
|
13
13
|
var DialogContent = _interopDefault(require('@mui/material/DialogContent'));
|
|
14
|
-
var material = require('@mui/material');
|
|
15
14
|
var lab = require('@mui/lab');
|
|
16
15
|
var Box = _interopDefault(require('@mui/material/Box'));
|
|
17
16
|
var Card = _interopDefault(require('@mui/material/Card'));
|
|
@@ -26,9 +25,8 @@ var IconButton = _interopDefault(require('@mui/material/IconButton'));
|
|
|
26
25
|
var MenuItem = _interopDefault(require('@mui/material/MenuItem'));
|
|
27
26
|
var Menu = _interopDefault(require('@mui/material/Menu'));
|
|
28
27
|
var AccessTimeIcon = _interopDefault(require('@mui/icons-material/AccessTime'));
|
|
29
|
-
var styles$1 = require('@mui/styles');
|
|
30
28
|
|
|
31
|
-
let e={data:""},t=t=>"object"==typeof window?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||e,l=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,a=/\/\*[^]*?\*\/|\s\s+|\n/g,n=(e,t)=>{let r="",l="",a="";for(let o in e){let s=e[o];"@"==o[0]?"i"==o[1]?r=o+" "+s+";":l+="f"==o[1]?n(s,o):o+"{"+n(s,"k"==o[1]?"":t)+"}":"object"==typeof s?l+=n(s,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=s&&(o
|
|
29
|
+
let e={data:""},t=t=>"object"==typeof window?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||e,l=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,a=/\/\*[^]*?\*\/|\s\s+|\n/g,n=(e,t)=>{let r="",l="",a="";for(let o in e){let s=e[o];"@"==o[0]?"i"==o[1]?r=o+" "+s+";":l+="f"==o[1]?n(s,o):o+"{"+n(s,"k"==o[1]?"":t)+"}":"object"==typeof s?l+=n(s,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=s&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=n.p?n.p(o,s):o+":"+s+";");}return r+(t&&a?t+"{"+a+"}":a)+l},o={},s=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+s(e[r]);return t}return e},c=(e,t,r,c,i)=>{let u=s(e),p=o[u]||(o[u]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return "go"+r})(u));if(!o[p]){let t=u!==e?e:(e=>{let t,r=[{}];for(;t=l.exec(e.replace(a,""));)t[4]?r.shift():t[3]?r.unshift(r[0][t[3]]=r[0][t[3]]||{}):r[0][t[1]]=t[2];return r[0]})(e);o[p]=n(i?{["@keyframes "+p]:t}:t,r?"":"."+p);}return ((e,t,r)=>{-1==t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e);})(o[p],t,c),p},i=(e,t,r)=>e.reduce((e,l,a)=>{let o=t[a];if(o&&o.call){let e=o(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":n(e,""):!1===e?"":e;}return e+l+(null==o?"":o)},"");function u(e){let r=this||{},l=e.call?e(r.p):e;return c(l.unshift?l.raw?i(l,[].slice.call(arguments,1),r.p):l.reduce((e,t)=>Object.assign(e,t&&t.call?t(r.p):t),{}):l,t(r.target),r.g,r.o,r.k)}let p,d,f,g=u.bind({g:1}),b=u.bind({k:1});function h(e,t,r,l){n.p=t,p=e,d=r,f=l;}function m(e,t){let r=this||{};return function(){let l=arguments;function a(n,o){let s=Object.assign({},n),c=s.className||a.className;r.p=Object.assign({theme:d&&d()},s),r.o=/ *go\d+/.test(c),s.className=u.apply(r,l)+(c?" "+c:""),t&&(s.ref=o);let i=e;return e[0]&&(i=s.as||e,delete s.as),f&&i[0]&&f(s),p(i,s)}return t?t(a):a}}
|
|
32
30
|
|
|
33
31
|
function _extends() {
|
|
34
32
|
_extends = Object.assign || function (target) {
|
|
@@ -792,6 +790,92 @@ function _extends$1() {
|
|
|
792
790
|
return _extends$1.apply(this, arguments);
|
|
793
791
|
}
|
|
794
792
|
|
|
793
|
+
var ModalContext = React__default.createContext({
|
|
794
|
+
showModal: null,
|
|
795
|
+
hideModal: null,
|
|
796
|
+
isOpenedModal: false
|
|
797
|
+
});
|
|
798
|
+
|
|
799
|
+
var ModalProvider = function ModalProvider(_ref) {
|
|
800
|
+
var children = _ref.children;
|
|
801
|
+
|
|
802
|
+
var _useState = React.useState({}),
|
|
803
|
+
modalsConfig = _useState[0],
|
|
804
|
+
setConfig = _useState[1];
|
|
805
|
+
|
|
806
|
+
var hideModal = React.useCallback(function (modalKey, onClose) {
|
|
807
|
+
setConfig(function (prevConfig) {
|
|
808
|
+
var _extends2;
|
|
809
|
+
|
|
810
|
+
return _extends$1({}, prevConfig, (_extends2 = {}, _extends2[modalKey] = _extends$1({}, prevConfig[modalKey], {
|
|
811
|
+
isOpen: false
|
|
812
|
+
}), _extends2));
|
|
813
|
+
});
|
|
814
|
+
|
|
815
|
+
if (onClose) {
|
|
816
|
+
onClose();
|
|
817
|
+
}
|
|
818
|
+
}, [setConfig]);
|
|
819
|
+
var showModal = React.useCallback(function (modalKey, component, modalData) {
|
|
820
|
+
setConfig(function (prevConfig) {
|
|
821
|
+
var _extends3;
|
|
822
|
+
|
|
823
|
+
return _extends$1({}, prevConfig, (_extends3 = {}, _extends3[modalKey] = {
|
|
824
|
+
isOpen: true,
|
|
825
|
+
component: component,
|
|
826
|
+
data: modalData
|
|
827
|
+
}, _extends3));
|
|
828
|
+
});
|
|
829
|
+
}, [setConfig]);
|
|
830
|
+
var contextValue = React.useMemo(function () {
|
|
831
|
+
return {
|
|
832
|
+
showModal: showModal,
|
|
833
|
+
hideModal: hideModal,
|
|
834
|
+
isOpenedModal: Object.values(modalsConfig).some(function (_ref2) {
|
|
835
|
+
var isOpen = _ref2.isOpen;
|
|
836
|
+
return isOpen;
|
|
837
|
+
})
|
|
838
|
+
};
|
|
839
|
+
}, [hideModal, showModal, modalsConfig]);
|
|
840
|
+
return /*#__PURE__*/React__default.createElement(ModalContext.Provider, {
|
|
841
|
+
value: contextValue
|
|
842
|
+
}, children, Object.keys(modalsConfig).map(function (modalKey) {
|
|
843
|
+
var _modalsConfig$modalKe = modalsConfig[modalKey],
|
|
844
|
+
Component = _modalsConfig$modalKe.component,
|
|
845
|
+
isOpen = _modalsConfig$modalKe.isOpen,
|
|
846
|
+
data = _modalsConfig$modalKe.data;
|
|
847
|
+
return isOpen && /*#__PURE__*/React__default.createElement(Component, _extends$1({
|
|
848
|
+
onClose: function onClose() {
|
|
849
|
+
return hideModal(modalKey);
|
|
850
|
+
},
|
|
851
|
+
key: modalKey,
|
|
852
|
+
isOpen: isOpen
|
|
853
|
+
}, data));
|
|
854
|
+
}));
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
var generateModalKey = function () {
|
|
858
|
+
var count = 0;
|
|
859
|
+
return function () {
|
|
860
|
+
return "" + ++count;
|
|
861
|
+
};
|
|
862
|
+
}();
|
|
863
|
+
|
|
864
|
+
function useModal(component, data, onClose) {
|
|
865
|
+
var key = React.useMemo(generateModalKey, []);
|
|
866
|
+
var context = React.useContext(ModalContext);
|
|
867
|
+
var showModal = React.useCallback(function (modalData) {
|
|
868
|
+
return context.showModal(key, component, modalData instanceof Event ? data : _extends$1({}, data, modalData));
|
|
869
|
+
}, [data, context.showModal]);
|
|
870
|
+
var hideModal = React.useCallback(function () {
|
|
871
|
+
return context.hideModal(key, onClose);
|
|
872
|
+
}, [context.hideModal, onClose, key]);
|
|
873
|
+
return [showModal, hideModal];
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
useModal.ModalContext = ModalContext;
|
|
877
|
+
useModal.ModalProvider = ModalProvider;
|
|
878
|
+
|
|
795
879
|
var AuthConfigContext = React.createContext();
|
|
796
880
|
var AuthConfigProvider = function AuthConfigProvider(_ref) {
|
|
797
881
|
var children = _ref.children,
|
|
@@ -934,8 +1018,8 @@ var acFetch = function acFetch(url, options) {
|
|
|
934
1018
|
|
|
935
1019
|
return response;
|
|
936
1020
|
});
|
|
937
|
-
}, function () {
|
|
938
|
-
sessionStore.setNetworkError(
|
|
1021
|
+
}, function (e) {
|
|
1022
|
+
sessionStore.setNetworkError(e.message);
|
|
939
1023
|
}));
|
|
940
1024
|
} catch (e) {
|
|
941
1025
|
return Promise.reject(e);
|
|
@@ -1348,7 +1432,7 @@ var SessionStore = /*#__PURE__*/function () {
|
|
|
1348
1432
|
function SessionStore() {
|
|
1349
1433
|
this.loading = false;
|
|
1350
1434
|
this.api = new SessionAPI();
|
|
1351
|
-
this.networkError =
|
|
1435
|
+
this.networkError = null;
|
|
1352
1436
|
mobx.makeObservable(this, {
|
|
1353
1437
|
loading: mobx.observable
|
|
1354
1438
|
});
|
|
@@ -2227,16 +2311,37 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
2227
2311
|
setPassword = _useState2[1];
|
|
2228
2312
|
|
|
2229
2313
|
var navigate = reactRouterDom.useNavigate();
|
|
2314
|
+
|
|
2315
|
+
var authorizeUser = function authorizeUser(credentials) {
|
|
2316
|
+
try {
|
|
2317
|
+
return Promise.resolve(sessionStore.authorize(_extends$1({
|
|
2318
|
+
scope: scope
|
|
2319
|
+
}, credentials), storeSession)).then(function (session) {
|
|
2320
|
+
if (session) {
|
|
2321
|
+
if (onSuccess && typeof onSuccess === "function") {
|
|
2322
|
+
onSuccess(session);
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
setPassword("");
|
|
2326
|
+
navigate(redirectPath);
|
|
2327
|
+
} else if (onFailure && typeof onFailure === "function") {
|
|
2328
|
+
onFailure();
|
|
2329
|
+
}
|
|
2330
|
+
});
|
|
2331
|
+
} catch (e) {
|
|
2332
|
+
return Promise.reject(e);
|
|
2333
|
+
}
|
|
2334
|
+
};
|
|
2335
|
+
|
|
2230
2336
|
React.useEffect(function () {
|
|
2231
2337
|
onscan.attachTo(document, {
|
|
2232
2338
|
suffixKeyCodes: [13],
|
|
2233
2339
|
reactToPaste: true,
|
|
2234
2340
|
onScan: function onScan(sCode, _) {
|
|
2235
|
-
|
|
2236
|
-
sessionStore.authorize({
|
|
2341
|
+
void authorizeUser({
|
|
2237
2342
|
username: "code",
|
|
2238
2343
|
password: sCode
|
|
2239
|
-
}
|
|
2344
|
+
});
|
|
2240
2345
|
}
|
|
2241
2346
|
});
|
|
2242
2347
|
return function () {
|
|
@@ -2255,22 +2360,11 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
2255
2360
|
var handleSubmit = function handleSubmit(event) {
|
|
2256
2361
|
try {
|
|
2257
2362
|
event.preventDefault();
|
|
2258
|
-
|
|
2259
|
-
scope: scope,
|
|
2363
|
+
void authorizeUser({
|
|
2260
2364
|
username: username,
|
|
2261
2365
|
password: password
|
|
2262
|
-
}, storeSession)).then(function (session) {
|
|
2263
|
-
if (session) {
|
|
2264
|
-
if (onSuccess && typeof onSuccess === "function") {
|
|
2265
|
-
onSuccess(session);
|
|
2266
|
-
}
|
|
2267
|
-
|
|
2268
|
-
setPassword("");
|
|
2269
|
-
navigate(redirectPath);
|
|
2270
|
-
} else if (onFailure && typeof onFailure === "function") {
|
|
2271
|
-
onFailure();
|
|
2272
|
-
}
|
|
2273
2366
|
});
|
|
2367
|
+
return Promise.resolve();
|
|
2274
2368
|
} catch (e) {
|
|
2275
2369
|
return Promise.reject(e);
|
|
2276
2370
|
}
|
|
@@ -2775,7 +2869,7 @@ var useLogin = function useLogin(scope, loginProps) {
|
|
|
2775
2869
|
redirectUri = _useAuthConfig.redirectUri,
|
|
2776
2870
|
defaultRedirectPath = _useAuthConfig.redirectPath;
|
|
2777
2871
|
|
|
2778
|
-
var _useModal =
|
|
2872
|
+
var _useModal = useModal(LoginModal$1, _extends$1({
|
|
2779
2873
|
scope: scope
|
|
2780
2874
|
}, loginProps)),
|
|
2781
2875
|
showModal = _useModal[0];
|
|
@@ -2801,54 +2895,51 @@ var useLogin = function useLogin(scope, loginProps) {
|
|
|
2801
2895
|
};
|
|
2802
2896
|
};
|
|
2803
2897
|
|
|
2804
|
-
var useStyles =
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
marginTop: 48,
|
|
2898
|
+
var useStyles = (function (_ref) {
|
|
2899
|
+
var styles = _ref.styles,
|
|
2900
|
+
menuStyles = _ref.menuStyles,
|
|
2901
|
+
menuDropdownStyles = _ref.menuDropdownStyles;
|
|
2902
|
+
return {
|
|
2903
|
+
root: styles,
|
|
2904
|
+
nav: {
|
|
2905
|
+
marginRight: "10px"
|
|
2906
|
+
},
|
|
2907
|
+
user: {
|
|
2908
|
+
marginRight: "20px",
|
|
2909
|
+
backgroundColor: "rgba(0,0,0,0.05)",
|
|
2910
|
+
borderRadius: "5px",
|
|
2911
|
+
border: "1px solid rgba(0,0,0, 0.25)"
|
|
2912
|
+
},
|
|
2913
|
+
userInfo: {
|
|
2914
|
+
paddingLeft: "1em"
|
|
2915
|
+
},
|
|
2916
|
+
button: {
|
|
2917
|
+
color: "white",
|
|
2918
|
+
backgroundColor: "transparent",
|
|
2919
|
+
"&:hover": {
|
|
2920
|
+
backgroundColor: "rgba(0,0,0,0.05)"
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2923
|
+
loginButton: {
|
|
2924
|
+
padding: "6px 18px"
|
|
2925
|
+
},
|
|
2926
|
+
logoutButton: {
|
|
2927
|
+
paddingRight: "18px"
|
|
2928
|
+
},
|
|
2929
|
+
avatar: {
|
|
2930
|
+
paddingRight: "0.5em"
|
|
2931
|
+
},
|
|
2932
|
+
menu: _extends$1({
|
|
2933
|
+
marginTop: "48px",
|
|
2841
2934
|
backgroundColor: "rgba(0,0,0,0.5)"
|
|
2842
|
-
}, menuStyles
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
}, menuDropdownStyles);
|
|
2851
|
-
}
|
|
2935
|
+
}, menuStyles, {
|
|
2936
|
+
"& .MuiPaper-root": _extends$1({
|
|
2937
|
+
minWidth: "20%",
|
|
2938
|
+
backgroundColor: "#2d2d2d",
|
|
2939
|
+
color: "white"
|
|
2940
|
+
}, menuDropdownStyles)
|
|
2941
|
+
})
|
|
2942
|
+
};
|
|
2852
2943
|
});
|
|
2853
2944
|
|
|
2854
2945
|
var Header = function Header(_ref) {
|
|
@@ -2895,7 +2986,7 @@ var Header = function Header(_ref) {
|
|
|
2895
2986
|
menuAnchorEl = _useState2[0],
|
|
2896
2987
|
setMenuAnchorEl = _useState2[1];
|
|
2897
2988
|
|
|
2898
|
-
var
|
|
2989
|
+
var headerStyles = useStyles({
|
|
2899
2990
|
styles: styles,
|
|
2900
2991
|
menuStyles: menuStyles,
|
|
2901
2992
|
menuDropdownStyles: menuDropdownStyles
|
|
@@ -2963,14 +3054,14 @@ var Header = function Header(_ref) {
|
|
|
2963
3054
|
var currentUser = userStore.currentUser;
|
|
2964
3055
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
2965
3056
|
display: "inline-block",
|
|
2966
|
-
|
|
3057
|
+
sx: headerStyles.avatar
|
|
2967
3058
|
}, currentUser && currentUser.name);
|
|
2968
3059
|
};
|
|
2969
3060
|
|
|
2970
3061
|
var renderNav = function renderNav() {
|
|
2971
3062
|
return navItems && /*#__PURE__*/React__default.createElement(Box, {
|
|
2972
3063
|
display: "flex",
|
|
2973
|
-
|
|
3064
|
+
sx: headerStyles.nav
|
|
2974
3065
|
}, navItems.map(function (item) {
|
|
2975
3066
|
return /*#__PURE__*/React__default.createElement(Button, {
|
|
2976
3067
|
key: item.label,
|
|
@@ -2978,7 +3069,7 @@ var Header = function Header(_ref) {
|
|
|
2978
3069
|
return handleItemClick(item);
|
|
2979
3070
|
},
|
|
2980
3071
|
endIcon: item.icon,
|
|
2981
|
-
|
|
3072
|
+
sx: headerStyles.button
|
|
2982
3073
|
}, item.label);
|
|
2983
3074
|
}));
|
|
2984
3075
|
};
|
|
@@ -2987,23 +3078,23 @@ var Header = function Header(_ref) {
|
|
|
2987
3078
|
var currentUser = userStore.getCurrentUserJS;
|
|
2988
3079
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
2989
3080
|
display: "flex",
|
|
2990
|
-
|
|
3081
|
+
sx: headerStyles.user
|
|
2991
3082
|
}, currentUser ? /*#__PURE__*/React__default.createElement(Box, {
|
|
2992
3083
|
display: "flex",
|
|
2993
3084
|
alignItems: "center",
|
|
2994
|
-
|
|
3085
|
+
sx: headerStyles.userInfo
|
|
2995
3086
|
}, showCompanyLogo && renderUserCompanyLogo(), renderUserAvatar(), /*#__PURE__*/React__default.createElement(Button, {
|
|
2996
3087
|
id: "logout-button",
|
|
2997
3088
|
onClick: handleLogout,
|
|
2998
3089
|
endIcon: /*#__PURE__*/React__default.createElement(ExitToAppIcon, null),
|
|
2999
|
-
|
|
3090
|
+
sx: _extends$1({}, headerStyles.button, headerStyles.logoutButton),
|
|
3000
3091
|
"data-testid": "ac-sdk-header-logout-button"
|
|
3001
3092
|
}, languageStore.translations.headerLogoutButton)) : /*#__PURE__*/React__default.createElement(Button, {
|
|
3002
3093
|
id: "login-button",
|
|
3003
3094
|
onClick: function onClick() {
|
|
3004
3095
|
return navigate("/login");
|
|
3005
3096
|
},
|
|
3006
|
-
|
|
3097
|
+
sx: _extends$1({}, headerStyles.button, headerStyles.loginButton),
|
|
3007
3098
|
"data-testid": "ac-sdk-header-login-button"
|
|
3008
3099
|
}, languageStore.translations.headerLoginButton));
|
|
3009
3100
|
};
|
|
@@ -3030,10 +3121,7 @@ var Header = function Header(_ref) {
|
|
|
3030
3121
|
},
|
|
3031
3122
|
open: Boolean(menuAnchorEl),
|
|
3032
3123
|
onClose: handleMenuClose,
|
|
3033
|
-
|
|
3034
|
-
PopoverClasses: {
|
|
3035
|
-
paper: classes.popover
|
|
3036
|
-
}
|
|
3124
|
+
sx: headerStyles.menu
|
|
3037
3125
|
}, menuItems.map(function (item) {
|
|
3038
3126
|
return /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
3039
3127
|
key: item.label,
|
|
@@ -3047,7 +3135,7 @@ var Header = function Header(_ref) {
|
|
|
3047
3135
|
return /*#__PURE__*/React__default.createElement(AppBar, {
|
|
3048
3136
|
position: position,
|
|
3049
3137
|
elevation: 0,
|
|
3050
|
-
|
|
3138
|
+
sx: headerStyles.root,
|
|
3051
3139
|
"data-testid": dataTestID || "ac-sdk-header"
|
|
3052
3140
|
}, /*#__PURE__*/React__default.createElement(Toolbar, {
|
|
3053
3141
|
variant: "dense"
|
|
@@ -3142,6 +3230,8 @@ Container.defaultProps = {
|
|
|
3142
3230
|
headerProps: {}
|
|
3143
3231
|
};
|
|
3144
3232
|
|
|
3233
|
+
var backdropPattern = "backdropPattern~bkGGEBvj.svg";
|
|
3234
|
+
|
|
3145
3235
|
var FullscreenBackdrop = function FullscreenBackdrop() {
|
|
3146
3236
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
3147
3237
|
style: {
|
|
@@ -3153,423 +3243,12 @@ var FullscreenBackdrop = function FullscreenBackdrop() {
|
|
|
3153
3243
|
left: "0",
|
|
3154
3244
|
width: "100%",
|
|
3155
3245
|
height: "100%",
|
|
3156
|
-
overflow: "hidden"
|
|
3246
|
+
overflow: "hidden",
|
|
3247
|
+
backgroundImage: "url(" + backdropPattern + ")",
|
|
3248
|
+
backgroundRepeat: "no-repeat",
|
|
3249
|
+
backgroundSize: "cover"
|
|
3157
3250
|
}
|
|
3158
|
-
}
|
|
3159
|
-
width: "1920",
|
|
3160
|
-
height: "1080",
|
|
3161
|
-
viewBox: "0 0 1920 1080",
|
|
3162
|
-
fill: "none",
|
|
3163
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3164
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
3165
|
-
filter: "url(#filter0_d_2183_34073)"
|
|
3166
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
3167
|
-
d: "M0 0H1920V1080H0V0Z",
|
|
3168
|
-
fill: "#1E1E1E"
|
|
3169
|
-
})), /*#__PURE__*/React__default.createElement("mask", {
|
|
3170
|
-
id: "mask0_2183_34073",
|
|
3171
|
-
style: {
|
|
3172
|
-
maskType: "alpha"
|
|
3173
|
-
},
|
|
3174
|
-
maskUnits: "userSpaceOnUse",
|
|
3175
|
-
x: "0",
|
|
3176
|
-
y: "0",
|
|
3177
|
-
width: "1920",
|
|
3178
|
-
height: "1080"
|
|
3179
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
3180
|
-
width: "1920",
|
|
3181
|
-
height: "1080",
|
|
3182
|
-
fill: "#1E1E1E"
|
|
3183
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
3184
|
-
mask: "url(#mask0_2183_34073)"
|
|
3185
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
3186
|
-
d: "M948.46 -0.00012207L931.49 -0.00012207L0 931.49L0 948.46L948.46 -0.00012207Z",
|
|
3187
|
-
fill: "black",
|
|
3188
|
-
fillOpacity: "0.1"
|
|
3189
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3190
|
-
d: "M914.52 -0.00012207L897.54 -0.00012207L0 897.54L0 914.52L914.52 -0.00012207Z",
|
|
3191
|
-
fill: "black",
|
|
3192
|
-
fillOpacity: "0.1"
|
|
3193
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3194
|
-
d: "M880.58 -0.00012207L863.6 -0.00012207L0 863.6L0 880.58L880.58 -0.00012207Z",
|
|
3195
|
-
fill: "black",
|
|
3196
|
-
fillOpacity: "0.1"
|
|
3197
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3198
|
-
d: "M1016.34 -0.00012207L999.37 -0.00012207L0 999.37L0 1016.34L1016.34 -0.00012207Z",
|
|
3199
|
-
fill: "black",
|
|
3200
|
-
fillOpacity: "0.1"
|
|
3201
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3202
|
-
d: "M982.4 -0.00012207L965.43 -0.00012207L0 965.43L0 982.4L982.4 -0.00012207Z",
|
|
3203
|
-
fill: "black",
|
|
3204
|
-
fillOpacity: "0.1"
|
|
3205
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3206
|
-
d: "M846.63 -0.00012207L829.66 -0.00012207L0 829.66L0 846.63L846.63 -0.00012207Z",
|
|
3207
|
-
fill: "black",
|
|
3208
|
-
fillOpacity: "0.1"
|
|
3209
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3210
|
-
d: "M778.75 -0.00012207L761.78 -0.00012207L0 761.78L0 778.75L778.75 -0.00012207Z",
|
|
3211
|
-
fill: "black",
|
|
3212
|
-
fillOpacity: "0.1"
|
|
3213
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3214
|
-
d: "M1050.28 -0.00012207L1033.31 -0.00012207L0 1033.31L0 1050.28L1050.28 -0.00012207Z",
|
|
3215
|
-
fill: "black",
|
|
3216
|
-
fillOpacity: "0.1"
|
|
3217
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3218
|
-
d: "M812.69 -0.00012207L795.72 -0.00012207L0 795.72L0 812.69L812.69 -0.00012207Z",
|
|
3219
|
-
fill: "black",
|
|
3220
|
-
fillOpacity: "0.1"
|
|
3221
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3222
|
-
d: "M744.81 -0.00012207L727.84 -0.00012207L0 727.84L0 744.81L744.81 -0.00012207Z",
|
|
3223
|
-
fill: "black",
|
|
3224
|
-
fillOpacity: "0.1"
|
|
3225
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3226
|
-
d: "M1457.57 -0.00012207L1440.6 -0.00012207L360.602 1080H377.572L1457.57 -0.00012207Z",
|
|
3227
|
-
fill: "black",
|
|
3228
|
-
fillOpacity: "0.1"
|
|
3229
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3230
|
-
d: "M1389.69 -0.00012207L1372.72 -0.00012207L292.719 1080H309.689L1389.69 -0.00012207Z",
|
|
3231
|
-
fill: "black",
|
|
3232
|
-
fillOpacity: "0.1"
|
|
3233
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3234
|
-
d: "M1321.81 -0.00012207L1304.84 -0.00012207L224.84 1080H241.81L1321.81 -0.00012207Z",
|
|
3235
|
-
fill: "black",
|
|
3236
|
-
fillOpacity: "0.1"
|
|
3237
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3238
|
-
d: "M1355.75 -0.00012207L1338.78 -0.00012207L258.781 1080H275.751L1355.75 -0.00012207Z",
|
|
3239
|
-
fill: "black",
|
|
3240
|
-
fillOpacity: "0.1"
|
|
3241
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3242
|
-
d: "M710.87 -0.00012207L693.9 -0.00012207L0 693.9L0 710.87L710.87 -0.00012207Z",
|
|
3243
|
-
fill: "black",
|
|
3244
|
-
fillOpacity: "0.1"
|
|
3245
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3246
|
-
d: "M1423.63 -0.00012207L1406.66 -0.00012207L326.66 1080H343.63L1423.63 -0.00012207Z",
|
|
3247
|
-
fill: "black",
|
|
3248
|
-
fillOpacity: "0.1"
|
|
3249
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3250
|
-
d: "M1152.1 -0.00012207L1135.13 -0.00012207L55.1289 1080H72.0989L1152.1 -0.00012207Z",
|
|
3251
|
-
fill: "black",
|
|
3252
|
-
fillOpacity: "0.1"
|
|
3253
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3254
|
-
d: "M1118.16 -0.00012207L1101.19 -0.00012207L21.1914 1080H38.1614L1118.16 -0.00012207Z",
|
|
3255
|
-
fill: "black",
|
|
3256
|
-
fillOpacity: "0.1"
|
|
3257
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3258
|
-
d: "M1186.04 -0.00012207L1169.07 -0.00012207L89.0703 1080H106.04L1186.04 -0.00012207Z",
|
|
3259
|
-
fill: "black",
|
|
3260
|
-
fillOpacity: "0.1"
|
|
3261
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3262
|
-
d: "M1253.93 -0.00012207L1236.96 -0.00012207L156.961 1080H173.931L1253.93 -0.00012207Z",
|
|
3263
|
-
fill: "black",
|
|
3264
|
-
fillOpacity: "0.1"
|
|
3265
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3266
|
-
d: "M1219.99 -0.00012207L1203.02 -0.00012207L123.02 1080H139.99L1219.99 -0.00012207Z",
|
|
3267
|
-
fill: "black",
|
|
3268
|
-
fillOpacity: "0.1"
|
|
3269
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3270
|
-
d: "M1287.87 -0.00012207L1270.9 -0.00012207L190.898 1080H207.868L1287.87 -0.00012207Z",
|
|
3271
|
-
fill: "black",
|
|
3272
|
-
fillOpacity: "0.1"
|
|
3273
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3274
|
-
d: "M439.34 -0.00012207L422.37 -0.00012207L0 422.37L0 439.34L439.34 -0.00012207Z",
|
|
3275
|
-
fill: "black",
|
|
3276
|
-
fillOpacity: "0.1"
|
|
3277
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3278
|
-
d: "M167.81 -0.00012207L150.84 -0.00012207L0 150.84L0 167.81L167.81 -0.00012207Z",
|
|
3279
|
-
fill: "black",
|
|
3280
|
-
fillOpacity: "0.1"
|
|
3281
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3282
|
-
d: "M201.75 -0.00012207L184.78 -0.00012207L0 184.78L0 201.75L201.75 -0.00012207Z",
|
|
3283
|
-
fill: "black",
|
|
3284
|
-
fillOpacity: "0.1"
|
|
3285
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3286
|
-
d: "M133.87 -0.00012207L116.9 -0.00012207L0 116.9L0 133.87L133.87 -0.00012207Z",
|
|
3287
|
-
fill: "black",
|
|
3288
|
-
fillOpacity: "0.1"
|
|
3289
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3290
|
-
d: "M235.69 -0.00012207L218.72 -0.00012207L0 218.72L0 235.69L235.69 -0.00012207Z",
|
|
3291
|
-
fill: "black",
|
|
3292
|
-
fillOpacity: "0.1"
|
|
3293
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3294
|
-
d: "M269.63 -0.00012207L252.66 -0.00012207L0 252.66L0 269.63L269.63 -0.00012207Z",
|
|
3295
|
-
fill: "black",
|
|
3296
|
-
fillOpacity: "0.1"
|
|
3297
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3298
|
-
d: "M1067.25 -0.00012207L0 1067.25L0 1080H4.22L1084.22 -0.00012207L1067.25 -0.00012207Z",
|
|
3299
|
-
fill: "black",
|
|
3300
|
-
fillOpacity: "0.1"
|
|
3301
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3302
|
-
d: "M303.57 -0.00012207L286.61 -0.00012207L0 286.61L0 303.57L303.57 -0.00012207Z",
|
|
3303
|
-
fill: "black",
|
|
3304
|
-
fillOpacity: "0.1"
|
|
3305
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3306
|
-
d: "M32.05 -0.00012207L15.08 -0.00012207L0 15.0799L0 32.0499L32.05 -0.00012207Z",
|
|
3307
|
-
fill: "black",
|
|
3308
|
-
fillOpacity: "0.1"
|
|
3309
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3310
|
-
d: "M65.99 -0.00012207L49.02 -0.00012207L0 49.0199L0 65.9899L65.99 -0.00012207Z",
|
|
3311
|
-
fill: "black",
|
|
3312
|
-
fillOpacity: "0.1"
|
|
3313
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3314
|
-
d: "M99.93 -0.00012207L82.96 -0.00012207L0 82.9599L0 99.9299L99.93 -0.00012207Z",
|
|
3315
|
-
fill: "black",
|
|
3316
|
-
fillOpacity: "0.1"
|
|
3317
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3318
|
-
d: "M1491.52 -0.00012207L1474.54 -0.00012207L394.539 1080H411.509L1491.52 -0.00012207Z",
|
|
3319
|
-
fill: "black",
|
|
3320
|
-
fillOpacity: "0.1"
|
|
3321
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3322
|
-
d: "M575.1 -0.00012207L558.13 -0.00012207L0 558.13L0 575.1L575.1 -0.00012207Z",
|
|
3323
|
-
fill: "black",
|
|
3324
|
-
fillOpacity: "0.1"
|
|
3325
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3326
|
-
d: "M507.22 -0.00012207L490.25 -0.00012207L0 490.25L0 507.22L507.22 -0.00012207Z",
|
|
3327
|
-
fill: "black",
|
|
3328
|
-
fillOpacity: "0.1"
|
|
3329
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3330
|
-
d: "M337.52 -0.00012207L320.55 -0.00012207L0 320.55L0 337.52L337.52 -0.00012207Z",
|
|
3331
|
-
fill: "black",
|
|
3332
|
-
fillOpacity: "0.1"
|
|
3333
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3334
|
-
d: "M642.99 -0.00012207L626.02 -0.00012207L0 626.02L0 642.99L642.99 -0.00012207Z",
|
|
3335
|
-
fill: "black",
|
|
3336
|
-
fillOpacity: "0.1"
|
|
3337
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3338
|
-
d: "M609.04 -0.00012207L592.08 -0.00012207L0 592.08L0 609.04L609.04 -0.00012207Z",
|
|
3339
|
-
fill: "black",
|
|
3340
|
-
fillOpacity: "0.1"
|
|
3341
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3342
|
-
d: "M541.16 -0.00012207L524.19 -0.00012207L0 524.19L0 541.16L541.16 -0.00012207Z",
|
|
3343
|
-
fill: "black",
|
|
3344
|
-
fillOpacity: "0.1"
|
|
3345
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3346
|
-
d: "M473.28 -0.00012207L456.31 -0.00012207L0 456.31L0 473.28L473.28 -0.00012207Z",
|
|
3347
|
-
fill: "black",
|
|
3348
|
-
fillOpacity: "0.1"
|
|
3349
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3350
|
-
d: "M371.46 -0.00012207L354.49 -0.00012207L0 354.49L0 371.46L371.46 -0.00012207Z",
|
|
3351
|
-
fill: "black",
|
|
3352
|
-
fillOpacity: "0.1"
|
|
3353
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3354
|
-
d: "M405.4 -0.00012207L388.43 -0.00012207L0 388.43L0 405.4L405.4 -0.00012207Z",
|
|
3355
|
-
fill: "black",
|
|
3356
|
-
fillOpacity: "0.1"
|
|
3357
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3358
|
-
d: "M676.93 -0.00012207L659.96 -0.00012207L0 659.96L0 676.93L676.93 -0.00012207Z",
|
|
3359
|
-
fill: "black",
|
|
3360
|
-
fillOpacity: "0.1"
|
|
3361
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3362
|
-
d: "M1920 420.04V403.07L1243.07 1080H1260.04L1920 420.04Z",
|
|
3363
|
-
fill: "black",
|
|
3364
|
-
fillOpacity: "0.1"
|
|
3365
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3366
|
-
d: "M1920 352.16V335.19L1175.19 1080H1192.16L1920 352.16Z",
|
|
3367
|
-
fill: "black",
|
|
3368
|
-
fillOpacity: "0.1"
|
|
3369
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3370
|
-
d: "M1920 589.75V572.78L1412.78 1080H1429.75L1920 589.75Z",
|
|
3371
|
-
fill: "black",
|
|
3372
|
-
fillOpacity: "0.1"
|
|
3373
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3374
|
-
d: "M1920 623.69V606.72L1446.72 1080H1463.69L1920 623.69Z",
|
|
3375
|
-
fill: "black",
|
|
3376
|
-
fillOpacity: "0.1"
|
|
3377
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3378
|
-
d: "M1920 691.57V674.6L1514.6 1080H1531.57L1920 691.57Z",
|
|
3379
|
-
fill: "black",
|
|
3380
|
-
fillOpacity: "0.1"
|
|
3381
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3382
|
-
d: "M1920 657.63V640.66L1480.66 1080H1497.63L1920 657.63Z",
|
|
3383
|
-
fill: "black",
|
|
3384
|
-
fillOpacity: "0.1"
|
|
3385
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3386
|
-
d: "M1920 386.1V369.13L1209.13 1080H1226.1L1920 386.1Z",
|
|
3387
|
-
fill: "black",
|
|
3388
|
-
fillOpacity: "0.1"
|
|
3389
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3390
|
-
d: "M1920 453.98V437.01L1277.01 1080H1293.98L1920 453.98Z",
|
|
3391
|
-
fill: "black",
|
|
3392
|
-
fillOpacity: "0.1"
|
|
3393
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3394
|
-
d: "M1920 521.87V504.9L1344.9 1080H1361.87L1920 521.87Z",
|
|
3395
|
-
fill: "black",
|
|
3396
|
-
fillOpacity: "0.1"
|
|
3397
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3398
|
-
d: "M1920 725.51V708.54L1548.54 1080H1565.51L1920 725.51Z",
|
|
3399
|
-
fill: "black",
|
|
3400
|
-
fillOpacity: "0.1"
|
|
3401
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3402
|
-
d: "M1920 487.93V470.95L1310.95 1080H1327.92L1920 487.93Z",
|
|
3403
|
-
fill: "black",
|
|
3404
|
-
fillOpacity: "0.1"
|
|
3405
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3406
|
-
d: "M1920 555.81V538.84L1378.84 1080H1395.81L1920 555.81Z",
|
|
3407
|
-
fill: "black",
|
|
3408
|
-
fillOpacity: "0.1"
|
|
3409
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3410
|
-
d: "M1920 963.1V946.13L1786.13 1080H1803.1L1920 963.1Z",
|
|
3411
|
-
fill: "black",
|
|
3412
|
-
fillOpacity: "0.1"
|
|
3413
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3414
|
-
d: "M1920 929.16V912.19L1752.19 1080H1769.16L1920 929.16Z",
|
|
3415
|
-
fill: "black",
|
|
3416
|
-
fillOpacity: "0.1"
|
|
3417
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3418
|
-
d: "M1920 997.04V980.07L1820.07 1080H1837.04L1920 997.04Z",
|
|
3419
|
-
fill: "black",
|
|
3420
|
-
fillOpacity: "0.1"
|
|
3421
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3422
|
-
d: "M1920 759.45V742.48L1582.48 1080H1599.45L1920 759.45Z",
|
|
3423
|
-
fill: "black",
|
|
3424
|
-
fillOpacity: "0.1"
|
|
3425
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3426
|
-
d: "M1920 1064.92V1047.95L1887.95 1080H1904.92L1920 1064.92Z",
|
|
3427
|
-
fill: "black",
|
|
3428
|
-
fillOpacity: "0.1"
|
|
3429
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3430
|
-
d: "M1920 1030.98V1014.01L1854.01 1080H1870.98L1920 1030.98Z",
|
|
3431
|
-
fill: "black",
|
|
3432
|
-
fillOpacity: "0.1"
|
|
3433
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3434
|
-
d: "M1920 793.39V776.42L1616.42 1080H1633.39L1920 793.39Z",
|
|
3435
|
-
fill: "black",
|
|
3436
|
-
fillOpacity: "0.1"
|
|
3437
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3438
|
-
d: "M1920 827.34V810.37L1650.37 1080H1667.34L1920 827.34Z",
|
|
3439
|
-
fill: "black",
|
|
3440
|
-
fillOpacity: "0.1"
|
|
3441
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3442
|
-
d: "M1920 861.28V844.31L1684.31 1080H1701.28L1920 861.28Z",
|
|
3443
|
-
fill: "black",
|
|
3444
|
-
fillOpacity: "0.1"
|
|
3445
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3446
|
-
d: "M1920 895.22V878.25L1718.25 1080H1735.22L1920 895.22Z",
|
|
3447
|
-
fill: "black",
|
|
3448
|
-
fillOpacity: "0.1"
|
|
3449
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3450
|
-
d: "M1920 318.22V301.25L1141.25 1080H1158.22L1920 318.22Z",
|
|
3451
|
-
fill: "black",
|
|
3452
|
-
fillOpacity: "0.1"
|
|
3453
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3454
|
-
d: "M1729.1 -0.00012207L1712.13 -0.00012207L632.129 1080H649.099L1729.1 -0.00012207Z",
|
|
3455
|
-
fill: "black",
|
|
3456
|
-
fillOpacity: "0.1"
|
|
3457
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3458
|
-
d: "M1763.04 -0.00012207L1746.07 -0.00012207L666.07 1080H683.04L1763.04 -0.00012207Z",
|
|
3459
|
-
fill: "black",
|
|
3460
|
-
fillOpacity: "0.1"
|
|
3461
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3462
|
-
d: "M1830.93 -0.00012207L1813.96 -0.00012207L733.961 1080H750.931L1830.93 -0.00012207Z",
|
|
3463
|
-
fill: "black",
|
|
3464
|
-
fillOpacity: "0.1"
|
|
3465
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3466
|
-
d: "M1796.98 -0.00012207L1780.01 -0.00012207L700.012 1080H716.992L1796.98 -0.00012207Z",
|
|
3467
|
-
fill: "black",
|
|
3468
|
-
fillOpacity: "0.1"
|
|
3469
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3470
|
-
d: "M1864.87 -0.00012207L1847.9 -0.00012207L767.898 1080H784.868L1864.87 -0.00012207Z",
|
|
3471
|
-
fill: "black",
|
|
3472
|
-
fillOpacity: "0.1"
|
|
3473
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3474
|
-
d: "M1695.16 -0.00012207L1678.19 -0.00012207L598.191 1080H615.161L1695.16 -0.00012207Z",
|
|
3475
|
-
fill: "black",
|
|
3476
|
-
fillOpacity: "0.1"
|
|
3477
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3478
|
-
d: "M1593.34 -0.00012207L1576.37 -0.00012207L496.371 1080H513.341L1593.34 -0.00012207Z",
|
|
3479
|
-
fill: "black",
|
|
3480
|
-
fillOpacity: "0.1"
|
|
3481
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3482
|
-
d: "M1559.4 -0.00012207L1542.43 -0.00012207L462.43 1080H479.4L1559.4 -0.00012207Z",
|
|
3483
|
-
fill: "black",
|
|
3484
|
-
fillOpacity: "0.1"
|
|
3485
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3486
|
-
d: "M1661.22 -0.00012207L1644.25 -0.00012207L564.25 1080H581.22L1661.22 -0.00012207Z",
|
|
3487
|
-
fill: "black",
|
|
3488
|
-
fillOpacity: "0.1"
|
|
3489
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3490
|
-
d: "M1627.28 -0.00012207L1610.31 -0.00012207L530.309 1080H547.279L1627.28 -0.00012207Z",
|
|
3491
|
-
fill: "black",
|
|
3492
|
-
fillOpacity: "0.1"
|
|
3493
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3494
|
-
d: "M1920 46.6898V29.7198L869.719 1080H886.689L1920 46.6898Z",
|
|
3495
|
-
fill: "black",
|
|
3496
|
-
fillOpacity: "0.1"
|
|
3497
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3498
|
-
d: "M1920 216.4V199.43L1039.42 1080H1056.4L1920 216.4Z",
|
|
3499
|
-
fill: "black",
|
|
3500
|
-
fillOpacity: "0.1"
|
|
3501
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3502
|
-
d: "M1920 182.46V165.48L1005.48 1080H1022.46L1920 182.46Z",
|
|
3503
|
-
fill: "black",
|
|
3504
|
-
fillOpacity: "0.1"
|
|
3505
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3506
|
-
d: "M1920 250.34V233.37L1073.37 1080H1090.34L1920 250.34Z",
|
|
3507
|
-
fill: "black",
|
|
3508
|
-
fillOpacity: "0.1"
|
|
3509
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3510
|
-
d: "M1920 148.51V131.54L971.539 1080H988.509L1920 148.51Z",
|
|
3511
|
-
fill: "black",
|
|
3512
|
-
fillOpacity: "0.1"
|
|
3513
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3514
|
-
d: "M1898.81 -0.00012207L1881.84 -0.00012207L801.84 1080H818.81L1898.81 -0.00012207Z",
|
|
3515
|
-
fill: "black",
|
|
3516
|
-
fillOpacity: "0.1"
|
|
3517
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3518
|
-
d: "M1920 284.28V267.31L1107.31 1080H1124.28L1920 284.28Z",
|
|
3519
|
-
fill: "black",
|
|
3520
|
-
fillOpacity: "0.1"
|
|
3521
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3522
|
-
d: "M1525.46 -0.00012207L1508.48 -0.00012207L428.488 1080H445.458L1525.46 -0.00012207Z",
|
|
3523
|
-
fill: "black",
|
|
3524
|
-
fillOpacity: "0.1"
|
|
3525
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3526
|
-
d: "M1920 12.7499V-0.00012207L1915.78 -0.00012207L835.781 1080H852.751L1920 12.7499Z",
|
|
3527
|
-
fill: "black",
|
|
3528
|
-
fillOpacity: "0.1"
|
|
3529
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3530
|
-
d: "M1920 80.6299V63.6599L903.66 1080H920.63L1920 80.6299Z",
|
|
3531
|
-
fill: "black",
|
|
3532
|
-
fillOpacity: "0.1"
|
|
3533
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3534
|
-
d: "M1920 114.57V97.5999L937.602 1080H954.572L1920 114.57Z",
|
|
3535
|
-
fill: "black",
|
|
3536
|
-
fillOpacity: "0.1"
|
|
3537
|
-
})), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("filter", {
|
|
3538
|
-
id: "filter0_d_2183_34073",
|
|
3539
|
-
x: "-60",
|
|
3540
|
-
y: "-64",
|
|
3541
|
-
width: "2048",
|
|
3542
|
-
height: "1208",
|
|
3543
|
-
filterUnits: "userSpaceOnUse",
|
|
3544
|
-
colorInterpolationFilters: "sRGB"
|
|
3545
|
-
}, /*#__PURE__*/React__default.createElement("feFlood", {
|
|
3546
|
-
floodOpacity: "0",
|
|
3547
|
-
result: "BackgroundImageFix"
|
|
3548
|
-
}), /*#__PURE__*/React__default.createElement("feColorMatrix", {
|
|
3549
|
-
in: "SourceAlpha",
|
|
3550
|
-
type: "matrix",
|
|
3551
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
3552
|
-
result: "hardAlpha"
|
|
3553
|
-
}), /*#__PURE__*/React__default.createElement("feOffset", {
|
|
3554
|
-
dx: "4"
|
|
3555
|
-
}), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
|
|
3556
|
-
stdDeviation: "32"
|
|
3557
|
-
}), /*#__PURE__*/React__default.createElement("feComposite", {
|
|
3558
|
-
in2: "hardAlpha",
|
|
3559
|
-
operator: "out"
|
|
3560
|
-
}), /*#__PURE__*/React__default.createElement("feColorMatrix", {
|
|
3561
|
-
type: "matrix",
|
|
3562
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.28 0"
|
|
3563
|
-
}), /*#__PURE__*/React__default.createElement("feBlend", {
|
|
3564
|
-
mode: "normal",
|
|
3565
|
-
in2: "BackgroundImageFix",
|
|
3566
|
-
result: "effect1_dropShadow_2183_34073"
|
|
3567
|
-
}), /*#__PURE__*/React__default.createElement("feBlend", {
|
|
3568
|
-
mode: "normal",
|
|
3569
|
-
in: "SourceGraphic",
|
|
3570
|
-
in2: "effect1_dropShadow_2183_34073",
|
|
3571
|
-
result: "shape"
|
|
3572
|
-
})))));
|
|
3251
|
+
});
|
|
3573
3252
|
};
|
|
3574
3253
|
|
|
3575
3254
|
var LoginPage = function LoginPage(_ref) {
|
|
@@ -3650,7 +3329,8 @@ var Router = function Router(_ref) {
|
|
|
3650
3329
|
})));
|
|
3651
3330
|
};
|
|
3652
3331
|
|
|
3653
|
-
var NetworkError = function NetworkError() {
|
|
3332
|
+
var NetworkError = function NetworkError(_ref) {
|
|
3333
|
+
var message = _ref.message;
|
|
3654
3334
|
return /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(FullscreenBackdrop, null), /*#__PURE__*/React__default.createElement(material.Card, {
|
|
3655
3335
|
style: {
|
|
3656
3336
|
backgroundColor: "inherit",
|
|
@@ -3658,8 +3338,13 @@ var NetworkError = function NetworkError() {
|
|
|
3658
3338
|
maxWidth: "600px",
|
|
3659
3339
|
margin: "200px auto"
|
|
3660
3340
|
}
|
|
3661
|
-
}, /*#__PURE__*/React__default.createElement(material.CardContent,
|
|
3341
|
+
}, /*#__PURE__*/React__default.createElement(material.CardContent, {
|
|
3342
|
+
style: {
|
|
3343
|
+
minHeight: "unset"
|
|
3344
|
+
}
|
|
3345
|
+
}, /*#__PURE__*/React__default.createElement(material.Box, {
|
|
3662
3346
|
display: "flex",
|
|
3347
|
+
flexDirection: "column",
|
|
3663
3348
|
alignItems: "center",
|
|
3664
3349
|
justifyContent: "center",
|
|
3665
3350
|
m: "125px 80px"
|
|
@@ -3669,7 +3354,13 @@ var NetworkError = function NetworkError() {
|
|
|
3669
3354
|
color: "rgba(255, 255, 255, 0.6)",
|
|
3670
3355
|
fontFamily: "Roboto"
|
|
3671
3356
|
}
|
|
3672
|
-
}, languageStore.translations.networkErrorHeader))
|
|
3357
|
+
}, languageStore.translations.networkErrorHeader), /*#__PURE__*/React__default.createElement("br", null), /*#__PURE__*/React__default.createElement("p", {
|
|
3358
|
+
style: {
|
|
3359
|
+
textAlign: "center",
|
|
3360
|
+
color: "rgba(255, 255, 255, 0.6)",
|
|
3361
|
+
fontFamily: "Roboto"
|
|
3362
|
+
}
|
|
3363
|
+
}, message)))));
|
|
3673
3364
|
};
|
|
3674
3365
|
|
|
3675
3366
|
var App = mobxReactLite.observer(function (_ref) {
|
|
@@ -3729,7 +3420,7 @@ var App = mobxReactLite.observer(function (_ref) {
|
|
|
3729
3420
|
}, authProps)
|
|
3730
3421
|
}, sessionStore.networkError ? /*#__PURE__*/React__default.createElement(NetworkError, null) : appReady && /*#__PURE__*/React__default.createElement(Router, null, /*#__PURE__*/React__default.createElement(reactRouterDom.Route, {
|
|
3731
3422
|
path: "*",
|
|
3732
|
-
element: /*#__PURE__*/React__default.createElement(
|
|
3423
|
+
element: /*#__PURE__*/React__default.createElement(ModalProvider, null, children)
|
|
3733
3424
|
}))));
|
|
3734
3425
|
});
|
|
3735
3426
|
App.propTypes = {
|