@abtnode/blocklet-services 1.8.12 → 1.8.15
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/api/routes/blocklet.js +12 -0
- package/build/asset-manifest.json +7 -7
- package/build/index.html +1 -1
- package/build/static/js/532.0eadd9e1.chunk.js +2 -0
- package/build/static/js/532.0eadd9e1.chunk.js.map +1 -0
- package/build/static/js/597.93018f01.chunk.js +2 -0
- package/build/static/js/597.93018f01.chunk.js.map +1 -0
- package/build/static/js/main.5fe748c5.js +3 -0
- package/build/static/js/{main.617692ee.js.LICENSE.txt → main.5fe748c5.js.LICENSE.txt} +0 -0
- package/build/static/js/main.5fe748c5.js.map +1 -0
- package/package.json +25 -25
- package/build/static/js/532.c01a72c9.chunk.js +0 -2
- package/build/static/js/532.c01a72c9.chunk.js.map +0 -1
- package/build/static/js/597.1e711a11.chunk.js +0 -2
- package/build/static/js/597.1e711a11.chunk.js.map +0 -1
- package/build/static/js/main.617692ee.js +0 -3
- package/build/static/js/main.617692ee.js.map +0 -1
package/api/routes/blocklet.js
CHANGED
|
@@ -22,6 +22,8 @@ const {
|
|
|
22
22
|
createUserPassport,
|
|
23
23
|
} = require('@abtnode/auth/lib/passport');
|
|
24
24
|
|
|
25
|
+
const { BlockletStatus } = require('@blocklet/meta/lib/constants');
|
|
26
|
+
|
|
25
27
|
const checkAdminPermission = require('../middlewares/check-admin-permission');
|
|
26
28
|
const { PREFIXES } = require('../util/constants');
|
|
27
29
|
|
|
@@ -224,6 +226,16 @@ module.exports = {
|
|
|
224
226
|
res.json(blocklet.meta);
|
|
225
227
|
});
|
|
226
228
|
|
|
229
|
+
server.get(`${prefix}/health`, async (req, res) => {
|
|
230
|
+
const blocklet = await req.getBlocklet();
|
|
231
|
+
|
|
232
|
+
if (blocklet.status !== BlockletStatus.running) {
|
|
233
|
+
return res.status(503).json({ message: 'not running' });
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
return res.json({ message: 'ok' });
|
|
237
|
+
});
|
|
238
|
+
|
|
227
239
|
PREFIXES.forEach((p) => {
|
|
228
240
|
// backward compatible
|
|
229
241
|
server.get(`${p}/blocklet/logo/:did`, async (req, res) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
3
|
"main.css": "/.blocklet/proxy/blocklet-service/static/css/main.632501d5.css",
|
|
4
|
-
"main.js": "/.blocklet/proxy/blocklet-service/static/js/main.
|
|
4
|
+
"main.js": "/.blocklet/proxy/blocklet-service/static/js/main.5fe748c5.js",
|
|
5
5
|
"static/js/560.a7627820.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/560.a7627820.chunk.js",
|
|
6
6
|
"static/js/255.d76adfed.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/255.d76adfed.chunk.js",
|
|
7
7
|
"static/js/472.1141a579.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/472.1141a579.chunk.js",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"static/js/199.fbd77614.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/199.fbd77614.chunk.js",
|
|
10
10
|
"static/js/400.bc89330c.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/400.bc89330c.chunk.js",
|
|
11
11
|
"static/js/29.f8b75049.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/29.f8b75049.chunk.js",
|
|
12
|
-
"static/js/597.
|
|
12
|
+
"static/js/597.93018f01.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/597.93018f01.chunk.js",
|
|
13
13
|
"static/js/244.da2a7a18.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/244.da2a7a18.chunk.js",
|
|
14
14
|
"static/js/699.45e740bc.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/699.45e740bc.chunk.js",
|
|
15
15
|
"static/js/188.b0b7d6dc.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/188.b0b7d6dc.chunk.js",
|
|
16
|
-
"static/js/532.
|
|
16
|
+
"static/js/532.0eadd9e1.chunk.js": "/.blocklet/proxy/blocklet-service/static/js/532.0eadd9e1.chunk.js",
|
|
17
17
|
"static/media/ubuntu-mono-all-400-normal.woff": "/.blocklet/proxy/blocklet-service/static/media/ubuntu-mono-all-400-normal.c879328bc62e9c68268f.woff",
|
|
18
18
|
"static/media/lato-all-400-normal.woff": "/.blocklet/proxy/blocklet-service/static/media/lato-all-400-normal.3dc1eff492ab1f598560.woff",
|
|
19
19
|
"static/media/lato-all-700-normal.woff": "/.blocklet/proxy/blocklet-service/static/media/lato-all-700-normal.1e7707c9ec98d9b97e7f.woff",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"router-template-styles/styles.css": "/.blocklet/proxy/blocklet-service/router-template-styles/styles.css",
|
|
35
35
|
"index.html": "/.blocklet/proxy/blocklet-service/index.html",
|
|
36
36
|
"main.632501d5.css.map": "/.blocklet/proxy/blocklet-service/static/css/main.632501d5.css.map",
|
|
37
|
-
"main.
|
|
37
|
+
"main.5fe748c5.js.map": "/.blocklet/proxy/blocklet-service/static/js/main.5fe748c5.js.map",
|
|
38
38
|
"560.a7627820.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/560.a7627820.chunk.js.map",
|
|
39
39
|
"255.d76adfed.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/255.d76adfed.chunk.js.map",
|
|
40
40
|
"472.1141a579.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/472.1141a579.chunk.js.map",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"199.fbd77614.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/199.fbd77614.chunk.js.map",
|
|
43
43
|
"400.bc89330c.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/400.bc89330c.chunk.js.map",
|
|
44
44
|
"29.f8b75049.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/29.f8b75049.chunk.js.map",
|
|
45
|
-
"597.
|
|
45
|
+
"597.93018f01.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/597.93018f01.chunk.js.map",
|
|
46
46
|
"244.da2a7a18.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/244.da2a7a18.chunk.js.map",
|
|
47
47
|
"699.45e740bc.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/699.45e740bc.chunk.js.map",
|
|
48
48
|
"188.b0b7d6dc.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/188.b0b7d6dc.chunk.js.map",
|
|
49
|
-
"532.
|
|
49
|
+
"532.0eadd9e1.chunk.js.map": "/.blocklet/proxy/blocklet-service/static/js/532.0eadd9e1.chunk.js.map"
|
|
50
50
|
},
|
|
51
51
|
"entrypoints": [
|
|
52
52
|
"static/css/main.632501d5.css",
|
|
53
|
-
"static/js/main.
|
|
53
|
+
"static/js/main.5fe748c5.js"
|
|
54
54
|
]
|
|
55
55
|
}
|
package/build/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/.well-known/service/static/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/><meta name="theme-color" content="#000000"/><title>Blocklet Service</title><script src=".well-known/service/api/env"></script><script defer="defer" src="/.blocklet/proxy/blocklet-service/static/js/main.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/.well-known/service/static/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/><meta name="theme-color" content="#000000"/><title>Blocklet Service</title><script src=".well-known/service/api/env"></script><script defer="defer" src="/.blocklet/proxy/blocklet-service/static/js/main.5fe748c5.js"></script><link href="/.blocklet/proxy/blocklet-service/static/css/main.632501d5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(self.webpackChunk_abtnode_blocklet_services=self.webpackChunk_abtnode_blocklet_services||[]).push([[532],{65724:function(e){var t=function(e){return function(t){var n=Object.entries(e).find((function(e){return e[1]===Number(t)}));return n?n[0]:"unknown"}},n=function(e){return function(t){return Object.keys(e).find((function(n){return e[n]===Number(t)}))}},r=Object.freeze({added:0,downloading:1,downloaded:2,installing:3,installed:4,starting:5,running:6,stopping:7,stopped:8,error:9,upgrading:10,restarting:11,corrupted:12,waiting:13,deleted:14}),o=t(r),a=n(r),c=Object.freeze({registry:0,local:1,upload:2,url:3,custom:4}),l=t(c),i=n(c),s=Object.freeze({static:"static",dapp:"dapp",starter:!1,gateway:"gateway"}),u=Object.freeze({added:"blocklet.added",downloadFailed:"blocklet.downloadFailed",installed:"blocklet.installed",installFailed:"blocklet.installFailed",upgraded:"blocklet.upgraded",upgradeFailed:"blocklet.upgradedFailed",downgraded:"blocklet.downgraded",downgradeFailed:"blocklet.downgradedFailed",deployed:"blocklet.deployed",updated:"blocklet.updated",statusChange:"blocklet.statusChange",removed:"blocklet.removed",started:"blocklet.started",startFailed:"blocklet.startFailed",stopped:"blocklet.stopped",reloaded:"blocklet.reloaded",purchaseChange:"blocklet.purchaseChange"}),d="service",f="wellknown",E=["web",d,f],p="publicUrl",L="wellknownUrl",_=[p],O=[p,L],T="http",C=["tcp","udp",T];e.exports=Object.freeze({BlockletStatus:r,fromBlockletStatus:o,toBlockletStatus:a,BlockletSource:c,fromBlockletSource:l,toBlockletSource:i,BlockletGroup:s,BLOCKLET_GROUPS:["dapp","static","gateway"],BlockletEvents:u,BLOCKLET_PLATFORMS:["aix","darwin","freebsd","linux","openbsd","sunos","win32"],BLOCKLET_ARCHITECTURES:["arm","arm64","ia32","mips","mipsel","ppc","ppc64","s390","s390x","x32","x64"],BLOCKLET_MODES:Object.freeze({PRODUCTION:"production",DEVELOPMENT:"development"}),BLOCKLET_FACTORY_SHARES:{developer:.7,store:.3},BLOCKLET_INTERFACE_PUBLIC:p,BLOCKLET_INTERFACE_WELLKNOWN:L,BLOCKLET_UI_INTERFACES:_,BLOCKLET_STANDARD_INTERFACES:O,BLOCKLET_INTERFACE_TYPE_WEB:"web",BLOCKLET_INTERFACE_TYPE_SERVICE:d,BLOCKLET_INTERFACE_TYPE_WELLKNOWN:f,BLOCKLET_INTERFACE_TYPES:E,BLOCKLET_INTERFACE_PROTOCOL_HTTP:T,BLOCKLET_INTERFACE_PROTOCOL_TCP:"tcp",BLOCKLET_INTERFACE_PROTOCOL_UDP:"udp",BLOCKLET_INTERFACE_PROTOCOLS:C,BLOCKLET_DYNAMIC_PATH_PREFIX:"*",BLOCKLET_DEFAULT_PORT_NAME:"BLOCKLET_PORT",BLOCKLET_DEFAULT_PATH_REWRITE:"/",BLOCKLET_RELEASE_FOLDER:".blocklet/release",BLOCKLET_RELEASE_FILE:"blocklet.json",BLOCKLET_BUNDLE_FOLDER:".blocklet/bundle",BLOCKLET_BUNDLE_FILE:"blocklet.zip",BLOCKLET_ENTRY_FILE:"blocklet.js",BLOCKLET_META_FILE:"blocklet.yml",BLOCKLET_META_FILE_ALT:"blocklet.yaml",BLOCKLET_DEFAULT_VERSION:"1.0.0",BLOCKLET_LATEST_SPEC_VERSION:"1.2.7",BLOCKLET_LATEST_REQUIREMENT_SERVER:">=1.7.0",BLOCKLET_LATEST_REQUIREMENT_ABTNODE:">=1.5.15",BLOCKLET_CONFIGURABLE_KEY:{BLOCKLET_CLUSTER_SIZE:"BLOCKLET_CLUSTER_SIZE",BLOCKLET_APP_NAME:"BLOCKLET_APP_NAME",BLOCKLET_APP_DESCRIPTION:"BLOCKLET_APP_DESCRIPTION",BLOCKLET_APP_SK:"BLOCKLET_APP_SK",BLOCKLET_APP_URL:"BLOCKLET_APP_URL",BLOCKLET_PASSPORT_COLOR:"BLOCKLET_PASSPORT_COLOR",BLOCKLET_WALLET_TYPE:"BLOCKLET_WALLET_TYPE",BLOCKLET_DELETABLE:"BLOCKLET_DELETABLE"}})},7017:function(e,t,n){var r=n(27609).default,o=n(91461).default,a=n(38636).default,c=n(46292),l=n(67179),i=n(19611),s=n(20244),u=s.NODE_SERVICES,d=s.SLOT_FOR_IP_DNS_SITE,f=s.WHO_CAN_ACCESS,E=n(65724),p=E.BlockletGroup,L=E.fromBlockletStatus,_=E.fromBlockletSource,O=E.BLOCKLET_INTERFACE_TYPE_WEB,T=E.BLOCKLET_CONFIGURABLE_KEY,C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return"".concat(t.map((function(e){return e&&e.meta?e.meta.did:""})).join("/")).concat(t.length?"/":"").concat(e&&e.meta?e.meta.did:"")},v=function e(t,n){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=c.parallel,i=void 0!==l&&l,s=c.sync,u=c.params,d=c._parent,f=c._root,E=c._level,p=void 0===E?0:E,L=c._tasks,_=c._ancestors,O=void 0===_?[]:_,T=f||d||t,v=C(t,O),b=O.concat(t);if(s){var h=n(t,{parent:d,root:T,level:p,params:u,ancestors:O,id:v});if(t.children){var g,m=a(t.children);try{for(m.s();!(g=m.n()).done;){var B=g.value;e(B,n,{sync:s,params:h,_parent:t,_root:T,_level:p+1,_ancestors:b})}}catch(S){m.e(S)}finally{m.f()}}return null}if(!i)return new Promise(function(){var c=o(r().mark((function o(c,l){var i,s,f,E;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n(t,{parent:d,root:T,level:p,ancestors:O,params:u,id:v});case 3:if(i=r.sent,!t.children){r.next=22;break}s=a(t.children),r.prev=6,s.s();case 8:if((f=s.n()).done){r.next=14;break}return E=f.value,r.next=12,e(E,n,{params:i,_parent:t,_root:T,_level:p+1,_ancestors:b});case 12:r.next=8;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(6),s.e(r.t0);case 19:return r.prev=19,s.f(),r.finish(19);case 22:c(null),r.next=28;break;case 25:r.prev=25,r.t1=r.catch(0),l(r.t1);case 28:case"end":return r.stop()}}),o,null,[[0,25],[6,16,19,22]])})));return function(e,t){return c.apply(this,arguments)}}());var k=L||[];if(k.push(n(t,{parent:d,root:T,level:p,ancestors:O,id:v})),t.children){var A,P=a(t.children);try{for(P.s();!(A=P.n()).done;){var y=A.value;e(y,n,{parallel:i,_parent:t,_root:T,_level:p+1,_tasks:k,_ancestors:b})}}catch(S){P.e(S)}finally{P.f()}}return L?null:Promise.all(k)},b=function(e,t){return v(e,t,{sync:!0})},h=function(e,t,n){return v(e,(function(e,n){return 0===n.level?{}:t(e,n)}),n)},g=function(e,t){var n={};if(!t)return n;for(var r=t.length-1;r>=0;r--){var o=t[r];Array.isArray(o.configs)&&o.configs.forEach((function(t){var r=t.key,o=t.value,a=t.secure,c=t.shared;if(!n[r]&&o&&!1===a&&!1!==c&&!T[r]){var l=(e.configs||[]).find((function(e){return e.key===r}));l&&l.value||(n[r]=o)}}))}return n},m=function(e){if(!e)return null;var t=(e.meta||e||{}).interfaces,n=void 0===t?[]:t;return Array.isArray(n)?n.find((function(e){return e.type===O})):null},B=function(e,t){var n=[t];t===u.AUTH&&n.push(u.AUTH_SERVICE);var r=m(e);return r?(r.services||[]).find((function(e){return n.includes(e.name)})):null};e.exports={isFreeBlocklet:function(e){return!e.payment||(e.payment.price||[]).map((function(e){return e.value||0})).every((function(e){return 0===e}))},isFreeComponent:function(e){return!e.payment||(!e.payment.componentPrice||!e.payment.componentPrice.length)},isComponentBlocklet:function(e){return!1!==c(e,"capabilities.component")},forEachBlocklet:v,forEachBlockletSync:b,forEachChild:h,forEachChildSync:function(e,t){return h(e,t,{sync:!0})},isDeletableBlocklet:function(e){if(!e)return!1;var t=e.environments.find((function(e){return"BLOCKLET_DELETABLE"===e.key}));return!t||"yes"===t.value},getSharedConfigObj:g,getAppMissingConfigs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[];return b(e,(function(e,n){var r=n.ancestors,o=e.configs||[],a=g(e,r);o.forEach((function(n){!n.required||n.value||a[n.key]||t.push({did:e.meta.did,key:n.key,description:n.description})}))})),t},getComponentMissingConfigs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=e.configs||[],o=g(e,t);return r.forEach((function(t){!t.required||t.value||o[t.key]||n.push({did:e.meta.did,key:t.key,description:t.description})})),n},wipeSensitiveData:function(e){return e?(v(e,(function(t){(t.configs||[]).forEach((function(e){e.secure&&(e.value=e.value?"__encrypted__":"")})),(t.environments||[]).forEach((function(e){["BLOCKLET_APP_SK"].includes(e.key)&&(e.value="__encrypted__")})),delete e.configObj,delete e.environmentObj}),{sync:!0}),e):e},hasRunnableComponent:function(e){var t=!1;return b(e,(function(e){e.meta.group!==p.gateway&&(t=!0)})),t},getDisplayName:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.meta;if(!n&&e.environments){var o=e.environments.find((function(e){return"BLOCKLET_APP_NAME"===e.key}));o&&o.value&&(t=o.value)}return t||r.title||r.name},fixBlockletStatus:function(e){e&&(b(e,(function(e){e.status=L(e.status),void 0!==e.source&&(e.source=_(e.source))})),e.settings&&(e.settings.children||[]).forEach((function(e){b(e,(function(e){e.status=L(e.status),void 0!==e.source&&(e.source=_(e.source))}))})))},findWebInterface:m,findServiceFromMeta:B,getWhoCanAccess:function(e){if(!e)return f.ALL;if(c(e,"settings.whoCanAccess"))return e.settings.whoCanAccess;var t=B(e.meta,u.AUTH);return c(t,"config.whoCanAccess")?t.config.whoCanAccess:f.ALL},replaceSlotToIp:function(e,t){return(e||"").replace(d,(t||"").replace(/\./g,"-"))},urlFriendly:function(e){return l(e.replace(/^[@./-]/,"").replace(/[@./_]/g,"-"))},getComponentId:C,getComponentName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return"".concat(t.map((function(e){return e&&e.meta?e.meta.name:""})).join("/")).concat(t.length?"/":"").concat(e&&e.meta?e.meta.name:"")},getComponentBundleId:function(e){return"".concat(e.meta.bundleName,"@").concat(e.meta.version)},findComponentById:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r._ancestors,c=void 0===o?[]:o,l=r.returnAncestors,i=void 0!==l&&l,s=C(t,c);if(n===s)return i?{component:t,ancestors:c}:t;var u,d=a(t.children||[]);try{for(d.s();!(u=d.n()).done;){var f=u.value,E=c.concat(t),p=e(f,n,{_ancestors:E,returnAncestors:i});if(p)return p}}catch(L){d.e(L)}finally{d.f()}return null},getParentComponentName:function(e){if(!e)return"";var t=e.split("/");return t.pop(),t.length?(t[t.length-1].startsWith("@")&&t.pop(),t.length?t.join("/"):""):""},getConnectAppUrl:function(e){var t=e.request,n=e.baseUrl,r=t.headers["x-blocklet-did"]||"",o=t.headers["x-blocklet-real-did"]||"",a=t.headers["x-path-prefix"]||"/",c=t.headers["x-group-path-prefix"]||"/",l=n;return r!==o&&a!==c&&(l=i(i(l,"/").replace(a,c),"")),l}}},56229:function(e,t,n){"use strict";t.Z=C;var r,o=n(30969),a=L(n(16380)),c=L(n(24974)),l=L(n(98623)),i=n(4716),s=L(n(85820)),u=L(n(71847)),d=n(42167),f=L(n(46513)),E=L(n(91077)),p=n(37574);function L(e){return e&&e.__esModule?e:{default:e}}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){var t=e.SessionContext,n=e.extraItems,r=e.showLocale,a=e.showHelper,c=e.showSessionManager,L=e.sessionManagerProps,_=(0,o.useContext)(t).session,T=(0,o.useContext)(d.LocaleContext).locale,C=(0,i.useLocation)(),v={"/dashboard":"/introduction/abtnode-overview","/store":"/marketplace","/blocklets":"/blocklet","/router/rules":"/router","/router/engine":"/router","/settings/basic":"/misc","/settings/team":"/misc/member-management","/console":"/misc/graphql-console"};return(0,p.jsxs)(h,{children:[n.map((function(e,t){return(0,o.cloneElement)(e,{key:t})})),r&&(0,p.jsx)(u.default,{"data-cy":"locale-addon",icon:f.default,size:23,showText:!1,className:"locale-addon"}),a&&(0,p.jsx)(l.default,{onClick:function(){var e=C.pathname,t="";e.indexOf("/blocklets")>-1?t=v["/blocklets"]:e.indexOf("/store")>-1?t=v["/store"]:v[e]&&(t=v[e]),window.open("https://docs.arcblock.io/abtnode/".concat(T).concat(t),"_blank")},children:(0,p.jsx)(E.default,{})}),c&&(0,p.jsx)(s.default,O({session:_,size:24,showRole:!0},L))]})}C.propTypes={SessionContext:c.default.object.isRequired,webWalletUrl:c.default.string,extraItems:c.default.array,showLocale:c.default.bool,showSessionManager:c.default.bool,showHelper:c.default.bool,sessionManagerProps:c.default.object},C.defaultProps={webWalletUrl:"",extraItems:[],showLocale:!0,showSessionManager:!0,showHelper:!0,sessionManagerProps:{}};var v,b,h=a.default.div(r||(v=["\n display: flex;\n justify-content: center;\n align-items: center;\n\n .MuiIconButton-root svg {\n width: 26px;\n height: 26px;\n }\n\n .user-addon {\n .user-avatar {\n width: 28px;\n border-radius: 14px;\n height: auto;\n }\n }\n\n "," {\n > button,\n > a {\n padding-left: 8px;\n padding-right: 8px;\n }\n }\n"],b||(b=v.slice(0)),r=Object.freeze(Object.defineProperties(v,{raw:{value:Object.freeze(b)}}))),(function(e){return e.theme.breakpoints.down("md")}))}}]);
|
|
2
|
+
//# sourceMappingURL=532.0eadd9e1.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/js/532.0eadd9e1.chunk.js","mappings":"6HAAA,IAAMA,EAAY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AASC,EAwFnCxB,EAAM/C,EAAQa,QAAQ2D,IAAI1E,IAxFAwE,EAwF6D,CAAC,gRAAiR,mGAxF1TC,IAAOA,EAAMD,EAAQG,MAAM,IAwF5B3E,EAxFyC3O,OAAOO,OAAOP,OAAOyQ,iBAAiB0C,EAAS,CAAEC,IAAK,CAAE1J,MAAO1J,OAAOO,OAAO6S,SAwF2S,SAAAG,GAAK,OAAIA,EAAMC,MAAMC,YAAYC,KAAK,KAAjC,G","sources":["../../../blocklet/meta/lib/constants.js","../../../blocklet/meta/lib/util.js","../../ux/lib/layout/addon.js"],"sourcesContent":["const fromEntry = (entries) => (v) => {\n const match = Object.entries(entries).find((x) => x[1] === Number(v));\n return match ? match[0] : 'unknown';\n};\n\nconst toEntry = (entries) => (v) => Object.keys(entries).find((x) => entries[x] === Number(v));\n\n// Blocklet Status\n\nconst BlockletStatus = Object.freeze({\n added: 0,\n downloading: 1,\n downloaded: 2, // Deprecated\n installing: 3,\n installed: 4,\n starting: 5,\n running: 6,\n stopping: 7,\n stopped: 8,\n error: 9,\n upgrading: 10,\n restarting: 11, // Deprecated\n corrupted: 12,\n waiting: 13,\n deleted: 14,\n});\n\nconst fromBlockletStatus = fromEntry(BlockletStatus);\nconst toBlockletStatus = toEntry(BlockletStatus);\n\n// Blocklet Source\n\nconst BlockletSource = Object.freeze({\n // Installed from Blocklet Store\n registry: 0,\n\n // Installed from local development source folder\n local: 1,\n\n // Installed from uploading bundle directly\n upload: 2,\n\n // Installed from a url (similar to Blocklet Store)\n url: 3,\n\n // Installed by custom creation\n custom: 4,\n});\n\nconst fromBlockletSource = fromEntry(BlockletSource);\nconst toBlockletSource = toEntry(BlockletSource);\n\n// Blocklet Group(Type)\n\nconst BlockletGroup = Object.freeze({\n // Only static website\n // The website is served by by Blocklet Server at runtime\n static: 'static',\n\n // The runtime instance is provided by its own backend server\n dapp: 'dapp',\n\n starter: false, // deprecated\n\n // This type is used to combine other component blocklets\n // No instance will be spawned at runtime\n gateway: 'gateway',\n});\n\nconst BLOCKLET_GROUPS = ['dapp', 'static', 'gateway'];\n\n// Blocklet Events\n\nconst BlockletEvents = Object.freeze({\n added: 'blocklet.added',\n downloadFailed: 'blocklet.downloadFailed',\n installed: 'blocklet.installed',\n installFailed: 'blocklet.installFailed',\n upgraded: 'blocklet.upgraded',\n upgradeFailed: 'blocklet.upgradedFailed',\n downgraded: 'blocklet.downgraded',\n downgradeFailed: 'blocklet.downgradedFailed',\n deployed: 'blocklet.deployed',\n updated: 'blocklet.updated',\n statusChange: 'blocklet.statusChange',\n removed: 'blocklet.removed',\n started: 'blocklet.started',\n startFailed: 'blocklet.startFailed',\n stopped: 'blocklet.stopped',\n reloaded: 'blocklet.reloaded', // Deprecated\n purchaseChange: 'blocklet.purchaseChange',\n});\n\n// Blocklet Interface\n\nconst BLOCKLET_INTERFACE_TYPE_WEB = 'web';\nconst BLOCKLET_INTERFACE_TYPE_SERVICE = 'service';\n\n// Wellknown interface declares an sub-interface under web interface\n// The path of the wellknown interface must starts with /.well-known, e.g. /.well-known/acme-challenge)\n// The wellknown interface can be mounted to every endpoint of the abtnode and all blocklets on the abtnode\nconst BLOCKLET_INTERFACE_TYPE_WELLKNOWN = 'wellknown';\nconst BLOCKLET_INTERFACE_TYPES = [\n BLOCKLET_INTERFACE_TYPE_WEB,\n BLOCKLET_INTERFACE_TYPE_SERVICE,\n BLOCKLET_INTERFACE_TYPE_WELLKNOWN,\n];\n\nconst BLOCKLET_INTERFACE_PUBLIC = 'publicUrl';\nconst BLOCKLET_INTERFACE_WELLKNOWN = 'wellknownUrl'; // Deprecated\nconst BLOCKLET_UI_INTERFACES = [BLOCKLET_INTERFACE_PUBLIC];\nconst BLOCKLET_STANDARD_INTERFACES = [BLOCKLET_INTERFACE_PUBLIC, BLOCKLET_INTERFACE_WELLKNOWN];\n\nconst BLOCKLET_INTERFACE_PROTOCOL_HTTP = 'http';\nconst BLOCKLET_INTERFACE_PROTOCOL_TCP = 'tcp';\nconst BLOCKLET_INTERFACE_PROTOCOL_UDP = 'udp';\nconst BLOCKLET_INTERFACE_PROTOCOLS = [\n BLOCKLET_INTERFACE_PROTOCOL_TCP,\n BLOCKLET_INTERFACE_PROTOCOL_UDP,\n BLOCKLET_INTERFACE_PROTOCOL_HTTP,\n];\n\nmodule.exports = Object.freeze({\n BlockletStatus,\n fromBlockletStatus,\n toBlockletStatus,\n\n BlockletSource,\n fromBlockletSource,\n toBlockletSource,\n\n BlockletGroup,\n BLOCKLET_GROUPS,\n\n BlockletEvents,\n\n BLOCKLET_PLATFORMS: ['aix', 'darwin', 'freebsd', 'linux', 'openbsd', 'sunos', 'win32'],\n BLOCKLET_ARCHITECTURES: ['arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32', 'x64'],\n\n BLOCKLET_MODES: Object.freeze({\n PRODUCTION: 'production',\n DEVELOPMENT: 'development',\n }),\n\n BLOCKLET_FACTORY_SHARES: { developer: 0.7, store: 0.3 },\n\n // interface\n BLOCKLET_INTERFACE_PUBLIC,\n BLOCKLET_INTERFACE_WELLKNOWN, // Deprecated\n BLOCKLET_UI_INTERFACES,\n BLOCKLET_STANDARD_INTERFACES,\n\n BLOCKLET_INTERFACE_TYPE_WEB,\n BLOCKLET_INTERFACE_TYPE_SERVICE,\n BLOCKLET_INTERFACE_TYPE_WELLKNOWN,\n BLOCKLET_INTERFACE_TYPES,\n\n BLOCKLET_INTERFACE_PROTOCOL_HTTP,\n BLOCKLET_INTERFACE_PROTOCOL_TCP,\n BLOCKLET_INTERFACE_PROTOCOL_UDP,\n BLOCKLET_INTERFACE_PROTOCOLS,\n\n BLOCKLET_DYNAMIC_PATH_PREFIX: '*',\n BLOCKLET_DEFAULT_PORT_NAME: 'BLOCKLET_PORT',\n BLOCKLET_DEFAULT_PATH_REWRITE: '/',\n\n // bundle\n BLOCKLET_RELEASE_FOLDER: '.blocklet/release',\n BLOCKLET_RELEASE_FILE: 'blocklet.json',\n BLOCKLET_BUNDLE_FOLDER: '.blocklet/bundle',\n BLOCKLET_BUNDLE_FILE: 'blocklet.zip',\n BLOCKLET_ENTRY_FILE: 'blocklet.js',\n BLOCKLET_META_FILE: 'blocklet.yml',\n BLOCKLET_META_FILE_ALT: 'blocklet.yaml',\n\n BLOCKLET_DEFAULT_VERSION: '1.0.0',\n\n BLOCKLET_LATEST_SPEC_VERSION: '1.2.7',\n BLOCKLET_LATEST_REQUIREMENT_SERVER: '>=1.7.0',\n BLOCKLET_LATEST_REQUIREMENT_ABTNODE: '>=1.5.15', // Deprecated\n\n BLOCKLET_CONFIGURABLE_KEY: {\n BLOCKLET_CLUSTER_SIZE: 'BLOCKLET_CLUSTER_SIZE',\n BLOCKLET_APP_NAME: 'BLOCKLET_APP_NAME',\n BLOCKLET_APP_DESCRIPTION: 'BLOCKLET_APP_DESCRIPTION',\n BLOCKLET_APP_SK: 'BLOCKLET_APP_SK',\n BLOCKLET_APP_URL: 'BLOCKLET_APP_URL',\n BLOCKLET_PASSPORT_COLOR: 'BLOCKLET_PASSPORT_COLOR',\n BLOCKLET_WALLET_TYPE: 'BLOCKLET_WALLET_TYPE',\n BLOCKLET_DELETABLE: 'BLOCKLET_DELETABLE',\n },\n});\n","/* eslint-disable no-await-in-loop */\nconst get = require('lodash/get');\nconst slugify = require('slugify');\nconst joinUrl = require('url-join');\n\nconst { NODE_SERVICES, SLOT_FOR_IP_DNS_SITE, WHO_CAN_ACCESS } = require('@abtnode/constant');\n\nconst {\n BlockletGroup,\n fromBlockletStatus,\n fromBlockletSource,\n BLOCKLET_INTERFACE_TYPE_WEB,\n BLOCKLET_CONFIGURABLE_KEY,\n} = require('./constants');\n\nconst getComponentId = (component, ancestors = []) =>\n `${ancestors.map((x) => (x && x.meta ? x.meta.did : '')).join('/')}${ancestors.length ? '/' : ''}${\n component && component.meta ? component.meta.did : ''\n }`;\n\nconst getComponentName = (component, ancestors = []) =>\n `${ancestors.map((x) => (x && x.meta ? x.meta.name : '')).join('/')}${ancestors.length ? '/' : ''}${\n component && component.meta ? component.meta.name : ''\n }`;\n\nconst getComponentBundleId = (component) => `${component.meta.bundleName}@${component.meta.version}`;\n\n/**\n * a => ''\n * @a/b => ''\n * a/b => a\n * @a/b/c => @a/b\n * a/@b/c => a\n * @a/b/@c/d => @a/b\n * @a/b/@c/d/e => @a/b/@c/d\n * @a/b/@c/d/@e/f => @a/b/@c/d\n */\nconst getParentComponentName = (name) => {\n if (!name) {\n return '';\n }\n\n const arr = name.split('/');\n arr.pop();\n\n if (!arr.length) {\n return '';\n }\n\n if (arr[arr.length - 1].startsWith('@')) {\n arr.pop();\n }\n\n if (!arr.length) {\n return '';\n }\n\n return arr.join('/');\n};\n\nconst forEachBlocklet = (\n blocklet,\n cb,\n { parallel = false, sync, params: inputParams, _parent, _root, _level = 0, _tasks: inputTasks, _ancestors = [] } = {}\n) => {\n const root = _root || _parent || blocklet;\n\n // id maybe meaningless if no meta in blocklet or _ancestors\n const id = getComponentId(blocklet, _ancestors);\n\n const newAncestors = _ancestors.concat(blocklet);\n\n // sync\n if (sync) {\n const params = cb(blocklet, {\n parent: _parent,\n root,\n level: _level,\n params: inputParams,\n ancestors: _ancestors,\n id,\n });\n if (blocklet.children) {\n for (const child of blocklet.children) {\n forEachBlocklet(child, cb, {\n sync,\n params,\n _parent: blocklet,\n _root: root,\n _level: _level + 1,\n _ancestors: newAncestors,\n });\n }\n }\n return null;\n }\n\n // serial\n if (!parallel) {\n // eslint-disable-next-line no-async-promise-executor\n return new Promise(async (resolve, reject) => {\n try {\n const params = await cb(blocklet, {\n parent: _parent,\n root,\n level: _level,\n ancestors: _ancestors,\n params: inputParams,\n id,\n });\n if (blocklet.children) {\n for (const child of blocklet.children) {\n await forEachBlocklet(child, cb, {\n params,\n _parent: blocklet,\n _root: root,\n _level: _level + 1,\n _ancestors: newAncestors,\n });\n }\n }\n\n resolve(null);\n } catch (err) {\n reject(err);\n }\n });\n }\n\n // parallel\n const tasks = inputTasks || [];\n tasks.push(cb(blocklet, { parent: _parent, root, level: _level, ancestors: _ancestors, id }));\n if (blocklet.children) {\n for (const child of blocklet.children) {\n forEachBlocklet(child, cb, {\n parallel,\n _parent: blocklet,\n _root: root,\n _level: _level + 1,\n _tasks: tasks,\n _ancestors: newAncestors,\n });\n }\n }\n if (inputTasks) {\n return null;\n }\n return Promise.all(tasks);\n};\n\nconst forEachBlockletSync = (blocklet, cb) => forEachBlocklet(blocklet, cb, { sync: true });\n\nconst forEachChild = (blocklet, cb, params) => {\n return forEachBlocklet(\n blocklet,\n (b, opt) => {\n if (opt.level === 0) {\n return {};\n }\n return cb(b, opt);\n },\n params\n );\n};\n\nconst forEachChildSync = (blocklet, cb) => forEachChild(blocklet, cb, { sync: true });\n\nconst findComponentById = (blocklet, componentId, { _ancestors = [], returnAncestors = false } = {}) => {\n const id = getComponentId(blocklet, _ancestors);\n if (componentId === id) {\n if (returnAncestors) {\n return {\n component: blocklet,\n ancestors: _ancestors,\n };\n }\n\n return blocklet;\n }\n\n for (const child of blocklet.children || []) {\n const ancestors = _ancestors.concat(blocklet);\n const component = findComponentById(child, componentId, { _ancestors: ancestors, returnAncestors });\n if (component) {\n return component;\n }\n }\n\n return null;\n};\n\nconst getSharedConfigObj = (component, ancestors) => {\n const res = {};\n if (!ancestors) {\n return res;\n }\n\n for (let i = ancestors.length - 1; i >= 0; i--) {\n const ancestor = ancestors[i];\n if (Array.isArray(ancestor.configs)) {\n ancestor.configs.forEach(({ key, value, secure, shared }) => {\n if (res[key]) {\n return;\n }\n\n if (!value || secure !== false || shared === false || BLOCKLET_CONFIGURABLE_KEY[key]) {\n return;\n }\n\n const config = (component.configs || []).find((x) => x.key === key);\n if (config && config.value) {\n return;\n }\n\n res[key] = value;\n });\n }\n }\n\n return res;\n};\n\nconst getAppMissingConfigs = (blocklet = {}) => {\n const missingConfigs = [];\n\n forEachBlockletSync(blocklet, (b, { ancestors }) => {\n const configs = b.configs || [];\n const sharedConfigObj = getSharedConfigObj(b, ancestors);\n configs.forEach((item) => {\n if (item.required && !item.value && !sharedConfigObj[item.key]) {\n missingConfigs.push({ did: b.meta.did, key: item.key, description: item.description });\n }\n });\n });\n\n return missingConfigs;\n};\n\nconst getComponentMissingConfigs = (component = {}, ancestors = []) => {\n const missingConfigs = [];\n\n const configs = component.configs || [];\n const sharedConfigObj = getSharedConfigObj(component, ancestors);\n configs.forEach((item) => {\n if (item.required && !item.value && !sharedConfigObj[item.key]) {\n missingConfigs.push({ did: component.meta.did, key: item.key, description: item.description });\n }\n });\n\n return missingConfigs;\n};\n\nconst isFreeBlocklet = (meta) => {\n if (!meta.payment) {\n return true;\n }\n\n const priceList = (meta.payment.price || []).map((x) => x.value || 0);\n return priceList.every((x) => x === 0);\n};\n\nconst isFreeComponent = (meta) => {\n if (!meta.payment) {\n return true;\n }\n\n if (!meta.payment.componentPrice) {\n return true;\n }\n\n return !meta.payment.componentPrice.length;\n};\n\nconst isComponentBlocklet = (meta) => {\n return get(meta, 'capabilities.component') !== false;\n};\n\nconst wipeSensitiveData = (blocklet) => {\n if (!blocklet) {\n return blocklet;\n }\n\n forEachBlocklet(\n blocklet,\n (d) => {\n (d.configs || []).forEach((x) => {\n if (x.secure) {\n x.value = x.value ? '__encrypted__' : '';\n }\n });\n (d.environments || []).forEach((x) => {\n if (['BLOCKLET_APP_SK'].includes(x.key)) {\n x.value = '__encrypted__';\n }\n });\n\n delete blocklet.configObj;\n delete blocklet.environmentObj;\n },\n { sync: true }\n );\n\n return blocklet;\n};\n\nconst isDeletableBlocklet = (blocklet) => {\n if (!blocklet) {\n return false;\n }\n\n const config = blocklet.environments.find((x) => x.key === 'BLOCKLET_DELETABLE');\n if (!config) {\n return true;\n }\n\n return config.value === 'yes';\n};\n\nconst hasRunnableComponent = (blocklet) => {\n let has = false;\n forEachBlockletSync(blocklet, (x) => {\n if (x.meta.group !== BlockletGroup.gateway) {\n has = true;\n }\n });\n\n return has;\n};\n\n/**\n * 获取 blocklet 的 name\n * @param {Object} blocklet 应用数据\n * @param {Boolean} onlyUseMeta 优先使用应用元数据的name\n * @returns blocklet display name\n */\nconst getDisplayName = (blocklet, onlyUseMeta = false) => {\n const { meta } = blocklet;\n let displayName;\n\n if (!onlyUseMeta && blocklet.environments) {\n const target = blocklet.environments.find((e) => e.key === 'BLOCKLET_APP_NAME');\n if (target && target.value) {\n displayName = target.value;\n }\n }\n return displayName || meta.title || meta.name;\n};\n\nconst fixBlockletStatus = (blocklet) => {\n if (!blocklet) {\n return;\n }\n\n forEachBlockletSync(blocklet, (b) => {\n b.status = fromBlockletStatus(b.status);\n if (b.source !== undefined) {\n b.source = fromBlockletSource(b.source);\n }\n });\n\n if (blocklet.settings) {\n (blocklet.settings.children || []).forEach((child) => {\n forEachBlockletSync(child, (b) => {\n b.status = fromBlockletStatus(b.status);\n if (b.source !== undefined) {\n b.source = fromBlockletSource(b.source);\n }\n });\n });\n }\n};\n\nconst findWebInterface = (blocklet) => {\n if (!blocklet) {\n return null;\n }\n\n const meta = blocklet.meta || blocklet || {};\n const { interfaces = [] } = meta;\n\n if (!Array.isArray(interfaces)) {\n return null;\n }\n\n return interfaces.find((x) => x.type === BLOCKLET_INTERFACE_TYPE_WEB);\n};\n\nconst findServiceFromMeta = (meta, ServiceName) => {\n const names = [ServiceName];\n\n // backward compatible\n if (ServiceName === NODE_SERVICES.AUTH) {\n names.push(NODE_SERVICES.AUTH_SERVICE);\n }\n\n const webInterface = findWebInterface(meta);\n\n if (!webInterface) {\n return null;\n }\n\n return (webInterface.services || []).find((x) => names.includes(x.name));\n};\n\nconst getWhoCanAccess = (blocklet) => {\n if (!blocklet) {\n return WHO_CAN_ACCESS.ALL;\n }\n\n if (get(blocklet, 'settings.whoCanAccess')) {\n return blocklet.settings.whoCanAccess;\n }\n\n const service = findServiceFromMeta(blocklet.meta, NODE_SERVICES.AUTH);\n if (get(service, 'config.whoCanAccess')) {\n return service.config.whoCanAccess;\n }\n\n return WHO_CAN_ACCESS.ALL;\n};\n\nconst getConnectAppUrl = ({ request, baseUrl }) => {\n const blockletDid = request.headers['x-blocklet-did'] || '';\n const blockletRealDid = request.headers['x-blocklet-real-did'] || '';\n const pathPrefix = request.headers['x-path-prefix'] || '/';\n const groupPathPrefix = request.headers['x-group-path-prefix'] || '/';\n\n // Child blocklets should set appInfo.link to exactly the same path as the root blocklet\n let appUrl = baseUrl;\n if (blockletDid !== blockletRealDid && pathPrefix !== groupPathPrefix) {\n appUrl = joinUrl(joinUrl(appUrl, '/').replace(pathPrefix, groupPathPrefix), '');\n }\n\n return appUrl;\n};\n\nconst replaceSlotToIp = (url, ip) => (url || '').replace(SLOT_FOR_IP_DNS_SITE, (ip || '').replace(/\\./g, '-'));\n\nconst urlFriendly = (name) => slugify(name.replace(/^[@./-]/, '').replace(/[@./_]/g, '-'));\n\nmodule.exports = {\n isFreeBlocklet,\n isFreeComponent,\n isComponentBlocklet,\n forEachBlocklet,\n forEachBlockletSync,\n forEachChild,\n forEachChildSync,\n isDeletableBlocklet,\n getSharedConfigObj,\n getAppMissingConfigs,\n getComponentMissingConfigs,\n wipeSensitiveData,\n hasRunnableComponent,\n getDisplayName,\n fixBlockletStatus,\n findWebInterface,\n findServiceFromMeta,\n getWhoCanAccess,\n replaceSlotToIp,\n urlFriendly,\n getComponentId,\n getComponentName,\n getComponentBundleId,\n findComponentById,\n getParentComponentName,\n getConnectAppUrl,\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = HeaderAddon;\n\nvar _react = require(\"react\");\n\nvar _styled = _interopRequireDefault(require(\"@emotion/styled\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _IconButton = _interopRequireDefault(require(\"@mui/material/IconButton\"));\n\nvar _reactRouterDom = require(\"react-router-dom\");\n\nvar _SessionManager = _interopRequireDefault(require(\"@arcblock/did-connect/lib/SessionManager\"));\n\nvar _selector = _interopRequireDefault(require(\"@arcblock/ux/lib/Locale/selector\"));\n\nvar _context = require(\"@arcblock/ux/lib/Locale/context\");\n\nvar _Globe = _interopRequireDefault(require(\"@arcblock/icons/lib/Globe\"));\n\nvar _QuestionMarkCircle = _interopRequireDefault(require(\"@arcblock/icons/lib/QuestionMarkCircle\"));\n\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n\nvar _templateObject;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction HeaderAddon(_ref) {\n let {\n SessionContext,\n extraItems,\n showLocale,\n showHelper,\n showSessionManager,\n sessionManagerProps\n } = _ref;\n const {\n session\n } = (0, _react.useContext)(SessionContext);\n const {\n locale\n } = (0, _react.useContext)(_context.LocaleContext);\n const location = (0, _reactRouterDom.useLocation)();\n const docPaths = {\n '/dashboard': '/introduction/abtnode-overview',\n '/store': '/marketplace',\n '/blocklets': '/blocklet',\n '/router/rules': '/router',\n '/router/engine': '/router',\n '/settings/basic': '/misc',\n '/settings/team': '/misc/member-management',\n '/console': '/misc/graphql-console'\n };\n\n const onHelpClick = () => {\n const pathName = location.pathname;\n let path = '';\n\n if (pathName.indexOf('/blocklets') > -1) {\n path = docPaths['/blocklets'];\n } else if (pathName.indexOf('/store') > -1) {\n path = docPaths['/store'];\n } else if (docPaths[pathName]) {\n path = docPaths[pathName];\n }\n\n window.open(\"https://docs.arcblock.io/abtnode/\".concat(locale).concat(path), '_blank');\n };\n\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Div, {\n children: [extraItems.map((x, index) => /*#__PURE__*/(0, _react.cloneElement)(x, {\n key: index\n })), showLocale && /*#__PURE__*/(0, _jsxRuntime.jsx)(_selector.default, {\n \"data-cy\": \"locale-addon\",\n icon: _Globe.default,\n size: 23,\n showText: false,\n className: \"locale-addon\"\n }), showHelper && /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButton.default, {\n onClick: onHelpClick,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_QuestionMarkCircle.default, {})\n }), showSessionManager && /*#__PURE__*/(0, _jsxRuntime.jsx)(_SessionManager.default, _objectSpread({\n session: session,\n size: 24,\n showRole: true\n }, sessionManagerProps))]\n });\n}\n\nHeaderAddon.propTypes = {\n SessionContext: _propTypes.default.object.isRequired,\n webWalletUrl: _propTypes.default.string,\n extraItems: _propTypes.default.array,\n showLocale: _propTypes.default.bool,\n showSessionManager: _propTypes.default.bool,\n showHelper: _propTypes.default.bool,\n sessionManagerProps: _propTypes.default.object\n};\nHeaderAddon.defaultProps = {\n webWalletUrl: '',\n extraItems: [],\n showLocale: true,\n showSessionManager: true,\n showHelper: true,\n sessionManagerProps: {}\n};\n\nconst Div = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n\\n .MuiIconButton-root svg {\\n width: 26px;\\n height: 26px;\\n }\\n\\n .user-addon {\\n .user-avatar {\\n width: 28px;\\n border-radius: 14px;\\n height: auto;\\n }\\n }\\n\\n \", \" {\\n > button,\\n > a {\\n padding-left: 8px;\\n padding-right: 8px;\\n }\\n }\\n\"])), props => props.theme.breakpoints.down('md'));"],"names":["fromEntry","entries","v","match","Object","find","x","Number","toEntry","keys","BlockletStatus","freeze","added","downloading","downloaded","installing","installed","starting","running","stopping","stopped","error","upgrading","restarting","corrupted","waiting","deleted","fromBlockletStatus","toBlockletStatus","BlockletSource","registry","local","upload","url","custom","fromBlockletSource","toBlockletSource","BlockletGroup","static","dapp","starter","gateway","BlockletEvents","downloadFailed","installFailed","upgraded","upgradeFailed","downgraded","downgradeFailed","deployed","updated","statusChange","removed","started","startFailed","reloaded","purchaseChange","BLOCKLET_INTERFACE_TYPE_SERVICE","BLOCKLET_INTERFACE_TYPE_WELLKNOWN","BLOCKLET_INTERFACE_TYPES","BLOCKLET_INTERFACE_PUBLIC","BLOCKLET_INTERFACE_WELLKNOWN","BLOCKLET_UI_INTERFACES","BLOCKLET_STANDARD_INTERFACES","BLOCKLET_INTERFACE_PROTOCOL_HTTP","BLOCKLET_INTERFACE_PROTOCOLS","module","exports","BLOCKLET_GROUPS","BLOCKLET_PLATFORMS","BLOCKLET_ARCHITECTURES","BLOCKLET_MODES","PRODUCTION","DEVELOPMENT","BLOCKLET_FACTORY_SHARES","developer","store","BLOCKLET_INTERFACE_TYPE_WEB","BLOCKLET_INTERFACE_PROTOCOL_TCP","BLOCKLET_INTERFACE_PROTOCOL_UDP","BLOCKLET_DYNAMIC_PATH_PREFIX","BLOCKLET_DEFAULT_PORT_NAME","BLOCKLET_DEFAULT_PATH_REWRITE","BLOCKLET_RELEASE_FOLDER","BLOCKLET_RELEASE_FILE","BLOCKLET_BUNDLE_FOLDER","BLOCKLET_BUNDLE_FILE","BLOCKLET_ENTRY_FILE","BLOCKLET_META_FILE","BLOCKLET_META_FILE_ALT","BLOCKLET_DEFAULT_VERSION","BLOCKLET_LATEST_SPEC_VERSION","BLOCKLET_LATEST_REQUIREMENT_SERVER","BLOCKLET_LATEST_REQUIREMENT_ABTNODE","BLOCKLET_CONFIGURABLE_KEY","BLOCKLET_CLUSTER_SIZE","BLOCKLET_APP_NAME","BLOCKLET_APP_DESCRIPTION","BLOCKLET_APP_SK","BLOCKLET_APP_URL","BLOCKLET_PASSPORT_COLOR","BLOCKLET_WALLET_TYPE","BLOCKLET_DELETABLE","get","require","slugify","joinUrl","NODE_SERVICES","SLOT_FOR_IP_DNS_SITE","WHO_CAN_ACCESS","getComponentId","component","ancestors","map","meta","did","join","length","forEachBlocklet","blocklet","cb","parallel","sync","inputParams","params","_parent","_root","_level","inputTasks","_tasks","_ancestors","root","id","newAncestors","concat","parent","level","children","child","Promise","resolve","reject","tasks","push","all","forEachBlockletSync","forEachChild","b","opt","getSharedConfigObj","res","i","ancestor","Array","isArray","configs","forEach","key","value","secure","shared","config","findWebInterface","interfaces","type","findServiceFromMeta","ServiceName","names","AUTH","AUTH_SERVICE","webInterface","services","includes","name","isFreeBlocklet","payment","price","every","isFreeComponent","componentPrice","isComponentBlocklet","forEachChildSync","isDeletableBlocklet","environments","getAppMissingConfigs","missingConfigs","sharedConfigObj","item","required","description","getComponentMissingConfigs","wipeSensitiveData","d","configObj","environmentObj","hasRunnableComponent","has","group","getDisplayName","displayName","onlyUseMeta","target","e","title","fixBlockletStatus","status","undefined","source","settings","getWhoCanAccess","ALL","whoCanAccess","service","replaceSlotToIp","ip","replace","urlFriendly","getComponentName","getComponentBundleId","bundleName","version","findComponentById","componentId","returnAncestors","getParentComponentName","arr","split","pop","startsWith","getConnectAppUrl","request","baseUrl","blockletDid","headers","blockletRealDid","pathPrefix","groupPathPrefix","appUrl","HeaderAddon","_templateObject","_react","_styled","_interopRequireDefault","_propTypes","_IconButton","_reactRouterDom","_SessionManager","_selector","_context","_Globe","_QuestionMarkCircle","_jsxRuntime","obj","__esModule","default","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","arguments","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","configurable","writable","_ref","SessionContext","extraItems","showLocale","showHelper","showSessionManager","sessionManagerProps","session","useContext","locale","LocaleContext","location","useLocation","docPaths","jsxs","Div","index","cloneElement","jsx","icon","size","showText","className","onClick","pathName","pathname","path","indexOf","window","open","showRole","propTypes","isRequired","webWalletUrl","string","array","bool","defaultProps","strings","raw","div","slice","props","theme","breakpoints","down"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(self.webpackChunk_abtnode_blocklet_services=self.webpackChunk_abtnode_blocklet_services||[]).push([[597],{85820:function(e,t,n){"use strict";var r=n(43681).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(30969),i=w(n(24974)),l=n(215),c=n(59986),s=w(n(84507)),u=w(n(29058)),d=w(n(28249)),f=w(n(18084)),p=w(n(34872)),h=w(n(5177)),v=w(n(52256)),b=w(n(92771)),m=w(n(43685)),g=w(n(51193)),O=n(37574),y=["session","locale","showText","showRole","switchDid","switchProfile","switchPassport","disableLogout","onLogin","onLogout","onSwitchDid","onSwitchProfile","onSwitchPassport","menu","menuRender","dark","size"],j=["svgIcon"];function w(e){return e&&e.__esModule?e:{default:e}}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var k={zh:{switchDid:"\u5207\u6362\u8d26\u6237",switchProfile:"\u5207\u6362\u7528\u6237\u4fe1\u606f",switchPassport:"\u5207\u6362\u901a\u884c\u8bc1",disconnect:"\u9000\u51fa",connect:"\u767b\u5f55",openInWallet:"\u6253\u5f00 DID \u94b1\u5305"},en:{switchDid:"Switch DID",switchProfile:"Switch Profile",switchPassport:"Switch Passport",disconnect:"Disconnect",connect:"Connect",openInWallet:"Open DID Wallet"}};function S(e){var t,n,o,i,l=e.session,w=e.locale,x=e.showText,z=e.showRole,S=e.switchDid,D=e.switchProfile,C=e.switchPassport,E=e.disableLogout,A=e.onLogin,L=e.onLogout,I=e.onSwitchDid,R=e.onSwitchProfile,N=e.onSwitchPassport,H=e.menu,U=e.menuRender,T=e.dark,V=e.size,Y=M(e,y),B=(0,a.useRef)(null),Z=(0,a.useState)(!1),q=r(Z,2),W=q[0],J=q[1],G=null===(t=l.user)||void 0===t||null===(n=t.avatar)||void 0===n?void 0:n.replace(/\s/g,encodeURIComponent(" ")),F=(0,a.useMemo)((function(){var e,t;return null===(e=l.user)||void 0===e||null===(t=e.passports)||void 0===t?void 0:t.find((function(e){return e.name===l.user.role}))}),[l.user]),K=(0,b.default)();if(!l.user)return x?(0,O.jsxs)(c.Button,P(P({sx:[{borderRadius:"100vw"},T&&{color:"#fff",borderColor:"#fff"}],variant:"outlined",onClick:$,"aria-label":"login button"},Y),{},{"data-cy":"sessionManager-login",children:[(0,O.jsx)(s.default,{}),(0,O.jsx)("span",{style:{lineHeight:"25px"},children:k[w].connect})]})):(0,O.jsx)(c.IconButton,P(P({},Y),{},{onClick:$,"data-cy":"sessionManager-login",size:"medium",children:(0,O.jsx)(s.default,{style:{width:V,height:V,color:T?"#fff":""}})}));function $(){l.login(A)}return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(c.IconButton,P(P({ref:B,onClick:function(){J((function(e){return!e}))}},Y),{},{"data-cy":"sessionManager-logout-popup",size:"medium",style:{lineHeight:1},children:(0,O.jsx)(m.default,{variant:"circle",did:l.user.did,src:G,size:V,shape:"circle"})})),B.current&&(0,O.jsx)(_,{open:W,disablePortal:!0,anchorEl:B.current,placement:"bottom-end",$dark:T,children:(0,O.jsx)(c.Paper,{sx:[function(e){return{borderColor:"#F0F0F0",boxShadow:"0px 8px 12px rgba(92, 92, 92, 0.04)",borderRadius:e.spacing(2),overflow:"hidden",maxWidth:"calc(100vw - 10px)","& .MuiChip-root .MuiChip-icon":{color:e.palette.success.main}}},T&&{backgroundColor:"#27282c",color:"#fff",border:0,"& .MuiChip-root":{borderColor:"#aaa"},"& .MuiListItem-root, & .MuiChip-label":{color:"#aaa"},"& .MuiListItem-root:hover":{backgroundColor:"#363434"}}],variant:"outlined",children:(0,O.jsx)(c.ClickAwayListener,{onClickAway:function(e){B.current&&B.current.contains(e.target)||J(!1)},children:(0,O.jsxs)(c.MenuList,{sx:{p:0},children:[(0,O.jsxs)("div",{className:"session-manager-user",children:[(0,O.jsxs)("div",{className:"session-manager-user-name",children:[(0,O.jsx)("span",{children:l.user.fullName}),!!z&&((null===F||void 0===F?void 0:F.title)||(null===(o=l.user)||void 0===o?void 0:o.role.toUpperCase()))&&(0,O.jsx)(c.Chip,{label:(null===F||void 0===F?void 0:F.title)||(null===(i=l.user)||void 0===i?void 0:i.role.toUpperCase()),size:"small",variant:"outlined",sx:{height:"auto",marginRight:0},icon:(0,O.jsx)(c.SvgIcon,{component:u.default,size:"small"})})]}),(0,O.jsx)(g.default,{responsive:!1,children:l.user.did})]}),Array.isArray(H)&&H.map((function(e,t){var n=e.svgIcon,r=M(e,j);return(0,O.jsxs)(c.MenuItem,P(P({className:"session-manager-menu-item"},P(P({},r),{},{icon:void 0,label:void 0})),{},{children:[n?n&&(0,O.jsx)(c.SvgIcon,{component:n,className:"session-manager-menu-icon"}):e.icon,e.label]}),t)})),U({classes:{menuItem:"session-manager-menu-item",menuIcon:"session-manager-menu-icon"}}),!K.wallet&&(0,O.jsxs)(c.MenuItem,{component:"a",className:"session-manager-menu-item","data-cy":"sessionManager-openInWallet",href:"https://www.abtwallet.io/",target:"_blank",children:[(0,O.jsx)(c.SvgIcon,{component:d.default,className:"session-manager-menu-icon"}),k[w].openInWallet]}),!!S&&(0,O.jsxs)(c.MenuItem,{className:"session-manager-menu-item",onClick:function(){l.switchDid((function(){J(!1),I.apply(void 0,arguments)}))},"data-cy":"sessionManager-switch-trigger",children:[(0,O.jsx)(c.SvgIcon,{component:p.default,className:"session-manager-menu-icon"}),k[w].switchDid]}),!!D&&(0,O.jsxs)(c.MenuItem,{className:"session-manager-menu-item",onClick:function(){l.switchProfile((function(){J(!1),R.apply(void 0,arguments)}))},"data-cy":"sessionManager-switch-profile-trigger",children:[(0,O.jsx)(c.SvgIcon,{component:h.default,className:"session-manager-menu-icon"}),k[w].switchProfile]}),!!C&&(0,O.jsxs)(c.MenuItem,{className:"session-manager-menu-item",onClick:function(){J(!1),l.switchPassport((function(){J(!1),N.apply(void 0,arguments)}))},"data-cy":"sessionManager-switch-passport-trigger",children:[(0,O.jsx)(c.SvgIcon,{component:v.default,className:"session-manager-menu-icon"}),k[w].switchPassport]}),(0,O.jsxs)(c.MenuItem,{className:"session-manager-menu-item",onClick:function(){l.logout((function(){J(!1),L.apply(void 0,arguments)}))},disabled:E,"data-cy":"sessionManager-logout-trigger",children:[(0,O.jsx)(c.SvgIcon,{component:f.default,className:"session-manager-menu-icon"}),k[w].disconnect]})]})})})})]})}S.propTypes={session:i.default.shape({user:i.default.shape({did:i.default.string.isRequired,role:i.default.string.isRequired,fullName:i.default.string,avatar:i.default.string,passports:i.default.arrayOf(i.default.shape({name:i.default.string.isRequired,title:i.default.string.isRequired}))}),login:i.default.func.isRequired,logout:i.default.func.isRequired,switchDid:i.default.func.isRequired,switchProfile:i.default.func.isRequired,switchPassport:i.default.func.isRequired}).isRequired,locale:i.default.string,showText:i.default.bool,showRole:i.default.bool,switchDid:i.default.bool,switchProfile:i.default.bool,switchPassport:i.default.bool,disableLogout:i.default.bool,onLogin:i.default.func,onLogout:i.default.func,onSwitchDid:i.default.func,onSwitchProfile:i.default.func,onSwitchPassport:i.default.func,menu:i.default.array,menuRender:i.default.func,dark:i.default.bool,size:i.default.number};var D=function(){};S.defaultProps={locale:"en",showText:!1,showRole:!1,switchDid:!0,switchProfile:!0,switchPassport:!0,disableLogout:!1,menu:[],menuRender:D,onLogin:D,onLogout:D,onSwitchDid:D,onSwitchProfile:D,onSwitchPassport:D,dark:!1,size:24};var C,E,_=(0,l.styled)(c.Popper)(o||(C=["\n z-index: ",";\n .MuiList-root {\n width: 280px;\n }\n .session-manager-user {\n font-size: 12px;\n flex-direction: column;\n align-items: flex-start;\n padding: 24px 24px 10px;\n }\n .session-manager-user-name {\n font-size: 20px;\n color: ",";\n font-weight: bold;\n margin-bottom: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .session-manager-menu-item {\n padding: 18.5px 24px;\n color: #777;\n font-size: 16px;\n &:hover {\n background-color: #fbfbfb;\n }\n }\n .session-manager-menu-icon {\n color: #999;\n margin-right: 16px;\n }\n"],E||(E=C.slice(0)),o=Object.freeze(Object.defineProperties(C,{raw:{value:Object.freeze(E)}}))),(function(e){return e.theme.zIndex.tooltip}),(function(e){return e.$dark?"#aaa":"#222"})),A=S;t.default=A},84507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsx)("svg",i(i({},e),{},{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.826 1.75a1.937 1.937 0 1 0 0 3.875 1.937 1.937 0 0 0 0-3.875zM3.838 3.687a2.987 2.987 0 1 1 5.975 0 2.987 2.987 0 0 1-5.975 0zM2.556 9.812l-.102 1.302a1.009 1.009 0 0 0 1.005 1.087h6.733c.588 0 1.051-.5 1.005-1.087l-.102-1.302a2.29 2.29 0 0 0-2.234-1.79H4.79c-1.073 0-2.001.745-2.234 1.79zM1.52 9.628A3.34 3.34 0 0 1 4.79 6.971H8.86a3.34 3.34 0 0 1 3.269 2.657.53.53 0 0 1 .01.066l.104 1.338a2.059 2.059 0 0 1-2.052 2.22H3.459a2.059 2.059 0 0 1-2.052-2.22l.105-1.338a.524.524 0 0 1 .01-.066z",fill:"currentColor"})}))};c.defaultProps={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.displayName="account";var s=c;t.default=s},18084:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsx)("svg",i(i({},e),{},{children:(0,o.jsx)("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.012 2.012a4.25 4.25 0 0 0-5.463.462l-1.068 1.069a1.75 1.75 0 0 0 0 2.474l3.585 3.586a1.75 1.75 0 0 0 2.475 0l1.068-1.068a4.251 4.251 0 0 0 .463-5.463L21.78 3.28zm-3.585 2.475l.022.023.003.002.002.003.023.022a2.75 2.75 0 0 1 0 3.89l-1.068 1.067a.25.25 0 0 1-.354 0l-3.586-3.585a.251.251 0 0 1 0-.354l1.068-1.068a2.75 2.75 0 0 1 3.89 0zM10.78 11.28a.75.75 0 1 0-1.06-1.06L8 11.94l-.47-.47a.75.75 0 0 0-1.06 0l-1.775 1.775a4.251 4.251 0 0 0-.463 5.463L2.22 20.72a.75.75 0 1 0 1.06 1.06l2.012-2.012a4.251 4.251 0 0 0 5.463-.463l1.775-1.775a.75.75 0 0 0 0-1.06l-.47-.47 1.72-1.72a.75.75 0 1 0-1.06-1.06L11 14.94 9.06 13l1.72-1.72zm-3.314 2.247l.004.003.003.004 2.993 2.993.004.003.003.004.466.466-1.244 1.245a2.75 2.75 0 0 1-3.89 0l-.05-.05a2.75 2.75 0 0 1 0-3.89L7 13.062l.466.466v-.001z",fill:"currentColor"})}))};c.defaultProps={viewBox:"0 0 24 24",fill:"none"},c.displayName="disconnect";var s=c;t.default=s},46513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsx)("svg",i(i({},e),{},{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.606 17.32a7.933 7.933 0 0 1-.581-1.18c-.165-.411-.312-.86-.44-1.339a7.639 7.639 0 0 0-1.586 1.054 7.69 7.69 0 0 0 2.607 1.465zm.657-1.675c-.16-.4-.305-.848-.429-1.335A7.643 7.643 0 0 1 10 14h.002c.734 0 1.463.104 2.165.31-.124.487-.268.935-.428 1.335-.283.707-.604 1.235-.925 1.575-.32.339-.595.447-.813.447-.218 0-.493-.108-.813-.447-.322-.34-.642-.867-.925-1.575zM10 12.667a8.976 8.976 0 0 1 2.436.334c.116-.727.193-1.511.22-2.334H7.344c.027.823.103 1.607.22 2.334A8.972 8.972 0 0 1 10 12.667zM7.345 9.333c.027-.823.103-1.607.22-2.334.791.223 1.61.335 2.436.334A8.974 8.974 0 0 0 12.437 7c.116.727.193 1.511.22 2.334H7.344zm6.646 1.334c-.03.982-.127 1.925-.28 2.797.81.367 1.56.852 2.227 1.439a7.666 7.666 0 0 0 1.734-4.236h-3.681zm3.681-1.334H13.99a19.718 19.718 0 0 0-.28-2.798 8.975 8.975 0 0 0 2.228-1.438 7.665 7.665 0 0 1 1.734 4.236zm1.329.669A9 9 0 1 1 1 10a9 9 0 0 1 18 0v.002zM2.329 9.333a7.665 7.665 0 0 1 1.734-4.236A8.974 8.974 0 0 0 6.29 6.535a19.74 19.74 0 0 0-.28 2.798H2.329zm0 1.334h3.682c.03.983.126 1.925.28 2.797a8.974 8.974 0 0 0-2.228 1.439 7.665 7.665 0 0 1-1.734-4.236zm10.648 5.473c.164-.411.312-.86.44-1.34.57.285 1.103.639 1.585 1.055a7.687 7.687 0 0 1-2.606 1.465c.216-.354.41-.751.58-1.18zm-.581-13.46c.967.316 1.85.819 2.606 1.465A7.64 7.64 0 0 1 13.417 5.2c-.128-.48-.276-.928-.44-1.34a7.925 7.925 0 0 0-.581-1.18zm-.657 1.675c.16.4.304.848.428 1.335a7.64 7.64 0 0 1-2.165.31H10a7.64 7.64 0 0 1-2.166-.31c.124-.487.268-.935.429-1.335.283-.708.603-1.235.925-1.575.32-.339.595-.447.813-.447.218 0 .492.108.813.447.321.34.642.867.925 1.575zM7.025 3.86c-.165.411-.312.86-.44 1.34a7.64 7.64 0 0 1-1.586-1.055A7.688 7.688 0 0 1 7.606 2.68c-.216.354-.41.751-.581 1.18z",fill:"currentColor"})}))};c.defaultProps={width:"21",height:"20",viewBox:"0 0 21 20",xmlns:"http://www.w3.org/2000/svg"},c.displayName="globe";var s=c;t.default=s},28249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsx)("svg",i(i({},e),{},{children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.924 3.617a.997.997 0 0 0-.215-.322l-.004-.004A.997.997 0 0 0 20 3h-6a1 1 0 1 0 0 2h3.586l-7.293 7.293a1 1 0 1 0 1.414 1.414L19 6.414V10a1 1 0 0 0 2 0V3.997a.999.999 0 0 0-.076-.38zM3 8a5 5 0 0 1 5-5h1a1 1 0 0 1 0 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-1a1 1 0 0 1 2 0v1a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z",fill:"currentColor"})}))};c.defaultProps={viewBox:"0 0 24 24",fill:"none"},c.displayName="open-in";var s=c;t.default=s},91077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsxs)("svg",i(i({},e),{},{children:[(0,o.jsx)("path",{d:"M9.928 13.133a.981.981 0 0 0-.678.252.79.79 0 0 0-.281.61c0 .27.094.482.283.636.19.154.41.231.663.231.257 0 .48-.076.673-.228.19-.153.287-.365.287-.639a.796.796 0 0 0-.275-.61.958.958 0 0 0-.672-.252zM12.633 7.2a2.526 2.526 0 0 0-1.035-.88c-.441-.212-.955-.32-1.528-.32-.617 0-1.166.129-1.63.383-.467.255-.826.582-1.07.972-.245.392-.37.786-.37 1.172 0 .205.086.397.254.57.169.174.38.262.625.262.419 0 .705-.246.85-.729.132-.399.296-.703.485-.905.177-.19.465-.286.856-.286.336 0 .602.095.813.29.208.191.309.42.309.698a.78.78 0 0 1-.1.387c-.07.125-.156.24-.258.342-.108.109-.287.27-.53.484a9.184 9.184 0 0 0-.679.647 2.268 2.268 0 0 0-.42.656 2.27 2.27 0 0 0-.159.884c0 .288.08.511.24.663.156.15.352.227.58.227.439 0 .714-.24.796-.687.041-.186.073-.316.094-.39.019-.067.046-.136.081-.205.034-.068.089-.144.162-.227.076-.088.179-.19.305-.306.472-.422.805-.727.99-.908.19-.186.356-.41.493-.665A1.9 1.9 0 0 0 13 8.416a2.18 2.18 0 0 0-.367-1.217",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15zm0 1.5a9 9 0 1 0 0-18 9 9 0 0 0 0 18z",fill:"currentColor"})]}))};c.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},c.displayName="question-mark-circle";var s=c;t.default=s},47650:function(e,t,n){"use strict";t.Z=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsxs)("svg",i(i({},e),{},{children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,o.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#0FA4B7"}),(0,o.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,o.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"#0FA4B7"}),(0,o.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};c.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.displayName="server-logo";var s=c;t.Z=s},34872:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(r=n(30969))&&r.__esModule;var r,o=n(37574);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return(0,o.jsx)("svg",i(i({},e),{},{children:(0,o.jsx)("path",{d:"M4 17l4-4m0-6h12H8zm12 0l-4-4 4 4zm0 0l-4 4 4-4zm-4 10H4h12zM4 17l4 4-4-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))};c.defaultProps={viewBox:"0 0 24 24",fill:"none"},c.displayName="switch";var s=c;t.default=s},71847:function(e,t,n){"use strict";var r=n(43681).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=n(30969),i=w(n(24974)),l=w(n(84916)),c=w(n(49284)),s=w(n(98623)),u=w(n(46393)),d=w(n(98885)),f=w(n(47856)),p=w(n(66349)),h=w(n(92293)),v=w(n(38996)),b=w(n(46513)),m=n(38331),g=n(42167),O=n(215),y=n(37574),j=["showText","popperProps","popperType","icon","size"];function w(e){return e&&e.__esModule?e:{default:e}}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function k(e){var t,n,o,i=e.showText,m=e.popperProps,w=e.popperType,x=e.icon,z=e.size,k=M(e,j),S=(0,a.useContext)(g.LocaleContext),D=S.locale,C=S.changeLocale,_=(0,a.useRef)(null),A=(0,a.useState)(!1),L=r(A,2),I=L[0],R=L[1],N=(0,O.useTheme)(),H="dark"===(null===N||void 0===N||null===(t=N.palette)||void 0===t?void 0:t.mode);var U=i?l.default:s.default,T="hover"===w?{onMouseEnter:function(){R(!0)},onMouseLeave:function(){R(!1)}}:{onClick:function(){R(!I)}},V=(0,a.useMemo)((function(){return x?(0,y.jsx)(x,{}):(0,y.jsx)(b.default,{style:{width:"auto",height:z,color:N.palette.text.secondary}})}),[x,null===N||void 0===N||null===(n=N.palette)||void 0===n||null===(o=n.text)||void 0===o?void 0:o.secondary,z]);return(0,y.jsxs)(E,P(P(P({component:"div",dark:H,theme:N},k),T),{},{children:[(0,y.jsx)(U,{ref:_,className:"trigger",children:(0,y.jsxs)(h.default,{display:"flex",alignItems:"center",children:[V,i?(0,y.jsx)(c.default,{component:"strong",className:"trigger-text",children:g.languages.find((function(e){return e.value===D})).text}):""]})}),(0,y.jsx)(d.default,P(P({open:I,anchorEl:_.current},m),{},{disablePortal:!0,children:(0,y.jsx)("div",{className:"locales",children:(0,y.jsx)(u.default,{onClickAway:function(e){var t;null!==(t=_.current)&&void 0!==t&&t.contains(e.target)||R(!1)},children:(0,y.jsx)(p.default,{children:g.languages.map((function(t){var n=t.value,r=t.text;return(0,y.jsxs)(f.default,{className:"locale-item",onClick:function(){return C(t=n),R(!1),void("function"===typeof e.onChange&&e.onChange(t));var t},children:[(0,y.jsx)(v.default,{className:n===D?"check-icon check-icon-visible":"check-icon",fontSize:"small"}),r]},n)}))})})})}))]}))}k.propTypes={size:i.default.number,showText:i.default.bool,popperProps:i.default.object,onChange:i.default.func,popperType:i.default.oneOf(["hover","click"]),icon:i.default.any},k.defaultProps={showText:!0,size:24,popperProps:{},onChange:function(){},popperType:"click",icon:null};var S=k;t.default=S;var D,C,E=(0,O.styled)("div")(o||(D=["\n display: inline-block;\n\n .trigger {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: 14px;\n\n .trigger-text {\n margin-left: 5px;\n font-size: 14px;\n color: ",";\n }\n }\n\n .locales {\n background: ",";\n }\n\n .locale-item {\n font-size: 16px;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: 2px;\n text-align: center;\n color: ",";\n cursor: pointer;\n display: flex;\n padding: 16px;\n align-items: center;\n .check-icon {\n visibility: hidden;\n margin-right: 4px;\n }\n .check-icon-visible {\n visibility: visible;\n }\n }\n"],C||(C=D.slice(0)),o=Object.freeze(Object.defineProperties(D,{raw:{value:Object.freeze(C)}}))),(function(e){return(0,m.getColor)(e)}),(function(e){return(0,m.getBackground)(e)}),(function(e){return(0,m.getColor)(e)}))},5177:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(48035)),a=n(37574),i=(0,o.default)((0,a.jsx)("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"}),"PersonOutline");t.default=i},52256:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(48035)),a=n(37574),i=(0,o.default)((0,a.jsx)("path",{d:"M22 19h-6v-4h-2.68c-1.14 2.42-3.6 4-6.32 4-3.86 0-7-3.14-7-7s3.14-7 7-7c2.72 0 5.17 1.58 6.32 4H24v6h-2v4zm-4-2h2v-4h2v-2H11.94l-.23-.67C11.01 8.34 9.11 7 7 7c-2.76 0-5 2.24-5 5s2.24 5 5 5c2.11 0 4.01-1.34 4.71-3.33l.23-.67H18v4zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"}),"VpnKeyOutlined");t.default=i},46393:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(71127)},66349:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(23484)},98885:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(16502)},29058:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(0,((r=n(24693))&&r.__esModule?r:{default:r}).default)("M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z","ShieldCheck");t.default=o},67179:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u018f":"E","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u0259":"e","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E\'","\u0538":"Y\'","\u0539":"T\'","\u053a":"JH","\u053b":"I","\u053c":"L","\u053d":"X","\u053e":"C\'","\u053f":"K","\u0540":"H","\u0541":"D\'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054a":"P","\u054b":"J","\u054c":"R\'","\u054d":"S","\u054e":"V","\u054f":"T","\u0550":"R","\u0551":"C","\u0553":"P\'","\u0554":"Q\'","\u0555":"O\'\'","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062a":"t","\u062b":"th","\u062c":"j","\u062d":"h","\u062e":"kh","\u062f":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063a":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064a":"y","\u064b":"an","\u064c":"on","\u064d":"en","\u064e":"a","\u064f":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067e":"p","\u0686":"ch","\u0698":"zh","\u06a9":"k","\u06af":"g","\u06cc":"y","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e62":"S","\u1e63":"s","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2013":"-","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u201e":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial","\ufef5":"laa","\ufef7":"laa","\ufef9":"lai","\ufefb":"la"}'),t=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042a":"A","\u042c":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044a":"a","\u044c":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221e":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","\u20a3":"francos","\u2211":"suma","\u221e":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","\u20a3":"franc","\u2211":"somme","\u221e":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","\u2211":"soma","\xa3":"libra","\u221e":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,r){if("string"!==typeof n)throw new Error("slugify: string argument expected");var o=t[(r="string"===typeof r?{replacement:r}:r||{}).locale]||{},a=void 0===r.replacement?"-":r.replacement,i=void 0===r.trim||r.trim,l=n.normalize().split("").reduce((function(t,n){var i=o[n]||e[n]||n;return i===a&&(i=" "),t+i.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return r.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),i&&(l=l.trim()),l=l.replace(/\s+/g,a),r.lower&&(l=l.toLowerCase()),l}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},59740:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(31461);function o(e,t){if(null==e)return{};var n,o,a=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}}}]);
|
|
2
|
+
//# sourceMappingURL=597.93018f01.chunk.js.map
|