(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{370:function(t,e,n){"use strict";n(89),n(27),n(28),n(16),n(64),n(40),n(116),n(22);var o=n(48),r=n(65);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var i=1;i0&&void 0!==t[0]?t[0]:{},r=o.userInput,c=o.retry,l=void 0===c?0:c,n.prev=1,n.next=4,e.$contribute();case 4:return m=n.sent,e.isContributeBtnSnown=!0,e.status.msg="",e.status.type="",e.$root.$emit("enableLoading","Downloading last contribution"),n.next=11,fetch("api/challenge");case 11:return data=n.sent,n.t0=Uint8Array,n.next=15,data.arrayBuffer();case 15:return n.t1=n.sent,data=new n.t0(n.t1),e.$root.$emit("enableLoading","Generating random contribution. Your browser may appear unresponsive. It can take a minute or so to complete"),n.next=20,y(100);case 20:return console.log("Source params",data),d=new TextEncoder("utf-8").encode(r),n.next=24,window.crypto.subtle.digest("SHA-256",d);case 24:for(h=n.sent,v=new Uint8Array(h),w=window.crypto.getRandomValues(new Uint8Array(32)),C=new Uint8Array(w.length),i=0;i