@devtron-labs/devtron-fe-common-lib 0.0.6-beta-8 → 0.0.6-beta-9
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/Common/Drawer/Drawer.d.ts +16 -0
- package/dist/Common/EmptyState/EmptyState.d.ts +24 -0
- package/dist/Common/Error.d.ts +15 -0
- package/dist/Common/Helper.d.ts +1 -0
- package/dist/Common/Modals/Modal.d.ts +9 -0
- package/dist/Common/Modals/OpaqueModal.d.ts +12 -0
- package/dist/Common/Modals/VisibleModal.d.ts +15 -0
- package/dist/Common/Modals/VisibleModal2.d.ts +12 -0
- package/dist/Common/Progressing.d.ts +13 -0
- package/dist/Common/Reload.d.ts +5 -0
- package/dist/Common/ToastBody.d.ts +23 -0
- package/dist/Common/index.d.ts +11 -0
- package/dist/b5d52f036bdcd3ed.png +0 -0
- package/dist/index.js +1 -1
- package/package.json +44 -39
- package/rollup.config.js +16 -14
- package/src/Assets/Icon/ic-close.svg +9 -0
- package/src/Assets/Icon/ic-progressing.svg +6 -0
- package/src/Assets/Img/ic-loading-failure.png +0 -0
- package/src/Assets/Img/ic-not-authorized.svg +62 -0
- package/src/Common/Constants.ts +1 -1
- package/src/Common/Drawer/Drawer.scss +39 -0
- package/src/Common/Drawer/Drawer.tsx +51 -0
- package/src/Common/EmptyState/EmptyState.tsx +42 -0
- package/src/Common/EmptyState/emptyState.scss +83 -0
- package/src/Common/Error.tsx +55 -0
- package/src/Common/Helper.tsx +31 -0
- package/src/Common/Modals/Modal.tsx +53 -0
- package/src/Common/Modals/OpaqueModal.tsx +36 -0
- package/src/Common/Modals/VisibleModal.tsx +55 -0
- package/src/Common/Modals/VisibleModal2.tsx +35 -0
- package/src/Common/Progressing.tsx +60 -0
- package/src/Common/Reload.tsx +18 -0
- package/src/Common/ServerError.ts +19 -18
- package/src/Common/ToastBody.tsx +64 -0
- package/src/Common/Types.ts +8 -9
- package/src/Common/index.ts +12 -1
- package/src/custom.d.ts +13 -0
- package/tsconfig.json +2 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Drawer.scss';
|
|
3
|
+
interface drawerInterface {
|
|
4
|
+
position: 'left' | 'right' | 'bottom' | 'top';
|
|
5
|
+
children?: any;
|
|
6
|
+
backdrop?: boolean;
|
|
7
|
+
onClose?: (e: any) => void;
|
|
8
|
+
width?: string;
|
|
9
|
+
minWidth?: string;
|
|
10
|
+
maxWidth?: string;
|
|
11
|
+
height?: string;
|
|
12
|
+
parentClassName?: string;
|
|
13
|
+
onEscape?: (e?: any) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const Drawer: React.FC<drawerInterface>;
|
|
16
|
+
export default Drawer;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './emptyState.scss';
|
|
3
|
+
declare function EmptyState({ children }: {
|
|
4
|
+
children: any;
|
|
5
|
+
}): JSX.Element;
|
|
6
|
+
declare namespace EmptyState {
|
|
7
|
+
var Image: ({ children }: {
|
|
8
|
+
children: any;
|
|
9
|
+
}) => any;
|
|
10
|
+
var Title: ({ children }: {
|
|
11
|
+
children: any;
|
|
12
|
+
}) => any;
|
|
13
|
+
var Subtitle: ({ children, className }: {
|
|
14
|
+
children: any;
|
|
15
|
+
className?: string;
|
|
16
|
+
}) => JSX.Element;
|
|
17
|
+
var Button: ({ children }: {
|
|
18
|
+
children: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
var Loading: React.FC<{
|
|
21
|
+
text: string;
|
|
22
|
+
}>;
|
|
23
|
+
}
|
|
24
|
+
export default EmptyState;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
export declare class ErrorScreenManager extends Component<{
|
|
3
|
+
code?: number;
|
|
4
|
+
reload?: (...args: any[]) => any;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
reloadClass?: string;
|
|
7
|
+
}> {
|
|
8
|
+
getMessage(): JSX.Element | "Bad Request" | "Unauthorized" | "Not Found" | "Internal Server Error" | "Bad Gateway" | "Service Temporarily Unavailable";
|
|
9
|
+
render(): JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
export declare class ErrorScreenNotAuthorized extends Component<{
|
|
12
|
+
subtitle: string;
|
|
13
|
+
}> {
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Modal: ({ style, children, modal, rootClassName, onClick, callbackRef }: {
|
|
3
|
+
style?: {};
|
|
4
|
+
children: any;
|
|
5
|
+
modal?: boolean;
|
|
6
|
+
rootClassName?: string;
|
|
7
|
+
onClick?: any;
|
|
8
|
+
callbackRef?: any;
|
|
9
|
+
}) => React.ReactPortal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface OpaqueModalProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
onHide?: any;
|
|
5
|
+
noBackground?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class OpaqueModal extends React.Component<OpaqueModalProps> {
|
|
8
|
+
modalRef: HTMLElement;
|
|
9
|
+
componentDidMount(): void;
|
|
10
|
+
componentWillUnmount(): void;
|
|
11
|
+
render(): React.ReactPortal;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare class VisibleModal extends React.Component<{
|
|
3
|
+
className: string;
|
|
4
|
+
parentClassName?: string;
|
|
5
|
+
noBackground?: boolean;
|
|
6
|
+
close?: (e: any) => void;
|
|
7
|
+
onEscape?: (e: any) => void;
|
|
8
|
+
}> {
|
|
9
|
+
modalRef: HTMLElement;
|
|
10
|
+
constructor(props: any);
|
|
11
|
+
escFunction(event: any): void;
|
|
12
|
+
componentDidMount(): void;
|
|
13
|
+
componentWillUnmount(): void;
|
|
14
|
+
render(): React.ReactPortal;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare class VisibleModal2 extends React.Component<{
|
|
3
|
+
className: string;
|
|
4
|
+
close?: (e: any) => void;
|
|
5
|
+
}> {
|
|
6
|
+
modalRef: HTMLElement;
|
|
7
|
+
constructor(props: any);
|
|
8
|
+
escFunction(event: any): void;
|
|
9
|
+
componentDidMount(): void;
|
|
10
|
+
componentWillUnmount(): void;
|
|
11
|
+
render(): React.ReactPortal;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ProgressingProps {
|
|
3
|
+
pageLoader?: boolean;
|
|
4
|
+
loadingText?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
fullHeight?: boolean;
|
|
7
|
+
theme?: 'white' | 'default';
|
|
8
|
+
styles?: React.CSSProperties;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare function Progressing({ pageLoader, size, theme, styles }: ProgressingProps): JSX.Element;
|
|
12
|
+
export declare function DetailsProgressing({ loadingText, size, fullHeight, children, styles, }: ProgressingProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare class ToastBody extends React.Component<{
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
}> {
|
|
6
|
+
render(): JSX.Element;
|
|
7
|
+
}
|
|
8
|
+
export declare class ToastBody3 extends React.Component<{
|
|
9
|
+
text: string;
|
|
10
|
+
onClick: (...args: any[]) => void;
|
|
11
|
+
buttonText: string;
|
|
12
|
+
}> {
|
|
13
|
+
render(): JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export declare class ToastBodyWithButton extends React.Component<{
|
|
16
|
+
title: string;
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
onClick: (...args: any[]) => void;
|
|
19
|
+
buttonText: string;
|
|
20
|
+
}> {
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export declare const toastAccessDenied: (subtitle?: string) => React.ReactText;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -2,3 +2,14 @@ export * from './Constants';
|
|
|
2
2
|
export * from './ServerError';
|
|
3
3
|
export * from './Types';
|
|
4
4
|
export * from './Api';
|
|
5
|
+
export * from './EmptyState/EmptyState';
|
|
6
|
+
export * from './ToastBody';
|
|
7
|
+
export * from './Reload';
|
|
8
|
+
export * from './Error';
|
|
9
|
+
export * from './Helper';
|
|
10
|
+
export * from './Progressing';
|
|
11
|
+
export * from './Drawer/Drawer';
|
|
12
|
+
export * from './Modals/Modal';
|
|
13
|
+
export * from './Modals/OpaqueModal';
|
|
14
|
+
export * from './Modals/VisibleModal';
|
|
15
|
+
export * from './Modals/VisibleModal2';
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=6e4,t=process.env.REACT_APP_ORCHESTRATOR_ROOT,n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)};function r(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var a=function(e){this.code=e.code||0,this.userMessage=e.userMessage||"",this.internalMessage=e.internalMessage||"",this.moreInfo=e.moreInfo||""},i=function(e){function t(t){var n=e.call(this)||this;n.code=t.code;var r=t.errors.reduce((function(e,t){return e+="".concat(t.internalMessage||t.userMessage)}),"");return n.name="[".concat(t.code.toString(),"]"),n.message=r,n.errors=t.errors.map((function(e){return new a(e)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(Error),s={100:"Continue",101:"Switching Protocols",102:"Processing(WebDAV)",200:"OK",201:"Created",202:"Accepted",203:"Non - Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi - Status(WebDAV)",208:"Already Reported(WebDAV)",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect(experimental)",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request - URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",420:"Enhance Your Calm(Twitter)",422:"Unprocessable Entity(WebDAV)",423:"Locked(WebDAV)",424:"Failed Dependency(WebDAV)",425:"Reserved for WebDAV",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",444:"No Response(Nginx)",449:"Retry With(Microsoft)",450:"Blocked by Windows Parental Controls(Microsoft)",451:"Unavailable For Legal Reasons",499:"Client Closed Request(Nginx)",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates(Experimental)",507:"Insufficient Storage(WebDAV)",508:"Loop Detected(WebDAV)",509:"Bandwidth Limit Exceeded(Apache)",510:"Not Extended",511:"Network Authentication Required",598:"Network read timeout error",599:"Network connect timeout error"};function c(e,t){return r(this,void 0,void 0,(function(){var n,r,a,c;return o(this,(function(o){switch(o.label){case 0:return n=t.status,r=t.statusText||s[n],a=new i({code:n,errors:[]}),"application/json"===e?[3,1]:(r="".concat(s[n],". Please try again."),[3,3]);case 1:return[4,t.json()];case 2:(c=o.sent()).errors&&(a.errors=c.errors),o.label=3;case 3:throw a.errors=a.errors.length>0?a.errors:[{code:n,internalMessage:r,userMessage:r}],a}}))}))}function u(e,n,a,s,u,l){return void 0===u&&(u=!1),r(this,void 0,void 0,(function(){var d,f=this;return o(this,(function(p){return(d={method:n,signal:s,body:a?JSON.stringify(a):void 0}).credentials="include",[2,fetch("".concat(t,"/").concat(e),l?{method:n,body:a}:d).then((function(e){return r(f,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:if(t=e.headers.get("Content-Type"),401!==e.status)return[3,1];if(u)throw new i({code:401,errors:[{code:401,internalMessage:"Please login again",userMessage:"Please login again"}]});return[2,{code:401,status:"Unauthorized",result:[]}];case 1:return e.status>=300&&e.status<=599?[4,c(t,e)]:[3,3];case 2:return[2,n.sent()];case 3:if("application/json"===t)return[2,e.json().then((function(e){if(e.code>=300&&e.code<=599)throw new i({code:e.code,errors:e.errors});return e}))];if("octet-stream"===t||"application/octet-stream"===t)return[2,e];n.label=4;case 4:return[2]}}))}))}),(function(e){var t={code:0,userMessage:e.message,internalMessage:e.message,moreInfo:e.message};throw new i({code:0,errors:[t]})}))]}))}))}function l(e,t,n,r,o){var a=new AbortController,s=a.signal,c=new Promise((function(e,t){var n=(null==r?void 0:r.timeout)?r.timeout:6e4;setTimeout((function(){a.abort(),t({code:408,errors:[{code:408,internalMessage:"Request cancelled",userMessage:"Request Cancelled"}]})}),n)}));return Promise.race([u(e,t,n,(null==r?void 0:r.signal)||s,(null==r?void 0:r.preventAutoLogout)||!1,o),c]).catch((function(e){throw e instanceof i?e:new i({code:408,errors:[{code:408,internalMessage:"That took longer than expected.",userMessage:"That took longer than expected."}]})}))}var d=function(e,t,n,r){return l(e,"POST",t,n,r)},f=function(e,t,n){return l(e,"PUT",t,n)},p=function(e,t){return l(e,"GET",null,t)},h=function(e,t,n){return l(e,"DELETE",t,n)};export{t as Host,e as RequestTimeout,a as ServerError,i as ServerErrors,p as get,d as post,f as put,h as trash};
|
|
1
|
+
import{jsx as t,jsxs as e,Fragment as n}from"react/jsx-runtime";import*as s from"react";import r,{createElement as o,useRef as i,useLayoutEffect as a,useEffect as c,useReducer as l,useState as u,isValidElement as d,cloneElement as h,Component as p}from"react";import f,{render as g}from"react-dom";var m=6e4,_=process.env.REACT_APP_ORCHESTRATOR_ROOT,v=function(t,e){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},v(t,e)};function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}v(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var b=function(){return b=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},b.apply(this,arguments)};function E(t,e,n,s){return new(n||(n=Promise))((function(r,o){function i(t){try{c(s.next(t))}catch(t){o(t)}}function a(t){try{c(s.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,a)}c((s=s.apply(t,e||[])).next())}))}function D(t,e){var n,s,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(n=1,s&&(r=2&a[0]?s.return:a[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,a[1])).done)return r;switch(s=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,s=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],s=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var C=function(t){this.code=t.code||0,this.userMessage=t.userMessage||"",this.internalMessage=t.internalMessage||"",this.moreInfo=t.moreInfo||""},w=function(t){function e(n){var s=t.call(this)||this;s.code=n.code;var r=n.errors.reduce((function(t,e){return t+="".concat(e.internalMessage||e.userMessage)}),"");return s.name="[".concat(n.code.toString(),"]"),s.message=r,s.errors=n.errors.map((function(t){return new C(t)})),Object.setPrototypeOf(s,e.prototype),s}return y(e,t),e}(Error),x={100:"Continue",101:"Switching Protocols",102:"Processing(WebDAV)",200:"OK",201:"Created",202:"Accepted",203:"Non - Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi - Status(WebDAV)",208:"Already Reported(WebDAV)",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect(experimental)",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request - URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",420:"Enhance Your Calm(Twitter)",422:"Unprocessable Entity(WebDAV)",423:"Locked(WebDAV)",424:"Failed Dependency(WebDAV)",425:"Reserved for WebDAV",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",444:"No Response(Nginx)",449:"Retry With(Microsoft)",450:"Blocked by Windows Parental Controls(Microsoft)",451:"Unavailable For Legal Reasons",499:"Client Closed Request(Nginx)",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates(Experimental)",507:"Insufficient Storage(WebDAV)",508:"Loop Detected(WebDAV)",509:"Bandwidth Limit Exceeded(Apache)",510:"Not Extended",511:"Network Authentication Required",598:"Network read timeout error",599:"Network connect timeout error"};function T(t,e){return E(this,void 0,void 0,(function(){var n,s,r,o;return D(this,(function(i){switch(i.label){case 0:return n=e.status,s=e.statusText||x[n],r=new w({code:n,errors:[]}),"application/json"===t?[3,1]:(s="".concat(x[n],". Please try again."),[3,3]);case 1:return[4,e.json()];case 2:(o=i.sent()).errors&&(r.errors=o.errors),i.label=3;case 3:throw r.errors=r.errors.length>0?r.errors:[{code:n,internalMessage:s,userMessage:s}],r}}))}))}function S(t,e,n,s,r,o){return void 0===r&&(r=!1),E(this,void 0,void 0,(function(){var i,a=this;return D(this,(function(c){return(i={method:e,signal:s,body:n?JSON.stringify(n):void 0}).credentials="include",[2,fetch("".concat(_,"/").concat(t),o?{method:e,body:n}:i).then((function(t){return E(a,void 0,void 0,(function(){var e;return D(this,(function(n){switch(n.label){case 0:if(e=t.headers.get("Content-Type"),401!==t.status)return[3,1];if(r)throw new w({code:401,errors:[{code:401,internalMessage:"Please login again",userMessage:"Please login again"}]});return[2,{code:401,status:"Unauthorized",result:[]}];case 1:return t.status>=300&&t.status<=599?[4,T(e,t)]:[3,3];case 2:return[2,n.sent()];case 3:if("application/json"===e)return[2,t.json().then((function(t){if(t.code>=300&&t.code<=599)throw new w({code:t.code,errors:t.errors});return t}))];if("octet-stream"===e||"application/octet-stream"===e)return[2,t];n.label=4;case 4:return[2]}}))}))}),(function(t){var e={code:0,userMessage:t.message,internalMessage:t.message,moreInfo:t.message};throw new w({code:0,errors:[e]})}))]}))}))}function N(t,e,n,s,r){var o=new AbortController,i=o.signal,a=new Promise((function(t,e){var n=(null==s?void 0:s.timeout)?s.timeout:6e4;setTimeout((function(){o.abort(),e({code:408,errors:[{code:408,internalMessage:"Request cancelled",userMessage:"Request Cancelled"}]})}),n)}));return Promise.race([S(t,e,n,(null==s?void 0:s.signal)||i,(null==s?void 0:s.preventAutoLogout)||!1,r),a]).catch((function(t){throw t instanceof w?t:new w({code:408,errors:[{code:408,internalMessage:"That took longer than expected.",userMessage:"That took longer than expected."}]})}))}var F=function(t,e,n,s){return N(t,"POST",e,n,s)},k=function(t,e,n){return N(t,"PUT",e,n)},R=function(t,e){return N(t,"GET",null,e)},L=function(t,e,n){return N(t,"DELETE",e,n)};function O(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var s=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&s.firstChild?s.insertBefore(r,s.firstChild):s.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var M;function A(){return A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},A.apply(this,arguments)}O(".empty-state {\n height: 100%;\n}\n.empty-state img {\n height: 40%;\n max-height: 200px;\n width: auto;\n max-width: 250px;\n}\n.empty-state svg {\n height: 40%;\n max-height: 200px;\n width: auto;\n}\n.empty-state h1,\n.empty-state h2,\n.empty-state h3,\n.empty-state h4,\n.empty-state h5,\n.empty-state h6 {\n color: var(--N900);\n}\n.empty-state .title {\n font-weight: 600;\n}\n.empty-state .subtitle {\n font-size: 13px;\n width: 250px;\n font-weight: 400;\n text-align: center;\n line-height: 1.5;\n margin-bottom: 20px;\n}\n.empty-state .cta {\n height: 36px;\n}\n.empty-state p {\n width: 250px;\n text-align: center;\n font-size: 13px;\n color: var(--N700);\n}\n.empty-state strong {\n font-size: 16px;\n margin-bottom: 4px;\n color: var(--N900);\n font-weight: normal;\n}\n.empty-state .select-popup {\n height: min-content;\n max-height: 250px;\n overflow: auto;\n padding: 8px 0;\n}\n.empty-state .empty-state__loader {\n width: 34px;\n height: 34px;\n margin-bottom: 16px;\n}\n.empty-state .empty-state__loading-text {\n font-size: 12px;\n width: 200px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: var(--N900);\n}\n.empty-state .button__icon {\n width: 16px;\n height: 16px;\n margin-left: 8px;\n}");var P=function(t){return s.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),M||(M=s.createElement("g",{fill:"none"},s.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"0.5s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"}),s.createElement("path",{fill:"#06C",d:"M12 2.5A9.5 9.5 0 1 1 2.5 12a1.5 1.5 0 0 1 3 0A6.5 6.5 0 1 0 12 5.5a1.5 1.5 0 0 1 0-3z"}))))};function I(e){var n=e.children;return t("div",b({className:"flex column empty-state",style:{width:"100%",height:"100%"}},{children:n}))}function B(t){var e,n,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=B(t[e]))&&(s&&(s+=" "),s+=n);else for(e in t)t[e]&&(s&&(s+=" "),s+=e);return s}function z(){for(var t,e,n=0,s="";n<arguments.length;)(t=arguments[n++])&&(e=B(t))&&(s&&(s+=" "),s+=e);return s}function j(){return j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},j.apply(this,arguments)}function U(t,e){if(null==t)return{};var n,s,r={},o=Object.keys(t);for(s=0;s<o.length;s++)n=o[s],e.indexOf(n)>=0||(r[n]=t[n]);return r}function q(t){return"number"==typeof t&&!isNaN(t)}function H(t){return"boolean"==typeof t}function G(t){return"string"==typeof t}function Y(t){return"function"==typeof t}function V(t){return G(t)||Y(t)?t:null}function W(t){return 0===t||t}I.Image=function(t){return t.children},I.Title=function(t){return t.children},I.Subtitle=function(e){var n=e.children,s=e.className;return t("p",b({className:"subtitle ".concat(s)},{children:n}))},I.Button=function(t){return t.children},I.Loading=function(s){return e(n,{children:[t(P,{className:"dc__block empty-state__loader"}),t("p",b({className:"empty-state__loading-text"},{children:s.text}))]})};var $=!("undefined"==typeof window||!window.document||!window.document.createElement);function Q(t){return d(t)||G(t)||Y(t)||q(t)}var J={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},X={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function K(t){var e=t.enter,n=t.exit,s=t.appendPosition,o=void 0!==s&&s,l=t.collapse,u=void 0===l||l,d=t.collapseDuration,h=void 0===d?300:d;return function(t){var s=t.children,l=t.position,d=t.preventExitTransition,p=t.done,f=t.nodeRef,g=t.isIn,m=o?e+"--"+l:e,_=o?n+"--"+l:n,v=i(),y=i(0);function b(t){if(t.target===f.current){var e=f.current;e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",b),e.removeEventListener("animationcancel",b),0===y.current&&(e.className=v.current)}}function E(){var t=f.current;t.removeEventListener("animationend",E),u?function(t,e,n){void 0===n&&(n=300);var s=t.scrollHeight,r=t.style;requestAnimationFrame((function(){r.minHeight="initial",r.height=s+"px",r.transition="all "+n+"ms",requestAnimationFrame((function(){r.height="0",r.padding="0",r.margin="0",setTimeout(e,n)}))}))}(t,p,h):p()}return a((function(){var t;t=f.current,v.current=t.className,t.className+=" "+m,t.addEventListener("animationend",b),t.addEventListener("animationcancel",b)}),[]),c((function(){g||(d?E():function(){y.current=1;var t=f.current;t.className+=" "+_,t.addEventListener("animationend",E)}())}),[g]),r.createElement(r.Fragment,null,s)}}var Z={list:new Map,emitQueue:new Map,on:function(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off:function(t,e){if(e){var n=this.list.get(t).filter((function(t){return t!==e}));return this.list.set(t,n),this}return this.list.delete(t),this},cancelEmit:function(t){var e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit:function(t){for(var e=this,n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];this.list.has(t)&&this.list.get(t).forEach((function(n){var r=setTimeout((function(){n.apply(void 0,s)}),0);e.emitQueue.has(t)||e.emitQueue.set(t,[]),e.emitQueue.get(t).push(r)}))}},tt=["delay","staleId"];function et(t){var e=l((function(t){return t+1}),0)[1],n=u([]),s=n[0],r=n[1],o=i(null),a=i(new Map).current,p=function(t){return-1!==s.indexOf(t)},f=i({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:p,getToast:function(t){return a.get(t)}}).current;function g(t){var e=t.containerId;!f.props.limit||e&&f.containerId!==e||(f.count-=f.queue.length,f.queue=[])}function m(t){r((function(e){return W(t)?e.filter((function(e){return e!==t})):[]}))}function _(){var t=f.queue.shift();y(t.toastContent,t.toastProps,t.staleId)}function v(t,n){var s=n.delay,r=n.staleId,i=U(n,tt);if(Q(t)&&!function(t){return!o.current||f.props.enableMultiContainer&&t.containerId!==f.props.containerId||a.has(t.toastId)&&null==t.updateId}(i)){var c=i.toastId,l=i.updateId,u=i.data,p=f.props,g=function(){return m(c)},v=null==l;v&&f.count++;var b,E,D={toastId:c,updateId:l,isLoading:i.isLoading,theme:i.theme||p.theme,icon:null!=i.icon?i.icon:p.icon,isIn:!1,key:i.key||f.toastKey++,type:i.type,closeToast:g,closeButton:i.closeButton,rtl:p.rtl,position:i.position||p.position,transition:i.transition||p.transition,className:V(i.className||p.toastClassName),bodyClassName:V(i.bodyClassName||p.bodyClassName),style:i.style||p.toastStyle,bodyStyle:i.bodyStyle||p.bodyStyle,onClick:i.onClick||p.onClick,pauseOnHover:H(i.pauseOnHover)?i.pauseOnHover:p.pauseOnHover,pauseOnFocusLoss:H(i.pauseOnFocusLoss)?i.pauseOnFocusLoss:p.pauseOnFocusLoss,draggable:H(i.draggable)?i.draggable:p.draggable,draggablePercent:i.draggablePercent||p.draggablePercent,draggableDirection:i.draggableDirection||p.draggableDirection,closeOnClick:H(i.closeOnClick)?i.closeOnClick:p.closeOnClick,progressClassName:V(i.progressClassName||p.progressClassName),progressStyle:i.progressStyle||p.progressStyle,autoClose:!i.isLoading&&(b=i.autoClose,E=p.autoClose,!1===b||q(b)&&b>0?b:E),hideProgressBar:H(i.hideProgressBar)?i.hideProgressBar:p.hideProgressBar,progress:i.progress,role:i.role||p.role,deleteToast:function(){a.delete(c);var t=f.queue.length;if(f.count=W(c)?f.count-1:f.count-f.displayedToast,f.count<0&&(f.count=0),t>0){var n=W(c)?1:f.props.limit;if(1===t||1===n)f.displayedToast++,_();else{var s=n>t?t:n;f.displayedToast=s;for(var r=0;r<s;r++)_()}}else e()}};Y(i.onOpen)&&(D.onOpen=i.onOpen),Y(i.onClose)&&(D.onClose=i.onClose),D.closeButton=p.closeButton,!1===i.closeButton||Q(i.closeButton)?D.closeButton=i.closeButton:!0===i.closeButton&&(D.closeButton=!Q(p.closeButton)||p.closeButton);var C=t;d(t)&&!G(t.type)?C=h(t,{closeToast:g,toastProps:D,data:u}):Y(t)&&(C=t({closeToast:g,toastProps:D,data:u})),p.limit&&p.limit>0&&f.count>p.limit&&v?f.queue.push({toastContent:C,toastProps:D,staleId:r}):q(s)&&s>0?setTimeout((function(){y(C,D,r)}),s):y(C,D,r)}}function y(t,e,n){var s=e.toastId;n&&a.delete(n),a.set(s,{content:t,props:e}),r((function(t){return[].concat(t,[s]).filter((function(t){return t!==n}))}))}return c((function(){return f.containerId=t.containerId,Z.cancelEmit(3).on(0,v).on(1,(function(t){return o.current&&m(t)})).on(5,g).emit(2,f),function(){return Z.emit(3,f)}}),[]),c((function(){f.isToastActive=p,f.displayedToast=s.length,Z.emit(4,s.length,t.containerId)}),[s]),c((function(){f.props=t})),{getToastToRender:function(e){var n=new Map,s=Array.from(a.values());return t.newestOnTop&&s.reverse(),s.forEach((function(t){var e=t.props.position;n.has(e)||n.set(e,[]),n.get(e).push(t)})),Array.from(n,(function(t){return e(t[0],t[1])}))},containerRef:o,isToastActive:p}}function nt(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function st(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function rt(t){var e=u(!1),n=e[0],s=e[1],r=u(!1),o=r[0],a=r[1],l=i(null),h=i({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,p=i(t),f=t.autoClose,g=t.pauseOnHover,m=t.closeToast,_=t.onClick,v=t.closeOnClick;function y(e){if(t.draggable){h.didMove=!1,document.addEventListener("mousemove",C),document.addEventListener("mouseup",w),document.addEventListener("touchmove",C),document.addEventListener("touchend",w);var n=l.current;h.canCloseOnClick=!0,h.canDrag=!0,h.boundingRect=n.getBoundingClientRect(),n.style.transition="",h.x=nt(e.nativeEvent),h.y=st(e.nativeEvent),"x"===t.draggableDirection?(h.start=h.x,h.removalDistance=n.offsetWidth*(t.draggablePercent/100)):(h.start=h.y,h.removalDistance=n.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent/100))}}function b(){if(h.boundingRect){var e=h.boundingRect,n=e.top,s=e.bottom,r=e.left,o=e.right;t.pauseOnHover&&h.x>=r&&h.x<=o&&h.y>=n&&h.y<=s?D():E()}}function E(){s(!0)}function D(){s(!1)}function C(e){var s=l.current;h.canDrag&&s&&(h.didMove=!0,n&&D(),h.x=nt(e),h.y=st(e),"x"===t.draggableDirection?h.delta=h.x-h.start:h.delta=h.y-h.start,h.start!==h.x&&(h.canCloseOnClick=!1),s.style.transform="translate"+t.draggableDirection+"("+h.delta+"px)",s.style.opacity=""+(1-Math.abs(h.delta/h.removalDistance)))}function w(){document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",w),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",w);var e=l.current;if(h.canDrag&&h.didMove&&e){if(h.canDrag=!1,Math.abs(h.delta)>h.removalDistance)return a(!0),void t.closeToast();e.style.transition="transform 0.2s, opacity 0.2s",e.style.transform="translate"+t.draggableDirection+"(0)",e.style.opacity="1"}}c((function(){p.current=t})),c((function(){return l.current&&l.current.addEventListener("d",E,{once:!0}),Y(t.onOpen)&&t.onOpen(d(t.children)&&t.children.props),function(){var t=p.current;Y(t.onClose)&&t.onClose(d(t.children)&&t.children.props)}}),[]),c((function(){return t.pauseOnFocusLoss&&function(){document.hasFocus()||D();window.addEventListener("focus",E),window.addEventListener("blur",D)}(),function(){t.pauseOnFocusLoss&&(window.removeEventListener("focus",E),window.removeEventListener("blur",D))}}),[t.pauseOnFocusLoss]);var x={onMouseDown:y,onTouchStart:y,onMouseUp:b,onTouchEnd:b};return f&&g&&(x.onMouseEnter=D,x.onMouseLeave=E),v&&(x.onClick=function(t){_&&_(t),h.canCloseOnClick&&m()}),{playToast:E,pauseToast:D,isRunning:n,preventExitTransition:o,toastRef:l,eventHandlers:x}}function ot(t){var e=t.closeToast,n=t.theme,s=t.ariaLabel;return o("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(t){t.stopPropagation(),e(t)},"aria-label":void 0===s?"close":s},o("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},o("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function it(t){var e,n,s=t.delay,r=t.isRunning,i=t.closeToast,a=t.type,c=t.hide,l=t.className,u=t.style,d=t.controlledProgress,h=t.progress,p=t.rtl,f=t.isIn,g=t.theme,m=j({},u,{animationDuration:s+"ms",animationPlayState:r?"running":"paused",opacity:c?0:1});d&&(m.transform="scaleX("+h+")");var _=z("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+g,"Toastify__progress-bar--"+a,((e={})["Toastify__progress-bar--rtl"]=p,e)),v=Y(l)?l({rtl:p,type:a,defaultClassName:_}):z(_,l),y=((n={})[d&&h>=1?"onTransitionEnd":"onAnimationEnd"]=d&&h<1?null:function(){f&&i()},n);return o("div",Object.assign({role:"progressbar","aria-hidden":c?"true":"false","aria-label":"notification timer",className:v,style:m},y))}it.defaultProps={type:X.DEFAULT,hide:!1};var at=["theme","type"],ct=function(t){var e=t.theme,n=t.type,s=U(t,at);return o("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":"var(--toastify-icon-color-"+n+")"},s))};var lt={info:function(t){return o(ct,Object.assign({},t),o("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return o(ct,Object.assign({},t),o("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return o(ct,Object.assign({},t),o("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return o(ct,Object.assign({},t),o("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return o("div",{className:"Toastify__spinner"})}},ut=function(t){var e,n,s=rt(t),r=s.isRunning,i=s.preventExitTransition,a=s.toastRef,c=s.eventHandlers,l=t.closeButton,u=t.children,p=t.autoClose,f=t.onClick,g=t.type,m=t.hideProgressBar,_=t.closeToast,v=t.transition,y=t.position,b=t.className,E=t.style,D=t.bodyClassName,C=t.bodyStyle,w=t.progressClassName,x=t.progressStyle,T=t.updateId,S=t.role,N=t.progress,F=t.rtl,k=t.toastId,R=t.deleteToast,L=t.isIn,O=t.isLoading,M=t.icon,A=t.theme,P=z("Toastify__toast","Toastify__toast-theme--"+A,"Toastify__toast--"+g,((e={})["Toastify__toast--rtl"]=F,e)),I=Y(b)?b({rtl:F,position:y,type:g,defaultClassName:P}):z(P,b),B=!!N,j=lt[g],U={theme:A,type:g},q=j&&j(U);return!1===M?q=void 0:Y(M)?q=M(U):d(M)?q=h(M,U):G(M)?q=M:O&&(q=lt.spinner()),o(v,{isIn:L,done:R,position:y,preventExitTransition:i,nodeRef:a},o("div",Object.assign({id:k,onClick:f,className:I},c,{style:E,ref:a}),o("div",Object.assign({},L&&{role:S},{className:Y(D)?D({type:g}):z("Toastify__toast-body",D),style:C}),q&&o("div",{className:z("Toastify__toast-icon",(n={},n["Toastify--animate-icon Toastify__zoom-enter"]=!O,n))},q),o("div",null,u)),function(t){if(t){var e={closeToast:_,type:g,theme:A};return Y(t)?t(e):d(t)?h(t,e):void 0}}(l),(p||B)&&o(it,Object.assign({},T&&!B?{key:"pb-"+T}:{},{rtl:F,theme:A,delay:p,isRunning:r,isIn:L,closeToast:_,hide:m,type:g,style:x,className:w,controlledProgress:B,progress:N}))))},dt=function(t){var e=et(t),n=e.getToastToRender,s=e.containerRef,r=e.isToastActive,i=t.className,a=t.style,c=t.rtl,l=t.containerId;function u(t){var e,n=z("Toastify__toast-container","Toastify__toast-container--"+t,((e={})["Toastify__toast-container--rtl"]=c,e));return Y(i)?i({position:t,rtl:c,defaultClassName:n}):z(n,V(i))}return o("div",{ref:s,className:"Toastify",id:l},n((function(t,e){var n=e.length?j({},a):j({},a,{pointerEvents:"none"});return o("div",{className:u(t),style:n,key:"container-"+t},e.map((function(t){var e=t.content,n=t.props;return o(ut,Object.assign({},n,{isIn:r(n.toastId),key:"toast-"+n.key,closeButton:!0===n.closeButton?ot:n.closeButton}),e)})))})))};dt.defaultProps={position:J.TOP_RIGHT,transition:K({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:ot,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var ht,pt,ft,gt=new Map,mt=[],_t=!1;function vt(){return Math.random().toString(36).substring(2,9)}function yt(t){return t&&(G(t.toastId)||q(t.toastId))?t.toastId:vt()}function bt(t,e){return gt.size>0?Z.emit(0,t,e):(mt.push({content:t,options:e}),_t&&$&&(_t=!1,pt=document.createElement("div"),document.body.appendChild(pt),g(o(dt,Object.assign({},ft)),pt))),e.toastId}function Et(t,e){return j({},e,{type:e&&e.type||t,toastId:yt(e)})}function Dt(t){return function(e,n){return bt(e,Et(t,n))}}function Ct(t,e){return bt(t,Et(X.DEFAULT,e))}Ct.loading=function(t,e){return bt(t,Et(X.DEFAULT,j({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},e)))},Ct.promise=function(t,e,n){var s,r=e.pending,o=e.error,i=e.success;r&&(s=G(r)?Ct.loading(r,n):Ct.loading(r.render,j({},n,r)));var a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=function(t,e,r){if(null!=e){var o=j({type:t},a,n,{data:r}),i=G(e)?{render:e}:e;return s?Ct.update(s,j({},o,i)):Ct(i.render,j({},o,i)),r}Ct.dismiss(s)},l=Y(t)?t():t;return l.then((function(t){return c("success",i,t)})).catch((function(t){return c("error",o,t)})),l},Ct.success=Dt(X.SUCCESS),Ct.info=Dt(X.INFO),Ct.error=Dt(X.ERROR),Ct.warning=Dt(X.WARNING),Ct.warn=Ct.warning,Ct.dark=function(t,e){return bt(t,Et(X.DEFAULT,j({theme:"dark"},e)))},Ct.dismiss=function(t){return Z.emit(1,t)},Ct.clearWaitingQueue=function(t){return void 0===t&&(t={}),Z.emit(5,t)},Ct.isActive=function(t){var e=!1;return gt.forEach((function(n){n.isToastActive&&n.isToastActive(t)&&(e=!0)})),e},Ct.update=function(t,e){void 0===e&&(e={}),setTimeout((function(){var n=function(t,e){var n=e.containerId,s=gt.get(n||ht);return s?s.getToast(t):null}(t,e);if(n){var s=n.props,r=n.content,o=j({},s,e,{toastId:e.toastId||t,updateId:vt()});o.toastId!==t&&(o.staleId=t);var i=o.render||r;delete o.render,bt(i,o)}}),0)},Ct.done=function(t){Ct.update(t,{progress:1})},Ct.onChange=function(t){return Y(t)&&Z.on(4,t),function(){Y(t)&&Z.off(4,t)}},Ct.configure=function(t){void 0===t&&(t={}),_t=!0,ft=t},Ct.POSITION=J,Ct.TYPE=X,Z.on(2,(function(t){ht=t.containerId||t,gt.set(ht,t),mt.forEach((function(t){Z.emit(0,t.content,t.options)})),mt=[]})).on(3,(function(t){gt.delete(t.containerId||t),0===gt.size&&Z.off(0).off(1).off(5),$&&pt&&document.body.removeChild(pt)}));var wt=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return y(s,n),s.prototype.render=function(){return e("div",b({className:"toast"},{children:[t("div",b({className:"toast__title"},{children:this.props.title})),this.props.subtitle&&t("div",b({className:"toast__subtitle"},{children:this.props.subtitle}))]}))},s}(r.Component),xt=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return y(s,n),s.prototype.render=function(){return e("div",b({className:"flex left column dc__app-update-toast"},{children:[t("span",b({className:"info"},{children:this.props.text})),t("button",b({type:"button",onClick:this.props.onClick},{children:this.props.buttonText}))]}))},s}(r.Component),Tt=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return y(s,n),s.prototype.render=function(){return e("div",b({className:"toast dc__app-update-toast"},{children:[t("div",b({className:"toast__title"},{children:this.props.title})),this.props.subtitle&&t("div",b({className:"toast__subtitle"},{children:this.props.subtitle})),t("button",b({type:"button",onClick:this.props.onClick,style:{float:"right"}},{children:this.props.buttonText}))]}))},s}(r.Component),St=function(e){return Ct.info(t(wt,{title:"Access denied",subtitle:e||"You do not have required access to perform this action"}),{className:"devtron-toast unauthorized"})};function Nt(n){var s=n.reload,r=void 0===s?null:s,o=n.className;return t("article",b({className:"flex ".concat(void 0===o?"":o),style:{width:"100%",height:"100%"}},{children:e("div",b({className:"flex column",style:{width:"250px",textAlign:"center"}},{children:[t("img",{src:"b5d52f036bdcd3ed.png",style:{width:"100%",height:"auto",marginBottom:"12px"},alt:"load-error"}),t("h3",b({className:"title dc__bold"},{children:"Failed to load"})),t("div",b({className:"dc__empty__subtitle",style:{marginBottom:"20px"}},{children:"We could not load this page. Please give us another try."})),t("button",b({type:"button",className:"cta ghosted",onClick:"function"==typeof r?r:function(t){window.location.reload()}},{children:"Retry"}))]}))}))}var Ft=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return y(n,e),n.prototype.getMessage=function(){switch(this.props.code){case 400:return"Bad Request";case 401:return"Unauthorized";case 403:return t(kt,{subtitle:this.props.subtitle});case 404:return"Not Found";case 500:return"Internal Server Error";case 502:return"Bad Gateway";case 503:return"Service Temporarily Unavailable";default:return t(Nt,{className:this.props.reloadClass})}},n.prototype.render=function(){var e=this.getMessage();return t("div",{children:t("h1",{children:e})})},n}(p),kt=function(n){function s(){return null!==n&&n.apply(this,arguments)||this}return y(s,n),s.prototype.render=function(){return e(I,{children:[t(I.Image,{children:t("img",{src:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22ho9etwod5c%22%20x1%3D%2255.01%25%22%20x2%3D%2240.976%25%22%20y1%3D%220%25%22%20y2%3D%22100%25%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%232A318C%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%231D225F%22%2F%3E%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22mdhg2gjypd%22%20x1%3D%2250%25%22%20x2%3D%2250%25%22%20y1%3D%220%25%22%20y2%3D%22100%25%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EEE%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23D6D7D8%22%2F%3E%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22xe2mx0bk0e%22%20x1%3D%220%25%22%20x2%3D%22100%25%22%20y1%3D%2218%25%22%20y2%3D%2282%25%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23E8B73F%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23CF9F36%22%2F%3E%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%20%20%20%20%20%20%20%20%3Cpath%20id%3D%2288gkjk6cca%22%20d%3D%22M0%200H250V200H0z%22%2F%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28-590%20-308%29%20translate%28590%20308%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22pitr2853ub%22%20fill%3D%22%23fff%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%2388gkjk6cca%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20mask%3D%22url%28%23pitr2853ub%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M47.646%200c2.598%200%205.717%201.017%207.994%202.74%202.276%201.722%203.845%203.02%204.55%205.097.465%201.372.252%203.282-.641%205.728l.008-.072c-.013.145-.039.269-.071.387.574-1.048%201.638-1.624%202.576-1.283%201.07.39%201.5%201.803%201.013%203.14-.487%201.337-1.723%202.144-2.794%201.754-.536-.195-.91-.646-1.09-1.216.023.975.09%202.117.203%203.427l-2.317.161c-2.223%202.412-4.574%203.48-7.055%203.207-.6-.067-1.158-.18-1.675-.339-.588%201.007-1.177%202.688-1.766%205.043l-.064.031.005-.043c-.585%205.627-1.014%2011.07-1.287%2016.327l.001-.108c-.013.958-.003%201.853.028%202.684l.109-1.533c2.141%201.735%204.344%202.776%206.608%203.123%202.263.348%205.76-.128%2010.49-1.426%202.808-.962%205.555-2.299%208.243-4.011H63.94l16.84-20.83h2.756c0-1.439%201.165-2.604%202.604-2.604%201.378%200%202.506%201.07%202.597%202.425l.006.178h1.736c0-1.438%201.166-2.603%202.604-2.603%201.378%200%202.506%201.07%202.598%202.425l.006.178h5.284L89.832%2035.292c.097-.07.17-.106.212-.106.692%200%20.692%205.306-.057%207.152-.289.865-4.73%205.71-9.864%2010.844-2.78%202.78-6.605%206.366-11.477%2010.759l2.511%2011.858c-.568%201.157-2.01%201.928-4.324%202.314-5.208.579-10.415-1.736-16.78-1.736-1.852%200-3.142.343-4.269.744.841%208.545%202.264%2016.398%204.269%2023.558-1.157%201.157-1.946%201.682-2.808%202.052-1.015.394-2.305.789-3.009.86.776%202.429%201.318%204.584%201.627%206.464.38%202.322%202.518%2022.156%206.411%2059.5h-.044l2.037%201.697c2.308%201.962%2012.796%207.547%2014.132%208.307.891.506%202.067%201.794%203.526%203.864-16.575-.025-27.78-.05-33.613-.075l.053.075C12.788%20183.385%200%20183.346%200%20183.308c0-.116%201.154-3.288%202.538-7.095l2.44-6.658H1.761c-.4-1.385-.792-3.254-1.175-5.606-.75-4.788-.18-7.96%203.05-14.536%203.23-6.518%204.866-10.072%204.866-13.764.058-5.768%201.222-11.316%204.28-17.315%202.364-4.73%203.495-5.086%203.725-7.97l.367-5.421c-2.382-.231-5.928-.988-8.045-1.693l-4.21-1.385-.116-4.326C4.214%2085.6%205.08%2076.89%207.79%2065.757%2011.482%2050.47%2022.096%2034.84%2034.959%2025.668c3.055-2.203%204.272-3.049%205.093-2.807.79-.548%201.483-1.096%202.077-1.645-1.685-.52-3.275-1.222-4.77-2.105-2.311-1.366-4.444-3.194-6.398-5.483.397-.834.904-1.524%201.522-2.07.671-.592%201.935-1.108%203.169-1.822l-.065.021-1.204.401c-1.26.424-1.956.713-2.396%201.032-.829.601-1.259%201.275-1.312%202.032l-.005.191-.579.007c-.012-1.039.516-1.943%201.557-2.699.427-.31%201.013-.573%201.983-.916l1.755-.59.612-.213c.593-.213%201.063-.401%201.438-.584%201.296-1.399%202.17-3.971%204.089-5.678C43.642.855%2045.048%200%2047.646%200zM27.999%20144.476l-.189.512c-2.603%207.055-5.679%2015.219-9.228%2024.493l2.126%201.771c2.307%201.962%2012.795%207.547%2014.132%208.307l.035.021c.364-1.006.782-2.154%201.223-3.367l2.44-6.658h-4.242c-1.444-2.617-2.166-4.456-2.166-5.517%200-1.59.913-3.77.913-6.068%200-1.393-1.68-5.89-5.044-13.494zM78.827%2042.819l-1.242-.001c-2.375%202.17-3.972%203.706-4.791%204.61-.72.793-2.112%202.23-4.176%204.309%203.033-1.194%205.06-2.078%206.083-2.65%201.5-.865%202.077-1.673%203.807-5.307.082-.163.192-.506.319-.961zm7.313-22.857c-1.119%200-2.026.907-2.026%202.025h4.05c0-1.118-.906-2.025-2.024-2.025zm6.943%200c-1.119%200-2.025.907-2.025%202.025h4.05c0-1.118-.907-2.025-2.025-2.025zm-33.27-5.413c-.388%201.066-.065%202.132.666%202.398.73.266%201.664-.343%202.052-1.408.388-1.065.064-2.132-.667-2.398-.73-.266-1.664.343-2.052%201.408z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%2380AEF2%22%20fill-rule%3D%22nonzero%22%20d%3D%22M36.56%20183.308c0-.116%201.153-3.288%202.538-7.095l2.538-6.922%206.46-.173%206.403-.173%202.768%202.307c2.308%201.962%2012.796%207.547%2014.132%208.307.891.506%202.067%201.794%203.526%203.864-25.577-.038-38.365-.077-38.365-.115z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%2394BBF8%22%20fill-rule%3D%22nonzero%22%20d%3D%22M3%20183.308c0-.116%201.154-3.288%202.538-7.095l2.538-6.922%206.46-.173%206.403-.173%202.769%202.307c2.307%201.962%2012.795%207.547%2014.132%208.307.89.506%202.066%201.794%203.525%203.864C15.788%20183.385%203%20183.346%203%20183.308z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%231D225F%22%20fill-rule%3D%22nonzero%22%20d%3D%22M46.655%20101.836c1.09%203.158%201.826%205.898%202.208%208.22.38%202.321%202.518%2022.155%206.411%2059.5H37.296c-1.444-2.618-2.166-4.457-2.166-5.518%200-1.59.913-3.77.913-6.068%200-1.532-2.034-6.823-6.104-15.871l3.931-39.349%2012.785-.914z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22url%28%23ho9etwod5c%29%22%20d%3D%22M21.554%20169.555H4.76c-.4-1.385-.792-3.254-1.175-5.606-.75-4.788-.18-7.96%203.05-14.536%203.23-6.518%204.866-10.072%204.866-13.764.058-5.768%201.222-11.316%204.28-17.315%202.364-4.73%203.495-5.086%203.725-7.97l.42-6.202h21.078c.512%201.433.696%204.075.55%207.925-.145%203.85-6.812%2023.006-20.001%2057.468z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%2398BDF9%22%20d%3D%22M0%2024.302L16.84%203.472%2037.031%203.472%2019.592%2024.302z%22%20transform%3D%22translate%2829%208%29%20translate%2866.94%2018.516%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%232174DB%22%20d%3D%22M22.2.868c1.378%200%202.506%201.07%202.597%202.425l.006.179h-.578c0-1.119-.907-2.025-2.025-2.025-1.119%200-2.025.906-2.025%202.025%200%201.062.818%201.934%201.859%202.018l.166.007v.578c-1.438%200-2.604-1.165-2.604-2.603%200-1.438%201.166-2.604%202.604-2.604zM29.143.868c1.378%200%202.506%201.07%202.598%202.425l.006.179h-.579c0-1.119-.906-2.025-2.025-2.025-1.118%200-2.025.906-2.025%202.025%200%201.062.818%201.934%201.859%202.018l.166.007v.578c-1.438%200-2.604-1.165-2.604-2.603%200-1.438%201.166-2.604%202.604-2.604z%22%20transform%3D%22translate%2829%208%29%20translate%2866.94%2018.516%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23F3A29D%22%20fill-rule%3D%22nonzero%22%20d%3D%22M65.472%2046.829c2.807-.962%205.554-2.299%208.242-4.011h6.871c-2.375%202.17-3.972%203.706-4.791%204.61-.82.903-2.509%202.638-5.068%205.205-1.091%205.781-2.254%208.21-3.487%207.285-1.85-1.386-7.939-10.897-1.767-13.09z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FAB6AF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M69.254%2052.654c4.363-1.668%207.179-2.857%208.447-3.567%201.5-.865%202.077-1.673%203.807-5.307.23-.461.692-2.365%201.096-4.153.923-4.557%202.423-4.326%202.538.346.058%201.27.346%202.423.692%202.538.288.116%201.961-1.5%203.634-3.576%201.673-2.077%203.288-3.75%203.576-3.75.692%200%20.692%205.307-.057%207.153-.289.865-4.73%205.71-9.864%2010.844-3.422%203.423-8.431%208.068-15.026%2013.937l1.157-14.465z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23F3A29D%22%20fill-rule%3D%22nonzero%22%20d%3D%22M49.581%2027.774c.772-3.086%201.543-5.015%202.315-5.787-1.157-1.157-2.315-2.314-4.63-3.471-.77%201.543-2.314%203.086-4.628%204.629%200%202.314.771%203.857%202.314%204.629%201.543.771%203.086.771%204.63%200z%22%20transform%3D%22translate%2829%208%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22url%28%23mdhg2gjypd%29%22%20fill-rule%3D%22nonzero%22%20d%3D%22M12.858%2082.16c-2.365-.174-6.23-.981-8.48-1.731l-4.21-1.385-.115-4.326c-.289-11.94.577-20.65%203.288-31.782C7.032%2027.65%2017.646%2012.019%2030.509%202.847c4.96-3.576%205.076-3.576%206.518-1.153.634%201.153%201.96%202.307%202.884%202.653l2.161.594c-3.046%2029.324-1.87%2053.63%203.531%2072.917-1.157%201.158-1.946%201.682-2.808%202.052-1.039.403-2.365.807-3.057.865-.693.058-3%20.519-5.25%201.038-4.21.923-13.382%201.096-21.63.346z%22%20transform%3D%22translate%2829%208%29%20translate%287.45%2022.82%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23D6D7D8%22%20d%3D%22M58.022%2024.008l1.767%2011.311-19.972%202.645%201.106-15.653c2.141%201.735%204.344%202.776%206.608%203.123%202.263.348%205.76-.128%2010.49-1.426z%22%20transform%3D%22translate%2829%208%29%20translate%287.45%2022.82%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23E9E9E9%22%20fill-rule%3D%22nonzero%22%20d%3D%22M61.804%2029.833l4.903%2023.145c-.568%201.157-2.01%201.929-4.324%202.314-5.208.579-10.415-1.736-16.78-1.736-6.365%200-6.09%204.05-15.348.58-6.172-2.315-8.68-12.73-7.523-31.246l18.054-1.73c-.078%205.782.655%209.252%202.198%2010.409%201.512%201.134%207.569.601%2018.17-1.6l.65-.136z%22%20transform%3D%22translate%2829%208%29%20translate%287.45%2022.82%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FAB6AF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M29.082%207.444c1.07%201.52%201.488%203.536%201.253%206.049-.062.656-.376.883-.376%202.052%200%201.12.07%202.506.212%204.157l-2.317.161c-2.222%202.412-4.574%203.48-7.055%203.207-2.48-.275-4.251-1.343-5.31-3.207-2.18-4.023-1.621-7.444%201.675-10.262%203.296-2.818%207.269-3.537%2011.918-2.157z%22%20transform%3D%22translate%2829%208%29%20translate%2832.223%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23E94A47%22%20d%3D%22M18.423%200c2.598%200%205.717%201.017%207.994%202.74%202.277%201.722%203.845%203.02%204.55%205.097.47%201.384.248%203.314-.664%205.791.13-2.345-.048-3.647-.533-3.906-.67%201.653-1.595%201.987-2.703%202.787-.62.448-2.791.518-4.917.897-2.628%201.722-4.303%203.33-4.867%204.86-.448%201.218-.402%202.608.148%204.177l.126.339-.54.21c-.714-1.833-.81-3.478-.277-4.925.522-1.417%201.85-2.838%203.894-4.321-1.09.307-2.051.754-2.634%201.449-1.279%201.526-2.028%203.765-2.246%206.716-2.766-.5-5.305-1.433-7.617-2.8-2.312-1.366-4.445-3.194-6.398-5.483.396-.834.904-1.524%201.521-2.07.671-.592%201.935-1.108%203.169-1.822l-.065.021-1.204.401c-1.26.424-1.956.713-2.395%201.032-.83.601-1.26%201.275-1.313%202.032l-.005.191-.579.007c-.012-1.039.516-1.943%201.557-2.699.427-.31%201.013-.573%201.983-.916l1.756-.59.61-.213c.594-.213%201.064-.401%201.439-.584%201.296-1.399%202.17-3.971%204.09-5.678C14.418.855%2015.825%200%2018.422%200z%22%20transform%3D%22translate%2829%208%29%20translate%2832.223%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20fill%3D%22%23222768%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M1.025%203.16C1.622%201.52%203.194.563%204.56%201.06c1.061.386%201.653%201.524%201.586%202.781.36-.092.688-.137.988-.137l.208.008c.254.02.466.056.636.114.511-1.271%201.708-2.023%202.749-1.644%201.07.39%201.5%201.802%201.013%203.14-.487%201.337-1.723%202.143-2.794%201.754-.953-.347-1.397-1.504-1.14-2.697-.103-.038-.274-.072-.508-.09-.334-.025-.737.029-1.209.165l-.03.01c-.036.159-.083.318-.14.477-.597%201.64-2.17%202.597-3.536%202.1C1.017%206.543.428%204.8%201.025%203.16zm9.504-.434c-.73-.266-1.664.343-2.052%201.408-.388%201.065-.064%202.132.667%202.398.73.266%201.664-.343%202.052-1.408.387-1.066.064-2.132-.667-2.398zM4.362%201.604c-1.036-.378-2.297.39-2.793%201.754-.496%201.363-.024%202.762%201.012%203.14%201.036.376%202.298-.392%202.794-1.755s.023-2.762-1.013-3.14z%22%20transform%3D%22translate%2829%208%29%20translate%2832.223%29%20translate%2822.112%2010.415%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20mask%3D%22url%28%23pitr2853ub%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M30%200c12.15%200%2022%209.85%2022%2022v11h8v48H0V33h8V22C8%209.973%2017.654.198%2029.637.004zm0%207.934c-7.755%200-14.067%206.309-14.067%2014.067V33h28.133V22c0-7.652-6.14-13.896-13.752-14.063z%22%20transform%3D%22translate%28134%2061%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23D6D7D8%22%20d%3D%22M55%2034.3V22C55%209.85%2045.15%200%2033%200S11%209.85%2011%2022v12.3m7.933%200V22c0-7.757%206.312-14.066%2014.068-14.066%207.756%200%2014.065%206.31%2014.065%2014.067v12.298%22%20transform%3D%22translate%28134%2061%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22url%28%23xe2mx0bk0e%29%22%20d%3D%22M3%2033H63V81H3z%22%20transform%3D%22translate%28134%2061%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%233E3D4C%22%20fill-rule%3D%22nonzero%22%20d%3D%22M39%2056c0-3.314-2.686-6-6-6s-6%202.686-6%206c0%202.282%201.275%204.267%203.15%205.281l-.965%207.386h7.63l-.965-7.386C37.726%2060.267%2039%2058.282%2039%2056z%22%20transform%3D%22translate%28134%2061%29%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",alt:"Not Authorized"})}),t(I.Title,{children:t("h3",b({className:"title"},{children:"Not authorized"}))}),t(I.Subtitle,{children:this.props.subtitle?this.props.subtitle:"Looks like you don't have access to information on this page. Please contact your manager to request access."})]})},s}(p);const Rt=Object.prototype.toString;function Lt(t){return function(t,e){return Rt.call(t)===`[object ${e}]`}(t,"Object")}function Ot(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function Mt(t){return t&&t.Math==Math?t:void 0}const At="object"==typeof globalThis&&Mt(globalThis)||"object"==typeof window&&Mt(window)||"object"==typeof self&&Mt(self)||"object"==typeof global&&Mt(global)||function(){return this}()||{};function Pt(t,e,n){const s=n||At,r=s.__SENTRY__=s.__SENTRY__||{};return r[t]||(r[t]=e())}const It=["debug","info","warn","error","log","assert","trace"];function Bt(t){if(!("console"in At))return t();const e=At.console,n={};It.forEach((t=>{const s=e[t]&&e[t].__sentry_original__;t in e&&s&&(n[t]=e[t],e[t]=s)}));try{return t()}finally{Object.keys(n).forEach((t=>{e[t]=n[t]}))}}function zt(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?It.forEach((n=>{e[n]=(...e)=>{t&&Bt((()=>{At.console[n](`Sentry Logger [${n}]:`,...e)}))}})):It.forEach((t=>{e[t]=()=>{}})),e}let jt;function Ut(t){return qt(t,new Map)}function qt(t,e){if(Lt(t)){const n=e.get(t);if(void 0!==n)return n;const s={};e.set(t,s);for(const n of Object.keys(t))void 0!==t[n]&&(s[n]=qt(t[n],e));return s}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const s=[];return e.set(t,s),t.forEach((t=>{s.push(qt(t,e))})),s}return t}function Ht(){const t=At,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function Gt(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}var Yt;jt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Pt("logger",zt):zt(),function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(Yt||(Yt={}));class Vt{__init(){this._state=Yt.PENDING}__init2(){this._handlers=[]}constructor(t){Vt.prototype.__init.call(this),Vt.prototype.__init2.call(this),Vt.prototype.__init3.call(this),Vt.prototype.__init4.call(this),Vt.prototype.__init5.call(this),Vt.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new Vt(((n,s)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){s(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){s(t)}else s(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new Vt(((e,n)=>{let s,r;return this.then((e=>{r=!1,s=e,t&&t()}),(e=>{r=!0,s=e,t&&t()})).then((()=>{r?n(s):e(s)}))}))}__init3(){this._resolve=t=>{this._setResult(Yt.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Yt.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===Yt.PENDING&&(Ot(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===Yt.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===Yt.RESOLVED&&t[1](this._value),this._state===Yt.REJECTED&&t[2](this._value),t[0]=!0)}))}}}const Wt=At,$t={nowSeconds:()=>Date.now()/1e3};const Qt=Gt()?function(){try{return(t=module,e="perf_hooks",t.require(e)).performance}catch(t){return}var t,e}():function(){const{performance:t}=Wt;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),Jt=void 0===Qt?$t:{nowSeconds:()=>(Qt.timeOrigin+Qt.now())/1e3},Xt=$t.nowSeconds.bind($t),Kt=Jt.nowSeconds.bind(Jt);function Zt(t){const e=Kt(),n={sid:Ht(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Ut({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&te(n,t),n}function te(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Kt(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Ht()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}(()=>{const{performance:t}=Wt;if(!t||!t.now)return;const e=36e5,n=t.now(),s=Date.now(),r=t.timeOrigin?Math.abs(t.timeOrigin+n-s):e,o=r<e,i=t.timing&&t.timing.navigationStart,a="number"==typeof i?Math.abs(i+n-s):e;(o||a<e)&&(r<=a&&t.timeOrigin)})();class ee{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const e=new ee;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&te(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof ee?e:this}return t instanceof ee?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):Lt(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const s={timestamp:Xt(),...t};return this._breadcrumbs=[...this._breadcrumbs,s].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction&&this._span.transaction.name;e&&(t.tags={transaction:e,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...Pt("globalEventProcessors",(()=>[])),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,s=0){return new Vt(((r,o)=>{const i=t[s];if(null===e||"function"!=typeof i)r(e);else{const a=i({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.id&&null===a&&jt.log(`Event processor "${i.id}" dropped event`),Ot(a)?a.then((e=>this._notifyEventProcessors(t,e,n,s+1).then(r))).then(null,o):this._notifyEventProcessors(t,a,n,s+1).then(r).then(null,o)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){var e;t.fingerprint=t.fingerprint?(e=t.fingerprint,Array.isArray(e)?e:[e]):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}const ne=100;class se{__init(){this._stack=[{}]}constructor(t,e=new ee,n=4){this._version=n,se.prototype.__init.call(this),this.getStackTop().scope=e,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=ee.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:Ht(),s=new Error("Sentry syntheticException");return this._withClient(((r,o)=>{r.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},o)})),n}captureMessage(t,e,n){const s=this._lastEventId=n&&n.event_id?n.event_id:Ht(),r=new Error(t);return this._withClient(((o,i)=>{o.captureMessage(t,e,{originalException:t,syntheticException:r,...n,event_id:s},i)})),s}captureEvent(t,e){const n=e&&e.event_id?e.event_id:Ht();return t.type||(this._lastEventId=n),this._withClient(((s,r)=>{s.captureEvent(t,{...e,event_id:n},r)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:s}=this.getStackTop();if(!n||!s)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:o=ne}=s.getOptions&&s.getOptions()||{};if(o<=0)return;const i={timestamp:Xt(),...t},a=r?Bt((()=>r(i,e))):i;null!==a&&n.addBreadcrumb(a,o)}setUser(t){const e=this.getScope();e&&e.setUser(t)}setTags(t){const e=this.getScope();e&&e.setTags(t)}setExtras(t){const e=this.getScope();e&&e.setExtras(t)}setTag(t,e){const n=this.getScope();n&&n.setTag(t,e)}setExtra(t,e){const n=this.getScope();n&&n.setExtra(t,e)}setContext(t,e){const n=this.getScope();n&&n.setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();e&&n&&t(e)}run(t){const e=oe(this);try{t(this)}finally{oe(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&jt.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&function(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),te(t,n)}(n),this._sendSessionUpdate(),e&&e.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:s,environment:r}=n&&n.getOptions()||{},{userAgent:o}=At.navigator||{},i=Zt({release:s,environment:r,...e&&{user:e.getUser()},...o&&{userAgent:o},...t});if(e){const t=e.getSession&&e.getSession();t&&"ok"===t.status&&te(t,{status:"exited"}),this.endSession(),e.setSession(i)}return i}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop();if(!t)return;const n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=re().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&jt.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function re(){return At.__SENTRY__=At.__SENTRY__||{extensions:{},hub:void 0},At}function oe(t){const e=re(),n=ce(e);return le(e,t),n}function ie(){const t=re();return ae(t)&&!ce(t).isOlderThan(4)||le(t,new se),Gt()?function(t){try{const e=re().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return ce(t);if(!ae(n)||ce(n).isOlderThan(4)){const e=ce(t).getStackTop();le(n,new se(e.client,ee.clone(e.scope)))}return ce(n)}catch(e){return ce(t)}}(t):ce(t)}function ae(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function ce(t){return Pt("hub",(()=>new se),t)}function le(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}function ue(t,e,n){var s,r;void 0===e&&(e=!0),void 0===n&&(n=!1),t instanceof w&&Array.isArray(t.errors)?t.errors.map((function(e){var s=e.userMessage,r=e.internalMessage;403===t.code&&"unauthorized"===s?n||St():Ct.error(s||r)})):(403!==t.code&&408!==t.code&&(s=t,ie().captureException(s,{captureContext:r})),e&&(t.message?Ct.error(t.message):Ct.error("Some Error Occurred")))}function de(n){var s=n.pageLoader,r=n.size,o=n.theme,i=n.styles,a=r?"".concat(r,"px"):s?"48px":"20px";return t("div",b({className:"loader ".concat(o||"default","-background"),style:i},{children:t("div",b({style:{width:a,height:a}},{children:t("svg",b({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"loader__svg"},{children:e("g",b({fill:"none",fillRule:"evenodd",strokeLinecap:"round"},{children:[t("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"0.5s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"}),t("path",{fill:"#06C",fillRule:"nonzero",d:"M12 2.5A9.5 9.5 0 1 1 2.5 12a1.5 1.5 0 0 1 3 0A6.5 6.5 0 1 0 12 5.5a1.5 1.5 0 0 1 0-3z"})]}))}))}))}))}function he(n){var s=n.loadingText,r=n.size,o=void 0===r?24:r,i=n.fullHeight,a=void 0!==i&&i,c=n.children,l=n.styles;return e("div",b({className:"details-loader bcn-0 flex column fs-14 fw-6 ".concat(a?"h-100":"details-loader-height"),style:l},{children:[t("span",b({style:{width:"".concat(o,"px"),height:"".concat(o,"px")}},{children:t(de,{size:o})})),s&&t("span",b({className:"mt-10"},{children:s})),c]}))}var pe=function(e){function n(t){var n=e.call(this,t)||this;return n.modalRef=document.getElementById("visible-modal"),n.escFunction=n.escFunction.bind(n),n}return y(n,e),n.prototype.escFunction=function(t){27!==t.keyCode&&"Escape"!==t.key||(this.props.onEscape?this.props.onEscape(t):this.props.close&&this.props.close(t))},n.prototype.componentDidMount=function(){document.addEventListener("keydown",this.escFunction),this.modalRef.classList.add(this.props.noBackground?"show":"show-with-bg"),this.props.parentClassName&&this.modalRef.classList.add(this.props.parentClassName)},n.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.escFunction),this.modalRef.classList.remove("show"),this.modalRef.classList.remove("show-with-bg"),this.props.parentClassName&&this.modalRef.classList.remove(this.props.parentClassName)},n.prototype.render=function(){var e;return f.createPortal(t("div",b({className:"visible-modal__body ".concat(this.props.className),onClick:null===(e=this.props)||void 0===e?void 0:e.close},{children:this.props.children})),document.getElementById("visible-modal"))},n}(r.Component);O(".drawer {\n position: absolute;\n overflow: hidden;\n}\n.drawer.left, .drawer.right {\n top: 0;\n bottom: 0;\n width: 0;\n transition: width 200ms;\n}\n.drawer.left.show, .drawer.right.show {\n min-width: var(--minWidth);\n width: var(--width);\n max-width: var(--maxWidth);\n}\n.drawer.top, .drawer.bottom {\n left: 0;\n right: 0;\n height: 0;\n transition: height 200ms;\n}\n.drawer.top.show, .drawer.bottom.show {\n height: var(--height);\n}\n.drawer.right {\n right: 0;\n}\n.drawer.left {\n left: 0;\n}\n.drawer.top {\n top: 0;\n}\n.drawer.bottom {\n bottom: 0;\n}");var fe=function(e){var n=e.style,s=void 0===n?{}:n,o=e.children,i=e.modal,a=void 0!==i&&i,l=e.rootClassName,u=void 0===l?"":l,d=e.onClick,h=void 0===d?null:d,p=e.callbackRef,g=void 0===p?null:p,m=r.useRef(null);function _(t){"function"==typeof h&&(m&&m.current.contains(t.target)?h(t,"in"):h(t,"out"))}function v(t){m&&m.current.contains(t.target)?m.current.clientHeight===m.current.scrollHeight&&t.preventDefault():t.preventDefault()}return c((function(){document.addEventListener("click",_);var t=document.getElementById("visible-modal");return t&&t.classList.add("show"),document.body.addEventListener("wheel",v,{passive:!1}),function(){document.body.removeEventListener("wheel",v),document.removeEventListener("click",_),t&&t.classList.remove("show")}}),[]),f.createPortal(t("div",b({tabIndex:0,onClick:h,ref:function(t){"function"==typeof g&&g(t),m.current=t},id:"popup",className:"".concat(u," popup ").concat(a?"modal":""),style:b({},s)},{children:o})),document.getElementById("visible-modal"))},ge=function(n){function s(){var t=null!==n&&n.apply(this,arguments)||this;return t.modalRef=document.getElementById("full-screen-modal"),t}return y(s,n),s.prototype.componentDidMount=function(){this.props.noBackground?this.modalRef.classList.add("show"):this.modalRef.classList.add("show-with-bg")},s.prototype.componentWillUnmount=function(){this.modalRef.classList.remove("show"),this.modalRef.classList.remove("show-with-bg")},s.prototype.render=function(){var n=b({},this.props),s=n.className,r=void 0===s?"":s,o=n.onHide,i=void 0===o?null:o;return f.createPortal(e("div",b({className:"full-screen-modal__body-container ".concat(r)},{children:[this.props.children,"function"==typeof i&&t("div",b({className:"close-btn icon-dim-24",onClick:function(t){return i(!1)}},{children:t("img",{className:"close-img",src:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpath%20id%3D%22a%22%20class%3D%22stroke-color%22%20d%3D%22M18.295%205.705a.997.997%200%200%200-1.41%200L12%2010.59%207.115%205.705a.997.997%200%201%200-1.41%201.41L10.59%2012l-4.885%204.885a.997.997%200%201%200%201.41%201.41L12%2013.41l4.885%204.885a.997.997%200%200%200%201.41-1.41L13.41%2012l4.885-4.885a.997.997%200%200%200%200-1.41z%22%2F%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22%22%2F%3E%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23999%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",alt:"close"})}))]})),document.getElementById("full-screen-modal"))},s}(r.Component),me=function(e){function n(t){var n=e.call(this,t)||this;return n.modalRef=document.getElementById("visible-modal-2"),n.escFunction=n.escFunction.bind(n),n}return y(n,e),n.prototype.escFunction=function(t){27===t.keyCode&&this.props.close&&this.props.close(t)},n.prototype.componentDidMount=function(){document.addEventListener("keydown",this.escFunction),this.modalRef.classList.add("show-with-bg")},n.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.escFunction),this.modalRef.classList.remove("show-with-bg")},n.prototype.render=function(){var e;return f.createPortal(t("div",b({className:"visible-modal__body ".concat(this.props.className),onClick:null===(e=this.props)||void 0===e?void 0:e.close},{children:this.props.children})),document.getElementById("visible-modal-2"))},n}(r.Component);export{he as DetailsProgressing,Ft as ErrorScreenManager,kt as ErrorScreenNotAuthorized,_ as Host,fe as Modal,ge as OpaqueModal,de as Progressing,m as RequestTimeout,C as ServerError,w as ServerErrors,wt as ToastBody,xt as ToastBody3,Tt as ToastBodyWithButton,pe as VisibleModal,me as VisibleModal2,R as get,F as post,k as put,ue as showError,St as toastAccessDenied,L as trash};
|
package/package.json
CHANGED
|
@@ -1,41 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
2
|
+
"name": "@devtron-labs/devtron-fe-common-lib",
|
|
3
|
+
"version": "0.0.6-beta-9",
|
|
4
|
+
"description": "Supporting common component library",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "exit 0",
|
|
8
|
+
"build-lib": "rollup -c --bundleConfigAsCjs",
|
|
9
|
+
"build-watch": "rollup -c --bundleConfigAsCjs -w"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/devtron-labs/devtron-fe-common-lib.git"
|
|
14
|
+
},
|
|
15
|
+
"author": "Devtron",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/devtron-labs/devtron-fe-common-lib/issues"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/devtron-labs/devtron-fe-common-lib#readme",
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
23
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
24
|
+
"@rollup/plugin-terser": "^0.2.0",
|
|
25
|
+
"@rollup/plugin-image": "3.0.1",
|
|
26
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
27
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
28
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
29
|
+
"@types/react": "17.0.39",
|
|
30
|
+
"@types/react-dom": "17.0.13",
|
|
31
|
+
"rollup": "^3.7.3",
|
|
32
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
33
|
+
"@svgr/rollup": "6.5.1",
|
|
34
|
+
"@rollup/plugin-url": "8.0.1",
|
|
35
|
+
"typescript": "^4.9.4",
|
|
36
|
+
"react-toastify": "^8.2.0",
|
|
37
|
+
"@sentry/browser": "^7.3.1"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": "^17.0.2",
|
|
41
|
+
"react-dom": "^17.0.2"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"sass": "^1.56.2"
|
|
45
|
+
}
|
|
41
46
|
}
|
package/rollup.config.js
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import peerDepsExternal from 'rollup-plugin-peer-deps-external'
|
|
2
|
-
import resolve from
|
|
3
|
-
import typescript from
|
|
4
|
-
import postcss from
|
|
5
|
-
import { babel } from '@rollup/plugin-babel'
|
|
6
|
-
import terser from '@rollup/plugin-terser'
|
|
7
|
-
import del from 'rollup-plugin-delete'
|
|
8
|
-
import pkg from './package.json'
|
|
2
|
+
import resolve from '@rollup/plugin-node-resolve'
|
|
3
|
+
import typescript from 'rollup-plugin-typescript2'
|
|
4
|
+
import postcss from 'rollup-plugin-postcss'
|
|
5
|
+
import { babel } from '@rollup/plugin-babel'
|
|
6
|
+
import terser from '@rollup/plugin-terser'
|
|
7
|
+
import del from 'rollup-plugin-delete'
|
|
8
|
+
import pkg from './package.json'
|
|
9
|
+
import svgr from '@svgr/rollup';
|
|
10
|
+
import url from '@rollup/plugin-url'
|
|
9
11
|
|
|
10
12
|
export default {
|
|
11
|
-
input:
|
|
12
|
-
|
|
13
|
-
{ file: pkg.main, format: 'es' },
|
|
14
|
-
],
|
|
13
|
+
input: './src/index.ts',
|
|
14
|
+
output: [{ file: pkg.main, format: 'es' }],
|
|
15
15
|
plugins: [
|
|
16
16
|
peerDepsExternal(),
|
|
17
17
|
resolve(),
|
|
18
18
|
typescript(),
|
|
19
19
|
postcss({
|
|
20
|
-
extensions: ['.css']
|
|
20
|
+
extensions: ['.css'],
|
|
21
21
|
}),
|
|
22
22
|
terser(),
|
|
23
23
|
babel({
|
|
24
|
-
|
|
24
|
+
exclude: 'node_modules/**',
|
|
25
25
|
}),
|
|
26
26
|
del({ targets: ['dist/*'] }),
|
|
27
|
+
url(),
|
|
28
|
+
svgr()
|
|
27
29
|
],
|
|
28
30
|
external: Object.keys(pkg.peerDependencies || {}),
|
|
29
|
-
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<defs>
|
|
3
|
+
<path id="a" class="stroke-color" d="M18.295 5.705a.997.997 0 0 0-1.41 0L12 10.59 7.115 5.705a.997.997 0 1 0-1.41 1.41L10.59 12l-4.885 4.885a.997.997 0 1 0 1.41 1.41L12 13.41l4.885 4.885a.997.997 0 0 0 1.41-1.41L13.41 12l4.885-4.885a.997.997 0 0 0 0-1.41z"/>
|
|
4
|
+
</defs>
|
|
5
|
+
<g fill="none" fill-rule="evenodd">
|
|
6
|
+
<path d=""/>
|
|
7
|
+
<use fill="#999" xlink:href="#a"/>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" >
|
|
2
|
+
<g fill="none" fillRule="evenodd" strokeLinecap="round">
|
|
3
|
+
<animateTransform attributeName="transform" attributeType="XML" dur="0.5s" from="0 12 12" repeatCount="indefinite" to="360 12 12" type="rotate" />
|
|
4
|
+
<path fill="#06C" fillRule="nonzero" d="M12 2.5A9.5 9.5 0 1 1 2.5 12a1.5 1.5 0 0 1 3 0A6.5 6.5 0 1 0 12 5.5a1.5 1.5 0 0 1 0-3z" />
|
|
5
|
+
</g>
|
|
6
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="250" height="200" viewBox="0 0 250 200">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="ho9etwod5c" x1="55.01%" x2="40.976%" y1="0%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#2A318C"/>
|
|
5
|
+
<stop offset="100%" stop-color="#1D225F"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="mdhg2gjypd" x1="50%" x2="50%" y1="0%" y2="100%">
|
|
8
|
+
<stop offset="0%" stop-color="#EEE"/>
|
|
9
|
+
<stop offset="100%" stop-color="#D6D7D8"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<linearGradient id="xe2mx0bk0e" x1="0%" x2="100%" y1="18%" y2="82%">
|
|
12
|
+
<stop offset="0%" stop-color="#E8B73F"/>
|
|
13
|
+
<stop offset="100%" stop-color="#CF9F36"/>
|
|
14
|
+
</linearGradient>
|
|
15
|
+
<path id="88gkjk6cca" d="M0 0H250V200H0z"/>
|
|
16
|
+
</defs>
|
|
17
|
+
<g fill="none" fill-rule="evenodd">
|
|
18
|
+
<g>
|
|
19
|
+
<g transform="translate(-590 -308) translate(590 308)">
|
|
20
|
+
<mask id="pitr2853ub" fill="#fff">
|
|
21
|
+
<use xlink:href="#88gkjk6cca"/>
|
|
22
|
+
</mask>
|
|
23
|
+
<g mask="url(#pitr2853ub)">
|
|
24
|
+
<g>
|
|
25
|
+
<path fill="#FFF" fill-rule="nonzero" d="M47.646 0c2.598 0 5.717 1.017 7.994 2.74 2.276 1.722 3.845 3.02 4.55 5.097.465 1.372.252 3.282-.641 5.728l.008-.072c-.013.145-.039.269-.071.387.574-1.048 1.638-1.624 2.576-1.283 1.07.39 1.5 1.803 1.013 3.14-.487 1.337-1.723 2.144-2.794 1.754-.536-.195-.91-.646-1.09-1.216.023.975.09 2.117.203 3.427l-2.317.161c-2.223 2.412-4.574 3.48-7.055 3.207-.6-.067-1.158-.18-1.675-.339-.588 1.007-1.177 2.688-1.766 5.043l-.064.031.005-.043c-.585 5.627-1.014 11.07-1.287 16.327l.001-.108c-.013.958-.003 1.853.028 2.684l.109-1.533c2.141 1.735 4.344 2.776 6.608 3.123 2.263.348 5.76-.128 10.49-1.426 2.808-.962 5.555-2.299 8.243-4.011H63.94l16.84-20.83h2.756c0-1.439 1.165-2.604 2.604-2.604 1.378 0 2.506 1.07 2.597 2.425l.006.178h1.736c0-1.438 1.166-2.603 2.604-2.603 1.378 0 2.506 1.07 2.598 2.425l.006.178h5.284L89.832 35.292c.097-.07.17-.106.212-.106.692 0 .692 5.306-.057 7.152-.289.865-4.73 5.71-9.864 10.844-2.78 2.78-6.605 6.366-11.477 10.759l2.511 11.858c-.568 1.157-2.01 1.928-4.324 2.314-5.208.579-10.415-1.736-16.78-1.736-1.852 0-3.142.343-4.269.744.841 8.545 2.264 16.398 4.269 23.558-1.157 1.157-1.946 1.682-2.808 2.052-1.015.394-2.305.789-3.009.86.776 2.429 1.318 4.584 1.627 6.464.38 2.322 2.518 22.156 6.411 59.5h-.044l2.037 1.697c2.308 1.962 12.796 7.547 14.132 8.307.891.506 2.067 1.794 3.526 3.864-16.575-.025-27.78-.05-33.613-.075l.053.075C12.788 183.385 0 183.346 0 183.308c0-.116 1.154-3.288 2.538-7.095l2.44-6.658H1.761c-.4-1.385-.792-3.254-1.175-5.606-.75-4.788-.18-7.96 3.05-14.536 3.23-6.518 4.866-10.072 4.866-13.764.058-5.768 1.222-11.316 4.28-17.315 2.364-4.73 3.495-5.086 3.725-7.97l.367-5.421c-2.382-.231-5.928-.988-8.045-1.693l-4.21-1.385-.116-4.326C4.214 85.6 5.08 76.89 7.79 65.757 11.482 50.47 22.096 34.84 34.959 25.668c3.055-2.203 4.272-3.049 5.093-2.807.79-.548 1.483-1.096 2.077-1.645-1.685-.52-3.275-1.222-4.77-2.105-2.311-1.366-4.444-3.194-6.398-5.483.397-.834.904-1.524 1.522-2.07.671-.592 1.935-1.108 3.169-1.822l-.065.021-1.204.401c-1.26.424-1.956.713-2.396 1.032-.829.601-1.259 1.275-1.312 2.032l-.005.191-.579.007c-.012-1.039.516-1.943 1.557-2.699.427-.31 1.013-.573 1.983-.916l1.755-.59.612-.213c.593-.213 1.063-.401 1.438-.584 1.296-1.399 2.17-3.971 4.089-5.678C43.642.855 45.048 0 47.646 0zM27.999 144.476l-.189.512c-2.603 7.055-5.679 15.219-9.228 24.493l2.126 1.771c2.307 1.962 12.795 7.547 14.132 8.307l.035.021c.364-1.006.782-2.154 1.223-3.367l2.44-6.658h-4.242c-1.444-2.617-2.166-4.456-2.166-5.517 0-1.59.913-3.77.913-6.068 0-1.393-1.68-5.89-5.044-13.494zM78.827 42.819l-1.242-.001c-2.375 2.17-3.972 3.706-4.791 4.61-.72.793-2.112 2.23-4.176 4.309 3.033-1.194 5.06-2.078 6.083-2.65 1.5-.865 2.077-1.673 3.807-5.307.082-.163.192-.506.319-.961zm7.313-22.857c-1.119 0-2.026.907-2.026 2.025h4.05c0-1.118-.906-2.025-2.024-2.025zm6.943 0c-1.119 0-2.025.907-2.025 2.025h4.05c0-1.118-.907-2.025-2.025-2.025zm-33.27-5.413c-.388 1.066-.065 2.132.666 2.398.73.266 1.664-.343 2.052-1.408.388-1.065.064-2.132-.667-2.398-.73-.266-1.664.343-2.052 1.408z" transform="translate(29 8)"/>
|
|
26
|
+
<path fill="#80AEF2" fill-rule="nonzero" d="M36.56 183.308c0-.116 1.153-3.288 2.538-7.095l2.538-6.922 6.46-.173 6.403-.173 2.768 2.307c2.308 1.962 12.796 7.547 14.132 8.307.891.506 2.067 1.794 3.526 3.864-25.577-.038-38.365-.077-38.365-.115z" transform="translate(29 8)"/>
|
|
27
|
+
<path fill="#94BBF8" fill-rule="nonzero" d="M3 183.308c0-.116 1.154-3.288 2.538-7.095l2.538-6.922 6.46-.173 6.403-.173 2.769 2.307c2.307 1.962 12.795 7.547 14.132 8.307.89.506 2.066 1.794 3.525 3.864C15.788 183.385 3 183.346 3 183.308z" transform="translate(29 8)"/>
|
|
28
|
+
<path fill="#1D225F" fill-rule="nonzero" d="M46.655 101.836c1.09 3.158 1.826 5.898 2.208 8.22.38 2.321 2.518 22.155 6.411 59.5H37.296c-1.444-2.618-2.166-4.457-2.166-5.518 0-1.59.913-3.77.913-6.068 0-1.532-2.034-6.823-6.104-15.871l3.931-39.349 12.785-.914z" transform="translate(29 8)"/>
|
|
29
|
+
<path fill="url(#ho9etwod5c)" d="M21.554 169.555H4.76c-.4-1.385-.792-3.254-1.175-5.606-.75-4.788-.18-7.96 3.05-14.536 3.23-6.518 4.866-10.072 4.866-13.764.058-5.768 1.222-11.316 4.28-17.315 2.364-4.73 3.495-5.086 3.725-7.97l.42-6.202h21.078c.512 1.433.696 4.075.55 7.925-.145 3.85-6.812 23.006-20.001 57.468z" transform="translate(29 8)"/>
|
|
30
|
+
<g fill-rule="nonzero">
|
|
31
|
+
<path fill="#98BDF9" d="M0 24.302L16.84 3.472 37.031 3.472 19.592 24.302z" transform="translate(29 8) translate(66.94 18.516)"/>
|
|
32
|
+
<path fill="#2174DB" d="M22.2.868c1.378 0 2.506 1.07 2.597 2.425l.006.179h-.578c0-1.119-.907-2.025-2.025-2.025-1.119 0-2.025.906-2.025 2.025 0 1.062.818 1.934 1.859 2.018l.166.007v.578c-1.438 0-2.604-1.165-2.604-2.603 0-1.438 1.166-2.604 2.604-2.604zM29.143.868c1.378 0 2.506 1.07 2.598 2.425l.006.179h-.579c0-1.119-.906-2.025-2.025-2.025-1.118 0-2.025.906-2.025 2.025 0 1.062.818 1.934 1.859 2.018l.166.007v.578c-1.438 0-2.604-1.165-2.604-2.603 0-1.438 1.166-2.604 2.604-2.604z" transform="translate(29 8) translate(66.94 18.516)"/>
|
|
33
|
+
</g>
|
|
34
|
+
<path fill="#F3A29D" fill-rule="nonzero" d="M65.472 46.829c2.807-.962 5.554-2.299 8.242-4.011h6.871c-2.375 2.17-3.972 3.706-4.791 4.61-.82.903-2.509 2.638-5.068 5.205-1.091 5.781-2.254 8.21-3.487 7.285-1.85-1.386-7.939-10.897-1.767-13.09z" transform="translate(29 8)"/>
|
|
35
|
+
<path fill="#FAB6AF" fill-rule="nonzero" d="M69.254 52.654c4.363-1.668 7.179-2.857 8.447-3.567 1.5-.865 2.077-1.673 3.807-5.307.23-.461.692-2.365 1.096-4.153.923-4.557 2.423-4.326 2.538.346.058 1.27.346 2.423.692 2.538.288.116 1.961-1.5 3.634-3.576 1.673-2.077 3.288-3.75 3.576-3.75.692 0 .692 5.307-.057 7.153-.289.865-4.73 5.71-9.864 10.844-3.422 3.423-8.431 8.068-15.026 13.937l1.157-14.465z" transform="translate(29 8)"/>
|
|
36
|
+
<path fill="#F3A29D" fill-rule="nonzero" d="M49.581 27.774c.772-3.086 1.543-5.015 2.315-5.787-1.157-1.157-2.315-2.314-4.63-3.471-.77 1.543-2.314 3.086-4.628 4.629 0 2.314.771 3.857 2.314 4.629 1.543.771 3.086.771 4.63 0z" transform="translate(29 8)"/>
|
|
37
|
+
<g>
|
|
38
|
+
<path fill="url(#mdhg2gjypd)" fill-rule="nonzero" d="M12.858 82.16c-2.365-.174-6.23-.981-8.48-1.731l-4.21-1.385-.115-4.326c-.289-11.94.577-20.65 3.288-31.782C7.032 27.65 17.646 12.019 30.509 2.847c4.96-3.576 5.076-3.576 6.518-1.153.634 1.153 1.96 2.307 2.884 2.653l2.161.594c-3.046 29.324-1.87 53.63 3.531 72.917-1.157 1.158-1.946 1.682-2.808 2.052-1.039.403-2.365.807-3.057.865-.693.058-3 .519-5.25 1.038-4.21.923-13.382 1.096-21.63.346z" transform="translate(29 8) translate(7.45 22.82)"/>
|
|
39
|
+
<path fill="#D6D7D8" d="M58.022 24.008l1.767 11.311-19.972 2.645 1.106-15.653c2.141 1.735 4.344 2.776 6.608 3.123 2.263.348 5.76-.128 10.49-1.426z" transform="translate(29 8) translate(7.45 22.82)"/>
|
|
40
|
+
<path fill="#E9E9E9" fill-rule="nonzero" d="M61.804 29.833l4.903 23.145c-.568 1.157-2.01 1.929-4.324 2.314-5.208.579-10.415-1.736-16.78-1.736-6.365 0-6.09 4.05-15.348.58-6.172-2.315-8.68-12.73-7.523-31.246l18.054-1.73c-.078 5.782.655 9.252 2.198 10.409 1.512 1.134 7.569.601 18.17-1.6l.65-.136z" transform="translate(29 8) translate(7.45 22.82)"/>
|
|
41
|
+
</g>
|
|
42
|
+
<g>
|
|
43
|
+
<path fill="#FAB6AF" fill-rule="nonzero" d="M29.082 7.444c1.07 1.52 1.488 3.536 1.253 6.049-.062.656-.376.883-.376 2.052 0 1.12.07 2.506.212 4.157l-2.317.161c-2.222 2.412-4.574 3.48-7.055 3.207-2.48-.275-4.251-1.343-5.31-3.207-2.18-4.023-1.621-7.444 1.675-10.262 3.296-2.818 7.269-3.537 11.918-2.157z" transform="translate(29 8) translate(32.223)"/>
|
|
44
|
+
<path fill="#E94A47" d="M18.423 0c2.598 0 5.717 1.017 7.994 2.74 2.277 1.722 3.845 3.02 4.55 5.097.47 1.384.248 3.314-.664 5.791.13-2.345-.048-3.647-.533-3.906-.67 1.653-1.595 1.987-2.703 2.787-.62.448-2.791.518-4.917.897-2.628 1.722-4.303 3.33-4.867 4.86-.448 1.218-.402 2.608.148 4.177l.126.339-.54.21c-.714-1.833-.81-3.478-.277-4.925.522-1.417 1.85-2.838 3.894-4.321-1.09.307-2.051.754-2.634 1.449-1.279 1.526-2.028 3.765-2.246 6.716-2.766-.5-5.305-1.433-7.617-2.8-2.312-1.366-4.445-3.194-6.398-5.483.396-.834.904-1.524 1.521-2.07.671-.592 1.935-1.108 3.169-1.822l-.065.021-1.204.401c-1.26.424-1.956.713-2.395 1.032-.83.601-1.26 1.275-1.313 2.032l-.005.191-.579.007c-.012-1.039.516-1.943 1.557-2.699.427-.31 1.013-.573 1.983-.916l1.756-.59.61-.213c.594-.213 1.064-.401 1.439-.584 1.296-1.399 2.17-3.971 4.09-5.678C14.418.855 15.825 0 18.422 0z" transform="translate(29 8) translate(32.223)"/>
|
|
45
|
+
<g fill="#222768" fill-rule="nonzero">
|
|
46
|
+
<path d="M1.025 3.16C1.622 1.52 3.194.563 4.56 1.06c1.061.386 1.653 1.524 1.586 2.781.36-.092.688-.137.988-.137l.208.008c.254.02.466.056.636.114.511-1.271 1.708-2.023 2.749-1.644 1.07.39 1.5 1.802 1.013 3.14-.487 1.337-1.723 2.143-2.794 1.754-.953-.347-1.397-1.504-1.14-2.697-.103-.038-.274-.072-.508-.09-.334-.025-.737.029-1.209.165l-.03.01c-.036.159-.083.318-.14.477-.597 1.64-2.17 2.597-3.536 2.1C1.017 6.543.428 4.8 1.025 3.16zm9.504-.434c-.73-.266-1.664.343-2.052 1.408-.388 1.065-.064 2.132.667 2.398.73.266 1.664-.343 2.052-1.408.387-1.066.064-2.132-.667-2.398zM4.362 1.604c-1.036-.378-2.297.39-2.793 1.754-.496 1.363-.024 2.762 1.012 3.14 1.036.376 2.298-.392 2.794-1.755s.023-2.762-1.013-3.14z" transform="translate(29 8) translate(32.223) translate(22.112 10.415)"/>
|
|
47
|
+
</g>
|
|
48
|
+
</g>
|
|
49
|
+
</g>
|
|
50
|
+
</g>
|
|
51
|
+
<g mask="url(#pitr2853ub)">
|
|
52
|
+
<g>
|
|
53
|
+
<path fill="#FFF" d="M30 0c12.15 0 22 9.85 22 22v11h8v48H0V33h8V22C8 9.973 17.654.198 29.637.004zm0 7.934c-7.755 0-14.067 6.309-14.067 14.067V33h28.133V22c0-7.652-6.14-13.896-13.752-14.063z" transform="translate(134 61)"/>
|
|
54
|
+
<path fill="#D6D7D8" d="M55 34.3V22C55 9.85 45.15 0 33 0S11 9.85 11 22v12.3m7.933 0V22c0-7.757 6.312-14.066 14.068-14.066 7.756 0 14.065 6.31 14.065 14.067v12.298" transform="translate(134 61)"/>
|
|
55
|
+
<path fill="url(#xe2mx0bk0e)" d="M3 33H63V81H3z" transform="translate(134 61)"/>
|
|
56
|
+
<path fill="#3E3D4C" fill-rule="nonzero" d="M39 56c0-3.314-2.686-6-6-6s-6 2.686-6 6c0 2.282 1.275 4.267 3.15 5.281l-.965 7.386h7.63l-.965-7.386C37.726 60.267 39 58.282 39 56z" transform="translate(134 61)"/>
|
|
57
|
+
</g>
|
|
58
|
+
</g>
|
|
59
|
+
</g>
|
|
60
|
+
</g>
|
|
61
|
+
</g>
|
|
62
|
+
</svg>
|
package/src/Common/Constants.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const RequestTimeout = 60000
|
|
2
|
-
export const Host = process.env.REACT_APP_ORCHESTRATOR_ROOT
|
|
2
|
+
export const Host = process.env.REACT_APP_ORCHESTRATOR_ROOT
|