@devtron-labs/devtron-fe-common-lib 0.0.6-beta-8 → 0.0.6-beta-10
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/BreadCrumb/BreadCrumb.d.ts +33 -0
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +17 -0
- 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 +9 -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 +13 -0
- package/dist/b5d52f036bdcd3ed.png +0 -0
- package/dist/index.js +1 -1
- package/package.json +46 -39
- package/rollup.config.js +16 -14
- package/src/Assets/Icon/ic-add.svg +3 -0
- 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/BreadCrumb/BreadCrumb.tsx +115 -0
- package/src/Common/BreadCrumb/BreadcrumbStore.tsx +25 -0
- package/src/Common/Constants.ts +1 -1
- package/src/Common/Drawer/Drawer.scss +39 -0
- package/src/Common/Drawer/Drawer.tsx +49 -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 +39 -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 +14 -1
- package/src/custom.d.ts +13 -0
- package/tsconfig.json +2 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BreadcrumbContext: React.Context<any>;
|
|
3
|
+
interface Breadcrumb {
|
|
4
|
+
to: string;
|
|
5
|
+
name: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
interface UseBreadcrumbState {
|
|
9
|
+
breadcrumbs: Breadcrumb[];
|
|
10
|
+
setCrumb: (props: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}) => void;
|
|
13
|
+
resetCrumb: (props: string[]) => void;
|
|
14
|
+
}
|
|
15
|
+
interface AdvancedAlias {
|
|
16
|
+
component: any;
|
|
17
|
+
linked: boolean;
|
|
18
|
+
}
|
|
19
|
+
interface UseBreadcrumbProps {
|
|
20
|
+
sep?: string;
|
|
21
|
+
alias?: {
|
|
22
|
+
[key: string]: AdvancedAlias | any;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
type UseBreadcrumbOptionalProps = UseBreadcrumbProps | null;
|
|
26
|
+
export declare function useBreadcrumb(props?: UseBreadcrumbOptionalProps, deps?: any[]): UseBreadcrumbState;
|
|
27
|
+
interface Breadcrumbs {
|
|
28
|
+
breadcrumbs: Breadcrumb[];
|
|
29
|
+
sep?: string;
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare const BreadCrumb: React.FC<Breadcrumbs>;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Store: ({ children }: {
|
|
3
|
+
children: any;
|
|
4
|
+
}) => JSX.Element;
|
|
5
|
+
export declare const BreadcrumbContext: React.Context<{
|
|
6
|
+
state: {
|
|
7
|
+
alias: {};
|
|
8
|
+
};
|
|
9
|
+
setState: any;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function useBreadcrumbContext(): {
|
|
12
|
+
state: {
|
|
13
|
+
alias: {};
|
|
14
|
+
};
|
|
15
|
+
setState: any;
|
|
16
|
+
};
|
|
17
|
+
export default Store;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="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
|
+
export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, }: drawerInterface) => JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -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,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
|
3
|
+
interface ConditionalWrapper<T> {
|
|
4
|
+
condition: boolean;
|
|
5
|
+
wrap: (children: T) => T;
|
|
6
|
+
children: T;
|
|
7
|
+
}
|
|
8
|
+
export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
|
|
9
|
+
export {};
|
|
@@ -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,16 @@ 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';
|
|
16
|
+
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
|
17
|
+
export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
|
|
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 r from"react";import s,{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,createContext as f,useMemo as m}from"react";import g,{render as v}from"react-dom";import{useRouteMatch as _,useParams as y}from"react-router";import{Link as b}from"react-router-dom";var E=6e4,w=process.env.REACT_APP_ORCHESTRATOR_ROOT,C=function(t,e){return C=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])},C(t,e)};function D(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}C(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var x=function(){return x=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var s in e=arguments[n])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},x.apply(this,arguments)};function T(t,e,n,r){return new(n||(n=Promise))((function(s,o){function i(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,a)}c((r=r.apply(t,e||[])).next())}))}function S(t,e){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[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,r&&(s=2&a[0]?r.return:a[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;switch(r=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(s=i.trys,(s=s.length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(6===a[0]&&i.label<s[1]){i.label=s[1],s=a;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(a);break}s[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var N=function(t){this.code=t.code||0,this.userMessage=t.userMessage||"",this.internalMessage=t.internalMessage||"",this.moreInfo=t.moreInfo||""},F=function(t){function e(n){var r=t.call(this)||this;r.code=n.code;var s=n.errors.reduce((function(t,e){return t+="".concat(e.internalMessage||e.userMessage)}),"");return r.name="[".concat(n.code.toString(),"]"),r.message=s,r.errors=n.errors.map((function(t){return new N(t)})),Object.setPrototypeOf(r,e.prototype),r}return D(e,t),e}(Error),k={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 L(t,e){return T(this,void 0,void 0,(function(){var n,r,s,o;return S(this,(function(i){switch(i.label){case 0:return n=e.status,r=e.statusText||k[n],s=new F({code:n,errors:[]}),"application/json"===t?[3,1]:(r="".concat(k[n],". Please try again."),[3,3]);case 1:return[4,e.json()];case 2:(o=i.sent()).errors&&(s.errors=o.errors),i.label=3;case 3:throw s.errors=s.errors.length>0?s.errors:[{code:n,internalMessage:r,userMessage:r}],s}}))}))}function R(t,e,n,r,s,o){return void 0===s&&(s=!1),T(this,void 0,void 0,(function(){var i,a=this;return S(this,(function(c){return(i={method:e,signal:r,body:n?JSON.stringify(n):void 0}).credentials="include",[2,fetch("".concat(w,"/").concat(t),o?{method:e,body:n}:i).then((function(t){return T(a,void 0,void 0,(function(){var e;return S(this,(function(n){switch(n.label){case 0:if(e=t.headers.get("Content-Type"),401!==t.status)return[3,1];if(s)throw new F({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,L(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 F({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 F({code:0,errors:[e]})}))]}))}))}function O(t,e,n,r,s){var o=new AbortController,i=o.signal,a=new Promise((function(t,e){var n=(null==r?void 0:r.timeout)?r.timeout:6e4;setTimeout((function(){o.abort(),e({code:408,errors:[{code:408,internalMessage:"Request cancelled",userMessage:"Request Cancelled"}]})}),n)}));return Promise.race([R(t,e,n,(null==r?void 0:r.signal)||i,(null==r?void 0:r.preventAutoLogout)||!1,s),a]).catch((function(t){throw t instanceof F?t:new F({code:408,errors:[{code:408,internalMessage:"That took longer than expected.",userMessage:"That took longer than expected."}]})}))}var M=function(t,e,n,r){return O(t,"POST",e,n,r)},A=function(t,e,n){return O(t,"PUT",e,n)},P=function(t,e){return O(t,"GET",null,e)},I=function(t,e,n){return O(t,"DELETE",e,n)};function B(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===n&&r.firstChild?r.insertBefore(s,r.firstChild):r.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}}var z;function j(){return j=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},j.apply(this,arguments)}B(".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 U=function(t){return r.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),z||(z=r.createElement("g",{fill:"none"},r.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"0.5s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"}),r.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 q(e){var n=e.children;return t("div",x({className:"flex column empty-state",style:{width:"100%",height:"100%"}},{children:n}))}function H(t){var e,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=H(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function G(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=H(t))&&(r&&(r+=" "),r+=e);return r}function W(){return W=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},W.apply(this,arguments)}function Y(t,e){if(null==t)return{};var n,r,s={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(s[n]=t[n]);return s}function V(t){return"number"==typeof t&&!isNaN(t)}function $(t){return"boolean"==typeof t}function Q(t){return"string"==typeof t}function J(t){return"function"==typeof t}function X(t){return Q(t)||J(t)?t:null}function K(t){return 0===t||t}q.Image=function(t){return t.children},q.Title=function(t){return t.children},q.Subtitle=function(e){var n=e.children,r=e.className;return t("p",x({className:"subtitle ".concat(r)},{children:n}))},q.Button=function(t){return t.children},q.Loading=function(r){return e(n,{children:[t(U,{className:"dc__block empty-state__loader"}),t("p",x({className:"empty-state__loading-text"},{children:r.text}))]})};var Z=!("undefined"==typeof window||!window.document||!window.document.createElement);function tt(t){return d(t)||Q(t)||J(t)||V(t)}var et={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},nt={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function rt(t){var e=t.enter,n=t.exit,r=t.appendPosition,o=void 0!==r&&r,l=t.collapse,u=void 0===l||l,d=t.collapseDuration,h=void 0===d?300:d;return function(t){var r=t.children,l=t.position,d=t.preventExitTransition,p=t.done,f=t.nodeRef,m=t.isIn,g=o?e+"--"+l:e,v=o?n+"--"+l:n,_=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=_.current)}}function E(){var t=f.current;t.removeEventListener("animationend",E),u?function(t,e,n){void 0===n&&(n=300);var r=t.scrollHeight,s=t.style;requestAnimationFrame((function(){s.minHeight="initial",s.height=r+"px",s.transition="all "+n+"ms",requestAnimationFrame((function(){s.height="0",s.padding="0",s.margin="0",setTimeout(e,n)}))}))}(t,p,h):p()}return a((function(){var t;t=f.current,_.current=t.className,t.className+=" "+g,t.addEventListener("animationend",b),t.addEventListener("animationcancel",b)}),[]),c((function(){m||(d?E():function(){y.current=1;var t=f.current;t.className+=" "+v,t.addEventListener("animationend",E)}())}),[m]),s.createElement(s.Fragment,null,r)}}var st={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,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];this.list.has(t)&&this.list.get(t).forEach((function(n){var s=setTimeout((function(){n.apply(void 0,r)}),0);e.emitQueue.has(t)||e.emitQueue.set(t,[]),e.emitQueue.get(t).push(s)}))}},ot=["delay","staleId"];function it(t){var e=l((function(t){return t+1}),0)[1],n=u([]),r=n[0],s=n[1],o=i(null),a=i(new Map).current,p=function(t){return-1!==r.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 m(t){var e=t.containerId;!f.props.limit||e&&f.containerId!==e||(f.count-=f.queue.length,f.queue=[])}function g(t){s((function(e){return K(t)?e.filter((function(e){return e!==t})):[]}))}function v(){var t=f.queue.shift();y(t.toastContent,t.toastProps,t.staleId)}function _(t,n){var r=n.delay,s=n.staleId,i=Y(n,ot);if(tt(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,m=function(){return g(c)},_=null==l;_&&f.count++;var b,E,w={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:m,closeButton:i.closeButton,rtl:p.rtl,position:i.position||p.position,transition:i.transition||p.transition,className:X(i.className||p.toastClassName),bodyClassName:X(i.bodyClassName||p.bodyClassName),style:i.style||p.toastStyle,bodyStyle:i.bodyStyle||p.bodyStyle,onClick:i.onClick||p.onClick,pauseOnHover:$(i.pauseOnHover)?i.pauseOnHover:p.pauseOnHover,pauseOnFocusLoss:$(i.pauseOnFocusLoss)?i.pauseOnFocusLoss:p.pauseOnFocusLoss,draggable:$(i.draggable)?i.draggable:p.draggable,draggablePercent:i.draggablePercent||p.draggablePercent,draggableDirection:i.draggableDirection||p.draggableDirection,closeOnClick:$(i.closeOnClick)?i.closeOnClick:p.closeOnClick,progressClassName:X(i.progressClassName||p.progressClassName),progressStyle:i.progressStyle||p.progressStyle,autoClose:!i.isLoading&&(b=i.autoClose,E=p.autoClose,!1===b||V(b)&&b>0?b:E),hideProgressBar:$(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=K(c)?f.count-1:f.count-f.displayedToast,f.count<0&&(f.count=0),t>0){var n=K(c)?1:f.props.limit;if(1===t||1===n)f.displayedToast++,v();else{var r=n>t?t:n;f.displayedToast=r;for(var s=0;s<r;s++)v()}}else e()}};J(i.onOpen)&&(w.onOpen=i.onOpen),J(i.onClose)&&(w.onClose=i.onClose),w.closeButton=p.closeButton,!1===i.closeButton||tt(i.closeButton)?w.closeButton=i.closeButton:!0===i.closeButton&&(w.closeButton=!tt(p.closeButton)||p.closeButton);var C=t;d(t)&&!Q(t.type)?C=h(t,{closeToast:m,toastProps:w,data:u}):J(t)&&(C=t({closeToast:m,toastProps:w,data:u})),p.limit&&p.limit>0&&f.count>p.limit&&_?f.queue.push({toastContent:C,toastProps:w,staleId:s}):V(r)&&r>0?setTimeout((function(){y(C,w,s)}),r):y(C,w,s)}}function y(t,e,n){var r=e.toastId;n&&a.delete(n),a.set(r,{content:t,props:e}),s((function(t){return[].concat(t,[r]).filter((function(t){return t!==n}))}))}return c((function(){return f.containerId=t.containerId,st.cancelEmit(3).on(0,_).on(1,(function(t){return o.current&&g(t)})).on(5,m).emit(2,f),function(){return st.emit(3,f)}}),[]),c((function(){f.isToastActive=p,f.displayedToast=r.length,st.emit(4,r.length,t.containerId)}),[r]),c((function(){f.props=t})),{getToastToRender:function(e){var n=new Map,r=Array.from(a.values());return t.newestOnTop&&r.reverse(),r.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 at(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function ct(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function lt(t){var e=u(!1),n=e[0],r=e[1],s=u(!1),o=s[0],a=s[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,m=t.pauseOnHover,g=t.closeToast,v=t.onClick,_=t.closeOnClick;function y(e){if(t.draggable){h.didMove=!1,document.addEventListener("mousemove",C),document.addEventListener("mouseup",D),document.addEventListener("touchmove",C),document.addEventListener("touchend",D);var n=l.current;h.canCloseOnClick=!0,h.canDrag=!0,h.boundingRect=n.getBoundingClientRect(),n.style.transition="",h.x=at(e.nativeEvent),h.y=ct(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,r=e.bottom,s=e.left,o=e.right;t.pauseOnHover&&h.x>=s&&h.x<=o&&h.y>=n&&h.y<=r?w():E()}}function E(){r(!0)}function w(){r(!1)}function C(e){var r=l.current;h.canDrag&&r&&(h.didMove=!0,n&&w(),h.x=at(e),h.y=ct(e),"x"===t.draggableDirection?h.delta=h.x-h.start:h.delta=h.y-h.start,h.start!==h.x&&(h.canCloseOnClick=!1),r.style.transform="translate"+t.draggableDirection+"("+h.delta+"px)",r.style.opacity=""+(1-Math.abs(h.delta/h.removalDistance)))}function D(){document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",D),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",D);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}),J(t.onOpen)&&t.onOpen(d(t.children)&&t.children.props),function(){var t=p.current;J(t.onClose)&&t.onClose(d(t.children)&&t.children.props)}}),[]),c((function(){return t.pauseOnFocusLoss&&function(){document.hasFocus()||w();window.addEventListener("focus",E),window.addEventListener("blur",w)}(),function(){t.pauseOnFocusLoss&&(window.removeEventListener("focus",E),window.removeEventListener("blur",w))}}),[t.pauseOnFocusLoss]);var x={onMouseDown:y,onTouchStart:y,onMouseUp:b,onTouchEnd:b};return f&&m&&(x.onMouseEnter=w,x.onMouseLeave=E),_&&(x.onClick=function(t){v&&v(t),h.canCloseOnClick&&g()}),{playToast:E,pauseToast:w,isRunning:n,preventExitTransition:o,toastRef:l,eventHandlers:x}}function ut(t){var e=t.closeToast,n=t.theme,r=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===r?"close":r},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 dt(t){var e,n,r=t.delay,s=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,m=t.theme,g=W({},u,{animationDuration:r+"ms",animationPlayState:s?"running":"paused",opacity:c?0:1});d&&(g.transform="scaleX("+h+")");var v=G("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+m,"Toastify__progress-bar--"+a,((e={})["Toastify__progress-bar--rtl"]=p,e)),_=J(l)?l({rtl:p,type:a,defaultClassName:v}):G(v,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:_,style:g},y))}dt.defaultProps={type:nt.DEFAULT,hide:!1};var ht=["theme","type"],pt=function(t){var e=t.theme,n=t.type,r=Y(t,ht);return o("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":"var(--toastify-icon-color-"+n+")"},r))};var ft={info:function(t){return o(pt,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(pt,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(pt,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(pt,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"})}},mt=function(t){var e,n,r=lt(t),s=r.isRunning,i=r.preventExitTransition,a=r.toastRef,c=r.eventHandlers,l=t.closeButton,u=t.children,p=t.autoClose,f=t.onClick,m=t.type,g=t.hideProgressBar,v=t.closeToast,_=t.transition,y=t.position,b=t.className,E=t.style,w=t.bodyClassName,C=t.bodyStyle,D=t.progressClassName,x=t.progressStyle,T=t.updateId,S=t.role,N=t.progress,F=t.rtl,k=t.toastId,L=t.deleteToast,R=t.isIn,O=t.isLoading,M=t.icon,A=t.theme,P=G("Toastify__toast","Toastify__toast-theme--"+A,"Toastify__toast--"+m,((e={})["Toastify__toast--rtl"]=F,e)),I=J(b)?b({rtl:F,position:y,type:m,defaultClassName:P}):G(P,b),B=!!N,z=ft[m],j={theme:A,type:m},U=z&&z(j);return!1===M?U=void 0:J(M)?U=M(j):d(M)?U=h(M,j):Q(M)?U=M:O&&(U=ft.spinner()),o(_,{isIn:R,done:L,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({},R&&{role:S},{className:J(w)?w({type:m}):G("Toastify__toast-body",w),style:C}),U&&o("div",{className:G("Toastify__toast-icon",(n={},n["Toastify--animate-icon Toastify__zoom-enter"]=!O,n))},U),o("div",null,u)),function(t){if(t){var e={closeToast:v,type:m,theme:A};return J(t)?t(e):d(t)?h(t,e):void 0}}(l),(p||B)&&o(dt,Object.assign({},T&&!B?{key:"pb-"+T}:{},{rtl:F,theme:A,delay:p,isRunning:s,isIn:R,closeToast:v,hide:g,type:m,style:x,className:D,controlledProgress:B,progress:N}))))},gt=function(t){var e=it(t),n=e.getToastToRender,r=e.containerRef,s=e.isToastActive,i=t.className,a=t.style,c=t.rtl,l=t.containerId;function u(t){var e,n=G("Toastify__toast-container","Toastify__toast-container--"+t,((e={})["Toastify__toast-container--rtl"]=c,e));return J(i)?i({position:t,rtl:c,defaultClassName:n}):G(n,X(i))}return o("div",{ref:r,className:"Toastify",id:l},n((function(t,e){var n=e.length?W({},a):W({},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(mt,Object.assign({},n,{isIn:s(n.toastId),key:"toast-"+n.key,closeButton:!0===n.closeButton?ut:n.closeButton}),e)})))})))};gt.defaultProps={position:et.TOP_RIGHT,transition:rt({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:ut,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var vt,_t,yt,bt=new Map,Et=[],wt=!1;function Ct(){return Math.random().toString(36).substring(2,9)}function Dt(t){return t&&(Q(t.toastId)||V(t.toastId))?t.toastId:Ct()}function xt(t,e){return bt.size>0?st.emit(0,t,e):(Et.push({content:t,options:e}),wt&&Z&&(wt=!1,_t=document.createElement("div"),document.body.appendChild(_t),v(o(gt,Object.assign({},yt)),_t))),e.toastId}function Tt(t,e){return W({},e,{type:e&&e.type||t,toastId:Dt(e)})}function St(t){return function(e,n){return xt(e,Tt(t,n))}}function Nt(t,e){return xt(t,Tt(nt.DEFAULT,e))}Nt.loading=function(t,e){return xt(t,Tt(nt.DEFAULT,W({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},e)))},Nt.promise=function(t,e,n){var r,s=e.pending,o=e.error,i=e.success;s&&(r=Q(s)?Nt.loading(s,n):Nt.loading(s.render,W({},n,s)));var a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=function(t,e,s){if(null!=e){var o=W({type:t},a,n,{data:s}),i=Q(e)?{render:e}:e;return r?Nt.update(r,W({},o,i)):Nt(i.render,W({},o,i)),s}Nt.dismiss(r)},l=J(t)?t():t;return l.then((function(t){return c("success",i,t)})).catch((function(t){return c("error",o,t)})),l},Nt.success=St(nt.SUCCESS),Nt.info=St(nt.INFO),Nt.error=St(nt.ERROR),Nt.warning=St(nt.WARNING),Nt.warn=Nt.warning,Nt.dark=function(t,e){return xt(t,Tt(nt.DEFAULT,W({theme:"dark"},e)))},Nt.dismiss=function(t){return st.emit(1,t)},Nt.clearWaitingQueue=function(t){return void 0===t&&(t={}),st.emit(5,t)},Nt.isActive=function(t){var e=!1;return bt.forEach((function(n){n.isToastActive&&n.isToastActive(t)&&(e=!0)})),e},Nt.update=function(t,e){void 0===e&&(e={}),setTimeout((function(){var n=function(t,e){var n=e.containerId,r=bt.get(n||vt);return r?r.getToast(t):null}(t,e);if(n){var r=n.props,s=n.content,o=W({},r,e,{toastId:e.toastId||t,updateId:Ct()});o.toastId!==t&&(o.staleId=t);var i=o.render||s;delete o.render,xt(i,o)}}),0)},Nt.done=function(t){Nt.update(t,{progress:1})},Nt.onChange=function(t){return J(t)&&st.on(4,t),function(){J(t)&&st.off(4,t)}},Nt.configure=function(t){void 0===t&&(t={}),wt=!0,yt=t},Nt.POSITION=et,Nt.TYPE=nt,st.on(2,(function(t){vt=t.containerId||t,bt.set(vt,t),Et.forEach((function(t){st.emit(0,t.content,t.options)})),Et=[]})).on(3,(function(t){bt.delete(t.containerId||t),0===bt.size&&st.off(0).off(1).off(5),Z&&_t&&document.body.removeChild(_t)}));var Ft=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return D(r,n),r.prototype.render=function(){return e("div",x({className:"toast"},{children:[t("div",x({className:"toast__title"},{children:this.props.title})),this.props.subtitle&&t("div",x({className:"toast__subtitle"},{children:this.props.subtitle}))]}))},r}(s.Component),kt=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return D(r,n),r.prototype.render=function(){return e("div",x({className:"flex left column dc__app-update-toast"},{children:[t("span",x({className:"info"},{children:this.props.text})),t("button",x({type:"button",onClick:this.props.onClick},{children:this.props.buttonText}))]}))},r}(s.Component),Lt=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return D(r,n),r.prototype.render=function(){return e("div",x({className:"toast dc__app-update-toast"},{children:[t("div",x({className:"toast__title"},{children:this.props.title})),this.props.subtitle&&t("div",x({className:"toast__subtitle"},{children:this.props.subtitle})),t("button",x({type:"button",onClick:this.props.onClick,style:{float:"right"}},{children:this.props.buttonText}))]}))},r}(s.Component),Rt=function(e){return Nt.info(t(Ft,{title:"Access denied",subtitle:e||"You do not have required access to perform this action"}),{className:"devtron-toast unauthorized"})};function Ot(n){var r=n.reload,s=void 0===r?null:r,o=n.className;return t("article",x({className:"flex ".concat(void 0===o?"":o),style:{width:"100%",height:"100%"}},{children:e("div",x({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",x({className:"title dc__bold"},{children:"Failed to load"})),t("div",x({className:"dc__empty__subtitle",style:{marginBottom:"20px"}},{children:"We could not load this page. Please give us another try."})),t("button",x({type:"button",className:"cta ghosted",onClick:"function"==typeof s?s:function(t){window.location.reload()}},{children:"Retry"}))]}))}))}var Mt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return D(n,e),n.prototype.getMessage=function(){switch(this.props.code){case 400:return"Bad Request";case 401:return"Unauthorized";case 403:return t(At,{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(Ot,{className:this.props.reloadClass})}},n.prototype.render=function(){var e=this.getMessage();return t("div",{children:t("h1",{children:e})})},n}(p),At=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return D(r,n),r.prototype.render=function(){return e(q,{children:[t(q.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(q.Title,{children:t("h3",x({className:"title"},{children:"Not authorized"}))}),t(q.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."})]})},r}(p);const Pt=Object.prototype.toString;function It(t){return function(t,e){return Pt.call(t)===`[object ${e}]`}(t,"Object")}function Bt(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function zt(t){return t&&t.Math==Math?t:void 0}const jt="object"==typeof globalThis&&zt(globalThis)||"object"==typeof window&&zt(window)||"object"==typeof self&&zt(self)||"object"==typeof global&&zt(global)||function(){return this}()||{};function Ut(t,e,n){const r=n||jt,s=r.__SENTRY__=r.__SENTRY__||{};return s[t]||(s[t]=e())}const qt=["debug","info","warn","error","log","assert","trace"];function Ht(t){if(!("console"in jt))return t();const e=jt.console,n={};qt.forEach((t=>{const r=e[t]&&e[t].__sentry_original__;t in e&&r&&(n[t]=e[t],e[t]=r)}));try{return t()}finally{Object.keys(n).forEach((t=>{e[t]=n[t]}))}}function Gt(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?qt.forEach((n=>{e[n]=(...e)=>{t&&Ht((()=>{jt.console[n](`Sentry Logger [${n}]:`,...e)}))}})):qt.forEach((t=>{e[t]=()=>{}})),e}let Wt;function Yt(t){return Vt(t,new Map)}function Vt(t,e){if(It(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=Vt(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(Vt(t,e))})),r}return t}function $t(){const t=jt,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 Qt(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}var Jt;Wt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Ut("logger",Gt):Gt(),function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(Jt||(Jt={}));class Xt{__init(){this._state=Jt.PENDING}__init2(){this._handlers=[]}constructor(t){Xt.prototype.__init.call(this),Xt.prototype.__init2.call(this),Xt.prototype.__init3.call(this),Xt.prototype.__init4.call(this),Xt.prototype.__init5.call(this),Xt.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new Xt(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new Xt(((e,n)=>{let r,s;return this.then((e=>{s=!1,r=e,t&&t()}),(e=>{s=!0,r=e,t&&t()})).then((()=>{s?n(r):e(r)}))}))}__init3(){this._resolve=t=>{this._setResult(Jt.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Jt.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===Jt.PENDING&&(Bt(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===Jt.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===Jt.RESOLVED&&t[1](this._value),this._state===Jt.REJECTED&&t[2](this._value),t[0]=!0)}))}}}const Kt=jt,Zt={nowSeconds:()=>Date.now()/1e3};const te=Qt()?function(){try{return(t=module,e="perf_hooks",t.require(e)).performance}catch(t){return}var t,e}():function(){const{performance:t}=Kt;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),ee=void 0===te?Zt:{nowSeconds:()=>(te.timeOrigin+te.now())/1e3},ne=Zt.nowSeconds.bind(Zt),re=ee.nowSeconds.bind(ee);function se(t){const e=re(),n={sid:$t(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Yt({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&&oe(n,t),n}function oe(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||re(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:$t()),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}=Kt;if(!t||!t.now)return;const e=36e5,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,o=s<e,i=t.timing&&t.timing.navigationStart,a="number"==typeof i?Math.abs(i+n-r):e;(o||a<e)&&(s<=a&&t.timeOrigin)})();class ie{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 ie;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&&oe(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 ie?e:this}return t instanceof ie?(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)):It(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 r={timestamp:ne(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].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([...Ut("globalEventProcessors",(()=>[])),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,r=0){return new Xt(((s,o)=>{const i=t[r];if(null===e||"function"!=typeof i)s(e);else{const a=i({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.id&&null===a&&Wt.log(`Event processor "${i.id}" dropped event`),Bt(a)?a.then((e=>this._notifyEventProcessors(t,e,n,r+1).then(s))).then(null,o):this._notifyEventProcessors(t,a,n,r+1).then(s).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 ae=100;class ce{__init(){this._stack=[{}]}constructor(t,e=new ie,n=4){this._version=n,ce.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=ie.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:$t(),r=new Error("Sentry syntheticException");return this._withClient(((s,o)=>{s.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},o)})),n}captureMessage(t,e,n){const r=this._lastEventId=n&&n.event_id?n.event_id:$t(),s=new Error(t);return this._withClient(((o,i)=>{o.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:r},i)})),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:$t();return t.type||(this._lastEventId=n),this._withClient(((r,s)=>{r.captureEvent(t,{...e,event_id:n},s)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=ae}=r.getOptions&&r.getOptions()||{};if(o<=0)return;const i={timestamp:ne(),...t},a=s?Ht((()=>s(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=ue(this);try{t(this)}finally{ue(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__)&&Wt.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"}),oe(t,n)}(n),this._sendSessionUpdate(),e&&e.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:s}=n&&n.getOptions()||{},{userAgent:o}=jt.navigator||{},i=se({release:r,environment:s,...e&&{user:e.getUser()},...o&&{userAgent:o},...t});if(e){const t=e.getSession&&e.getSession();t&&"ok"===t.status&&oe(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=le().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Wt.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function le(){return jt.__SENTRY__=jt.__SENTRY__||{extensions:{},hub:void 0},jt}function ue(t){const e=le(),n=pe(e);return fe(e,t),n}function de(){const t=le();return he(t)&&!pe(t).isOlderThan(4)||fe(t,new ce),Qt()?function(t){try{const e=le().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return pe(t);if(!he(n)||pe(n).isOlderThan(4)){const e=pe(t).getStackTop();fe(n,new ce(e.client,ie.clone(e.scope)))}return pe(n)}catch(e){return pe(t)}}(t):pe(t)}function he(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function pe(t){return Ut("hub",(()=>new ce),t)}function fe(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}function me(t,e,n){var r,s;void 0===e&&(e=!0),void 0===n&&(n=!1),t instanceof F&&Array.isArray(t.errors)?t.errors.map((function(e){var r=e.userMessage,s=e.internalMessage;403===t.code&&"unauthorized"===r?n||Rt():Nt.error(r||s)})):(403!==t.code&&408!==t.code&&(r=t,de().captureException(r,{captureContext:s})),e&&(t.message?Nt.error(t.message):Nt.error("Some Error Occurred")))}var ge=function(e){var r=e.condition,s=e.wrap,o=e.children;return r?s(o):t(n,{children:o})};function ve(n){var r=n.pageLoader,s=n.size,o=n.theme,i=n.styles,a=s?"".concat(s,"px"):r?"48px":"20px";return t("div",x({className:"loader ".concat(o||"default","-background"),style:i},{children:t("div",x({style:{width:a,height:a}},{children:t("svg",x({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"loader__svg"},{children:e("g",x({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 _e(n){var r=n.loadingText,s=n.size,o=void 0===s?24:s,i=n.fullHeight,a=void 0!==i&&i,c=n.children,l=n.styles;return e("div",x({className:"details-loader bcn-0 flex column fs-14 fw-6 ".concat(a?"h-100":"details-loader-height"),style:l},{children:[t("span",x({style:{width:"".concat(o,"px"),height:"".concat(o,"px")}},{children:t(ve,{size:o})})),r&&t("span",x({className:"mt-10"},{children:r})),c]}))}var ye=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 D(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 g.createPortal(t("div",x({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}(s.Component);B(".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 be=function(e){var n=e.children,r=e.position,s=e.height,o=e.width,a=e.minWidth,l=e.maxWidth,u=e.parentClassName,d=e.onEscape,h=i(null);c((function(){return setTimeout((function(){var t,e;return null===(e=null===(t=h.current)||void 0===t?void 0:t.classList)||void 0===e?void 0:e.add("show")}),1),function(){var t,e;return null===(e=null===(t=h.current)||void 0===t?void 0:t.classList)||void 0===e?void 0:e.remove("show")}}),[]);var p={};return"left"!==r&&"right"!==r||(p["--width"]=o,p["--minWidth"]=a,p["--maxWidth"]=l),"top"!==r&&"bottom"!==r||(p["--height"]=s),t(ye,x({className:"drawer--container",parentClassName:u||"",onEscape:d},{children:t("aside",x({style:p,ref:h,className:"drawer ".concat(r)},{children:n}))}))},Ee=function(e){var n=e.style,r=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,f=void 0===p?null:p,m=s.useRef(null);function v(t){"function"==typeof h&&(m&&m.current.contains(t.target)?h(t,"in"):h(t,"out"))}function _(t){m&&m.current.contains(t.target)?m.current.clientHeight===m.current.scrollHeight&&t.preventDefault():t.preventDefault()}return c((function(){document.addEventListener("click",v);var t=document.getElementById("visible-modal");return t&&t.classList.add("show"),document.body.addEventListener("wheel",_,{passive:!1}),function(){document.body.removeEventListener("wheel",_),document.removeEventListener("click",v),t&&t.classList.remove("show")}}),[]),g.createPortal(t("div",x({tabIndex:0,onClick:h,ref:function(t){"function"==typeof f&&f(t),m.current=t},id:"popup",className:"".concat(u," popup ").concat(a?"modal":""),style:x({},r)},{children:o})),document.getElementById("visible-modal"))},we=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.modalRef=document.getElementById("full-screen-modal"),t}return D(r,n),r.prototype.componentDidMount=function(){this.props.noBackground?this.modalRef.classList.add("show"):this.modalRef.classList.add("show-with-bg")},r.prototype.componentWillUnmount=function(){this.modalRef.classList.remove("show"),this.modalRef.classList.remove("show-with-bg")},r.prototype.render=function(){var n=x({},this.props),r=n.className,s=void 0===r?"":r,o=n.onHide,i=void 0===o?null:o;return g.createPortal(e("div",x({className:"full-screen-modal__body-container ".concat(s)},{children:[this.props.children,"function"==typeof i&&t("div",x({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"))},r}(s.Component),Ce=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 D(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 g.createPortal(t("div",x({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}(s.Component),De={alias:{}},xe=function(e){var n=e.children,r=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,s,o=n.call(t),i=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(t){s={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(s)throw s.error}}return i}(u(De),2),s=r[0],o=r[1];return t(Te.Provider,x({value:{state:s,setState:o}},{children:n}))},Te=f({state:{alias:{}},setState:null});function Se(t,e){var n=(null==t?void 0:t.sep)||"/";e=e||[];var r=_(),o=r.url,i=r.path,a=y(),l=function(){var t=s.useContext(Te);if(!t)throw new Error("breadcrumb components cannot be used outside Breadcrumb context");return t}(),u=l.state,d=l.setState;function h(t){var e=t.reduce((function(t,e,n){return delete t[e],t}),u.alias);d((function(t){return x(x({},t),{alias:e})}))}c((function(){if(t&&t.alias)return d((function(e){return x(x({},e),{alias:x(x({},e.alias),t.alias)})})),function(){return h(Object.keys(t.alias))}}),e);var p=m((function(){var t=i.split("/").filter(Boolean),e=o.split("/").filter(Boolean);return t.map((function(t,n){var r={to:e[n],name:t};return t.startsWith(":")&&a[t.replace(":","")]&&(r.className="param"),r}))}),[i,o]),f=m((function(){return p.reduce((function(t,e,r){var s,o,i,a,c=t.res,l=t.prefix,d=e.to,h=e.name;return c.push({to:!(null===(s=u.alias[h])||void 0===s?void 0:s.component)||(null===(o=u.alias[h])||void 0===o?void 0:o.component)&&(null===(i=u.alias[h])||void 0===i?void 0:i.linked)?"".concat(l).concat(d):null,name:"object"==typeof u.alias[h]?(null===(a=u.alias[h])||void 0===a?void 0:a.component)?u.alias[h].component:null:u.alias[h]||h,className:e.className||""}),{res:c,prefix:"".concat(l).concat(e.to).concat(n)}}),{res:[],prefix:"/"})}),[p,u]).res;return{breadcrumbs:f,setCrumb:function(t){d((function(e){return x(x({},e),{alias:x(x({},e.alias),t)})}))},resetCrumb:h}}s.createContext(null);var Ne=function(n){var r=n.breadcrumbs,o=n.sep,i=void 0===o?"/":o,a=n.className,c=void 0===a?"dc__devtron-breadcrumb__item":a,l=_().url,u=r.filter((function(t){return!!t.name}));return t(s.Fragment,{children:u.map((function(n,r){return e(s.Fragment,{children:[t(ge,x({condition:!!n.to,wrap:function(e){return t(b,x({className:"".concat(l===n.to?"active":""," ").concat(c," ").concat(n.className||""),to:n.to},{children:e}))}},{children:n.name})),r+1!==u.length&&n.name&&t("span",x({className:"".concat(c,"__separator cn-5")},{children:i}))]},r)}))})};export{Ne as BreadCrumb,xe as BreadcrumbStore,ge as ConditionalWrap,_e as DetailsProgressing,be as Drawer,Mt as ErrorScreenManager,At as ErrorScreenNotAuthorized,w as Host,Ee as Modal,we as OpaqueModal,ve as Progressing,E as RequestTimeout,N as ServerError,F as ServerErrors,Ft as ToastBody,kt as ToastBody3,Lt as ToastBodyWithButton,ye as VisibleModal,Ce as VisibleModal2,P as get,M as post,A as put,me as showError,Rt as toastAccessDenied,I as trash,Se as useBreadcrumb};
|
package/package.json
CHANGED
|
@@ -1,41 +1,48 @@
|
|
|
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-10",
|
|
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
|
+
"@types/react-router-dom": "^5.3.3",
|
|
32
|
+
"rollup": "^3.7.3",
|
|
33
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
34
|
+
"@svgr/rollup": "6.5.1",
|
|
35
|
+
"@rollup/plugin-url": "8.0.1",
|
|
36
|
+
"typescript": "^4.9.4",
|
|
37
|
+
"react-toastify": "^8.2.0",
|
|
38
|
+
"@sentry/browser": "^7.3.1"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"react": "^17.0.2",
|
|
42
|
+
"react-dom": "^17.0.2",
|
|
43
|
+
"react-router-dom": "^5.3.0"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"sass": "^1.56.2"
|
|
47
|
+
}
|
|
41
48
|
}
|
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
|