@abtnode/webapp 1.16.15-beta-9318a201 → 1.16.15-beta-ed0db59e

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.
Files changed (90) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/build/asset-manifest.json +51 -51
  4. package/build/index.html +1 -1
  5. package/build/service-worker.js +1 -1
  6. package/build/static/js/{1005.54d54e22.chunk.js → 1005.75ed0870.chunk.js} +1 -1
  7. package/build/static/js/1520.135d0493.chunk.js +1 -0
  8. package/build/static/js/{1685.2a736ee3.chunk.js → 1685.1679bdbd.chunk.js} +2 -2
  9. package/build/static/js/17.713812e2.chunk.js +1 -0
  10. package/build/static/js/2113.a0a3a688.chunk.js +1 -0
  11. package/build/static/js/2305.1a17468a.chunk.js +2 -0
  12. package/build/static/js/{2334.926a3436.chunk.js → 2334.74e08d81.chunk.js} +1 -1
  13. package/build/static/js/2701.45ca55d3.chunk.js +2 -0
  14. package/build/static/js/3245.878486bd.chunk.js +1 -0
  15. package/build/static/js/3704.139947e9.chunk.js +2 -0
  16. package/build/static/js/4038.057c3526.chunk.js +2 -0
  17. package/build/static/js/{4168.b428ccb4.chunk.js → 4168.a4beefbf.chunk.js} +1 -1
  18. package/build/static/js/436.08547c14.chunk.js +1 -0
  19. package/build/static/js/{4407.5f35466c.chunk.js → 4407.0fbdcce5.chunk.js} +2 -2
  20. package/build/static/js/4620.ff302a51.chunk.js +1 -0
  21. package/build/static/js/{4775.a61ecf17.chunk.js → 4775.a65e6576.chunk.js} +1 -1
  22. package/build/static/js/4901.00cc1363.chunk.js +1 -0
  23. package/build/static/js/{5032.8a0b671e.chunk.js → 5032.da91d5e6.chunk.js} +1 -1
  24. package/build/static/js/5285.93a44f4f.chunk.js +1 -0
  25. package/build/static/js/542.58bca24d.chunk.js +1 -0
  26. package/build/static/js/5904.afb2521a.chunk.js +1 -0
  27. package/build/static/js/5928.5547c6bf.chunk.js +1 -0
  28. package/build/static/js/6287.026bbca2.chunk.js +1 -0
  29. package/build/static/js/{6412.77cadf28.chunk.js → 6412.f8cd3f1d.chunk.js} +1 -1
  30. package/build/static/js/{6419.f9f93f10.chunk.js → 6419.4fbfd6e6.chunk.js} +1 -1
  31. package/build/static/js/{6511.0fe81071.chunk.js → 6511.efec9d61.chunk.js} +1 -1
  32. package/build/static/js/{6950.bab47d5c.chunk.js → 6950.ecc9d35b.chunk.js} +1 -1
  33. package/build/static/js/{6960.0604a491.chunk.js → 6960.25320e87.chunk.js} +1 -1
  34. package/build/static/js/7020.5c140160.chunk.js +1 -0
  35. package/build/static/js/7126.b4ad3d91.chunk.js +1 -0
  36. package/build/static/js/{7327.d1ca9d48.chunk.js → 7327.ae862a0d.chunk.js} +1 -1
  37. package/build/static/js/{7534.77f71429.chunk.js → 7534.4e543a5c.chunk.js} +1 -1
  38. package/build/static/js/{7604.e325079e.chunk.js → 7604.d16d75c3.chunk.js} +2 -2
  39. package/build/static/js/7638.4c7ee6d6.chunk.js +1 -0
  40. package/build/static/js/7718.11941d75.chunk.js +1 -0
  41. package/build/static/js/{7913.f8875090.chunk.js → 7913.777445d3.chunk.js} +1 -1
  42. package/build/static/js/{8219.b43d875a.chunk.js → 8219.22ddc152.chunk.js} +1 -1
  43. package/build/static/js/{8359.8b6900c4.chunk.js → 8359.71547b04.chunk.js} +1 -1
  44. package/build/static/js/8719.27070c24.chunk.js +1 -0
  45. package/build/static/js/{9041.d699548c.chunk.js → 9041.712e053e.chunk.js} +1 -1
  46. package/build/static/js/{9244.0e63ef9b.chunk.js → 9244.01ad2b1f.chunk.js} +1 -1
  47. package/build/static/js/{9249.ee6559ec.chunk.js → 9249.4f20dc04.chunk.js} +1 -1
  48. package/build/static/js/{9327.77d4d1d8.chunk.js → 9327.b7f3ca87.chunk.js} +1 -1
  49. package/build/static/js/{9351.01fbdf43.chunk.js → 9351.06847c24.chunk.js} +1 -1
  50. package/build/static/js/9354.6dc219d4.chunk.js +1 -0
  51. package/build/static/js/9662.ce2f3bff.chunk.js +1 -0
  52. package/build/static/js/9744.832f9a25.chunk.js +1 -0
  53. package/build/static/js/{9801.38e0a56a.chunk.js → 9801.dd5edb8d.chunk.js} +1 -1
  54. package/build/static/js/9963.d6ed27e8.chunk.js +1 -0
  55. package/build/static/js/main.cdfecab7.js +2 -0
  56. package/package.json +1 -1
  57. package/build/static/js/1520.62e8079a.chunk.js +0 -1
  58. package/build/static/js/17.8cf3a2be.chunk.js +0 -1
  59. package/build/static/js/2113.9d869f90.chunk.js +0 -1
  60. package/build/static/js/2305.56b207a7.chunk.js +0 -2
  61. package/build/static/js/3245.e3e5fc36.chunk.js +0 -1
  62. package/build/static/js/3704.976069d0.chunk.js +0 -2
  63. package/build/static/js/4016.8eebff14.chunk.js +0 -2
  64. package/build/static/js/4038.e37978fb.chunk.js +0 -2
  65. package/build/static/js/436.92515855.chunk.js +0 -1
  66. package/build/static/js/4620.693d9d87.chunk.js +0 -1
  67. package/build/static/js/4901.3e63171b.chunk.js +0 -1
  68. package/build/static/js/5285.626871cb.chunk.js +0 -1
  69. package/build/static/js/542.3398e930.chunk.js +0 -1
  70. package/build/static/js/5904.d5c51cdf.chunk.js +0 -1
  71. package/build/static/js/5928.0f1d6dac.chunk.js +0 -1
  72. package/build/static/js/6287.46d99e7f.chunk.js +0 -1
  73. package/build/static/js/7020.3bb7de06.chunk.js +0 -1
  74. package/build/static/js/7126.d7ac7234.chunk.js +0 -1
  75. package/build/static/js/7638.dace3fe5.chunk.js +0 -1
  76. package/build/static/js/7718.6203b3b2.chunk.js +0 -1
  77. package/build/static/js/8592.9a930219.chunk.js +0 -1
  78. package/build/static/js/8719.d032d97d.chunk.js +0 -1
  79. package/build/static/js/9662.7329e545.chunk.js +0 -1
  80. package/build/static/js/9744.aea4abe9.chunk.js +0 -1
  81. package/build/static/js/9963.c11eaf1c.chunk.js +0 -1
  82. package/build/static/js/main.05aa4b84.js +0 -2
  83. /package/build/static/js/{1685.2a736ee3.chunk.js.LICENSE.txt → 1685.1679bdbd.chunk.js.LICENSE.txt} +0 -0
  84. /package/build/static/js/{2305.56b207a7.chunk.js.LICENSE.txt → 2305.1a17468a.chunk.js.LICENSE.txt} +0 -0
  85. /package/build/static/js/{4016.8eebff14.chunk.js.LICENSE.txt → 2701.45ca55d3.chunk.js.LICENSE.txt} +0 -0
  86. /package/build/static/js/{3704.976069d0.chunk.js.LICENSE.txt → 3704.139947e9.chunk.js.LICENSE.txt} +0 -0
  87. /package/build/static/js/{4038.e37978fb.chunk.js.LICENSE.txt → 4038.057c3526.chunk.js.LICENSE.txt} +0 -0
  88. /package/build/static/js/{4407.5f35466c.chunk.js.LICENSE.txt → 4407.0fbdcce5.chunk.js.LICENSE.txt} +0 -0
  89. /package/build/static/js/{7604.e325079e.chunk.js.LICENSE.txt → 7604.d16d75c3.chunk.js.LICENSE.txt} +0 -0
  90. /package/build/static/js/{main.05aa4b84.js.LICENSE.txt → main.cdfecab7.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9351],{44784:function(e,n,t){var r,a=t(71171),s=t(33028),i=t(59740),o=t(33518),c=t(82790),l=t(96266),p=["labelProps","className","style"];function d(e){var n=e.labelProps,t=e.className,r=e.style,a=(0,i.Z)(e,p),o=(0,s.Z)((0,s.Z)({},n),{},{labelPlacement:(null===n||void 0===n?void 0:n.labelPlacement)||"start"});return(0,l.jsx)(u,{className:t,style:r,children:(0,l.jsx)(c.Z,(0,s.Z)({labelProps:o},a))})}d.propTypes=c.Z.propTypes,d.defaultProps=c.Z.defaultProps;var u=o.default.div(r||(r=(0,a.Z)(["\n max-width: 300px;\n > label {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n }\n "," {\n max-width: 100%;\n }\n"])),(function(e){return e.theme.breakpoints.down("sm")}));n.Z=d},19351:function(e,n,t){t.r(n),t.d(n,{default:function(){return _e}});var r=t(5057),a=t(29054),s=t(84584),i=t(33028),o=t(39948),c=t(11750),l=t(39075),p=t(32723),d=t(34795),u=t(96234),h=t(59740),f=t(44846),m=t(55372),x=t(47020),v=t(28726),g=t(19574),y=t(6352),A=t.n(y),Z=t(86229),j=t(76811),k=t(17682),C=t(13128),b=t(88574),w=t(55898),B=t.n(w),I=t(35432),S=t(60344),U=t(14491),E=t(58238),R=t(38242);var D=function(e){var n,t,r,a=e.blocklet,s=a.appDid,i=(0,R.getAppName)(a),o=(0,R.getAppDescription)(a),c=null===a||void 0===a||null===(n=a.site)||void 0===n||null===(t=n.domainAliases)||void 0===t||null===(r=t.sort((function(e,n){return e.accessibility.accessible&&n.accessibility.accessible?+e.isProtected-+n.isProtected:+n.accessibility.accessible-+e.accessibility.accessible})))||void 0===r?void 0:r.map((function(e){var n,t=null!==e&&void 0!==e&&null!==(n=e.domainStatus)&&void 0!==n&&n.isHttps?"https://":"http://",r=null===e||void 0===e?void 0:e.value;return"".concat(t).concat(r)})).filter(Boolean),l=null===c||void 0===c?void 0:c[0];return{appDid:s,appName:i,appDescription:o,appUrl:l,scopes:"list:object read:object write:object",referrer:window.location.href,isReady:Boolean(l)}},F=t(96266),O=["spaceGateways","refreshSpaceGateways"];function M(e){var n=e.spaceGateways,t=e.refreshSpaceGateways,y=(0,h.Z)(e,O),w=(0,a.y0)().blocklet,B=(0,E.h6)(),R=B.info,M=B.api,L=(0,l.PE)(),T=L.t,z=L.locale,J=(0,r.useMemo)((function(){return(0,s.mo)(null===w||void 0===w?void 0:w.environments)}),[w]),G=(0,r.useState)(""),Q=(0,u.Z)(G,2),N=Q[0],P=Q[1],V=(0,r.useState)(!1),H=(0,u.Z)(V,2),X=H[0],K=H[1],Y=(0,r.useState)(!1),W=(0,u.Z)(Y,2),q=W[0],_=W[1],$=(0,r.useState)(""),ee=(0,u.Z)($,2),ne=ee[0],te=ee[1],re=D({blocklet:w}),ae=(0,U.yP)(R),se=(0,r.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,prefix:A()(I.PROD_DID_SPACES.CORE_URL,"space/api/did"),baseUrl:new URL(I.PROD_DID_SPACES.CORE_URL).origin,checkFn:S.od.create({baseURL:A()(I.PROD_DID_SPACES.CORE_URL,"space")}).get,messages:{title:T("storage.spaces.provideNFT.title",{appName:re.appName},z),scan:T("storage.spaces.provideNFT.scan",{appName:re.appName},z),confirm:"",success:(0,F.jsx)(c.Z,{gutterBottom:!0,children:T("storage.spaces.provideNFT.success")})},onClose:function(){ce((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})}))}}),ie=(0,u.Z)(se,2),oe=ie[0],ce=ie[1],le=(0,r.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:T("storage.spaces.authorize.title",{appName:re.appName},z),scan:T("storage.spaces.authorize.scan",{appName:re.appName},z),confirm:"",success:(0,F.jsx)(c.Z,{gutterBottom:!0,children:T("storage.spaces.authorize.success")})},onClose:function(){ue((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})}))}}),pe=(0,u.Z)(le,2),de=pe[0],ue=pe[1],he=function(e,n){setTimeout((0,d.Z)((0,p.Z)().mark((function t(){var r,a;return(0,p.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ue((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),ce((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),r=n(e.endpoint),a=e.space?n(e.space):{},t.next=6,fe((0,i.Z)((0,i.Z)({endpoint:r},{did:(0,s.LQ)(r),name:"DID Space"}),a));case 6:case"end":return t.stop()}}),t)}))),0)},fe=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(r){var a,i,o,c,l,d,u,h;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=r.endpoint,l=r.name,d=r.did,(u=null===c||void 0===c||null===(a=c.replace(/\/api\/.+/,""))||void 0===a||null===(i=a.trim())||void 0===i?void 0:i.replace(/\/$/,"")).startsWith("http")||(u="https://".concat(u)),e.next=5,(0,s.w2)(u);case 5:if(e.sent){e.next=8;break}return Z.Z.error(T("storage.spaces.gateway.add.invalidUrl")),e.abrupt("return");case 8:if(!n.some((function(e){return e.endpoint===c}))){e.next=12;break}return Z.Z.error(T("storage.spaces.gateway.add.duplicate",{name:l})),e.abrupt("return");case 12:return h={name:l,did:d,url:u,endpoint:c},e.next=15,M.addBlockletSpaceGateway({input:{did:w.meta.did,spaceGateway:h}});case 15:if(J===c){e.next=18;break}return e.next=18,M.configBlocklet({input:{did:[w.meta.did],configs:[{key:j.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:c}]}});case 18:Z.Z.success(T("storage.spaces.connectedWithName",{name:null!==(o=null===h||void 0===h?void 0:h.name)&&void 0!==o?o:"DID Spaces"})),t();case 20:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),me=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){var n,t;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,K(!0),n=N.startsWith("http")?N:"https://".concat(N),e.next=5,(0,s.w2)(n);case 5:if(e.sent){e.next=7;break}throw new Error(T("storage.spaces.gateway.add.invalidUrl"));case 7:ue((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!0,prefix:A()(n,"space/api/did"),baseUrl:new URL(n).origin,checkFn:S.od.create({baseURL:A()(n,"space")}).get,extraParams:{appDid:re.appDid,appName:re.appName,appDescription:re.appDescription,scopes:re.scopes,appUrl:re.appUrl,referrer:re.referrer,nodeDid:R.did}})})),_(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),t="".concat(T("storage.spaces.gateway.add.failed",z),": ").concat((0,U.Z)(e.t0)),te(t);case 15:return e.prev=15,K(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,11,15,18]])})));return function(){return e.apply(this,arguments)}}();return(0,F.jsxs)(o.Z,{children:[(0,F.jsx)(k.Z,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:function(){ce((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!0,extraParams:{appDid:re.appDid,appName:re.appName,appDescription:re.appDescription,scopes:re.scopes,appUrl:re.appUrl,referrer:re.referrer,nodeDid:R.did}})}))},menu:[(0,F.jsx)(k.Z.Item,(0,i.Z)((0,i.Z)({sx:{textTransform:"none"},onClick:function(){return _(!0)},size:"small"},y),{},{children:T("storage.spaces.connect.useSpaceGateway")}),"1")],children:(0,F.jsx)(c.Z,{sx:{fontWeight:"bold",textTransform:"none"},children:T("storage.spaces.connect.useWallet")})}),(0,F.jsx)(g.default,{forceConnected:!1,saveConnect:!1,prefix:oe.prefix,open:oe.open,popup:!0,action:oe.action,webWalletUrl:ae,baseUrl:oe.baseUrl,checkFn:oe.checkFn,onSuccess:he,onClose:oe.onClose,checkTimeout:oe.checkTimeout,extraParams:oe.extraParams,messages:oe.messages,locale:z}),(0,F.jsx)(g.default,{forceConnected:!1,saveConnect:!1,prefix:de.prefix,open:de.open,popup:!0,action:de.action,baseUrl:de.baseUrl,checkFn:de.checkFn,onSuccess:he,onClose:de.onClose,checkTimeout:de.checkTimeout,extraParams:de.extraParams,messages:de.messages,locale:z}),(0,F.jsxs)(C.Z,{title:T("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:q,onClose:function(){return _(!1)},PaperProps:{style:{minHeight:"auto"}},actions:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(v.Z,{onClick:function(e){e.stopPropagation(),_(!1)},color:"inherit",children:T("common.cancel")}),(0,F.jsxs)(v.Z,{onClick:me,color:"primary",disabled:X||!N,variant:"contained",autoFocus:!0,children:[X&&(0,F.jsx)(f.Z,{size:16}),T("common.confirm")]})]}),children:[(0,F.jsx)("div",{style:{paddingTop:12,overflowY:"hidden"},children:(0,F.jsx)(m.Z,{component:"div",children:(0,F.jsx)(c.Z,{component:"div",children:(0,F.jsx)(x.Z,{label:T("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:N,onChange:function(e){te(null),P(e.target.value)},disabled:X,onKeyPress:function(){var e=(0,d.Z)((0,p.Z)().mark((function e(n){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Enter"!==n.key){e.next=3;break}return e.next=3,me();case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),autoFocus:!0})})})}),Boolean(ne)&&(0,F.jsx)(b.Z,{type:"error",style:{width:"100%"},children:ne})]})]})}M.propTypes={spaceGateways:w.array,refreshSpaceGateways:w.func},M.defaultProps={spaceGateways:[],refreshSpaceGateways:function(){}};var L,T=M,z=t(71171),J=t(33518),G=t(90049),Q=t.n(G),N=t(38898),P=t(64886),V=["blocklet"];function H(e){var n=e.blocklet,t=(0,h.Z)(e,V),a=(0,r.useContext)(l.RD).t;if(!n.diskInfo)return(0,F.jsx)(c.Z,{children:a("blocklet.diskInfo.empty")});var s=function(e,n,t){return(0,F.jsxs)(c.Z,{children:[t?(0,F.jsx)(N.Z,{style:{cursor:"pointer"},onClick:t,underline:"hover",children:e}):e," ",(0,F.jsx)("strong",{children:n?Q()(n):"empty"})]})},o=n.environments.reduce((function(e,n){return e[n.key]=n.value,e}),{}),p=[{key:"appDir",name:a("blocklet.diskInfo.appDir"),value:s(o.BLOCKLET_APP_DIR,n.diskInfo.app)},{key:"dataDir",name:a("blocklet.diskInfo.dataDir"),value:s(o.BLOCKLET_DATA_DIR,n.diskInfo.data)},{key:"logDir",name:a("blocklet.diskInfo.logDir"),value:s(o.BLOCKLET_LOG_DIR,n.diskInfo.log)},{key:"cacheDir",name:a("blocklet.diskInfo.cacheDir"),value:s(o.BLOCKLET_CACHE_DIR,n.diskInfo.cache)}];return(0,F.jsx)(X,(0,i.Z)((0,i.Z)({component:"div"},t),{},{children:p.map((function(e){return(0,F.jsx)(P.Z,{valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.key)}))}))}H.propTypes={blocklet:B().object.isRequired},H.defaultProps={};var X=(0,J.default)(c.Z)(L||(L=(0,z.Z)([""]))),K=function(e){return(0,F.jsxs)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:[(0,F.jsxs)("g",{filter:"url(#a)",children:[(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#DDD"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.192 6.222l-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97z",fill:"#000",fillOpacity:".08"}),(0,F.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#D9D9D9"})}),(0,F.jsxs)("g",{mask:"url(#b)",children:[(0,F.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,F.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,F.jsx)("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm11.546-10.102V169h-1.756v-11.636h1.756zM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29z",fill:"#fff"}),(0,F.jsx)("path",{d:"M117.604 47.263L121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847z",fill:"url(#e)"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"url(#f)"}),(0,F.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,F.jsx)("path",{d:"M50.928 216.089l1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911zm2.439.564h-1.13v1.193h1.13v-1.193zm-1.13 2.983h1.13v1.193h-1.13v-1.193z",fillOpacity:".8"}),(0,F.jsx)("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762zM36.355 214h-1.011v7.783h1.01V214zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75zM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894zm6.946 1.803h1.13v1.193h-1.13v-1.193zm1.13 2.983h-1.13v1.193h1.13v-1.193zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751z"})]}),(0,F.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,F.jsx)("path",{d:"M192.064 213.333l.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46z",fill:"#fff"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26z",fill:"#fff"})]})]}),(0,F.jsxs)("defs",{children:[(0,F.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,F.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,F.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,F.jsx)("feOffset",{dy:"2"}),(0,F.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,F.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,F.jsx)("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),(0,F.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,F.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,F.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,F.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,F.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#101010"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,F.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,F.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,F.jsxs)("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[(0,F.jsx)("stop",{stopColor:"#016BED"}),(0,F.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,F.jsx)("clipPath",{id:"g",children:(0,F.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,F.jsx)("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb4YjgbAkmpyEOINs1gCtSC4YsjwnY9l1MJYRz1NMk5NAC3MffnLwiHnNH7IoyER5VEI6S4Um++uKyho0BwmD+1rA90yarpO4ZpjLgs8+BTUfU9w+gkwEi6ftxqyB9Wt6IBstE0E8kxJLeKaVhNA/uEwIslv1JmRwcSzAo+URPCF5M8AGzEF8yG+QVBFl53FqhfYqd7/PM6AmJouW4cVge9pZuMJga2NQH918Sp4VIXddVCKizUTFu3CbUMxyxgOUoSpidf+JEuRy/g3EyyCTz0yw2KRGtDs4fE8btEktCKZzL3J6mFoLZdlcJKLW33guKRC44aAhkhSWKMOT5uF2kd283asHcBt5C15MVUJUPpX5Ri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2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]}))};function Y(){var e=(0,l.PE)().t,n=(0,a.y0)().blocklet;return(0,F.jsxs)(o.Z,{children:[(0,F.jsxs)(o.Z,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[(0,F.jsx)(K,{style:{width:200,height:250}}),(0,F.jsx)(c.Z,{marginTop:"24px",marginBottom:"24px",children:e("storage.spaces.connect.provider")}),(0,F.jsx)(T,{})]}),(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:e("common.dataStorage")}),(0,F.jsx)(H,{blocklet:n})]})}K.defaultProps={width:"228",height:"258",viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Y.propTypes={};var W=Y,q=t(41899),_=t(19654),$=t(99154),ee=t(79366),ne=t(65873),te=t(42876),re=t(92816),ae=t(44784),se=t(67680),ie=t(61533),oe=t(74490),ce=t(46954),le=t(44067),pe=t(83294),de=t(45396),ue=t(14482),he=t(85733),fe=t(47595),me=t(60939);function xe(e){var n=e.spaceGateway,t=e.onDelete,a=(0,l.PE)().t,s=(0,r.useState)(!1),i=(0,u.Z)(s,2),o=i[0],c=i[1],h=(0,r.useState)(!1),f=(0,u.Z)(h,2),m=f[0],x=f[1],v=function(e,n){null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),c(n)},g=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(r){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,null===r||void 0===r||r.stopPropagation(),x(!0),e.next=5,t(n);case 5:c(!1),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),Z.Z.error("".concat(a("storage.space.gateway.delete.failed"),": ").concat((0,U.Z)(e.t0)));case 12:return e.prev=12,x(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,8,12,15]])})));return function(n){return e.apply(this,arguments)}}();return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(oe.Z,{color:"red",onClick:function(e){return v(e,!0)},children:[(0,F.jsx)(ce.Z,{style:{minWidth:24,color:"red"},children:(0,F.jsx)(fe.default,{fontSize:"small"})}),(0,F.jsx)(le.Z,{style:{color:"red"},children:a("common.delete")})]}),(0,F.jsx)(me.Z,{title:a("common.delConfirmDescription",{data:"".concat(null===n||void 0===n?void 0:n.name)}),open:o,confirmButton:{text:a("common.confirm"),props:{variant:"contained",color:"error",loading:m}},cancelButton:{text:a("common.cancel"),props:{variant:"contained",color:"primary"}},onConfirm:g,onCancel:function(e){return v(e,!1)}})]})}xe.propTypes={onDelete:B().func,spaceGateway:B().shape({name:B().string.isRequired,url:B().string.isRequired,protected:B().bool}).isRequired},xe.defaultProps={onDelete:function(){}};var ve=xe,ge=["spaceGateway","connected","onDelete","onConnect","enableSwitchToSpace"];function ye(e){var n=e.spaceGateway,t=e.connected,a=e.onDelete,o=e.onConnect,c=e.enableSwitchToSpace,f=(0,h.Z)(e,ge),m=(0,r.useState)(null),x=(0,u.Z)(m,2),v=x[0],g=x[1],y=(0,l.PE)().t,A=function(e,n){e.stopPropagation(),e.preventDefault(),g(n&&e.currentTarget)},Z=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(t){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(t,!1),e.next=3,o(n);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(se.Z,(0,i.Z)((0,i.Z)({"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",onClick:function(e){return A(e,!0)},size:"small"},f),{},{children:(0,F.jsx)(pe.Z,{})})),(0,F.jsxs)(ie.Z,{id:"simple-menu",anchorEl:v,keepMounted:!0,open:Boolean(v),onClose:function(e){return A(e,!1)},children:[(0,F.jsxs)(oe.Z,{onClick:function(e){A(e,!1),window.open(n.endpoint?(0,s.nD)(n.endpoint):n.url)},children:[(0,F.jsx)(ce.Z,{style:{minWidth:24},children:(0,F.jsx)(de.Z,{fontSize:"small"})}),(0,F.jsx)(le.Z,{children:y("common.open")})]}),(0,F.jsxs)(oe.Z,{onClick:function(e){A(e,!1),window.open((0,s.Xv)(n.endpoint))},children:[(0,F.jsx)(ce.Z,{style:{minWidth:24},children:(0,F.jsx)(he.Z,{fontSize:"small"})}),(0,F.jsx)(le.Z,{children:y("storage.spaces.strategy.viewBackupFiles")})]}),!t&&c&&(0,F.jsxs)(oe.Z,{onClick:Z,children:[(0,F.jsx)(ce.Z,{style:{minWidth:24},children:(0,F.jsx)(ue.Z,{fontSize:"small"})}),(0,F.jsx)(le.Z,{children:y("storage.spaces.connect.switchToSpace")})]}),!t&&(0,F.jsx)(ve,{spaceGateway:n,onDelete:a})]})]})}ye.propTypes={spaceGateway:B().shape({name:B().string.isRequired,url:B().string.isRequired,protected:B().bool,endpoint:B().string.isRequired}).isRequired,connected:B().bool.isRequired,enableSwitchToSpace:B().bool,onDelete:B().func,onConnect:B().func},ye.defaultProps={onDelete:function(){},onConnect:function(){},enableSwitchToSpace:!0};var Ae=ye,Ze=t(54063),je=t(22256),ke=t(37541),Ce=t(17930),be=t(29042),we=function(e){return(0,F.jsxs)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:[(0,F.jsxs)("g",{filter:"url(#a)",children:[(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#DDD"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.192 6.222l-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97z",fill:"#000",fillOpacity:".08"}),(0,F.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#D9D9D9"})}),(0,F.jsxs)("g",{mask:"url(#b)",children:[(0,F.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,F.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,F.jsx)("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm11.546-10.102V169h-1.756v-11.636h1.756zM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29z",fill:"#fff"}),(0,F.jsx)("path",{d:"M117.604 47.263L121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847z",fill:"url(#e)"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"url(#f)"}),(0,F.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,F.jsx)("path",{d:"M50.928 216.089l1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911zm2.439.564h-1.13v1.193h1.13v-1.193zm-1.13 2.983h1.13v1.193h-1.13v-1.193z",fillOpacity:".8"}),(0,F.jsx)("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762zM36.355 214h-1.011v7.783h1.01V214zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75zM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894zm6.946 1.803h1.13v1.193h-1.13v-1.193zm1.13 2.983h-1.13v1.193h1.13v-1.193zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751z"})]}),(0,F.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,F.jsx)("path",{d:"M192.064 213.333l.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46z",fill:"#fff"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26z",fill:"#fff"})]})]}),(0,F.jsxs)("defs",{children:[(0,F.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,F.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,F.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,F.jsx)("feOffset",{dy:"2"}),(0,F.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,F.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,F.jsx)("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),(0,F.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,F.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,F.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,F.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,F.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#101010"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,F.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,F.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,F.jsxs)("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[(0,F.jsx)("stop",{stopColor:"#016BED"}),(0,F.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,F.jsx)("clipPath",{id:"g",children:(0,F.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,F.jsx)("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb4YjgbAkmpyEOINs1gCtSC4YsjwnY9l1MJYRz1NMk5NAC3MffnLwiHnNH7IoyER5VEI6S4Um++uKyho0BwmD+1rA90yarpO4ZpjLgs8+BTUfU9w+gkwEi6ftxqyB9Wt6IBstE0E8kxJLeKaVhNA/uEwIslv1JmRwcSzAo+URPCF5M8AGzEF8yG+QVBFl53FqhfYqd7/PM6AmJouW4cVge9pZuMJga2NQH918Sp4VIXddVCKizUTFu3CbUMxyxgOUoSpidf+JEuRy/g3EyyCTz0yw2KRGtDs4fE8btEktCKZzL3J6mFoLZdlcJKLW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jUWbKdMSYwr58dAPaHymSU0o9/zjFt7/VoGmNAwCyvrKe2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]}))};function Be(e){var n=e.src,t=e.alt,a=(0,r.useState)(!1),s=(0,u.Z)(a,2),i=s[0],o=s[1],c=(0,r.useState)(!1),l=(0,u.Z)(c,2),p=l[0],d=l[1],h=function(){return d(!0)},f=function(){return d(!1)};return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(je.Z,{ready:i,customPlaceholder:(0,F.jsx)("img",{style:{cursor:"pointer"},alt:t,src:n,width:"58px",height:"58px",onError:function(){return o(!0)},onClick:h}),children:(0,F.jsx)(we,{style:{cursor:"pointer",width:"58px",height:"58px"},onClick:h})}),(0,F.jsx)(ke.Z,{open:p,onClose:f,"aria-labelledby":"preview-space-nft-display","aria-describedby":"preview space nft display",fullWidth:!0,maxWidth:"md",children:(0,F.jsxs)(Ce.Z,{style:{padding:"8px 8px",backgroundColor:"rgba(0,0,0,0.8)"},children:[(0,F.jsx)(se.Z,{color:"inherit",onClick:f,"aria-label":"close",style:{position:"absolute",top:8,right:8,color:"white"},children:(0,F.jsx)(be.Z,{})}),i?(0,F.jsx)(we,{style:{width:"100%",height:"75vh"}}):(0,F.jsx)("img",{src:n,alt:"",style:{width:"100%",height:"75vh",objectFit:"contain"}})]})})]})}we.defaultProps={width:"228",height:"258",viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Be.propTypes={src:w.string.isRequired,alt:w.string.isRequired};var Ie,Se=Be,Ue=["spaceGateway","connected","progress","onDelete","onBackupNow","refreshSpaceGateways"],Ee=function(e){return(0,F.jsx)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:(0,F.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#25C99B"})}))};Ee.defaultProps={width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Re=function(e){return(0,F.jsx)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:(0,F.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#F16E6E"})}))};function De(e){var n=e.spaceGateway,t=e.connected,f=e.progress,m=e.onDelete,x=e.onBackupNow,y=e.refreshSpaceGateways,k=(0,h.Z)(e,Ue),C=(0,l.PE)(),b=C.t,w=C.locale,B=(0,r.useState)(!1),I=(0,u.Z)(B,2),U=I[0],R=I[1],O=(0,a.y0)().blocklet,M=(0,E.h6)(),L=M.api,T=M.info.did,z=D({blocklet:O}),J=z.appDid,G=z.appName,Q=z.appDescription,N=z.scopes,P=z.appUrl,V=z.referrer,H=(0,r.useMemo)((function(){return(0,s.mo)(null===O||void 0===O?void 0:O.environments)}),[O]),X=(0,r.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:b("storage.spaces.authorize.title",{appName:G},w),scan:b("storage.spaces.authorize.scan",{appName:G},w),confirm:"",success:(0,F.jsx)(c.Z,{gutterBottom:!0,children:b("storage.spaces.authorize.success")})},onClose:function(){W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})}))}}),K=(0,u.Z)(X,2),Y=K[0],W=K[1],q=(0,ee.Z)((0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",!0);case 2:return e.abrupt("return",(0,s.Nb)(H));case 3:case"end":return e.stop()}}),e)}))),{refreshDeps:[t,H,null===Y||void 0===Y?void 0:Y.open,U]}),se=q.data,ie=q.loading,oe=t&&se,ce=t&&!U&&se,le=t&&U&&se,pe=t&&!se&&!ie&&!U,de=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.Nb)(null===n||void 0===n?void 0:n.endpoint);case 2:if(!e.sent){e.next=8;break}return e.next=6,L.configBlocklet({input:{did:[O.meta.did],configs:[{key:j.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:n.endpoint}]}});case 6:return Z.Z.success(b("storage.spaces.connect.switchToSpaceSucceeded",{name:n.name?"(".concat(n.name,")"):""})),e.abrupt("return");case 8:W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!0,prefix:A()(n.url,"space/api/did"),baseUrl:new URL(n.url).origin,checkFn:S.od.create({baseURL:A()(n.url,"space")}).get,extraParams:{appDid:J,appName:G,appDescription:Q,scopes:N,appUrl:P,referrer:V,nodeDid:T}})}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ue=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(t,r){var a,o,c,l,d,u;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=r(t.endpoint),d=(0,s.LQ)(l),u=t.space?r(t.space):{},!n.did||d===n.did){e.next=7;break}return W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),Z.Z.error(b("storage.spaces.gateway.switch.failedForMismatchSpace",{name:null!==u&&void 0!==u&&u.name?u.name:""})),e.abrupt("return");case 7:return e.next=9,L.updateBlockletSpaceGateway({input:{did:O.meta.did,where:{url:null===n||void 0===n?void 0:n.url},spaceGateway:(0,i.Z)((0,i.Z)({},n),{},{name:null!==(a=u.name)&&void 0!==a?a:"DID Space",did:null!==(o=u.did)&&void 0!==o?o:(0,s.LQ)(l),endpoint:l})}});case 9:if(H===l){e.next=12;break}return e.next=12,L.configBlocklet({input:{did:[O.meta.did],configs:[{key:j.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:l}]}});case 12:Z.Z.success(b("storage.spaces.connectedWithName",{name:null!==(c=null===n||void 0===n?void 0:n.name)&&void 0!==c?c:"DID Spaces"})),W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),y();case 15:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),he=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!U){e.next=3;break}return e.abrupt("return");case 3:return R(!0),e.next=6,x();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),Z.Z.error(e.t0.message);case 12:return e.prev=12,R(!0),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,8,12,15]])})));return function(){return e.apply(this,arguments)}}();return(0,r.useEffect)((function(){null!==f&&void 0!==f&&f.completed?(100===(null===f||void 0===f?void 0:f.progress)?Z.Z.success(b("storage.spaces.backupSuccessfully")):-1===(null===f||void 0===f?void 0:f.progress)&&Z.Z.error(null===f||void 0===f?void 0:f.message),R(!1),f.progress=0,f.message=""):f.progress&&R(!0)}),[f]),(0,F.jsxs)(Fe,{style:{position:"relative"},children:[(0,F.jsxs)(o.Z,(0,i.Z)((0,i.Z)({sx:{backgroundColor:t?"#F0FDFF":"inherit","&:hover":{backgroundColor:t?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px"},k),{},{children:[(0,F.jsx)(o.Z,{display:"flex",children:(0,F.jsx)(Se,{alt:n.did,src:(0,s.Jf)(n.endpoint)})}),(0,F.jsxs)(o.Z,{className:"spaces-info",display:"flex",flexGrow:1,flexDirection:le?"row":"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[(0,F.jsxs)(o.Z,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[(0,F.jsx)(c.Z,{color:t?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:n.name}),oe&&(0,F.jsx)(_.Z,{label:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Ee,{style:{marginRight:"4px"}}),b("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}}),pe&&(0,F.jsx)(_.Z,{label:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Re,{style:{marginRight:"4px"}}),b("storage.spaces.disconnected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}})]}),(0,F.jsx)(o.Z,{className:"spaces-address",display:le?"none":"flex",color:"#9397A1",marginTop:"8px",children:(0,F.jsx)(c.Z,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:n.did&&(0,F.jsx)(re.Z,{copyable:!1,size:14,compact:!0,responsive:!1,did:n.did})})})]}),(0,F.jsxs)(o.Z,{className:"spaces-backup",display:"flex",alignItems:"center",children:[ce&&(0,F.jsxs)(o.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:[(0,F.jsx)(v.Z,{variant:"contained",size:"small",onClick:he,children:b("storage.spaces.strategy.backupNow")}),Ze.C&&(0,F.jsx)(ae.Z,{name:"enable-auto-backup",title:"coming soon",disabled:!0,labelProps:{label:(0,F.jsx)(c.Z,{sx:{marginRight:"8px",fontSize:"16px"},children:(0,F.jsx)("span",{children:b("storage.spaces.strategy.autoBackup")})})},style:{marginLeft:"64px"}})]}),le&&(0,F.jsxs)(o.Z,{className:"backup-progress",display:"flex",flexDirection:"column",alignItems:"center",minWidth:"640px",marginRight:"auto",alignSelf:"end",children:[(0,F.jsx)(c.Z,{color:"primary",children:null===f||void 0===f?void 0:f.message}),(0,F.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center"},width:"100%",children:[(0,F.jsx)(o.Z,{sx:{width:"100%",mr:1},children:(0,F.jsx)($.Z,{color:"primary",variant:"determinate",value:null===f||void 0===f?void 0:f.progress})}),(0,F.jsx)(o.Z,{sx:{minWidth:35},children:(0,F.jsxs)(c.Z,{variant:"body2",color:"text.secondary",children:[null===f||void 0===f?void 0:f.progress,"%"]})})]})]}),pe&&(0,F.jsx)(o.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:(0,F.jsx)(v.Z,{color:"error",variant:"contained",size:"small",onClick:de,children:b("storage.spaces.disconnected.reconnectNow")})}),(0,F.jsx)(Ae,{sx:{marginLeft:"16px",marginRight:"16px"},spaceGateway:n,connected:t,onDelete:m,onConnect:de,enableSwitchToSpace:(null===f||void 0===f?void 0:f.completed)||(0,ne.isEmpty)(null===f||void 0===f?void 0:f.message)})]})]})),(0,F.jsx)(g.default,{forceConnected:!1,saveConnect:!1,prefix:Y.prefix,open:Y.open,popup:!0,action:Y.action,baseUrl:Y.baseUrl,checkFn:Y.checkFn,onSuccess:ue,onClose:Y.onClose,checkTimeout:Y.checkTimeout,extraParams:Y.extraParams,messages:Y.messages,locale:w},"get-endpoint"),(0,F.jsx)(o.Z,{className:"selected-container ".concat(t?"selected":""),children:(0,F.jsx)(te.default,{className:"selected-icon"})})]})}Re.defaultProps={width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},De.propTypes={spaceGateway:B().shape({did:B().string.isRequired,name:B().string.isRequired,url:B().string.isRequired,endpoint:B().string.isRequired,protected:B().bool}).isRequired,connected:B().bool.isRequired,progress:B().any.isRequired,refreshSpaceGateways:B().func.isRequired,onDelete:B().func,onBackupNow:B().func},De.defaultProps={onDelete:function(){},onBackupNow:function(){}};var Fe=(0,J.default)(o.Z)(Ie||(Ie=(0,z.Z)(["\n .selected-container {\n position: absolute;\n right: 0px;\n bottom: 0px;\n display: flex;\n -webkit-box-pack: end;\n justify-content: flex-end;\n align-items: flex-end;\n width: 32px;\n height: 32px;\n border-radius: 0px 0px 8px;\n color: rgb(255, 255, 255);\n overflow: hidden;\n transition: all 0.4s ease 0s;\n\n &::after {\n position: absolute;\n z-index: 0;\n left: 60px;\n top: 60px;\n display: block;\n width: 0px;\n height: 0px;\n border-width: 16px;\n border-style: solid;\n border-color: transparent #1dc1c7 #1dc1c7 transparent;\n transition: all 0.1s ease 0s;\n content: '';\n }\n\n .selected-icon {\n visibility: hidden;\n width: 60%;\n height: 60%;\n position: relative;\n z-index: 2;\n margin: 0px 1px 1px 0px;\n font-size: 16px;\n transition: all 0.2s ease 0s;\n }\n }\n\n .selected-container.selected {\n &::after {\n left: 0px;\n top: 0px;\n }\n\n .selected-icon {\n visibility: visible;\n }\n }\n"]))),Oe=De,Me=t(19778),Le=t(75760),Te=t(75239),ze=t(21722),Je=t(1577),Ge=t.n(Je),Qe=t(73119);function Ne(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.loading,s=n.progress,i=(0,a.y0)().blocklet,o=(0,r.useState)([]),c=(0,u.Z)(o,2),l=c[0],h=c[1],f=(0,E.h6)().api,m=(0,r.useCallback)((0,ne.throttle)((0,d.Z)((0,p.Z)().mark((function e(){var n,t,r;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.getBlockletBackups({input:{did:null===i||void 0===i||null===(n=i.meta)||void 0===n?void 0:n.did}});case 2:t=e.sent,r=t.backups,h(null!==r&&void 0!==r?r:[]);case 5:case"end":return e.stop()}}),e)}))),2e3),[]);return(0,q.Z)((0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m();case 1:case"end":return e.stop()}}),e)}))),[null===i||void 0===i||null===(e=i.meta)||void 0===e?void 0:e.did,s,t]),{backups:l}}var Pe=["progress","spaceGateways"];function Ve(e){var n=e.progress,t=e.spaceGateways,r=(0,h.Z)(e,Pe),a=(0,l.PE)(),s=a.t,p=a.locale,d=Ne({progress:n}).backups,u=[{label:"DID Spaces",name:"target",options:{customBodyRenderLite:function(e){var n,r=d[e],a=r.targetUrl,s=r.targetName,i=(null===(n=t.find((function(e){return null===a||void 0===a?void 0:a.includes(null===e||void 0===e?void 0:e.url)})))||void 0===n?void 0:n.name)||s||"DID Space";return(0,F.jsx)(N.Z,{fontSize:"16px",href:a,target:"_blank",children:i})}}},{label:s("common.strategy"),name:"strategy",options:{customBodyRender:function(e){var n=s(0===e?"common.auto":"common.manual");return(0,F.jsx)(Me.Z,{children:n})}}},{label:s("common.startTime"),name:"createdAt",options:{customBodyRender:function(e){return Ge()(e).format("YYYY-MM-DD HH:mm:ss")}}},{label:s("common.endTime"),name:"updatedAt",options:{customBodyRender:function(e){return(0,ne.isEmpty)(e)?"":Ge()(e).format("YYYY-MM-DD HH:mm:ss")}}},{label:s("common.status"),name:"status",options:{customBodyRenderLite:function(e){var n,t=null!==(n=null===d||void 0===d?void 0:d[e])&&void 0!==n?n:{},r=t.status,a=t.message,i=t.createdAt,l=(0,ne.isNull)(r)&&Ge()().diff(i,"hours")>6,p=l&&s("common.timeoutError"),u=0===r&&!l;return(0,ne.isNull)(r)&&!l?(0,F.jsxs)(c.Z,{display:"inline-flex",alignItems:"center",fontSize:"14px",children:[(0,F.jsx)(f.Z,{sx:{marginRight:"4px"},size:"12px"}),s("common.progress")]}):u?(0,F.jsx)(Me.Z,{type:"success",children:s("common.succeeded")}):(0,F.jsxs)(o.Z,{display:"inline-flex",alignItems:"center",children:[(0,F.jsx)(Me.Z,{type:"error",children:s("common.failed")})," \xa0",(0,F.jsx)(Te.Z,{style:{display:"flex",alignItems:"center",flexShrink:0},title:a||p,children:(0,F.jsx)(ze.Z,{children:(0,F.jsx)(Qe.Z,{style:{width:"24px",height:"24px"},color:"error"})})})]})}}}];return(0,F.jsx)(o.Z,(0,i.Z)((0,i.Z)({},r),{},{children:null!==d&&void 0!==d&&d.length?(0,F.jsx)(Le.Z,{title:(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",children:s("storage.spaces.backup.records")}),data:d,columns:u,emptyNode:s("storage.spaces.record.emptyData",p),options:{download:!1,filter:!1,print:!1}}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(o.Z,{display:"flex",height:"56px",lineHeight:"56px",alignItems:"center",children:(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",children:s("storage.spaces.backup.records")})}),(0,F.jsx)(o.Z,{color:"#9397A1",marginTop:"16px",marginBottom:"24px",children:s("storage.spaces.record.emptyData")})]})}))}Ve.propTypes={progress:w.object.isRequired,spaceGateways:w.array.isRequired};var He=Ve;var Xe=function(e){var n=e.appDid,t=Ne().backups,a=(0,r.useState)({message:"",progress:0,completed:!1}),s=(0,u.Z)(a,2),o=s[0],c=s[1];return(0,(0,E.h6)().ws.useSubscription)(j.BlockletEvents.backupProgress,(function(e){n===(null===e||void 0===e?void 0:e.appDid)&&c((function(){return(0,i.Z)({},e)}))}),[n]),(0,r.useEffect)((function(){var e;if(null!==t&&void 0!==t&&t.length&&(0,ne.isNull)(null===(e=t[0])||void 0===e?void 0:e.status)){var n=(0,u.Z)(t,1)[0];c((function(){return{message:n.message,progress:n.progress,completed:Boolean(n.progress>=100)}}))}}),[t]),o};function Ke(e){return Ye.apply(this,arguments)}function Ye(){return Ye=(0,d.Z)((0,p.Z)().mark((function e(n){var t,r,a,o,c;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.blockletDid,r=n.nodeApi,a=n.spaceGateways,o=!1,e.next=4,Promise.all(a.map(function(){var e=(0,d.Z)((0,p.Z)().mark((function e(n){var t,r;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.name,e.next=3,(0,s.nU)(n.endpoint);case 3:return r=e.sent,(0,ne.isEmpty)(r)||r===t||(t=r,o=!0),e.abrupt("return",(0,i.Z)((0,i.Z)({},n),{},{name:t}));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()));case 4:if(c=e.sent,!o){e.next=8;break}return e.next=8,Promise.all(c.filter((function(e){return e.did})).map((function(e){return r.updateBlockletSpaceGateway({input:{did:t,where:{did:e.did},spaceGateway:(0,i.Z)({},e)}})})));case 8:return e.abrupt("return",c);case 9:case"end":return e.stop()}}),e)}))),Ye.apply(this,arguments)}var We=function(){var e,n=(0,l.PE)().t,t=(0,a.y0)(),i=t.blocklet,h=t.actions.refreshBlocklet,m=(0,E.h6)().api,x=(0,r.useMemo)((function(){return(0,s.mo)(null===i||void 0===i?void 0:i.environments)}),[i]),v=Xe({appDid:null===i||void 0===i?void 0:i.appDid}),g=(0,r.useState)(!1),y=(0,u.Z)(g,2),A=y[0],j=y[1],k=function(e){var n=e.blockletDid,t=e.setLoading,a=void 0===t?function(){}:t,s=(0,r.useState)(!1),i=(0,u.Z)(s,2),o=i[0],c=i[1],l=(0,r.useState)([]),h=(0,u.Z)(l,2),f=h[0],m=h[1],x=(0,E.h6)().api;return(0,q.Z)((0,d.Z)((0,p.Z)().mark((function e(){var t,r,s;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n){e.next=4;break}return m([]),e.abrupt("return");case 4:return a(!0),e.next=7,x.getBlockletSpaceGateways({input:{did:n}});case 7:return t=e.sent,r=t.spaceGateways,e.next=11,Ke({blockletDid:n,nodeApi:x,spaceGateways:r});case 11:s=e.sent,m(null!==s&&void 0!==s?s:[]),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(0),console.error(e.t0),Z.Z.error((0,U.Z)(e.t0));case 19:return e.prev=19,a(!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[0,15,19,22]])}))),[n,o]),{refreshSpaceGateways:function(){c((function(e){return!e}))},spaceGateways:f}}({blockletDid:null===i||void 0===i||null===(e=i.meta)||void 0===e?void 0:e.did,setLoading:j,refreshBlocklet:h}),C=k.spaceGateways,b=k.refreshSpaceGateways,w=A&&!(null!==C&&void 0!==C&&C.length),B=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(t){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(t.endpoint!==x){e.next=5;break}return Z.Z.warning(n("storage.spaces.gateway.delete.failedForConnected")),e.abrupt("return");case 5:return e.next=7,m.deleteBlockletSpaceGateway({input:{did:i.meta.did,spaceGatewayDid:null===t||void 0===t?void 0:t.did}});case 7:Z.Z.success(n("storage.spaces.gateway.delete.succeeded",{name:"(".concat(t.name,")")})),b();case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),I=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.backupBlocklet({input:{appDid:i.appDid,to:"spaces"}});case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,F.jsxs)(o.Z,{display:"flex",flexDirection:"column",children:[(0,F.jsxs)(o.Z,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",children:[(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",children:n("storage.spaces.connected.title")}),(0,F.jsx)(T,{spaceGateways:C,refreshSpaceGateways:b})]}),(0,F.jsx)(o.Z,{children:w?(0,F.jsx)(o.Z,{display:"flex",justifyContent:"center",children:(0,F.jsx)(f.Z,{})}):C.map((function(e,n){return(0,F.jsx)(Oe,{style:{marginTop:"12px"},spaceGateway:e,connected:C.findIndex((function(e){return e.endpoint===x}))===n,onDelete:B,onBackupNow:I,progress:v,refreshSpaceGateways:b},e.endpoint)}))}),(0,F.jsx)(He,{sx:{marginTop:"24px"},spaceGateways:C,progress:v}),(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:n("common.dataStorage")}),(0,F.jsx)(H,{blocklet:i})]})};function qe(){var e=(0,a.y0)().blocklet;return(0,r.useMemo)((function(){return(0,s.mo)(null===e||void 0===e?void 0:e.environments)}),[e])?(0,F.jsx)(We,{}):(0,F.jsx)(W,{})}qe.propTypes={};var _e=qe},60344:function(e,n,t){t.d(n,{hi:function(){return s},od:function(){return a.a}});var r=t(10458),a=t.n(r);a().defaults.timeout=1e4;var s=a().create()},54063:function(e,n,t){t.d(n,{C:function(){return r}});var r="true"===localStorage.getItem("enableDebug")},84584:function(e,n,t){t.d(n,{Jf:function(){return Z},LQ:function(){return h},Nb:function(){return f},Xv:function(){return d},mo:function(){return x},nD:function(){return u},nU:function(){return y},w2:function(){return v}});var r=t(32723),a=t(34795),s=t(82434),i=t.n(s),o=t(76811),c=t(65873),l=t(60344),p=t(6352);function d(e){var n=e.replace(/\/api\/space\/.+/,""),t=e.replace(/\/$/,"").split("/"),r=t.at(-4),a=t.at(-2);return p(n,"space",r,"apps",a,"explorer","?key=/apps/".concat(a,"/.did-objects/").concat(a,"/"))}function u(e){var n=e.replace(/\/api\/space\/.+/,""),t=e.replace(/\/$/,"").split("/").at(-4);return p(n,"space",t)}function h(e){return e.replace(/\/$/,"").split("/").at(-4)}function f(e){return m.apply(this,arguments)}function m(){return(m=(0,a.Z)((0,r.Z)().mark((function e(n){var t,a;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i()(n)){e.next=3;break}return e.abrupt("return",!1);case 3:return e.next=5,l.hi.head(n,{timeout:5e3});case 5:return t=e.sent,a=t.headers,e.abrupt("return","true"===a["x-listable"]&&"true"===a["x-readable"]&&"true"===a["x-writeable"]);case 10:return e.prev=10,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}function x(e){var n;return(null===e||void 0===e||null===(n=e.find((function(e){return e.key===o.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT})))||void 0===n?void 0:n.value)||""}function v(e){return g.apply(this,arguments)}function g(){return(g=(0,a.Z)((0,r.Z)().mark((function e(n){var t,a,s,o;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i()(n)){e.next=3;break}return e.abrupt("return",!1);case 3:return t=p(n,"space/api/did/one-click-authorization/token"),e.next=6,l.hi.get(t,{timeout:5e3});case 6:return a=e.sent,s=a.status,o=a.data,e.abrupt("return",200===s&&(0,c.isObject)(o));case 12:return e.prev=12,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",!1);case 16:case"end":return e.stop()}}),e,null,[[0,12]])})))).apply(this,arguments)}function y(e){return A.apply(this,arguments)}function A(){return(A=(0,a.Z)((0,r.Z)().mark((function e(n){var t,a,s;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i()(n)){e.next=3;break}return e.abrupt("return","");case 3:return e.next=5,l.hi.head(n,{timeout:3e3});case 5:return t=e.sent,a=t.headers,s=a["x-space-name"],e.abrupt("return",s?decodeURIComponent(s):"");case 11:return e.prev=11,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return","");case 15:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function Z(e){var n=e.replace(/\/api\/space\/.+/,""),t=e.replace(/\/$/,"").split("/").at(-4);return p(n,"/api/space/nft/display?spaceDid=".concat(t))}}}]);
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9351],{44784:function(e,n,t){var r,a=t(71171),s=t(33028),i=t(59740),o=t(33518),c=t(82790),l=t(96266),p=["labelProps","className","style"];function d(e){var n=e.labelProps,t=e.className,r=e.style,a=(0,i.Z)(e,p),o=(0,s.Z)((0,s.Z)({},n),{},{labelPlacement:(null===n||void 0===n?void 0:n.labelPlacement)||"start"});return(0,l.jsx)(u,{className:t,style:r,children:(0,l.jsx)(c.Z,(0,s.Z)({labelProps:o},a))})}d.propTypes=c.Z.propTypes,d.defaultProps=c.Z.defaultProps;var u=o.default.div(r||(r=(0,a.Z)(["\n max-width: 300px;\n > label {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n }\n "," {\n max-width: 100%;\n }\n"])),(function(e){return e.theme.breakpoints.down("sm")}));n.Z=d},19351:function(e,n,t){t.r(n),t.d(n,{default:function(){return _e}});var r=t(5057),a=t(29054),s=t(84584),i=t(33028),o=t(39948),c=t(11750),l=t(39075),p=t(32723),d=t(34795),u=t(96234),h=t(59740),f=t(44846),m=t(55372),x=t(47020),v=t(28726),g=t(46999),y=t(6352),A=t.n(y),Z=t(86229),j=t(76811),k=t(17682),C=t(13128),b=t(88574),w=t(55898),B=t.n(w),I=t(35432),S=t(60344),U=t(14491),E=t(58238),R=t(38242);var D=function(e){var n,t,r,a=e.blocklet,s=a.appDid,i=(0,R.getAppName)(a),o=(0,R.getAppDescription)(a),c=null===a||void 0===a||null===(n=a.site)||void 0===n||null===(t=n.domainAliases)||void 0===t||null===(r=t.sort((function(e,n){return e.accessibility.accessible&&n.accessibility.accessible?+e.isProtected-+n.isProtected:+n.accessibility.accessible-+e.accessibility.accessible})))||void 0===r?void 0:r.map((function(e){var n,t=null!==e&&void 0!==e&&null!==(n=e.domainStatus)&&void 0!==n&&n.isHttps?"https://":"http://",r=null===e||void 0===e?void 0:e.value;return"".concat(t).concat(r)})).filter(Boolean),l=null===c||void 0===c?void 0:c[0];return{appDid:s,appName:i,appDescription:o,appUrl:l,scopes:"list:object read:object write:object",referrer:window.location.href,isReady:Boolean(l)}},F=t(96266),O=["spaceGateways","refreshSpaceGateways"];function M(e){var n=e.spaceGateways,t=e.refreshSpaceGateways,y=(0,h.Z)(e,O),w=(0,a.y0)().blocklet,B=(0,E.h6)(),R=B.info,M=B.api,L=(0,l.PE)(),T=L.t,z=L.locale,J=(0,r.useMemo)((function(){return(0,s.mo)(null===w||void 0===w?void 0:w.environments)}),[w]),G=(0,r.useState)(""),Q=(0,u.Z)(G,2),N=Q[0],P=Q[1],V=(0,r.useState)(!1),H=(0,u.Z)(V,2),X=H[0],K=H[1],Y=(0,r.useState)(!1),W=(0,u.Z)(Y,2),q=W[0],_=W[1],$=(0,r.useState)(""),ee=(0,u.Z)($,2),ne=ee[0],te=ee[1],re=D({blocklet:w}),ae=(0,U.yP)(R),se=(0,r.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,prefix:A()(I.PROD_DID_SPACES.CORE_URL,"space/api/did"),baseUrl:new URL(I.PROD_DID_SPACES.CORE_URL).origin,checkFn:S.od.create({baseURL:A()(I.PROD_DID_SPACES.CORE_URL,"space")}).get,messages:{title:T("storage.spaces.provideNFT.title",{appName:re.appName},z),scan:T("storage.spaces.provideNFT.scan",{appName:re.appName},z),confirm:"",success:(0,F.jsx)(c.Z,{gutterBottom:!0,children:T("storage.spaces.provideNFT.success")})},onClose:function(){ce((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})}))}}),ie=(0,u.Z)(se,2),oe=ie[0],ce=ie[1],le=(0,r.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:T("storage.spaces.authorize.title",{appName:re.appName},z),scan:T("storage.spaces.authorize.scan",{appName:re.appName},z),confirm:"",success:(0,F.jsx)(c.Z,{gutterBottom:!0,children:T("storage.spaces.authorize.success")})},onClose:function(){ue((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})}))}}),pe=(0,u.Z)(le,2),de=pe[0],ue=pe[1],he=function(e,n){setTimeout((0,d.Z)((0,p.Z)().mark((function t(){var r,a;return(0,p.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ue((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),ce((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),r=n(e.endpoint),a=e.space?n(e.space):{},t.next=6,fe((0,i.Z)((0,i.Z)({endpoint:r},{did:(0,s.LQ)(r),name:"DID Space"}),a));case 6:case"end":return t.stop()}}),t)}))),0)},fe=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(r){var a,i,o,c,l,d,u,h;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=r.endpoint,l=r.name,d=r.did,(u=null===c||void 0===c||null===(a=c.replace(/\/api\/.+/,""))||void 0===a||null===(i=a.trim())||void 0===i?void 0:i.replace(/\/$/,"")).startsWith("http")||(u="https://".concat(u)),e.next=5,(0,s.w2)(u);case 5:if(e.sent){e.next=8;break}return Z.Z.error(T("storage.spaces.gateway.add.invalidUrl")),e.abrupt("return");case 8:if(!n.some((function(e){return e.endpoint===c}))){e.next=12;break}return Z.Z.error(T("storage.spaces.gateway.add.duplicate",{name:l})),e.abrupt("return");case 12:return h={name:l,did:d,url:u,endpoint:c},e.next=15,M.addBlockletSpaceGateway({input:{did:w.meta.did,spaceGateway:h}});case 15:if(J===c){e.next=18;break}return e.next=18,M.configBlocklet({input:{did:[w.meta.did],configs:[{key:j.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:c}]}});case 18:Z.Z.success(T("storage.spaces.connectedWithName",{name:null!==(o=null===h||void 0===h?void 0:h.name)&&void 0!==o?o:"DID Spaces"})),t();case 20:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),me=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){var n,t;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,K(!0),n=N.startsWith("http")?N:"https://".concat(N),e.next=5,(0,s.w2)(n);case 5:if(e.sent){e.next=7;break}throw new Error(T("storage.spaces.gateway.add.invalidUrl"));case 7:ue((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!0,prefix:A()(n,"space/api/did"),baseUrl:new URL(n).origin,checkFn:S.od.create({baseURL:A()(n,"space")}).get,extraParams:{appDid:re.appDid,appName:re.appName,appDescription:re.appDescription,scopes:re.scopes,appUrl:re.appUrl,referrer:re.referrer,nodeDid:R.did}})})),_(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),t="".concat(T("storage.spaces.gateway.add.failed",z),": ").concat((0,U.Z)(e.t0)),te(t);case 15:return e.prev=15,K(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,11,15,18]])})));return function(){return e.apply(this,arguments)}}();return(0,F.jsxs)(o.Z,{children:[(0,F.jsx)(k.Z,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:function(){ce((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!0,extraParams:{appDid:re.appDid,appName:re.appName,appDescription:re.appDescription,scopes:re.scopes,appUrl:re.appUrl,referrer:re.referrer,nodeDid:R.did}})}))},menu:[(0,F.jsx)(k.Z.Item,(0,i.Z)((0,i.Z)({sx:{textTransform:"none"},onClick:function(){return _(!0)},size:"small"},y),{},{children:T("storage.spaces.connect.useSpaceGateway")}),"1")],children:(0,F.jsx)(c.Z,{sx:{fontWeight:"bold",textTransform:"none"},children:T("storage.spaces.connect.useWallet")})}),(0,F.jsx)(g.default,{forceConnected:!1,saveConnect:!1,prefix:oe.prefix,open:oe.open,popup:!0,action:oe.action,webWalletUrl:ae,baseUrl:oe.baseUrl,checkFn:oe.checkFn,onSuccess:he,onClose:oe.onClose,checkTimeout:oe.checkTimeout,extraParams:oe.extraParams,messages:oe.messages,locale:z}),(0,F.jsx)(g.default,{forceConnected:!1,saveConnect:!1,prefix:de.prefix,open:de.open,popup:!0,action:de.action,baseUrl:de.baseUrl,checkFn:de.checkFn,onSuccess:he,onClose:de.onClose,checkTimeout:de.checkTimeout,extraParams:de.extraParams,messages:de.messages,locale:z}),(0,F.jsxs)(C.Z,{title:T("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:q,onClose:function(){return _(!1)},PaperProps:{style:{minHeight:"auto"}},actions:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(v.Z,{onClick:function(e){e.stopPropagation(),_(!1)},color:"inherit",children:T("common.cancel")}),(0,F.jsxs)(v.Z,{onClick:me,color:"primary",disabled:X||!N,variant:"contained",autoFocus:!0,children:[X&&(0,F.jsx)(f.Z,{size:16}),T("common.confirm")]})]}),children:[(0,F.jsx)("div",{style:{paddingTop:12,overflowY:"hidden"},children:(0,F.jsx)(m.Z,{component:"div",children:(0,F.jsx)(c.Z,{component:"div",children:(0,F.jsx)(x.Z,{label:T("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:N,onChange:function(e){te(null),P(e.target.value)},disabled:X,onKeyPress:function(){var e=(0,d.Z)((0,p.Z)().mark((function e(n){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Enter"!==n.key){e.next=3;break}return e.next=3,me();case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),autoFocus:!0})})})}),Boolean(ne)&&(0,F.jsx)(b.Z,{type:"error",style:{width:"100%"},children:ne})]})]})}M.propTypes={spaceGateways:w.array,refreshSpaceGateways:w.func},M.defaultProps={spaceGateways:[],refreshSpaceGateways:function(){}};var L,T=M,z=t(71171),J=t(33518),G=t(90049),Q=t.n(G),N=t(38898),P=t(64886),V=["blocklet"];function H(e){var n=e.blocklet,t=(0,h.Z)(e,V),a=(0,r.useContext)(l.RD).t;if(!n.diskInfo)return(0,F.jsx)(c.Z,{children:a("blocklet.diskInfo.empty")});var s=function(e,n,t){return(0,F.jsxs)(c.Z,{children:[t?(0,F.jsx)(N.Z,{style:{cursor:"pointer"},onClick:t,underline:"hover",children:e}):e," ",(0,F.jsx)("strong",{children:n?Q()(n):"empty"})]})},o=n.environments.reduce((function(e,n){return e[n.key]=n.value,e}),{}),p=[{key:"appDir",name:a("blocklet.diskInfo.appDir"),value:s(o.BLOCKLET_APP_DIR,n.diskInfo.app)},{key:"dataDir",name:a("blocklet.diskInfo.dataDir"),value:s(o.BLOCKLET_DATA_DIR,n.diskInfo.data)},{key:"logDir",name:a("blocklet.diskInfo.logDir"),value:s(o.BLOCKLET_LOG_DIR,n.diskInfo.log)},{key:"cacheDir",name:a("blocklet.diskInfo.cacheDir"),value:s(o.BLOCKLET_CACHE_DIR,n.diskInfo.cache)}];return(0,F.jsx)(X,(0,i.Z)((0,i.Z)({component:"div"},t),{},{children:p.map((function(e){return(0,F.jsx)(P.Z,{valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.key)}))}))}H.propTypes={blocklet:B().object.isRequired},H.defaultProps={};var X=(0,J.default)(c.Z)(L||(L=(0,z.Z)([""]))),K=function(e){return(0,F.jsxs)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:[(0,F.jsxs)("g",{filter:"url(#a)",children:[(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#DDD"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.192 6.222l-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97z",fill:"#000",fillOpacity:".08"}),(0,F.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#D9D9D9"})}),(0,F.jsxs)("g",{mask:"url(#b)",children:[(0,F.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,F.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,F.jsx)("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm11.546-10.102V169h-1.756v-11.636h1.756zM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29z",fill:"#fff"}),(0,F.jsx)("path",{d:"M117.604 47.263L121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847z",fill:"url(#e)"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"url(#f)"}),(0,F.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,F.jsx)("path",{d:"M50.928 216.089l1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911zm2.439.564h-1.13v1.193h1.13v-1.193zm-1.13 2.983h1.13v1.193h-1.13v-1.193z",fillOpacity:".8"}),(0,F.jsx)("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762zM36.355 214h-1.011v7.783h1.01V214zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75zM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894zm6.946 1.803h1.13v1.193h-1.13v-1.193zm1.13 2.983h-1.13v1.193h1.13v-1.193zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751z"})]}),(0,F.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,F.jsx)("path",{d:"M192.064 213.333l.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46z",fill:"#fff"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26z",fill:"#fff"})]})]}),(0,F.jsxs)("defs",{children:[(0,F.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,F.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,F.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,F.jsx)("feOffset",{dy:"2"}),(0,F.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,F.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,F.jsx)("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),(0,F.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,F.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,F.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,F.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,F.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#101010"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,F.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,F.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,F.jsxs)("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[(0,F.jsx)("stop",{stopColor:"#016BED"}),(0,F.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,F.jsx)("clipPath",{id:"g",children:(0,F.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,F.jsx)("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb4YjgbAkmpyEOINs1gCtSC4YsjwnY9l1MJYRz1NMk5NAC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o9QybSeFUX5a9bl1On+cL5YHUjp/eID+XwV2AwZUXHswFw0IhIUlwmaTdQtlKJUpbAArh1IONYy6WQkAc9+ZocJMnELtCFNKLySGLwUIuW1fJLBKOoydII6+sDlhy8xYI1vchhF6qZnM0/oZSUzcd5By2cDzUtH3ng8PHIzAKL25wuSv+gDBsggYWWkvLT27f2dhwRULpny5D5yKI7vD/4iAW9KWHB7JsEZeCE1E/mdgVHZTOci8X+YIanJt7+aBd2k8f2RL45Z2puefelcXjUWbKdMSYwr58dAPaHymSU0o9/zjFt7/VoGmNAwCyvrKe2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]}))};function Y(){var e=(0,l.PE)().t,n=(0,a.y0)().blocklet;return(0,F.jsxs)(o.Z,{children:[(0,F.jsxs)(o.Z,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[(0,F.jsx)(K,{style:{width:200,height:250}}),(0,F.jsx)(c.Z,{marginTop:"24px",marginBottom:"24px",children:e("storage.spaces.connect.provider")}),(0,F.jsx)(T,{})]}),(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:e("common.dataStorage")}),(0,F.jsx)(H,{blocklet:n})]})}K.defaultProps={width:"228",height:"258",viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Y.propTypes={};var W=Y,q=t(41899),_=t(19654),$=t(99154),ee=t(79366),ne=t(65873),te=t(42876),re=t(92816),ae=t(44784),se=t(67680),ie=t(61533),oe=t(74490),ce=t(46954),le=t(44067),pe=t(83294),de=t(45396),ue=t(14482),he=t(85733),fe=t(47595),me=t(60939);function xe(e){var n=e.spaceGateway,t=e.onDelete,a=(0,l.PE)().t,s=(0,r.useState)(!1),i=(0,u.Z)(s,2),o=i[0],c=i[1],h=(0,r.useState)(!1),f=(0,u.Z)(h,2),m=f[0],x=f[1],v=function(e,n){null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),c(n)},g=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(r){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,null===r||void 0===r||r.stopPropagation(),x(!0),e.next=5,t(n);case 5:c(!1),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),Z.Z.error("".concat(a("storage.space.gateway.delete.failed"),": ").concat((0,U.Z)(e.t0)));case 12:return e.prev=12,x(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,8,12,15]])})));return function(n){return e.apply(this,arguments)}}();return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(oe.Z,{color:"red",onClick:function(e){return v(e,!0)},children:[(0,F.jsx)(ce.Z,{style:{minWidth:24,color:"red"},children:(0,F.jsx)(fe.default,{fontSize:"small"})}),(0,F.jsx)(le.Z,{style:{color:"red"},children:a("common.delete")})]}),(0,F.jsx)(me.Z,{title:a("common.delConfirmDescription",{data:"".concat(null===n||void 0===n?void 0:n.name)}),open:o,confirmButton:{text:a("common.confirm"),props:{variant:"contained",color:"error",loading:m}},cancelButton:{text:a("common.cancel"),props:{variant:"contained",color:"primary"}},onConfirm:g,onCancel:function(e){return v(e,!1)}})]})}xe.propTypes={onDelete:B().func,spaceGateway:B().shape({name:B().string.isRequired,url:B().string.isRequired,protected:B().bool}).isRequired},xe.defaultProps={onDelete:function(){}};var ve=xe,ge=["spaceGateway","connected","onDelete","onConnect","enableSwitchToSpace"];function ye(e){var n=e.spaceGateway,t=e.connected,a=e.onDelete,o=e.onConnect,c=e.enableSwitchToSpace,f=(0,h.Z)(e,ge),m=(0,r.useState)(null),x=(0,u.Z)(m,2),v=x[0],g=x[1],y=(0,l.PE)().t,A=function(e,n){e.stopPropagation(),e.preventDefault(),g(n&&e.currentTarget)},Z=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(t){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(t,!1),e.next=3,o(n);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(se.Z,(0,i.Z)((0,i.Z)({"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",onClick:function(e){return A(e,!0)},size:"small"},f),{},{children:(0,F.jsx)(pe.Z,{})})),(0,F.jsxs)(ie.Z,{id:"simple-menu",anchorEl:v,keepMounted:!0,open:Boolean(v),onClose:function(e){return A(e,!1)},children:[(0,F.jsxs)(oe.Z,{onClick:function(e){A(e,!1),window.open(n.endpoint?(0,s.nD)(n.endpoint):n.url)},children:[(0,F.jsx)(ce.Z,{style:{minWidth:24},children:(0,F.jsx)(de.Z,{fontSize:"small"})}),(0,F.jsx)(le.Z,{children:y("common.open")})]}),(0,F.jsxs)(oe.Z,{onClick:function(e){A(e,!1),window.open((0,s.Xv)(n.endpoint))},children:[(0,F.jsx)(ce.Z,{style:{minWidth:24},children:(0,F.jsx)(he.Z,{fontSize:"small"})}),(0,F.jsx)(le.Z,{children:y("storage.spaces.strategy.viewBackupFiles")})]}),!t&&c&&(0,F.jsxs)(oe.Z,{onClick:Z,children:[(0,F.jsx)(ce.Z,{style:{minWidth:24},children:(0,F.jsx)(ue.Z,{fontSize:"small"})}),(0,F.jsx)(le.Z,{children:y("storage.spaces.connect.switchToSpace")})]}),!t&&(0,F.jsx)(ve,{spaceGateway:n,onDelete:a})]})]})}ye.propTypes={spaceGateway:B().shape({name:B().string.isRequired,url:B().string.isRequired,protected:B().bool,endpoint:B().string.isRequired}).isRequired,connected:B().bool.isRequired,enableSwitchToSpace:B().bool,onDelete:B().func,onConnect:B().func},ye.defaultProps={onDelete:function(){},onConnect:function(){},enableSwitchToSpace:!0};var Ae=ye,Ze=t(54063),je=t(22256),ke=t(37541),Ce=t(17930),be=t(29042),we=function(e){return(0,F.jsxs)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:[(0,F.jsxs)("g",{filter:"url(#a)",children:[(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#DDD"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.192 6.222l-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97z",fill:"#000",fillOpacity:".08"}),(0,F.jsx)("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:(0,F.jsx)("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97z",fill:"#D9D9D9"})}),(0,F.jsxs)("g",{mask:"url(#b)",children:[(0,F.jsx)("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),(0,F.jsx)("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),(0,F.jsx)("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm11.546-10.102V169h-1.756v-11.636h1.756zM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29z",fill:"#fff"}),(0,F.jsx)("path",{d:"M117.604 47.263L121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847z",fill:"url(#e)"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"url(#f)"}),(0,F.jsxs)("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[(0,F.jsx)("path",{d:"M50.928 216.089l1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911zm2.439.564h-1.13v1.193h1.13v-1.193zm-1.13 2.983h1.13v1.193h-1.13v-1.193z",fillOpacity:".8"}),(0,F.jsx)("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762zM36.355 214h-1.011v7.783h1.01V214zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75zM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894zm6.946 1.803h1.13v1.193h-1.13v-1.193zm1.13 2.983h-1.13v1.193h1.13v-1.193zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751z"})]}),(0,F.jsx)("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),(0,F.jsx)("path",{d:"M192.064 213.333l.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46z",fill:"#fff"}),(0,F.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26z",fill:"#fff"})]})]}),(0,F.jsxs)("defs",{children:[(0,F.jsxs)("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,F.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,F.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,F.jsx)("feOffset",{dy:"2"}),(0,F.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,F.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,F.jsx)("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),(0,F.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),(0,F.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),(0,F.jsx)("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,F.jsx)("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),(0,F.jsxs)("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#101010"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#272727"})]}),(0,F.jsxs)("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff",stopOpacity:".4"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff"})]}),(0,F.jsxs)("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[(0,F.jsx)("stop",{stopColor:"#fff"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),(0,F.jsxs)("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[(0,F.jsx)("stop",{stopColor:"#016BED"}),(0,F.jsx)("stop",{offset:".699",stopColor:"#4498FB"}),(0,F.jsx)("stop",{offset:"1",stopColor:"#9DFFE8"})]}),(0,F.jsx)("clipPath",{id:"g",children:(0,F.jsx)("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),(0,F.jsx)("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR+m3M322bY8OKHzoOcAXLQMBHiIh+X59pv6udCJ7MAV9HARPtTEuFSdAzNVn7uPmkk3TpBGHb8DJZ3p36ScsuJVFQP6CUBXimN3BABZJUiEwBOMsHUisZiXU8k3bVSTrPcHsKEEg8gV/vP7U26vRWhl2UnfEbX3VlVbRHgSwmcy2tWTjsxmIb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Gjxhtr146ZKTKWPp9sR8MWBNzQTNNrIt4XCVHh+OwfYAo9QybSeFUX5a9bl1On+cL5YHUjp/eID+XwV2AwZUXHswFw0IhIUlwmaTdQtlKJUpbAArh1IONYy6WQkAc9+ZocJMnELtCFNKLySGLwUIuW1fJLBKOoydII6+sDlhy8xYI1vchhF6qZnM0/oZSUzcd5By2cDzUtH3ng8PHIzAKL25wuSv+gDBsggYWWkvLT27f2dhwRULpny5D5yKI7vD/4iAW9KWHB7JsEZeCE1E/mdgVHZTOci8X+YIanJt7+aBd2k8f2RL45Z2puefelcXjUWbKdMSYwr58dAPaHymSU0o9/zjFt7/VoGmNAwCyvrKe2L1hYJqtd5gh6FGiCAGzqFk6on9pQdSAQzkctDTtXGbDih5iRPVIk9TwCJGwP3tpATkHsNwloUilnNMFce7twgDgrgWhsE8jWW+EBLlTDMn9pmtJOefTJc6Cxld039TN4XiwL4pMtU+8tXJ4g/LghG5APdF7/e3FSi4v8vnEBiIEm+5LlZtsk2LbbbY5hN9JkkJkd5BjQFPoUcwjJdTm0mx0024NmOvVgxASvU9TonFxUqG8cUTy3m5s3i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]}))};function Be(e){var n=e.src,t=e.alt,a=(0,r.useState)(!1),s=(0,u.Z)(a,2),i=s[0],o=s[1],c=(0,r.useState)(!1),l=(0,u.Z)(c,2),p=l[0],d=l[1],h=function(){return d(!0)},f=function(){return d(!1)};return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(je.Z,{ready:i,customPlaceholder:(0,F.jsx)("img",{style:{cursor:"pointer"},alt:t,src:n,width:"58px",height:"58px",onError:function(){return o(!0)},onClick:h}),children:(0,F.jsx)(we,{style:{cursor:"pointer",width:"58px",height:"58px"},onClick:h})}),(0,F.jsx)(ke.Z,{open:p,onClose:f,"aria-labelledby":"preview-space-nft-display","aria-describedby":"preview space nft display",fullWidth:!0,maxWidth:"md",children:(0,F.jsxs)(Ce.Z,{style:{padding:"8px 8px",backgroundColor:"rgba(0,0,0,0.8)"},children:[(0,F.jsx)(se.Z,{color:"inherit",onClick:f,"aria-label":"close",style:{position:"absolute",top:8,right:8,color:"white"},children:(0,F.jsx)(be.Z,{})}),i?(0,F.jsx)(we,{style:{width:"100%",height:"75vh"}}):(0,F.jsx)("img",{src:n,alt:"",style:{width:"100%",height:"75vh",objectFit:"contain"}})]})})]})}we.defaultProps={width:"228",height:"258",viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Be.propTypes={src:w.string.isRequired,alt:w.string.isRequired};var Ie,Se=Be,Ue=["spaceGateway","connected","progress","onDelete","onBackupNow","refreshSpaceGateways"],Ee=function(e){return(0,F.jsx)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:(0,F.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#25C99B"})}))};Ee.defaultProps={width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Re=function(e){return(0,F.jsx)("svg",(0,i.Z)((0,i.Z)({},e),{},{children:(0,F.jsx)("circle",{cx:"4",cy:"4",r:"4",fill:"#F16E6E"})}))};function De(e){var n=e.spaceGateway,t=e.connected,f=e.progress,m=e.onDelete,x=e.onBackupNow,y=e.refreshSpaceGateways,k=(0,h.Z)(e,Ue),C=(0,l.PE)(),b=C.t,w=C.locale,B=(0,r.useState)(!1),I=(0,u.Z)(B,2),U=I[0],R=I[1],O=(0,a.y0)().blocklet,M=(0,E.h6)(),L=M.api,T=M.info.did,z=D({blocklet:O}),J=z.appDid,G=z.appName,Q=z.appDescription,N=z.scopes,P=z.appUrl,V=z.referrer,H=(0,r.useMemo)((function(){return(0,s.mo)(null===O||void 0===O?void 0:O.environments)}),[O]),X=(0,r.useState)({open:!1,action:"one-click-authorization",checkTimeout:3e5,messages:{title:b("storage.spaces.authorize.title",{appName:G},w),scan:b("storage.spaces.authorize.scan",{appName:G},w),confirm:"",success:(0,F.jsx)(c.Z,{gutterBottom:!0,children:b("storage.spaces.authorize.success")})},onClose:function(){W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})}))}}),K=(0,u.Z)(X,2),Y=K[0],W=K[1],q=(0,ee.Z)((0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",!0);case 2:return e.abrupt("return",(0,s.Nb)(H));case 3:case"end":return e.stop()}}),e)}))),{refreshDeps:[t,H,null===Y||void 0===Y?void 0:Y.open,U]}),se=q.data,ie=q.loading,oe=t&&se,ce=t&&!U&&se,le=t&&U&&se,pe=t&&!se&&!ie&&!U,de=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.Nb)(null===n||void 0===n?void 0:n.endpoint);case 2:if(!e.sent){e.next=8;break}return e.next=6,L.configBlocklet({input:{did:[O.meta.did],configs:[{key:j.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:n.endpoint}]}});case 6:return Z.Z.success(b("storage.spaces.connect.switchToSpaceSucceeded",{name:n.name?"(".concat(n.name,")"):""})),e.abrupt("return");case 8:W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!0,prefix:A()(n.url,"space/api/did"),baseUrl:new URL(n.url).origin,checkFn:S.od.create({baseURL:A()(n.url,"space")}).get,extraParams:{appDid:J,appName:G,appDescription:Q,scopes:N,appUrl:P,referrer:V,nodeDid:T}})}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ue=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(t,r){var a,o,c,l,d,u;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=r(t.endpoint),d=(0,s.LQ)(l),u=t.space?r(t.space):{},!n.did||d===n.did){e.next=7;break}return W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),Z.Z.error(b("storage.spaces.gateway.switch.failedForMismatchSpace",{name:null!==u&&void 0!==u&&u.name?u.name:""})),e.abrupt("return");case 7:return e.next=9,L.updateBlockletSpaceGateway({input:{did:O.meta.did,where:{url:null===n||void 0===n?void 0:n.url},spaceGateway:(0,i.Z)((0,i.Z)({},n),{},{name:null!==(a=u.name)&&void 0!==a?a:"DID Space",did:null!==(o=u.did)&&void 0!==o?o:(0,s.LQ)(l),endpoint:l})}});case 9:if(H===l){e.next=12;break}return e.next=12,L.configBlocklet({input:{did:[O.meta.did],configs:[{key:j.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:l}]}});case 12:Z.Z.success(b("storage.spaces.connectedWithName",{name:null!==(c=null===n||void 0===n?void 0:n.name)&&void 0!==c?c:"DID Spaces"})),W((function(e){return(0,i.Z)((0,i.Z)({},e),{},{open:!1})})),y();case 15:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),he=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!U){e.next=3;break}return e.abrupt("return");case 3:return R(!0),e.next=6,x();case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0),Z.Z.error(e.t0.message);case 12:return e.prev=12,R(!0),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,8,12,15]])})));return function(){return e.apply(this,arguments)}}();return(0,r.useEffect)((function(){null!==f&&void 0!==f&&f.completed?(100===(null===f||void 0===f?void 0:f.progress)?Z.Z.success(b("storage.spaces.backupSuccessfully")):-1===(null===f||void 0===f?void 0:f.progress)&&Z.Z.error(null===f||void 0===f?void 0:f.message),R(!1),f.progress=0,f.message=""):f.progress&&R(!0)}),[f]),(0,F.jsxs)(Fe,{style:{position:"relative"},children:[(0,F.jsxs)(o.Z,(0,i.Z)((0,i.Z)({sx:{backgroundColor:t?"#F0FDFF":"inherit","&:hover":{backgroundColor:t?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px"},k),{},{children:[(0,F.jsx)(o.Z,{display:"flex",children:(0,F.jsx)(Se,{alt:n.did,src:(0,s.Jf)(n.endpoint)})}),(0,F.jsxs)(o.Z,{className:"spaces-info",display:"flex",flexGrow:1,flexDirection:le?"row":"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[(0,F.jsxs)(o.Z,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[(0,F.jsx)(c.Z,{color:t?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:n.name}),oe&&(0,F.jsx)(_.Z,{label:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Ee,{style:{marginRight:"4px"}}),b("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}}),pe&&(0,F.jsx)(_.Z,{label:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Re,{style:{marginRight:"4px"}}),b("storage.spaces.disconnected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}})]}),(0,F.jsx)(o.Z,{className:"spaces-address",display:le?"none":"flex",color:"#9397A1",marginTop:"8px",children:(0,F.jsx)(c.Z,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:n.did&&(0,F.jsx)(re.Z,{copyable:!1,size:14,compact:!0,responsive:!1,did:n.did})})})]}),(0,F.jsxs)(o.Z,{className:"spaces-backup",display:"flex",alignItems:"center",children:[ce&&(0,F.jsxs)(o.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:[(0,F.jsx)(v.Z,{variant:"contained",size:"small",onClick:he,children:b("storage.spaces.strategy.backupNow")}),Ze.C&&(0,F.jsx)(ae.Z,{name:"enable-auto-backup",title:"coming soon",disabled:!0,labelProps:{label:(0,F.jsx)(c.Z,{sx:{marginRight:"8px",fontSize:"16px"},children:(0,F.jsx)("span",{children:b("storage.spaces.strategy.autoBackup")})})},style:{marginLeft:"64px"}})]}),le&&(0,F.jsxs)(o.Z,{className:"backup-progress",display:"flex",flexDirection:"column",alignItems:"center",minWidth:"640px",marginRight:"auto",alignSelf:"end",children:[(0,F.jsx)(c.Z,{color:"primary",children:null===f||void 0===f?void 0:f.message}),(0,F.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center"},width:"100%",children:[(0,F.jsx)(o.Z,{sx:{width:"100%",mr:1},children:(0,F.jsx)($.Z,{color:"primary",variant:"determinate",value:null===f||void 0===f?void 0:f.progress})}),(0,F.jsx)(o.Z,{sx:{minWidth:35},children:(0,F.jsxs)(c.Z,{variant:"body2",color:"text.secondary",children:[null===f||void 0===f?void 0:f.progress,"%"]})})]})]}),pe&&(0,F.jsx)(o.Z,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:(0,F.jsx)(v.Z,{color:"error",variant:"contained",size:"small",onClick:de,children:b("storage.spaces.disconnected.reconnectNow")})}),(0,F.jsx)(Ae,{sx:{marginLeft:"16px",marginRight:"16px"},spaceGateway:n,connected:t,onDelete:m,onConnect:de,enableSwitchToSpace:(null===f||void 0===f?void 0:f.completed)||(0,ne.isEmpty)(null===f||void 0===f?void 0:f.message)})]})]})),(0,F.jsx)(g.default,{forceConnected:!1,saveConnect:!1,prefix:Y.prefix,open:Y.open,popup:!0,action:Y.action,baseUrl:Y.baseUrl,checkFn:Y.checkFn,onSuccess:ue,onClose:Y.onClose,checkTimeout:Y.checkTimeout,extraParams:Y.extraParams,messages:Y.messages,locale:w},"get-endpoint"),(0,F.jsx)(o.Z,{className:"selected-container ".concat(t?"selected":""),children:(0,F.jsx)(te.default,{className:"selected-icon"})})]})}Re.defaultProps={width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},De.propTypes={spaceGateway:B().shape({did:B().string.isRequired,name:B().string.isRequired,url:B().string.isRequired,endpoint:B().string.isRequired,protected:B().bool}).isRequired,connected:B().bool.isRequired,progress:B().any.isRequired,refreshSpaceGateways:B().func.isRequired,onDelete:B().func,onBackupNow:B().func},De.defaultProps={onDelete:function(){},onBackupNow:function(){}};var Fe=(0,J.default)(o.Z)(Ie||(Ie=(0,z.Z)(["\n .selected-container {\n position: absolute;\n right: 0px;\n bottom: 0px;\n display: flex;\n -webkit-box-pack: end;\n justify-content: flex-end;\n align-items: flex-end;\n width: 32px;\n height: 32px;\n border-radius: 0px 0px 8px;\n color: rgb(255, 255, 255);\n overflow: hidden;\n transition: all 0.4s ease 0s;\n\n &::after {\n position: absolute;\n z-index: 0;\n left: 60px;\n top: 60px;\n display: block;\n width: 0px;\n height: 0px;\n border-width: 16px;\n border-style: solid;\n border-color: transparent #1dc1c7 #1dc1c7 transparent;\n transition: all 0.1s ease 0s;\n content: '';\n }\n\n .selected-icon {\n visibility: hidden;\n width: 60%;\n height: 60%;\n position: relative;\n z-index: 2;\n margin: 0px 1px 1px 0px;\n font-size: 16px;\n transition: all 0.2s ease 0s;\n }\n }\n\n .selected-container.selected {\n &::after {\n left: 0px;\n top: 0px;\n }\n\n .selected-icon {\n visibility: visible;\n }\n }\n"]))),Oe=De,Me=t(19778),Le=t(75760),Te=t(75239),ze=t(21722),Je=t(1577),Ge=t.n(Je),Qe=t(73119);function Ne(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.loading,s=n.progress,i=(0,a.y0)().blocklet,o=(0,r.useState)([]),c=(0,u.Z)(o,2),l=c[0],h=c[1],f=(0,E.h6)().api,m=(0,r.useCallback)((0,ne.throttle)((0,d.Z)((0,p.Z)().mark((function e(){var n,t,r;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.getBlockletBackups({input:{did:null===i||void 0===i||null===(n=i.meta)||void 0===n?void 0:n.did}});case 2:t=e.sent,r=t.backups,h(null!==r&&void 0!==r?r:[]);case 5:case"end":return e.stop()}}),e)}))),2e3),[]);return(0,q.Z)((0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m();case 1:case"end":return e.stop()}}),e)}))),[null===i||void 0===i||null===(e=i.meta)||void 0===e?void 0:e.did,s,t]),{backups:l}}var Pe=["progress","spaceGateways"];function Ve(e){var n=e.progress,t=e.spaceGateways,r=(0,h.Z)(e,Pe),a=(0,l.PE)(),s=a.t,p=a.locale,d=Ne({progress:n}).backups,u=[{label:"DID Spaces",name:"target",options:{customBodyRenderLite:function(e){var n,r=d[e],a=r.targetUrl,s=r.targetName,i=(null===(n=t.find((function(e){return null===a||void 0===a?void 0:a.includes(null===e||void 0===e?void 0:e.url)})))||void 0===n?void 0:n.name)||s||"DID Space";return(0,F.jsx)(N.Z,{fontSize:"16px",href:a,target:"_blank",children:i})}}},{label:s("common.strategy"),name:"strategy",options:{customBodyRender:function(e){var n=s(0===e?"common.auto":"common.manual");return(0,F.jsx)(Me.Z,{children:n})}}},{label:s("common.startTime"),name:"createdAt",options:{customBodyRender:function(e){return Ge()(e).format("YYYY-MM-DD HH:mm:ss")}}},{label:s("common.endTime"),name:"updatedAt",options:{customBodyRender:function(e){return(0,ne.isEmpty)(e)?"":Ge()(e).format("YYYY-MM-DD HH:mm:ss")}}},{label:s("common.status"),name:"status",options:{customBodyRenderLite:function(e){var n,t=null!==(n=null===d||void 0===d?void 0:d[e])&&void 0!==n?n:{},r=t.status,a=t.message,i=t.createdAt,l=(0,ne.isNull)(r)&&Ge()().diff(i,"hours")>6,p=l&&s("common.timeoutError"),u=0===r&&!l;return(0,ne.isNull)(r)&&!l?(0,F.jsxs)(c.Z,{display:"inline-flex",alignItems:"center",fontSize:"14px",children:[(0,F.jsx)(f.Z,{sx:{marginRight:"4px"},size:"12px"}),s("common.progress")]}):u?(0,F.jsx)(Me.Z,{type:"success",children:s("common.succeeded")}):(0,F.jsxs)(o.Z,{display:"inline-flex",alignItems:"center",children:[(0,F.jsx)(Me.Z,{type:"error",children:s("common.failed")})," \xa0",(0,F.jsx)(Te.Z,{style:{display:"flex",alignItems:"center",flexShrink:0},title:a||p,children:(0,F.jsx)(ze.Z,{children:(0,F.jsx)(Qe.Z,{style:{width:"24px",height:"24px"},color:"error"})})})]})}}}];return(0,F.jsx)(o.Z,(0,i.Z)((0,i.Z)({},r),{},{children:null!==d&&void 0!==d&&d.length?(0,F.jsx)(Le.Z,{title:(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",children:s("storage.spaces.backup.records")}),data:d,columns:u,emptyNode:s("storage.spaces.record.emptyData",p),options:{download:!1,filter:!1,print:!1}}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(o.Z,{display:"flex",height:"56px",lineHeight:"56px",alignItems:"center",children:(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",children:s("storage.spaces.backup.records")})}),(0,F.jsx)(o.Z,{color:"#9397A1",marginTop:"16px",marginBottom:"24px",children:s("storage.spaces.record.emptyData")})]})}))}Ve.propTypes={progress:w.object.isRequired,spaceGateways:w.array.isRequired};var He=Ve;var Xe=function(e){var n=e.appDid,t=Ne().backups,a=(0,r.useState)({message:"",progress:0,completed:!1}),s=(0,u.Z)(a,2),o=s[0],c=s[1];return(0,(0,E.h6)().ws.useSubscription)(j.BlockletEvents.backupProgress,(function(e){n===(null===e||void 0===e?void 0:e.appDid)&&c((function(){return(0,i.Z)({},e)}))}),[n]),(0,r.useEffect)((function(){var e;if(null!==t&&void 0!==t&&t.length&&(0,ne.isNull)(null===(e=t[0])||void 0===e?void 0:e.status)){var n=(0,u.Z)(t,1)[0];c((function(){return{message:n.message,progress:n.progress,completed:Boolean(n.progress>=100)}}))}}),[t]),o};function Ke(e){return Ye.apply(this,arguments)}function Ye(){return Ye=(0,d.Z)((0,p.Z)().mark((function e(n){var t,r,a,o,c;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.blockletDid,r=n.nodeApi,a=n.spaceGateways,o=!1,e.next=4,Promise.all(a.map(function(){var e=(0,d.Z)((0,p.Z)().mark((function e(n){var t,r;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.name,e.next=3,(0,s.nU)(n.endpoint);case 3:return r=e.sent,(0,ne.isEmpty)(r)||r===t||(t=r,o=!0),e.abrupt("return",(0,i.Z)((0,i.Z)({},n),{},{name:t}));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()));case 4:if(c=e.sent,!o){e.next=8;break}return e.next=8,Promise.all(c.filter((function(e){return e.did})).map((function(e){return r.updateBlockletSpaceGateway({input:{did:t,where:{did:e.did},spaceGateway:(0,i.Z)({},e)}})})));case 8:return e.abrupt("return",c);case 9:case"end":return e.stop()}}),e)}))),Ye.apply(this,arguments)}var We=function(){var e,n=(0,l.PE)().t,t=(0,a.y0)(),i=t.blocklet,h=t.actions.refreshBlocklet,m=(0,E.h6)().api,x=(0,r.useMemo)((function(){return(0,s.mo)(null===i||void 0===i?void 0:i.environments)}),[i]),v=Xe({appDid:null===i||void 0===i?void 0:i.appDid}),g=(0,r.useState)(!1),y=(0,u.Z)(g,2),A=y[0],j=y[1],k=function(e){var n=e.blockletDid,t=e.setLoading,a=void 0===t?function(){}:t,s=(0,r.useState)(!1),i=(0,u.Z)(s,2),o=i[0],c=i[1],l=(0,r.useState)([]),h=(0,u.Z)(l,2),f=h[0],m=h[1],x=(0,E.h6)().api;return(0,q.Z)((0,d.Z)((0,p.Z)().mark((function e(){var t,r,s;return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n){e.next=4;break}return m([]),e.abrupt("return");case 4:return a(!0),e.next=7,x.getBlockletSpaceGateways({input:{did:n}});case 7:return t=e.sent,r=t.spaceGateways,e.next=11,Ke({blockletDid:n,nodeApi:x,spaceGateways:r});case 11:s=e.sent,m(null!==s&&void 0!==s?s:[]),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(0),console.error(e.t0),Z.Z.error((0,U.Z)(e.t0));case 19:return e.prev=19,a(!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[0,15,19,22]])}))),[n,o]),{refreshSpaceGateways:function(){c((function(e){return!e}))},spaceGateways:f}}({blockletDid:null===i||void 0===i||null===(e=i.meta)||void 0===e?void 0:e.did,setLoading:j,refreshBlocklet:h}),C=k.spaceGateways,b=k.refreshSpaceGateways,w=A&&!(null!==C&&void 0!==C&&C.length),B=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(t){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(t.endpoint!==x){e.next=5;break}return Z.Z.warning(n("storage.spaces.gateway.delete.failedForConnected")),e.abrupt("return");case 5:return e.next=7,m.deleteBlockletSpaceGateway({input:{did:i.meta.did,spaceGatewayDid:null===t||void 0===t?void 0:t.did}});case 7:Z.Z.success(n("storage.spaces.gateway.delete.succeeded",{name:"(".concat(t.name,")")})),b();case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),I=function(){var e=(0,d.Z)((0,p.Z)().mark((function e(){return(0,p.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.backupBlocklet({input:{appDid:i.appDid,to:"spaces"}});case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,F.jsxs)(o.Z,{display:"flex",flexDirection:"column",children:[(0,F.jsxs)(o.Z,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",children:[(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",children:n("storage.spaces.connected.title")}),(0,F.jsx)(T,{spaceGateways:C,refreshSpaceGateways:b})]}),(0,F.jsx)(o.Z,{children:w?(0,F.jsx)(o.Z,{display:"flex",justifyContent:"center",children:(0,F.jsx)(f.Z,{})}):C.map((function(e,n){return(0,F.jsx)(Oe,{style:{marginTop:"12px"},spaceGateway:e,connected:C.findIndex((function(e){return e.endpoint===x}))===n,onDelete:B,onBackupNow:I,progress:v,refreshSpaceGateways:b},e.endpoint)}))}),(0,F.jsx)(He,{sx:{marginTop:"24px"},spaceGateways:C,progress:v}),(0,F.jsx)(c.Z,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:n("common.dataStorage")}),(0,F.jsx)(H,{blocklet:i})]})};function qe(){var e=(0,a.y0)().blocklet;return(0,r.useMemo)((function(){return(0,s.mo)(null===e||void 0===e?void 0:e.environments)}),[e])?(0,F.jsx)(We,{}):(0,F.jsx)(W,{})}qe.propTypes={};var _e=qe},60344:function(e,n,t){t.d(n,{hi:function(){return s},od:function(){return a.a}});var r=t(10458),a=t.n(r);a().defaults.timeout=1e4;var s=a().create()},54063:function(e,n,t){t.d(n,{C:function(){return r}});var r="true"===localStorage.getItem("enableDebug")},84584:function(e,n,t){t.d(n,{Jf:function(){return Z},LQ:function(){return h},Nb:function(){return f},Xv:function(){return d},mo:function(){return x},nD:function(){return u},nU:function(){return y},w2:function(){return v}});var r=t(32723),a=t(34795),s=t(82434),i=t.n(s),o=t(76811),c=t(65873),l=t(60344),p=t(6352);function d(e){var n=e.replace(/\/api\/space\/.+/,""),t=e.replace(/\/$/,"").split("/"),r=t.at(-4),a=t.at(-2);return p(n,"space",r,"apps",a,"explorer","?key=/apps/".concat(a,"/.did-objects/").concat(a,"/"))}function u(e){var n=e.replace(/\/api\/space\/.+/,""),t=e.replace(/\/$/,"").split("/").at(-4);return p(n,"space",t)}function h(e){return e.replace(/\/$/,"").split("/").at(-4)}function f(e){return m.apply(this,arguments)}function m(){return(m=(0,a.Z)((0,r.Z)().mark((function e(n){var t,a;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i()(n)){e.next=3;break}return e.abrupt("return",!1);case 3:return e.next=5,l.hi.head(n,{timeout:5e3});case 5:return t=e.sent,a=t.headers,e.abrupt("return","true"===a["x-listable"]&&"true"===a["x-readable"]&&"true"===a["x-writeable"]);case 10:return e.prev=10,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}function x(e){var n;return(null===e||void 0===e||null===(n=e.find((function(e){return e.key===o.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT})))||void 0===n?void 0:n.value)||""}function v(e){return g.apply(this,arguments)}function g(){return(g=(0,a.Z)((0,r.Z)().mark((function e(n){var t,a,s,o;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i()(n)){e.next=3;break}return e.abrupt("return",!1);case 3:return t=p(n,"space/api/did/one-click-authorization/token"),e.next=6,l.hi.get(t,{timeout:5e3});case 6:return a=e.sent,s=a.status,o=a.data,e.abrupt("return",200===s&&(0,c.isObject)(o));case 12:return e.prev=12,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",!1);case 16:case"end":return e.stop()}}),e,null,[[0,12]])})))).apply(this,arguments)}function y(e){return A.apply(this,arguments)}function A(){return(A=(0,a.Z)((0,r.Z)().mark((function e(n){var t,a,s;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i()(n)){e.next=3;break}return e.abrupt("return","");case 3:return e.next=5,l.hi.head(n,{timeout:3e3});case 5:return t=e.sent,a=t.headers,s=a["x-space-name"],e.abrupt("return",s?decodeURIComponent(s):"");case 11:return e.prev=11,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return","");case 15:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function Z(e){var n=e.replace(/\/api\/space\/.+/,""),t=e.replace(/\/$/,"").split("/").at(-4);return p(n,"/api/space/nft/display?spaceDid=".concat(t))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9354],{64886:function(e,t,n){var o,r=n(71171),a=n(33028),i=n(59740),c=n(55898),l=n.n(c),s=n(51540),u=n.n(s),d=n(26538),h=n.n(d),m=n(11750),f=n(47685),p=n(96266),v=["name","nameFormatter","layout","children","valueComponent","nameWidth"];function g(e){var t=e.name,n=e.nameFormatter,o=e.layout,r=e.children,c=e.valueComponent,l=e.nameWidth,s=(0,i.Z)(e,v);return(0,p.jsxs)(y,(0,a.Z)((0,a.Z)({layout:o,width:l},s),{},{children:[(0,p.jsx)(m.Z,{color:"textSecondary",className:"info-row__name",children:n(t)}),r&&(0,p.jsx)(m.Z,{color:"textPrimary",component:c,className:"info-row__value",children:r})]}))}g.propTypes={name:l().any.isRequired,layout:l().oneOf(["horizontal","vertical"]),children:l().any,nameFormatter:l().func,valueComponent:l().string,nameWidth:l().number},g.defaultProps={children:null,nameWidth:90,nameFormatter:function(e){var t=e.split(" ").map((function(e){return h()(u()(e))})).join(" ");return"string"===typeof e?t:e},valueComponent:"div",layout:"horizontal"};var y=(0,f.zo)("div")(o||(o=(0,r.Z)(["\n display: flex;\n flex-direction: ",";\n justify-content: flex-start;\n align-items: ",";\n margin-bottom: 16px;\n\n .info-row__name {\n width: ","px;\n margin-right: ",";\n margin-bottom: ",";\n text-transform: capitalize;\n }\n\n .info-row__value {\n flex: 1;\n overflow: auto;\n word-wrap: break-word;\n font-weight: 500;\n }\n\n @media (max-width: ","px) {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n .info-row__name {\n font-weight: bold;\n }\n\n .info-row__value {\n width: 100%;\n font-size: 12px;\n margin-top: 8px;\n }\n }\n"])),(function(e){return"vertical"===e.layout?"column":"row"}),(function(e){return"vertical"===e.layout?"flex-start":"center"}),(function(e){return e.width}),(function(e){return"vertical"===e.layout?"0":"8px"}),(function(e){return"vertical"===e.layout?"8px":"0"}),(function(e){return e.theme.breakpoints.values.md}));t.Z=g},17682:function(e,t,n){n.d(t,{Z:function(){return k}});var o,r,a=n(71171),i=n(33028),c=n(96234),l=n(59740),s=n(5057),u=n(55898),d=n.n(u),h=n(76720),m=n(97752),f=n(25228),p=n(37200),v=n(1733),g=n(74490),y=n(80633),w=n(56556),b=n(47685),Z=n(96266),x=["size","color","menu","children","variant","onClick","menuButtonProps"];function k(e){var t=e.size,n=e.color,o=e.menu,r=e.children,a=e.variant,u=e.onClick,d=e.menuButtonProps,m=(0,l.Z)(e,x),y=(0,s.useState)(!1),b=(0,c.Z)(y,2),k=b[0],z=b[1],C=(0,s.useRef)(null),M=Array.isArray(o)?o.map((function(e,t){return(0,s.isValidElement)(e)?e:(0,s.createElement)(g.Z,(0,i.Z)((0,i.Z)({},e),{},{key:t}))})):o;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(S,(0,i.Z)((0,i.Z)({variant:a,size:t,color:n,ref:C},m),{},{children:["function"===typeof r?r():(0,Z.jsx)(w.Z,{onClick:u,color:n,children:r}),(0,Z.jsx)(w.Z,(0,i.Z)((0,i.Z)({onClick:function(){z((function(e){return!e}))},color:n},d),{},{"aria-label":"more functions",children:(0,Z.jsx)(h.Z,{})}))]})),(0,Z.jsx)(j,{open:k,anchorEl:C.current,placement:"bottom-end",disablePortal:!1,children:(0,Z.jsx)(f.Z,{children:(0,Z.jsx)(p.d,{onClickAway:function(e){C.current&&C.current.contains(e.target)||z(!1)},children:(0,Z.jsx)(v.Z,{onClick:function(e){e.target.closest(".MuiMenuItem-root")&&z(!1)},children:M})})})})]})}k.propTypes={size:d().oneOf(["small","medium","large"]),color:d().oneOf(["primary","secondary","inherit"]),menu:d().oneOfType([d().node,d().array]),children:d().node,variant:d().oneOf(["outlined","contained"]),onClick:d().func,menuButtonProps:d().object},k.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:function(){},menuButtonProps:{}},k.Item=g.Z;var S=(0,b.zo)(y.Z)(o||(o=(0,a.Z)(["\n > .MuiButtonBase-root:last-of-type {\n min-width: 2em;\n padding-left: 0;\n padding-right: 0;\n }\n"]))),j=(0,b.zo)(m.Z)(r||(r=(0,a.Z)(["\n z-index: ",";\n .MuiList-root {\n padding: 4px 0;\n }\n .MuiListItem-root {\n padding-top: 4px;\n padding-bottom: 4px;\n }\n"])),(function(e){return e.theme.zIndex.tooltip}))},82790:function(e,t,n){var o=n(59740),r=n(33028),a=n(55898),i=n.n(a),c=n(26174),l=n(36554),s=n(47685),u=n(96266),d=["labelProps"],h=(0,s.zo)((function(e){return(0,u.jsx)(l.Z,(0,r.Z)({focusVisibleClassName:".Mui-focusVisible",disableRipple:!0},e))}))((function(e){var t=e.theme;return{width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:"dark"===t.palette.mode?"#2ECA45":"#65C466",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:"light"===t.palette.mode?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:13,backgroundColor:"light"===t.palette.mode?"#E9E9EA":"#39393D",opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}}));function m(e){var t=e.labelProps,n=(0,o.Z)(e,d);return t?(0,u.jsx)(c.Z,(0,r.Z)({control:(0,u.jsx)(h,(0,r.Z)({},n))},t)):(0,u.jsx)(h,(0,r.Z)({},n))}m.propTypes={labelProps:i().object},m.defaultProps={labelProps:null},t.Z=m},45396:function(e,t,n){var o=n(71600);t.Z=void 0;var r=o(n(56930)),a=n(96266),i=(0,r.default)((0,a.jsx)("path",{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"}),"ArrowOutward");t.Z=i},29042:function(e,t,n){var o=n(71600);t.Z=void 0;var r=o(n(56930)),a=n(96266),i=(0,r.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"CloseOutlined");t.Z=i},47595:function(e,t,n){var o=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(56930)),a=n(96266),i=(0,r.default)((0,a.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");t.default=i},14482:function(e,t,n){var o=n(71600);t.Z=void 0;var r=o(n(56930)),a=n(96266),i=(0,r.default)((0,a.jsx)("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02z"}),"ElectricBoltOutlined");t.Z=i},85733:function(e,t,n){var o=n(71600);t.Z=void 0;var r=o(n(56930)),a=n(96266),i=(0,r.default)((0,a.jsx)("path",{d:"m9.17 6 2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}),"FolderOutlined");t.Z=i},73119:function(e,t,n){var o=n(71600);t.Z=void 0;var r=o(n(56930)),a=n(96266),i=(0,r.default)((0,a.jsx)("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");t.Z=i},21722:function(e,t,n){var o=n(7896),r=n(31461),a=n(5057),i=n(8271),c=n(91213),l=n(62773),s=n(42908),u=n(6285),d=n(76083),h=n(96266),m=["baseClassName","className","color","component","fontSize"],f=(0,l.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,u.Z)(n.color))],t["fontSize".concat((0,u.Z)(n.fontSize))]]}})((function(e){var t=e.theme,n=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:t.typography.pxToRem(20),medium:t.typography.pxToRem(24),large:t.typography.pxToRem(36)}[n.fontSize],color:{primary:(t.vars||t).palette.primary.main,secondary:(t.vars||t).palette.secondary.main,info:(t.vars||t).palette.info.main,success:(t.vars||t).palette.success.main,warning:(t.vars||t).palette.warning.main,action:(t.vars||t).palette.action.active,error:(t.vars||t).palette.error.main,disabled:(t.vars||t).palette.action.disabled,inherit:void 0}[n.color]}})),p=a.forwardRef((function(e,t){var n=(0,s.Z)({props:e,name:"MuiIcon"}),a=n.baseClassName,l=void 0===a?"material-icons":a,p=n.className,v=n.color,g=void 0===v?"inherit":v,y=n.component,w=void 0===y?"span":y,b=n.fontSize,Z=void 0===b?"medium":b,x=(0,r.Z)(n,m),k=(0,o.Z)({},n,{baseClassName:l,color:g,component:w,fontSize:Z}),S=function(e){var t=e.color,n=e.fontSize,o=e.classes,r={root:["root","inherit"!==t&&"color".concat((0,u.Z)(t)),"fontSize".concat((0,u.Z)(n))]};return(0,c.Z)(r,d.d,o)}(k);return(0,h.jsx)(f,(0,o.Z)({as:w,className:(0,i.Z)(l,"notranslate",S.root,p),ownerState:k,"aria-hidden":!0,ref:t},x))}));p.muiName="Icon",t.Z=p},76083:function(e,t,n){n.d(t,{d:function(){return a}});var o=n(31821),r=n(18561);function a(e){return(0,r.Z)("MuiIcon",e)}var i=(0,o.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);t.Z=i},36554:function(e,t,n){n.d(t,{Z:function(){return S}});var o=n(56666),r=n(31461),a=n(7896),i=n(5057),c=n(8271),l=n(91213),s=n(66685),u=n(6285),d=n(39273),h=n(42908),m=n(62773),f=n(31821),p=n(18561);function v(e){return(0,p.Z)("MuiSwitch",e)}var g=(0,f.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),y=n(96266),w=["className","color","edge","size","sx"],b=(0,m.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.edge&&t["edge".concat((0,u.Z)(n.edge))],t["size".concat((0,u.Z)(n.size))]]}})((function(e){var t,n=e.ownerState;return(0,a.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(t={width:40,height:24,padding:7},(0,o.Z)(t,"& .".concat(g.thumb),{width:16,height:16}),(0,o.Z)(t,"& .".concat(g.switchBase),(0,o.Z)({padding:4},"&.".concat(g.checked),{transform:"translateX(16px)"})),t))})),Z=(0,m.ZP)(d.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(e,t){var n=e.ownerState;return[t.switchBase,(0,o.Z)({},"& .".concat(g.input),t.input),"default"!==n.color&&t["color".concat((0,u.Z)(n.color))]]}})((function(e){var t,n=e.theme;return t={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},(0,o.Z)(t,"&.".concat(g.checked),{transform:"translateX(20px)"}),(0,o.Z)(t,"&.".concat(g.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),(0,o.Z)(t,"&.".concat(g.checked," + .").concat(g.track),{opacity:.5}),(0,o.Z)(t,"&.".concat(g.disabled," + .").concat(g.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),(0,o.Z)(t,"& .".concat(g.input),{left:"-100%",width:"300%"}),t}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,a.Z)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&(t={},(0,o.Z)(t,"&.".concat(g.checked),(0,o.Z)({color:(n.vars||n).palette[r.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[r.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(n.palette[r.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(g.disabled),{color:n.vars?n.vars.palette.Switch["".concat(r.color,"DisabledColor")]:"".concat("light"===n.palette.mode?(0,s.$n)(n.palette[r.color].main,.62):(0,s._j)(n.palette[r.color].main,.55))})),(0,o.Z)(t,"&.".concat(g.checked," + .").concat(g.track),{backgroundColor:(n.vars||n).palette[r.color].main}),t))})),x=(0,m.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(e,t){return t.track}})((function(e){var t=e.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),k=(0,m.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(e,t){return t.thumb}})((function(e){var t=e.theme;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),S=i.forwardRef((function(e,t){var n=(0,h.Z)({props:e,name:"MuiSwitch"}),o=n.className,i=n.color,s=void 0===i?"primary":i,d=n.edge,m=void 0!==d&&d,f=n.size,p=void 0===f?"medium":f,g=n.sx,S=(0,r.Z)(n,w),j=(0,a.Z)({},n,{color:s,edge:m,size:p}),z=function(e){var t=e.classes,n=e.edge,o=e.size,r=e.color,i=e.checked,c=e.disabled,s={root:["root",n&&"edge".concat((0,u.Z)(n)),"size".concat((0,u.Z)(o))],switchBase:["switchBase","color".concat((0,u.Z)(r)),i&&"checked",c&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,l.Z)(s,v,t);return(0,a.Z)({},t,d)}(j),C=(0,y.jsx)(k,{className:z.thumb,ownerState:j});return(0,y.jsxs)(b,{className:(0,c.Z)(z.root,o),sx:g,ownerState:j,children:[(0,y.jsx)(Z,(0,a.Z)({type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:j},S,{classes:(0,a.Z)({},z,{root:z.switchBase})})),(0,y.jsx)(x,{className:z.track,ownerState:j})]})}))},94166:function(e,t,n){var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)},r=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};t.__esModule=!0;var a=n(5057),i=n(18294),c=n(49266);t.default=function(e){var t=e.delay,n=void 0===t?0:t,l=e.type,s=void 0===l?"text":l,u=e.color,d=void 0===u?"#CDCDCD":u,h=e.rows,m=void 0===h?3:h,f=e.ready,p=e.firstLaunchOnly,v=e.children,g=e.className,y=e.showLoadingAnimation,w=e.customPlaceholder,b=r(e,["delay","type","color","rows","ready","firstLaunchOnly","children","className","showLoadingAnimation","customPlaceholder"]),Z=a.useState(f),x=Z[0],k=Z[1],S=a.useRef(null);return a.useEffect((function(){p||!x||f?f&&(S.current&&window.clearTimeout(S.current),x||k(!0)):n&&n>0?S.current=window.setTimeout((function(){k(!1)}),n):k(!1)}),[p,x,f,n]),a.useEffect((function(){return function(){S.current&&window.clearTimeout(S.current)}}),[]),x?v:function(){var e=y?c.joinClassNames("show-loading-animation",g):g;if(w&&a.isValidElement(w)){var t=c.joinClassNames(w.props.className,e);return a.cloneElement(w,{className:t})}if(w)return w;var n=i[s];return a.createElement(n,o({},b,{color:d,rows:m,className:e}))}()}},22256:function(e,t,n){var o=n(94166);t.Z=o.default},98392:function(e,t,n){var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};t.__esModule=!0;var r=n(5057),a=n(49354),i=n(12208),c=n(49266),l={display:"flex"};t.default=function(e){var t=e.className,n=e.style,s=e.color,u=e.rows;return r.createElement("div",{className:c.joinClassNames("media-block",t),style:o(o({},l),n)},r.createElement(i.default,{color:s,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),r.createElement(a.default,{color:s,rows:u}))}},16102:function(e,t,n){var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};t.__esModule=!0;var r=n(5057),a=n(49266);t.default=function(e){var t=e.className,n=e.style,i={backgroundColor:e.color,width:"100%",height:"100%",marginRight:10};return r.createElement("div",{className:a.joinClassNames("rect-shape",t),style:o(o({},i),n)})}},12208:function(e,t,n){var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};t.__esModule=!0;var r=n(5057),a=n(49266);t.default=function(e){var t=e.className,n=e.style,i={backgroundColor:e.color,borderRadius:"500rem",width:"100%",height:"100%"};return r.createElement("div",{className:a.joinClassNames("round-shape",t),style:o(o({},i),n)})}},49354:function(e,t,n){var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};t.__esModule=!0;var r=n(5057),a=n(13672),i=n(49266),c={width:"100%"},l=[97,100,94,90,98,95,98,40];t.default=function(e){var t=e.rows,n=e.lineSpacing,s=e.color,u=e.style,d=e.className,h=e.widths,m=void 0===h?l:h,f=function(e){return{maxHeight:100/(2*t-1)+"%",width:m[(e+m.length)%m.length]+"%"}};return r.createElement("div",{className:i.joinClassNames("text-block",d),style:o(o({},c),u)},Array.apply(null,Array(t)).map((function(e,t){return r.createElement(a.default,{color:s,style:f(t),lineSpacing:0!==t?n:0,key:t})})))}},13672:function(e,t,n){var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};t.__esModule=!0;var r=n(5057),a=n(49266);t.default=function(e){var t=e.className,n=e.maxHeight,i=e.color,c=e.lineSpacing,l=void 0===c?"0.7em":c,s=e.style,u={maxHeight:n,width:"100%",height:"1em",backgroundColor:i,marginTop:l};return r.createElement("div",{className:a.joinClassNames("text-row",t),style:o(o({},u),s)})}},18294:function(e,t,n){t.__esModule=!0,t.media=t.text=t.rect=t.round=t.textRow=t.MediaBlock=t.TextBlock=t.RectShape=t.RoundShape=t.TextRow=void 0;var o=n(13672);t.TextRow=o.default;var r=n(12208);t.RoundShape=r.default;var a=n(16102);t.RectShape=a.default;var i=n(49354);t.TextBlock=i.default;var c=n(98392);t.MediaBlock=c.default,t.textRow=o.default,t.round=r.default,t.rect=a.default,t.text=i.default,t.media=c.default},49266:function(e,t){t.__esModule=!0,t.joinClassNames=void 0,t.joinClassNames=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return e})).join(" ")}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9662],{59662:function(t,e,a){a.d(e,{Z:function(){return G}});var o=a(7896),n=a(5057),i=a(31461),r=a(8271),s=a(91213),c=a(42908),l=a(31821),d=a(18561);function p(t){return(0,d.Z)("MuiPagination",t)}(0,l.Z)("MuiPagination",["root","ul","outlined","text"]);var u=a(68079),v=a(96234),g=a(62663),m=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];var h=a(56666),b=a(66685);function f(t){return(0,d.Z)("MuiPaginationItem",t)}var x=(0,l.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),Z=a(96366),y=a(66230),C=a(6285),P=a(96646),w=a(54665),z=a(57471),k=a(96266),N=(0,z.Z)((0,k.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),R=(0,z.Z)((0,k.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),B=a(62773),S=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],O=function(t,e){var a=t.ownerState;return[e.root,e[a.variant],e["size".concat((0,C.Z)(a.size))],"text"===a.variant&&e["text".concat((0,C.Z)(a.color))],"outlined"===a.variant&&e["outlined".concat((0,C.Z)(a.color))],"rounded"===a.shape&&e.rounded,"page"===a.type&&e.page,("start-ellipsis"===a.type||"end-ellipsis"===a.type)&&e.ellipsis,("previous"===a.type||"next"===a.type)&&e.previousNext,("first"===a.type||"last"===a.type)&&e.firstLast]},M=(0,B.ZP)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:O})((function(t){var e=t.theme,a=t.ownerState;return(0,o.Z)({},e.typography.body2,(0,h.Z)({borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto"},"&.".concat(x.disabled),{opacity:(e.vars||e).palette.action.disabledOpacity}),"small"===a.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===a.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)})})),L=(0,B.ZP)(y.Z,{name:"MuiPaginationItem",slot:"Root",overridesResolver:O})((function(t){var e,a,n=t.theme,i=t.ownerState;return(0,o.Z)({},n.typography.body2,(a={borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(n.vars||n).palette.text.primary},(0,h.Z)(a,"&.".concat(x.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,h.Z)(a,"&.".concat(x.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,h.Z)(a,"transition",n.transitions.create(["color","background-color"],{duration:n.transitions.duration.short})),(0,h.Z)(a,"&:hover",{backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,h.Z)(a,"&.".concat(x.selected),(e={backgroundColor:(n.vars||n).palette.action.selected,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selected," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,b.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(n.vars||n).palette.action.selected}}},(0,h.Z)(e,"&.".concat(x.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selected," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,b.Fq)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,h.Z)(e,"&.".concat(x.disabled),{opacity:1,color:(n.vars||n).palette.action.disabled,backgroundColor:(n.vars||n).palette.action.selected}),e)),a),"small"===i.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===i.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:n.typography.pxToRem(15)},"rounded"===i.shape&&{borderRadius:(n.vars||n).shape.borderRadius})}),(function(t){var e=t.theme,a=t.ownerState;return(0,o.Z)({},"text"===a.variant&&(0,h.Z)({},"&.".concat(x.selected),(0,o.Z)({},"standard"!==a.color&&(0,h.Z)({color:(e.vars||e).palette[a.color].contrastText,backgroundColor:(e.vars||e).palette[a.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[a.color].main}}},"&.".concat(x.focusVisible),{backgroundColor:(e.vars||e).palette[a.color].dark}),(0,h.Z)({},"&.".concat(x.disabled),{color:(e.vars||e).palette.action.disabled}))),"outlined"===a.variant&&(0,h.Z)({border:e.vars?"1px solid rgba(".concat(e.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"&.".concat(x.selected),(0,o.Z)({},"standard"!==a.color&&(0,h.Z)({color:(e.vars||e).palette[a.color].main,border:"1px solid ".concat(e.vars?"rgba(".concat(e.vars.palette[a.color].mainChannel," / 0.5)"):(0,b.Fq)(e.palette[a.color].main,.5)),backgroundColor:e.vars?"rgba(".concat(e.vars.palette[a.color].mainChannel," / ").concat(e.vars.palette.action.activatedOpacity,")"):(0,b.Fq)(e.palette[a.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?"rgba(".concat(e.vars.palette[a.color].mainChannel," / calc(").concat(e.vars.palette.action.activatedOpacity," + ").concat(e.vars.palette.action.focusOpacity,"))"):(0,b.Fq)(e.palette[a.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(x.focusVisible),{backgroundColor:e.vars?"rgba(".concat(e.vars.palette[a.color].mainChannel," / calc(").concat(e.vars.palette.action.activatedOpacity," + ").concat(e.vars.palette.action.focusOpacity,"))"):(0,b.Fq)(e.palette[a.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}),(0,h.Z)({},"&.".concat(x.disabled),{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}))))})),I=(0,B.ZP)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:function(t,e){return e.icon}})((function(t){var e=t.theme,a=t.ownerState;return(0,o.Z)({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===a.size&&{fontSize:e.typography.pxToRem(18)},"large"===a.size&&{fontSize:e.typography.pxToRem(22)})})),j=n.forwardRef((function(t,e){var a=(0,c.Z)({props:t,name:"MuiPaginationItem"}),n=a.className,l=a.color,d=void 0===l?"standard":l,p=a.component,u=a.components,v=void 0===u?{}:u,g=a.disabled,m=void 0!==g&&g,h=a.page,b=a.selected,x=void 0!==b&&b,y=a.shape,z=void 0===y?"circular":y,B=a.size,O=void 0===B?"medium":B,j=a.slots,F=void 0===j?{}:j,T=a.type,W=void 0===T?"page":T,q=a.variant,A=void 0===q?"text":q,V=(0,i.Z)(a,S),_=(0,o.Z)({},a,{color:d,disabled:m,selected:x,shape:z,size:O,type:W,variant:A}),G=(0,Z.Z)(),U=function(t){var e=t.classes,a=t.color,o=t.disabled,n=t.selected,i=t.size,r=t.shape,c=t.type,l=t.variant,d={root:["root","size".concat((0,C.Z)(i)),l,r,"standard"!==a&&"".concat(l).concat((0,C.Z)(a)),o&&"disabled",n&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[c]],icon:["icon"]};return(0,s.Z)(d,f,e)}(_),Y=("rtl"===G.direction?{previous:F.next||v.next||R,next:F.previous||v.previous||N,last:F.first||v.first||P.Z,first:F.last||v.last||w.Z}:{previous:F.previous||v.previous||N,next:F.next||v.next||R,first:F.first||v.first||P.Z,last:F.last||v.last||w.Z})[W];return"start-ellipsis"===W||"end-ellipsis"===W?(0,k.jsx)(M,{ref:e,ownerState:_,className:(0,r.Z)(U.root,n),children:"\u2026"}):(0,k.jsxs)(L,(0,o.Z)({ref:e,ownerState:_,component:p,disabled:m,className:(0,r.Z)(U.root,n)},V,{children:["page"===W&&h,Y?(0,k.jsx)(I,{as:Y,ownerState:_,className:U.icon}):null]}))})),F=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],T=(0,B.ZP)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:function(t,e){var a=t.ownerState;return[e.root,e[a.variant]]}})({}),W=(0,B.ZP)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:function(t,e){return e.ul}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function q(t,e,a){return"page"===t?"".concat(a?"":"Go to ","page ").concat(e):"Go to ".concat(t," page")}var A=n.forwardRef((function(t,e){var a=(0,c.Z)({props:t,name:"MuiPagination"}),n=a.boundaryCount,l=void 0===n?1:n,d=a.className,h=a.color,b=void 0===h?"standard":h,f=a.count,x=void 0===f?1:f,Z=a.defaultPage,y=void 0===Z?1:Z,C=a.disabled,P=void 0!==C&&C,w=a.getItemAriaLabel,z=void 0===w?q:w,N=a.hideNextButton,R=void 0!==N&&N,B=a.hidePrevButton,S=void 0!==B&&B,O=a.renderItem,M=void 0===O?function(t){return(0,k.jsx)(j,(0,o.Z)({},t))}:O,L=a.shape,I=void 0===L?"circular":L,A=a.showFirstButton,V=void 0!==A&&A,_=a.showLastButton,G=void 0!==_&&_,U=a.siblingCount,Y=void 0===U?1:U,D=a.size,E=void 0===D?"medium":D,H=a.variant,J=void 0===H?"text":H,K=(0,i.Z)(a,F),Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.boundaryCount,a=void 0===e?1:e,n=t.componentName,r=void 0===n?"usePagination":n,s=t.count,c=void 0===s?1:s,l=t.defaultPage,d=void 0===l?1:l,p=t.disabled,h=void 0!==p&&p,b=t.hideNextButton,f=void 0!==b&&b,x=t.hidePrevButton,Z=void 0!==x&&x,y=t.onChange,C=t.page,P=t.showFirstButton,w=void 0!==P&&P,z=t.showLastButton,k=void 0!==z&&z,N=t.siblingCount,R=void 0===N?1:N,B=(0,i.Z)(t,m),S=(0,g.Z)({controlled:C,default:d,name:r,state:"page"}),O=(0,v.Z)(S,2),M=O[0],L=O[1],I=function(t,e){C||L(e),y&&y(t,e)},j=function(t,e){var a=e-t+1;return Array.from({length:a},(function(e,a){return t+a}))},F=j(1,Math.min(a,c)),T=j(Math.max(c-a+1,a+1),c),W=Math.max(Math.min(M-R,c-a-2*R-1),a+2),q=Math.min(Math.max(M+R,a+2*R+2),T.length>0?T[0]-2:c-1),A=[].concat((0,u.Z)(w?["first"]:[]),(0,u.Z)(Z?[]:["previous"]),(0,u.Z)(F),(0,u.Z)(W>a+2?["start-ellipsis"]:a+1<c-a?[a+1]:[]),(0,u.Z)(j(W,q)),(0,u.Z)(q<c-a-1?["end-ellipsis"]:c-a>a?[c-a]:[]),(0,u.Z)(T),(0,u.Z)(f?[]:["next"]),(0,u.Z)(k?["last"]:[])),V=function(t){switch(t){case"first":return 1;case"previous":return M-1;case"next":return M+1;case"last":return c;default:return null}},_=A.map((function(t){return"number"===typeof t?{onClick:function(e){I(e,t)},type:"page",page:t,selected:t===M,disabled:h,"aria-current":t===M?"true":void 0}:{onClick:function(e){I(e,V(t))},type:t,page:V(t),selected:!1,disabled:h||-1===t.indexOf("ellipsis")&&("next"===t||"last"===t?M>=c:M<=1)}}));return(0,o.Z)({items:_},B)}((0,o.Z)({},a,{componentName:"Pagination"})),X=Q.items,$=(0,o.Z)({},a,{boundaryCount:l,color:b,count:x,defaultPage:y,disabled:P,getItemAriaLabel:z,hideNextButton:R,hidePrevButton:S,renderItem:M,shape:I,showFirstButton:V,showLastButton:G,siblingCount:Y,size:E,variant:J}),tt=function(t){var e=t.classes,a={root:["root",t.variant],ul:["ul"]};return(0,s.Z)(a,p,e)}($);return(0,k.jsx)(T,(0,o.Z)({"aria-label":"pagination navigation",className:(0,r.Z)(tt.root,d),ownerState:$,ref:e},K,{children:(0,k.jsx)(W,{className:tt.ul,ownerState:$,children:X.map((function(t,e){return(0,k.jsx)("li",{children:M((0,o.Z)({},t,{color:b,"aria-label":z(t.type,t.page,t.selected),shape:I,size:E,variant:J}))},e)}))})}))})),V=A,_=!1,G=n.forwardRef((function(t,e){return _||(console.warn(["MUI: The Pagination component was moved from the lab to the core.","","You should use `import { Pagination } from '@mui/material'`","or `import Pagination from '@mui/material/Pagination'`"].join("\n")),_=!0),(0,k.jsx)(V,(0,o.Z)({ref:e},t))}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[9744],{85555:function(n,t,e){e.r(t),e.d(t,{default:function(){return p}});var a=e(33028),i=e(59740),o=e(5057),r=e(39075),l=e(28358),s=e(38242),d=e(74782),u=e(35918),h=e(96266),c=["blocklet"];function p(n){var t=n.blocklet,e=(0,i.Z)(n,c),p=(0,o.useContext)(r.RD).t,f=(0,s.getBlockletServices)(t);if(0===f.length)return(0,h.jsx)("div",{children:p("blocklet.noService")});var g=[{title:p("common.name"),field:"name"},{title:p("common.protocol"),field:"protocol"},{title:p("common.port"),field:"port"},{title:p("blocklet.upstreamPort"),field:"upstreamPort"}];return(0,h.jsx)(d.Z,(0,a.Z)((0,a.Z)({},e),{},{children:(0,h.jsx)(l.ZP,{columns:g,icons:(0,a.Z)({},u.Z),options:{sorting:!1,emptyRowsWhenPaging:!1,actionsColumnIndex:-1,tableLayout:"auto",maxBodyHeight:"100%",search:!1,pageSize:1e3,pageSizeOptions:[1e3]},localization:{body:{emptyDataSourceMessage:p("blocklet.noService")}},data:f})}))}},35918:function(n,t,e){var a=e(44919),i=e(42876),o=e(27773),r=e(11997),l=e(93734),s=e(76667),d=e(39293),u=e(36903),h=e(3422),c=e(92273),p=e(72906),f=e(57201),g=e(49390),m=e(33225),b=e(30770);t.Z={Add:a.Z,Check:i.default,Delete:o.default,Edit:s.default,Clear:r.default,DetailPanel:c.default,Filter:d.Z,FirstPage:u.default,LastPage:h.default,NextPage:c.default,PreviousPage:p.default,Search:f.default,ResetSearch:r.default,SortArrow:g.Z,Export:l.default,ThirdStateCheck:m.default,ViewColumn:b.default}},74782:function(n,t,e){var a,i=e(71171),o=e(33518).default.div(a||(a=(0,i.Z)(["\n .MuiPaper-root {\n box-shadow: none !important;\n border: none !important;\n border-radius: 0 !important;\n background: transparent;\n }\n .MuiToolbar-root {\n background: transparent;\n padding-left: 0;\n display: none;\n }\n\n &.show-pagination {\n .MuiTablePagination-toolbar {\n display: flex;\n }\n }\n\n .MuiTableHead-root th {\n min-width: 100px;\n background: transparent;\n }\n\n .MuiTable-root {\n overflow-y: hidden;\n }\n .MuiTableRow-root {\n border: none !important;\n }\n\n .MuiTableCell-root {\n padding-right: 16px;\n &:last-of-type {\n padding-right: 0;\n }\n }\n\n /* @material-table/core@next \u517c\u5bb9 mui v5, \u4f46 pagination \u6837\u5f0f\u4f3c\u4e4e\u6709\u4e9b\u95ee\u9898, \u6682\u5730\u5b9a\u5236\u4e0b\u9762\u7684\u6837\u5f0f\u4fee\u590d, \u540e\u9762\u8003\u8651\u5f03\u7528 material-table */\n .MuiTablePagination-selectLabel,\n .MuiTablePagination-displayedRows {\n display: none;\n }\n .MuiTypography-caption {\n display: inline-block;\n }\n .MuiTablePagination-selectLabel + .MuiInputBase-root {\n margin-right: 8px;\n }\n"])));t.Z=o},44919:function(n,t,e){var a=e(71600);t.Z=void 0;var i=a(e(56930)),o=e(96266),r=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=r},75790:function(n,t,e){e.r(t),e.d(t,{circularProgressClasses:function(){return i.Z},default:function(){return a.Z},getCircularProgressUtilityClass:function(){return i.C}});var a=e(44846),i=e(8569)},23645:function(n,t,e){var a,i,o,r,l,s,d,u,h=e(71171),c=e(31461),p=e(7896),f=e(5057),g=e(8271),m=e(21371),b=e(91213),v=e(32493),w=e(66685),Z=e(62773),k=e(42908),y=e(35668),C=e(96266),x=["animation","className","component","height","style","variant","width"],S=(0,m.keyframes)(l||(l=a||(a=(0,h.Z)(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),M=(0,m.keyframes)(s||(s=i||(i=(0,h.Z)(["\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n"])))),P=(0,Z.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(n,t){var e=n.ownerState;return[t.root,t[e.variant],!1!==e.animation&&t[e.animation],e.hasChildren&&t.withChildren,e.hasChildren&&!e.width&&t.fitContent,e.hasChildren&&!e.height&&t.heightAuto]}})((function(n){var t=n.theme,e=n.ownerState,a=(0,v.Wy)(t.shape.borderRadius)||"px",i=(0,v.YL)(t.shape.borderRadius);return(0,p.Z)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:(0,w.Fq)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===e.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(i).concat(a,"/").concat(Math.round(i/.6*10)/10).concat(a),"&:empty:before":{content:'"\\00a0"'}},"circular"===e.variant&&{borderRadius:"50%"},"rounded"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius},e.hasChildren&&{"& > *":{visibility:"hidden"}},e.hasChildren&&!e.width&&{maxWidth:"fit-content"},e.hasChildren&&!e.height&&{height:"auto"})}),(function(n){return"pulse"===n.ownerState.animation&&(0,m.css)(d||(d=o||(o=(0,h.Z)(["\n animation: "," 1.5s ease-in-out 0.5s infinite;\n "]))),S)}),(function(n){var t=n.ownerState,e=n.theme;return"wave"===t.animation&&(0,m.css)(u||(u=r||(r=(0,h.Z)(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: "," 1.6s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ",",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "]))),M,(e.vars||e).palette.action.hover)})),R=f.forwardRef((function(n,t){var e=(0,k.Z)({props:n,name:"MuiSkeleton"}),a=e.animation,i=void 0===a?"pulse":a,o=e.className,r=e.component,l=void 0===r?"span":r,s=e.height,d=e.style,u=e.variant,h=void 0===u?"text":u,f=e.width,m=(0,c.Z)(e,x),v=(0,p.Z)({},e,{animation:i,component:l,variant:h,hasChildren:Boolean(m.children)}),w=function(n){var t=n.classes,e=n.variant,a=n.animation,i=n.hasChildren,o=n.width,r=n.height,l={root:["root",e,a,i&&"withChildren",i&&!o&&"fitContent",i&&!r&&"heightAuto"]};return(0,b.Z)(l,y.B,t)}(v);return(0,C.jsx)(P,(0,p.Z)({as:l,ref:t,className:(0,g.Z)(w.root,o),ownerState:v},m,{style:(0,p.Z)({width:f,height:s},d)}))}));t.Z=R},35668:function(n,t,e){e.d(t,{B:function(){return o}});var a=e(31821),i=e(18561);function o(n){return(0,i.Z)("MuiSkeleton",n)}var r=(0,a.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);t.Z=r}}]);