@arcblock/www-wallet
Version:
Start experiencing your digital world with ABT Wallet
3 lines • 34.5 kB
JavaScript
/*! For license information please see 2a0bf7038b76e02904ca7f463c2b122210947efd-2f314dfe2337c34c0777.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"5nXd":function(e,t,n){var o=n("MFOe"),r=o.slice,i=o.pluck,a=o.each,c=o.bind,s=o.create,l=o.isList,u=o.isFunction,d=o.isObject;e.exports={createStore:f};var p={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,o){e.call(t,t._deserialize(n),(o||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return f.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return f(this.storage,this.plugins,e)}};function f(e,t,n){n||(n=""),e&&!l(e)&&(e=[e]),t&&!l(t)&&(t=[t]);var o=n?"__storejs_"+n+"_":"",f=n?new RegExp("^"+o):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var m=s({_namespacePrefix:o,_namespaceRegexp:f,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(o){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=r(arguments,0),o=this;function i(){if(n)return a(arguments,(function(e,n){t[n]=e})),n.apply(o,t)}var c=[i].concat(t);return e.apply(o,c)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(o){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(l(e))a(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!u(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!d(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,o){if(!u(n))throw new Error("Bad plugin property: "+o+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,o)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;if(e){var t=e.warn?e.warn:e.log;t.apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},p,{plugins:[]});return m.raw={},a(m,(function(e,t){u(e)&&(m.raw[t]=c(m,e))})),a(e,(function(e){m._addStorage(e)})),a(t,(function(e){m._addPlugin(e)})),m}},Bl7J:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var o=n("q1tI"),r=n.n(o),i=n("s4NR"),a=n.n(i),c=n("vOnD"),s=n("TJpk"),l=n.n(s),u=n("k1TG"),d=n("aXB2"),p=n("FqMR"),f=n("iuhU"),m=n("H2TA"),g=n("NqtD"),h=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,c=e.disableGutters,s=void 0!==c&&c,l=e.fixed,p=void 0!==l&&l,m=e.maxWidth,h=void 0===m?"lg":m,b=Object(d.a)(e,["classes","className","component","disableGutters","fixed","maxWidth"]);return o.createElement(a,Object(u.a)({className:Object(f.a)(n.root,r,p&&n.fixed,s&&n.disableGutters,!1!==h&&n["maxWidth".concat(Object(g.a)(String(h)))]),ref:t},b))})),b=Object(m.a)((function(e){return{root:Object(p.a)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:e.spacing(2),paddingRight:e.spacing(2),display:"block"},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),disableGutters:{paddingLeft:0,paddingRight:0},fixed:Object.keys(e.breakpoints.values).reduce((function(t,n){var o=e.breakpoints.values[n];return 0!==o&&(t[e.breakpoints.up(n)]={maxWidth:o}),t}),{}),maxWidthXs:Object(p.a)({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),maxWidthSm:Object(p.a)({},e.breakpoints.up("sm"),{maxWidth:e.breakpoints.values.sm}),maxWidthMd:Object(p.a)({},e.breakpoints.up("md"),{maxWidth:e.breakpoints.values.md}),maxWidthLg:Object(p.a)({},e.breakpoints.up("lg"),{maxWidth:e.breakpoints.values.lg}),maxWidthXl:Object(p.a)({},e.breakpoints.up("xl"),{maxWidth:e.breakpoints.values.xl})}}),{name:"MuiContainer"})(h);function v(){return r.a.createElement(y,null,r.a.createElement("a",{href:"/",className:"logo"},r.a.createElement("img",{src:"/images/wallet-demo.svg",alt:"ABT Wallet Logo"})))}var y=c.default.div.withConfig({displayName:"header__Nav",componentId:"qegqic-0"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:30px;margin-bottom:60px;@media (max-width:","px){margin-top:20px;margin-bottom:20px;}.logo{cursor:pointer;img{width:260px;height:60px;}}"],(function(e){return e.theme.breakpoints.values.sm})),w=n("jW5K"),k=n.n(w),x=n("ofer"),A=n("kfFl");function T(){var e=Object(o.useState)(""),t=e[0],n=e[1];k()((function(){n(window.navigator.userAgent)}));var i=!!t.match(/AppleWebKit.*Mobile.*/),a=(t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),t.indexOf("Android")>-1||t.indexOf("Linux")>-1);return i&&/MicroMessenger/i.test(t)?a?r.a.createElement(A.a,{open:!0,fullScreen:!0},r.a.createElement(B,null,r.a.createElement("div",{className:"first"},"1. 轻触右上方菜单"),r.a.createElement("div",{className:"second"},r.a.createElement(x.a,{className:"step-text"},"2. 点击“在浏览器打开”,体验最新 ABT 钱包"),r.a.createElement("img",{className:"guide-img",src:"/images/android-guide-open-browser.png",alt:""})))):r.a.createElement(A.a,{open:!0,fullScreen:!0},r.a.createElement(B,null,r.a.createElement("div",{className:"first"},"1. 轻触右上方菜单"),r.a.createElement("div",{className:"second"},r.a.createElement(x.a,{className:"step-text"},"2. 点击“在Safari中打开”,体验最新版 ABT 钱包"),r.a.createElement("img",{className:"guide-img",src:"/images/ios-guide-open-browser.png",alt:""})))):null}var B=c.default.div.withConfig({displayName:"wechat_prompt__WxMain",componentId:"pz8qef-0"})([".first{height:80px;line-height:80px;text-align:center;font-size:20px;color:#fff;background-color:#9cdbd8;}.second{display:flex;flex-direction:column;align-items:center;.step-text{font-size:20px;padding:10px 10px;overflow:auto;word-break:break-word;text-align:center;}.guide-img{width:90%;object-fit:cover;}}"]),O=n("p041");function S(e){var t=e.title,n=e.brand,i=e.children,c=e.contentOnly;return Object(o.useEffect)((function(){var e=a.a.parse(window.location.search.slice(1));if(e.loginToken){Object(O.d)(e.loginToken),delete e.loginToken;var t=window.location.pathname+"?"+a.a.stringify(e);window.history.replaceState({},window.title,t)}}),[]),c?r.a.createElement(j,null,r.a.createElement(T,null),r.a.createElement(l.a,{title:t+" - "+n}),i):r.a.createElement(j,null,r.a.createElement(T,null),r.a.createElement(l.a,{title:t+" - "+n}),r.a.createElement(b,{maxWidth:"lg"},r.a.createElement(v,null)),r.a.createElement(b,{style:{minHeight:"60vh"},maxWidth:"lg"},i))}S.defaultProps={contentOnly:!1,brand:"ABT Wallet Demo"};var j=c.default.div.withConfig({displayName:"layout__Wrapper",componentId:"sc-1h35bob-0"})(["min-height:100vh;display:flex;flex-direction:column;background:#fbfbfb;padding-bottom:40px;@media (max-width:","px){padding:0 20px 40px;}"],(function(e){return e.theme.breakpoints.values.sm}))},CrYA:function(e,t,n){var o=n("MFOe").Global;function r(){return o.sessionStorage}function i(e){return r().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return r().setItem(e,t)},each:function(e){for(var t=r().length-1;t>=0;t--){var n=r().key(t);e(i(n),n)}},remove:function(e){return r().removeItem(e)},clearAll:function(){return r().clear()}}},"DlR+":function(e,t,n){var o=n("MFOe"),r=o.Global,i=o.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!l(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:c,remove:s,clearAll:function(){c((function(e,t){s(t)}))}};var a=r.document;function c(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(i(t[n])){var o=t[n].split("="),r=unescape(o[0]);e(unescape(o[1]),r)}}function s(e){e&&l(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function l(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},"E2d/":function(e,t,n){"use strict";var o=n("adSd"),r=n.n(o),i=n("WsmB"),a=n.n(i),c=n("EUkQ"),s=n.n(c),l=s()({profile:"个人档案",download:"下载 ABT 钱包",name:"昵称",email:"邮箱",did:"DID",balance:"账户余额",logout:"退出登录",demoList:"应用列表",close:"关闭",tbaIntro:{headline:"什么是 TBA?",title:"TBA 是基于测试链发行的、体验 ABT 钱包实例应用的测试通证",description:"TBA 与基于以太坊 ERC20 合约发行的 ABT 通证完全无关,只是用来方便用户测试 ABT 钱包的通证"},didIntro:{headline:"什么是 DID?",title:"DID 是 ArcBlock 提供的去中心化自主 ID 解决方案",description:"完整的 DID 字符串如上图可以分为协议、ID 两部分,基于 Forge SDK 发布的所有链上的所有实体都用 DID 标识,比如钱包、资产、节点等"},try:{title:"现在体验 ABT 钱包",description:"用 ABT 钱包快速尝试一些独特的去中心化身份体验。<br/> 扫码登录,即刻开始",button:"登录"},payment:{title:"签到和支付",description:"该应用将为您演示接收通证、查阅付费内容有多么容易",step1:{title:"获得 25 TBA",description:"扫描二维码免费获得 25 TBA,用于体验,通证将在您的钱包里显示。TBA 只是用于测试目,和基于以太坊发行的 ABT 无关。"},step2:{title:"支付",description:"扫描二维码支付 2 TBA 查看付费内容,通证将自动从您的账号中扣除。"},pending:"预览付费内容,需支付 2 TBA。",paid:"恭喜您可以查阅付费内容了!",document:'<span class="center">CEO 致社区的一封信</span>\n\n对所有下载使用 ABT 钱包的新用户,我们想说声谢谢。<br /><br />\n\n未来已来。因为您的加入,一个让用户能够真正拥有自己身份和数据、掌控自己数字生活的去中心化互联网,才一步一步走近我们。现在就尝试用 ABT 钱包浏览网站、访问应用和服务、维护你的数字证照,与其他数字公民安全互动。记住,ABT 钱包专为您度身定制:它方便、有用,代表数字身份的未来。<br /><br />\n\n再次感谢你加入成为 ArcBlock 支持者,和我们一起拥抱未来。<br /><br />\n\n\n您诚挚的,<br/><br />\n\n<span class="signature">Robert Mao</span> <br />\n\n冒志鸿 <br />\nArcBlock 区块基石创始人兼 CEO\n'},course:{title:"听课和领证",description:"报名收看视频课程并获得证书。未来可报名参加 ArcBlock 系列培训讲座。",step1:{title:"课程报名",pending:"扫码报名。完成报名后,收看以下视频课程:ArcBlock 创始人兼 CEO 冒志鸿介绍究竟什么是 DID,ABT 钱包的作用是什么,对互联网用户意味着什么?",done:"报名已完成,请进入第 2 步"},step2:{title:"观看视频",pending:"先报名才能观看视频",done:"报名成功,请收看以下视频(2 分钟)以完成课程。"},step3:{title:"证书申领",pending:"请完成前两步后获取证书,证书生成可能会有几秒钟延迟。如果页面提示证书已授予,但未正常显示,请手动刷新页面。",done:"恭喜您获得本期课程证书!"}},music:{title:"持有证明",description:"该应用为在 ABT Wallet 中持有结课证书的用户播放一段视频节目,需要完成《听课和领证》方可进行",step1:{title:"证明我有证书",pending:"扫码在钱包中选择你持有的结课证书,验证无误后,将能观看节目内容",done:"验证已完成,请进入第 2 步"},step2:{title:"观看精彩节目",pending:"完成证书持有证明才能观看节目",done:"验证成功,请观赏:《Whitney Houston - Greatest Love Of All》"},content:"https://v.qq.com/txp/iframe/player.html?vid=k0021eefzik"},dialog:{login:{title:"要求登录",scan:"打开 ABT 钱包扫描二维码,用您的个人档案登录。",confirm:"您的 ABT 钱包确认登录",success:"您已成功登录!"},checkin:{title:"免费获得 25 TBA",scan:"扫描二维码,免费获得 25 TBA",confirm:"查看您的 ABT 钱包确认收款",success:"25 TBA 已发送至您的账户"},payment:{title:"要求支付",scan:"支付 2 TBA ",confirm:"请在 ABT 钱包完成支付",success:"您已成功支付!"},enroll:{title:"课程报名",scan:"扫描二维码报名参加课程",confirm:"请在 ABT 钱包确认报名",success:"您已成功报名!"},certify:{title:"证书申请",scan:"扫描二维码获取课程证书",confirm:"您的 ABT 钱包确认申请",success:"证书已授予"},poh:{title:"持有证明",scan:"扫描二维码以提供结课证书",confirm:"滑动确认要提供的结课证书",success:"验证成功"}}}),u=s()({profile:"My Profile",download:"Download ABT Wallet",name:"Name",email:"Email",did:"DID",balance:"Account Balance",logout:"Logout",demoList:"Demo List",close:"Close",tbaIntro:{headline:"What is TBA?",title:"TBA is the token issued on the test chain that this demo application is running",description:"TBA is no the same as ABT token issued with Ethereum ERC20 contract, it is just used by users to test abt wallet features "},didIntro:{headline:"What is DID?",title:"DID is the decentralized identification provided by ArcBlock.",description:"A DID consists of the protocol and the actual id parts, all entities that exists in forge powered chains are identified with their global unique DID."},try:{title:"Try ABT Wallet Now",description:"We’ve created some unique decentralized identity experiences for you to quickly try out your wallet. <br/> As a first step, use your new wallet to login to the demo experience. <br/>Let’s get started!",button:"Login"},payment:{title:"Payment",description:"This step will show you how easy it is to receive tokens, make a payment and view an exclusive article behind a paywall.",step1:{title:"Get Some TBA Tokens",description:"Scan the QR Code to get 25 TBA tokens that will be used in the next step. The tokens may show up in your wallet after a few seconds."},step2:{title:"Make Payment",description:"Using your TBA tokens, scan the QR Code and confirm your payment to view the exclusive article. The tokens will be taken out of your account automatically."},pending:"This preview has exclusive content. Pay to view the content.",paid:"Congratulations, here is your paid content!",document:'<span class="center">CEO Letter to our community!</span>\n\nTo all of our new users of the ABT Wallet and ArcBlock’s next generation decentralized identity tools, we want to say thank you.<br /><br />\n\nWhile we are early in this process, we are excited about the next generation internet that gives users control of their data, and allows everyone to make decisions on who and what people can say. With your new ABT Wallet, you can view websites, access important apps and services, maintain your digital licenses, and interact with anyone in a secure way. More importantly, ABT Wallet is designed for you - it’s easy to use, it’s useful and it’s the future of digital identity. <br /><br />\n\nWe thank you for being a supporter of ArcBlock and can’t wait to see what we can do together. <br /><br />\n\nSincerely,<br/><br />\n\n<span class="signature">Robert Mao</span> <br />\n\nRobert Mao <br />\nCEO and Founder of ArcBlock\n'},course:{title:"Certificate",description:"See how to enroll in a video lecture and get a unique certificate upon completion. You can also explore future ArcBlock learning sessions in the future.",step1:{title:"Enroll",pending:"To begin, scan the QR Code to enroll in a lecture and complete the video tutorial on what does did mean to us.",done:"You have completed this step."},step2:{title:"Lecture",pending:"Enroll the lecture before watching the lecture.",done:"Your have enrolled the lecture, watch the video below (2 minutes) to finish the lecture!"},step3:{title:"Claim",pending:"Finish the first two steps to earn the certificate.",done:"Congratulations! You’ve earned the lecture certificate!"}},music:{title:"Membership",description:"Provide special content for users that have accomplished the first 2 wallet demo",step1:{title:"Proof of Holding",pending:"Scan the code to select your course certificate awarded at wallet demo #2",done:"Certificate holding proved!"},step2:{title:"Watch the show",pending:"Prove you hold the certificate and then you can watch the show",done:"Certificate holding proved, now please enjoy《Whitney Houston - Greatest Love Of All》"},content:"https://www.youtube.com/embed/IYzlVDlE72w"},dialog:{login:{title:"Login Required",scan:"Scan the QR code with your ABT Wallet and login with your profile.",confirm:"Please confirm on your ABT Wallet",success:"You have successfully signed in!"},checkin:{title:"Get TBA",scan:"Scan to get 25 TBA tokens. Note, you can do it more than once.",confirm:"Please confirm on your ABT Wallet",success:"25 TBA sent to your account!"},payment:{title:"Make Payment",scan:"Pay 2 TBA to view secret documented",confirm:"Please confirm on your ABT Wallet",success:"You have successfully paid!"},enroll:{title:"Enroll the Lecture",scan:"Scan this QRCode to enroll the lecture",confirm:"Please confirm on your ABT Wallet",success:"You have successfully enrolled!"},certify:{title:"Claim Certificate",scan:"Scan this QRCode to get the Lecture Certificate",confirm:"Please confirm on your ABT Wallet",success:"Certificate Granted"},poh:{title:"持有证明",scan:"扫描二维码以提供结课证书",confirm:"滑动确认要提供的结课证书",success:"验证成功"}}});t.a={en:Object.assign(a.a,u),zh:Object.assign(r.a,l)}},"ESp+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=(o=n("q1tI"))&&o.__esModule?o:{default:o},i=n("GZPF");t.default=function(e){return function(t){return function(n){var o=n.pageContext||{},a=o.locale,c=void 0===a?"en":a,s=o.originalPath;return r.default.createElement(i.LocaleProvider,{locale:c,translations:e,originalPath:s},r.default.createElement(i.LocaleConsumer,null,(function(e){return r.default.createElement(t,Object.assign({},n,e))})))}}}},EUkQ:function(e,t,n){var o=n("peDr");function r(e,t){var n=(t=t||{}).delimiter||".",r=t.maxDepth,i={};return function e(a,c,s){s=s||1,Object.keys(a).forEach((function(l){var u=a[l],d=t.safe&&Array.isArray(u),p=Object.prototype.toString.call(u),f=o(u),m=c?c+n+l:l;if(!d&&!f&&("[object Object]"===p||"[object Array]"===p)&&Object.keys(u).length&&(!t.maxDepth||s<r))return e(u,m,s+1);i[m]=u}))}(e),i}e.exports=r,r.flatten=r,r.unflatten=function e(t,n){var r=(n=n||{}).delimiter||".",i=n.overwrite||!1,a={};if(o(t)||"[object Object]"!==Object.prototype.toString.call(t))return t;function c(e){var t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||n.object?e:t}return Object.keys(t).sort((function(e,t){return e.length-t.length})).forEach((function(o){for(var s=o.split(r),l=c(s.shift()),u=c(s[0]),d=a;void 0!==u;){if("__proto__"===l)return;var p=Object.prototype.toString.call(d[l]),f="[object Object]"===p||"[object Array]"===p;if(!i&&!f&&void 0!==d[l])return;(i&&!f||!i&&null==d[l])&&(d[l]="number"!=typeof u||n.object?{}:[]),d=d[l],s.length>0&&(l=c(s.shift()),u=c(s[0]))}d[l]=e(t[o],n)})),a}},Jlqx:function(e,t,n){"use strict";e.exports={followUs:"关注我们",product:{title:"产品",overview:"概览",network:"ABT 链网",node:"ABT 节点",wallet:"ABT 钱包",blocklets:"Blocklets",sdk:"SDK",ocap:"开放链访问协议"},learn:{title:"学习更多",community:"开发者社区",workshop:"DApps Workshop",portal:"开发者门户",documentation:"技术文档",blog:"工程博客",learning:"在线课堂",solutions:"解决方案"},aboutUs:{title:"关于我们",team:"团队",jobs:"工作机会",leader:"管理团队",partners:"合作伙伴",token:"ABT Token",news:"新闻",roadmap:"路线图"},contactUs:{title:"联系我们",support:"支持",forPar:"为合作伙伴"},bottom:{ts:"服务条款",privacy:"隐私",serviceLevel:"服务等级",siteMap:"网站地图",login:"登录"}}},MFOe:function(e,t,n){(function(t){var n=Object.assign?Object.assign:function(e,t,n,o){for(var r=1;r<arguments.length;r++)c(Object(arguments[r]),(function(t,n){e[n]=t}));return e},o=function(){if(Object.create)return function(e,t,o,r){var i=a(arguments,1);return n.apply(this,[Object.create(e)].concat(i))};var e=function(){};return function(t,o,r,i){var c=a(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(c))}}(),r=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},i="undefined"!=typeof window?window:t;function a(e,t){return Array.prototype.slice.call(e,t||0)}function c(e,t){s(e,(function(e,n){return t(e,n),!1}))}function s(e,t){if(l(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var o in e)if(e.hasOwnProperty(o)&&t(e[o],o))return e[o]}function l(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:n,create:o,trim:r,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:a,each:c,map:function(e,t){var n=l(e)?[]:{};return s(e,(function(e,o){return n[o]=t(e,o),!1})),n},pluck:s,isList:l,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:i}}).call(this,n("yLpj"))},PD8m:function(e,t){e.exports={name:"memoryStorage",read:function(e){return n[e]},write:function(e,t){n[e]=t},each:function(e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)},remove:function(e){delete n[e]},clearAll:function(e){n={}}};var n={}},Qo9D:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.colors=void 0;var o,r=n("DfQ9"),i=(o=n("cNPj"))&&o.__esModule?o:{default:o};var a={white:"#FFFFFF",dark:"#4A707C",gray:"#222222",minor:"#9B9B9B",darkText:"#DCDCDC",background:"#F7F8F8",yellow:"#FFCF71",green:"#44cdc6",red:"#D0021B",blue:"#4E6AF6",primary:"#222222",black:"#222222",secondary:"#44cdc6",mint:"#44cdc6",textSecondary:"#4A4A4A",active:"#5b9025",danger:"#D0021B",lightGrey:"#BCBCBC"};t.colors=a;t.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode,n=void 0===t?"light":t,o=e.pageWidth,c=void 0===o?"md":o,s=e.palette,l=e.typography,u=e.overrides,d=(0,r.createMuiTheme)({themeName:"ArcBlock",palette:Object.assign({primary:{main:a.blue,contrastText:a.white},secondary:{main:a.mint,contrastText:a.white},danger:{main:a.danger,contrastText:a.white},text:{primary:"#404040",contrast:a.white},background:{paper:"light"===n?a.white:a.gray,default:"light"===n?a.background:a.gray},type:n},s||{}),typography:Object.assign({useNextVariants:!0,color:{main:"light"===n?a.gray:a.white,gray:"light"===n?a.minor:a.darkText,blue:a.blue},fontSize:16,fontFamily:["Avenir","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(",")},l||{}),overrides:Object.assign({MuiButton:{root:{borderRadius:0,boxShadow:"none"}},MuiAppBar:{root:{height:80}},MuiToolbar:{root:{background:"light"===n?a.background:a.gray}},MuiTableCell:{root:{borderBottomWidth:"0",paddingTop:"14px",paddingBottom:"14px",paddingLeft:0,paddingRight:"30px"},head:{textTransform:"uppercase",color:"light"===n?a.gray:a.darkText},body:{color:"light"===n?a.gray:a.darkText}},MuiChip:{root:{padding:"3px",height:"24px",fontSize:"12px",marginRight:"10px"},label:{paddingLeft:"5px",paddingRight:"5px",marginRight:"5px"}},MuiTooltip:{tooltip:{fontSize:"14px"}},MuiTypography:{body1:{color:"light"===n?a.gray:a.darkText},body2:{color:"light"===n?a.gray:a.darkText}}},u||{}),pageWidth:c,colors:a,mode:n}),p=(0,i.default)(d,{breakpoints:["xs","sm","md","lg"],disableAlign:!1,factor:3,variants:["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]});return p}},WsmB:function(e,t,n){"use strict";var o=n("lfV1");e.exports=o({title:"Arcblock | Blockchain 3.0",description:"Born for blockchain 3.0",keywords:"blockchain, platform, cloud, developer, arcblock",blog:{unlockTip:"This content is only for ABT Wallet users, please sign in to unlock remaining content"},contactForm:{signup:"Signup for our newsletter",name:"Your Name",email:"Your Email",subscribe:"Subscribe"},menu:{pricing:"Pricing",learning:"Learning",login:"Sign In",logout:"Sign Out",getStarted:"Get Started",roadmap:"Roadmap",solution:"Solutions",wallet:"ABT Wallet",blocklet:"Blocklet",developer:{"engineer-blog":"Engineer Blog","getting-started":"Getting Started",description:"Resources, documentation, tutorials and code samples for any developer project",overview:"Overview",documentation:"Documentation",github:"GitHub",main:"Developer",support:"Support",community:"Community",title:"Welcome Home Developers",whitepaper:"Whitepaper",workshop:"DApps Workshop"},useCases:{main:"Use Cases"},platform:{main:"Platform",title:"A Complete Blockchain Platform",description:"A platform to build, manage and deploy the next generation of decentralized applications and blockchain experiences.",overview:"Overview",pricing:"Pricing",network:"ABT Network",node:"ABT Node",forge:"SDK",ocap:"Open Chain Access Protocol",did:"Decentralized Identity",console:"Management Center",miner:"Miners"},about:{main:"About",title:"About US",description:"Learn more about the company, FAQs and how to partner with us.",overview:"Overview",faq:"FAQs",partner:"Partnership"}},post:{categories:"Categories",tags:"Tags",posts:"Posts",postsByCategory:"Posts in {category}",postsByTag:"Posts tagged with {tag}",backToPosts:"Back to Posts",nextPage:"Next",previousPage:"Previous",continueReading:"Read More",viewAll:"View All"},footer:n("xV2l")})},Y0X6:function(e,t,n){var o=n("5nXd"),r=[n("rdUC"),n("CrYA"),n("DlR+"),n("PD8m")];e.exports=o.createStore(r,[])},ZXdF:function(e,t,n){"use strict";var o=n("Z3vd"),r=n("vOnD");t.a=Object(r.default)(o.a).withConfig({displayName:"button",componentId:"sc-1c5w6iz-0"})(["&&{color:#4e6af6;border-color:#4e6af6;border-radius:80px;text-transform:none;&:hover{color:#4e6af6;border-color:#4e6af6;}}"])},adSd:function(e,t,n){"use strict";var o=n("lfV1");e.exports=o({title:"Arcblock | 区块链 3.0",description:"Born for blockchain 3.0",keywords:"blockchain, platform, cloud, developer, arcblock",blog:{unlockTip:"这是一篇仅 ABT 钱包用户可阅读全文的文章,请登录以解锁剩余内容。"},contactForm:{signup:"邮件订阅",name:"请输入名称",email:"请输入邮箱",subscribe:"订阅"},menu:{learning:"学习培训",roadmap:"路线图",login:"登录",logout:"注销",getStarted:"快速上手",solution:"解决方案",wallet:"ABT 钱包",blocklet:"Blocklet",developer:{"engineer-blog":"工程博客","getting-started":"快速入门",description:"各种入门教程,SDK 文档,以及所有能帮助开发者的资源",overview:"概览",documentation:"文档",github:"开源代码",main:"开发者",support:"技术支持",title:"我们已经为您准备妥当",whitepaper:"白皮书",community:"开发者社区",workshop:"DApps Workshop"},useCases:{main:"用例"},platform:{main:"区块链平台",title:"端到端的区块链应用开发平台",description:"方便你构建、部署和管理下一代去中心化应用的平台",overview:"概览",pricing:"报价",network:"ABT 链网",node:"ABT 节点",forge:"SDK",ocap:"开放链访问协议",did:"DID",console:"管理控制台",miner:"矿工"},about:{main:"关于我们",title:"关于我们",description:"了解 ArcBlock 的更多信息,浏览常见问题,或者成为我们的合作伙伴",overview:"公司简介",faq:"常见问题",partner:"合作伙伴"}},post:{categories:"分类",tags:"标签",posts:"文章",backToPosts:"返回文章列表",postsByCategory:"分类“{category}”下的文章",postsByTag:"标签“{tag}”下的文章",nextPage:"下一页",previousPage:"上一页",continueReading:"继续阅读",viewAll:"查看所有"},footer:n("Jlqx")})},cNPj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.breakpoints,r=void 0===n?["sm","md","lg"]:n,a=t.disableAlign,c=void 0!==a&&a,s=t.factor,l=void 0===s?3:s,u=t.maxSize,d=void 0===u?2.5:u,p=t.variants,f=void 0===p?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:p,m=i({},e);m.typography=i({},m.typography);var g=m.typography,h=(0,o.convertLength)(g.htmlFontSize),b=r.map((function(e){return m.breakpoints.values[e]}));return f.forEach((function(e){var t=g[e],n=parseFloat(h(t.fontSize,"rem"));if(!(n<=1)){var r=Math.min(n,d),a=1+(r-1)/l,s=t.lineHeight;if(!(0,o.isUnitless)(s)&&!c)throw new Error(["Material-UI: unsupported non-unitless line height with grid alignment.","Use unitless line heights instead."].join("\n"));(0,o.isUnitless)(s)||(s=parseFloat(h(s,"rem"))/parseFloat(n));var u=null;c||(u=function(e){return(0,o.alignProperty)({size:e,grid:(0,o.fontGrid)({pixels:4,lineHeight:s,htmlFontSize:g.htmlFontSize})})}),g[e]=i({},t,{},(0,o.responsiveProperty)({cssProperty:"fontSize",min:a,max:r,unit:"rem",breakpoints:b,transform:u}))}})),m};var o=n("Yxp+");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},jW5K:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("i0/C").__importDefault(n("0xIW"));t.default=function(e){o.default((function(){e()}))}},p041:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return s}));var o=n("Y0X6"),r=n.n(o);function i(e){if("undefined"!=typeof window)return r.a.set("login_token",e)}function a(){if("undefined"!=typeof window)return r.a.get("login_token")}function c(){if("undefined"!=typeof window)return r.a.remove("login_token")}function s(e){403===e.code&&setTimeout((function(){c(),window.location.href="/?openLogin=true"}),3e3)}},peDr:function(e,t){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},rdUC:function(e,t,n){var o=n("MFOe").Global;function r(){return o.localStorage}function i(e){return r().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return r().setItem(e,t)},each:function(e){for(var t=r().length-1;t>=0;t--){var n=r().key(t);e(i(n),n)}},remove:function(e){return r().removeItem(e)},clearAll:function(){return r().clear()}}},xV2l:function(e,t,n){"use strict";e.exports={followUs:"FOLLOW US",product:{title:"PRODUCT",overview:"Overview",network:"ABT Network",node:"ABT Node",wallet:"ABT Wallet",blocklets:"Blocklets",sdk:"SDK",ocap:"OCAP"},learn:{title:"LEARN MORE",community:"Community",workshop:"DApps Workshop",portal:"Developer Portal",documentation:"Documentation",blog:"Engineering Blog",learning:"Learning",solutions:"Solutions"},aboutUs:{title:"ABOUT US",team:"Team",jobs:"Jobs",leader:"LeaderShip",partners:"Partners",token:"ABT Token",news:"News & Events"},contactUs:{title:"CONTACT US",support:"Support",forPar:"For Partners"},bottom:{ts:"Terms of Service",privacy:"Privacy",serviceLevel:"Service Level",siteMap:"Site Map",login:"Log In"}}},yUF8:function(e,t,n){"use strict";var o=n("XEEL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n("q1tI")),i=n("vOnD"),a=n("DfQ9"),c=l(n("xTqJ")),s=n("Qo9D");function l(e){return e&&e.__esModule?e:{default:e}}function u(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-family: ",";\n color: ",";\n\n a, a:hover, a:active {\n text-decoration: none;\n color: ",";\n }\n\n a:hover {\n color: ",";\n }\n\n .section--latest-post {\n p:last-of-type {\n margin: 0;\n }\n }\n\n .has-scrolled {\n .section--footnotes {\n position: static !important;\n transition-property: background-color;\n transition-duration: 600ms;\n transition-timing-function: ease;\n .footnote__title {\n color: #fff;\n }\n }\n }\n"]);return u=function(){return e},e}var d=(0,i.createGlobalStyle)(u(),(function(e){return e.theme.typography.fontFamily}),(function(e){return e.theme.typography.color.main}),(function(e){return e.theme.palette.primary.dark}),(function(e){return e.theme.palette.primary.main}));var p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,l=void 0===n?"light":n,u=t.pageWidth,p=void 0===u?"md":u,f=t.palette,m=t.typography,g=function(t){function n(e){var n;return(n=t.call(this,e)||this).theme=(0,s.create)({mode:l,pageWidth:p,palette:f,typography:m}),n}o(n,t);var u=n.prototype;return u.componentDidMount=function(){var e=document.querySelector("#jss-server-side");e&&e.parentNode&&e.parentNode.removeChild(e)},u.render=function(){return r.default.createElement(a.MuiThemeProvider,{theme:this.theme},r.default.createElement(c.default,null),r.default.createElement(d,{theme:this.theme}),r.default.createElement(i.ThemeProvider,{theme:this.theme},r.default.createElement(e,this.props)))},n}(r.default.Component);return g};t.default=p}}]);
//# sourceMappingURL=2a0bf7038b76e02904ca7f463c2b122210947efd-2f314dfe2337c34c0777.js.map