-
Notifications
You must be signed in to change notification settings - Fork 4
/
app.468b2020.js.map
1 lines (1 loc) · 139 KB
/
app.468b2020.js.map
1
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/TeamProfile.vue?22f0","webpack:///./src/App.vue?a176","webpack:///./src/App.vue?66ad","webpack:///./src/components/TeamProfile.vue?41d0","webpack:///./src/components/TeamProfile.vue?7524","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/TeamProfile.vue?3533","webpack:///./src/App.vue?6251","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/store/auth.js","webpack:///./src/store/team.js","webpack:///./src/store/staff.js","webpack:///./src/store/system.js","webpack:///./src/store/index.js","webpack:///./src/views/Home.vue?f13b","webpack:///./src/components/TeamCard.vue?1734","webpack:///./src/components/TeamProfile.vue?63aa","webpack:///src/components/TeamProfile.vue","webpack:///./src/components/TeamProfile.vue?d5ea","webpack:///./src/components/TeamProfile.vue?cf19","webpack:///src/components/TeamCard.vue","webpack:///./src/components/TeamCard.vue?4cf9","webpack:///./src/components/TeamCard.vue?7f56","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?493c","webpack:///./src/views/Home.vue","webpack:///./src/components/LeaderBoard.vue?208d","webpack:///src/components/LeaderBoard.vue","webpack:///./src/components/LeaderBoard.vue?8d18","webpack:///./src/components/LeaderBoard.vue","webpack:///./src/router.js","webpack:///./src/PizzaCoin/validateConnection.js","webpack:///./src/PizzaCoin/index.js","webpack:///./src/main.js","webpack:///./src/components/TeamCard.vue?351a","webpack:///./src/views/Home.vue?1c82"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","0","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TeamProfile_vue_vue_type_style_index_2_id_b054961e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_1_id_c0f47384_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TeamProfile_vue_vue_type_style_index_3_scped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TeamProfile_vue_vue_type_style_index_1_id_b054961e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","map","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bm","./bm.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-il","./en-il.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es-us","./es-us.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./gom-latn","./gom-latn.js","./gu","./gu.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mn","./mn.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./mt","./mt.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./tg","./tg.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./ug-cn","./ug-cn.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TeamProfile_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","Appvue_type_template_id_c0f47384_scoped_true_render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","to","src","alt","width","height","_v","_s","playerInfo","href","$store","state","system","$pizzaCoin","target","tokenBalance","isStaffLoggedIn","stateContract","on","click","$event","lockRegistration","_e","startVote","stopVote","isPlayerLoggedIn","$route","isComponentModalActive","active","has-modal-card","update:active","submit","preventDefault","onCreateTeam","staticStyle","label","type","placeholder","required","model","callback","$$v","creatorName","expression","teamname","onCancel","staticRenderFns","Appvue_type_script_lang_js_","account","mounted","_mounted","asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","prev","next","console","log","t0","t1","sent","getContractState","dispatch","t2","error","stop","arguments","computed","objectSpread","vuex_esm","methods","_onCreateTeam","_callee2","_context2","createTeam","getTeamsProfile","_startVote","_callee3","_context3","t3","t4","startVoting","t5","isPlayer","_isPlayer","_callee4","_context4","abrupt","_stopVote","_callee5","_context5","stopVoting","_lockRegistration","_callee6","_context6","src_Appvue_type_script_lang_js_","component","componentNormalizer","App","auth_state","user","isLoading","userAddress","userName","mutations","setLoading","isStaffLogin","payload","concat","isPlayerLogin","getTokenBalance","_ref","_ref2","role","actions","_isStaffLogin","_ref3","commit","_x","_x2","_isPlayerLogin","_ref4","_x3","_x4","setIsLoading","_setIsLoading","_ref5","_x5","_x6","_ref6","_ref7","auth","namespaced","team_state","teams","teamCount","team_actions","context","creatTeam","addMember","memberName","removePlayer","player","address","voteTeam","getTeamCount","team_mutations","addScore","team","groupId","member","index","score","groupName","detail","teamMebers","setTeamCount","staff_state","staff_actions","staff_mutations","staff","system_state","network","etherscanPrefix","ethereumNode","pizzaCoinAddr","pizzaCoinStaffAddr","pizzaCoinPlayerAddr","pizzaCoinTeamAddr","vue_runtime_esm","use","Store","Homevue_type_template_id_fd54c6b4_render","text-align","justify-content","display","font-size","margin-bottom","margin-top","_l","Homevue_type_template_id_fd54c6b4_staticRenderFns","TeamCardvue_type_template_id_19df559b_render","data-badge","dataTeam","TeamCardvue_type_template_id_19df559b_staticRenderFns","TeamProfilevue_type_template_id_b054961e_scoped_true_render","playerAvatarImage","parseInt","canVote","onVote","isJoined","disabled","onJoin","onAddPlayer","playerName","removeTeam","TeamProfilevue_type_template_id_b054961e_scoped_true_staticRenderFns","pizzaCoin","pizzaCoinSymbol","created","_created","_teams","loadPizzaCoinSymbol","getPlayersProfile","props","_onVote","voteTeamData","alert","voterAddr","teamName","votingWeight","_onAddPlayer","registerPlayerData","playerAddr","registerPlayer","_loadPizzaCoinSymbol","main","symbol","_removePlayer","removePlayerData","res","kickerAddr","kickPlayer","_removeTeam","_callee7","_context7","kickTeam","identicon_default","a","toString","loadTeam","components_TeamProfilevue_type_script_lang_js_","TeamProfile_component","TeamProfile","TeamCardvue_type_script_lang_js_","components","components_TeamCardvue_type_script_lang_js_","TeamCard_component","TeamCard","Homevue_type_script_lang_js_","validateWeb3Connection","$toast","validateWallet","views_Homevue_type_script_lang_js_","Home_component","Home","LeaderBoardvue_type_template_id_174f34cb_render","LeaderBoardvue_type_template_id_174f34cb_staticRenderFns","LeaderBoardvue_type_script_lang_js_","leaderBoardData","teamNames","teamScore","createWeb3","subscribeEvent","loadData","initChartInstance","createChart","_loadData","_this","lodash_default","forEach","idx","bgColor","borderColor","labels","datasets","backgroundColor","borderWidth","options","responsive","lineTension","scales","yAxes","ticks","beginAtZero","padding","web3","src_default","providers","WebsocketProvider","eth","Contract","PizzaCoinAbi","chartId","chartData","ctx","document","getElementById","leaderBoardChart","chart_default","_this2","subscription","events","TeamVoted","err","totalVoted","returnValues","_teamName","_totalVoted","update","components_LeaderBoardvue_type_script_lang_js_","LeaderBoard_component","LeaderBoard","vue_router_esm","router","routes","path","beforeEnter","open","validateConnection","_validateWeb3Connection","toast","errorText","currentNetwork","_errorText","showToastError","getNetworkName","capitalize","_validateWallet","accounts","getAccounts","setInterval","location","reload","_showToastError","text","duration","_args4","undefined","message","charAt","toUpperCase","PizzaCoin_validateConnection","PizzaCoin_PizzaCoin","PizzaCoin","ethNode","classCallCheck","currentProvider","loadUserAddress","then","PizzaCoinStaffAbi","PizzaCoinTeamAbi","PizzaCoinPlayerAbi","balanceOf","send","from","gas","gasPrice","getTotalTeams","getTeamArrayLength","teamArrayLength","getTotalPlayersInTeam","playerCount","teamInfoTasks","getFirstFoundTeamInfo","Promise","all","teamInfos","filter","teamInfo","JSON","stringify","endOfList","uniqueTeamInfos","foundTeamNames","_iterator","iterator","_iteratorNormalCompletion","_step","done","indexOf","teamProfiles","_teamInfo","nextStartSearchingIndex","teamProfile","slicedToArray","getVotingPointForTeam","dataTeams","_context8","startSearchingIndex","tupleReturned","_endOfList","_nextStartSearchingIndex","registrarAddr","staffAddr","staffName","registerPlayerToTeam","_context10","totalVoters","getTotalVotersToTeam","_context11","_context12","projectDeployerAddr","_context13","_context14","_context15","_context16","getPlayerCountInTeam","getFirstFoundPlayer","playerAddress","getPlayerName","playerIndex","getFirstFoundPlayerInTeam","_player","_context21","_context22","getStaffName","isStaff","_context25","_context26","net","getNetworkType","setPrototypeOf","src_PizzaCoin","store","intervalTime","showToken","es6_typeof","lib_default","config","productionTip","render","h","$mount","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TeamCard_vue_vue_type_style_index_0_scped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Home_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,KACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAGAe,KAAA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OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,YAAA,OACAC,eAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,QAAA,OACAC,WAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,QAAA,OACAC,WAAA,OACAC,OAAA,OACAC,UAAA,OACAC,QAAA,OACAC,WAAA,OACAC,QAAA,OACAC,aAAA,OACAC,gBAAA,OACAC,WAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,YAAA,OACAC,eAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,gBAAA,OACAC,OAAA,OAC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AAAC,GAAA,OAAKA,EAAEpU,MACdqU,OAAO,63IC3E2aC,EAAA,8DCAfC,EAAA","file":"app.468b2020.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,1]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=2&id=b054961e&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=2&id=b054961e&scoped=true&lang=css&\"","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=1&id=c0f47384&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=1&id=c0f47384&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=3&scped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=3&scped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=1&id=b054961e&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=1&id=b054961e&scoped=true&lang=css&\"","var map = {\n\t\"./af\": \"K/tc\",\n\t\"./af.js\": \"K/tc\",\n\t\"./ar\": \"jnO4\",\n\t\"./ar-dz\": \"o1bE\",\n\t\"./ar-dz.js\": \"o1bE\",\n\t\"./ar-kw\": \"Qj4J\",\n\t\"./ar-kw.js\": \"Qj4J\",\n\t\"./ar-ly\": \"HP3h\",\n\t\"./ar-ly.js\": \"HP3h\",\n\t\"./ar-ma\": \"CoRJ\",\n\t\"./ar-ma.js\": \"CoRJ\",\n\t\"./ar-sa\": \"gjCT\",\n\t\"./ar-sa.js\": \"gjCT\",\n\t\"./ar-tn\": \"bYM6\",\n\t\"./ar-tn.js\": \"bYM6\",\n\t\"./ar.js\": \"jnO4\",\n\t\"./az\": \"SFxW\",\n\t\"./az.js\": \"SFxW\",\n\t\"./be\": \"H8ED\",\n\t\"./be.js\": \"H8ED\",\n\t\"./bg\": \"hKrs\",\n\t\"./bg.js\": \"hKrs\",\n\t\"./bm\": \"p/rL\",\n\t\"./bm.js\": \"p/rL\",\n\t\"./bn\": \"kEOa\",\n\t\"./bn.js\": \"kEOa\",\n\t\"./bo\": \"0mo+\",\n\t\"./bo.js\": \"0mo+\",\n\t\"./br\": \"aIdf\",\n\t\"./br.js\": \"aIdf\",\n\t\"./bs\": \"JVSJ\",\n\t\"./bs.js\": \"JVSJ\",\n\t\"./ca\": \"1xZ4\",\n\t\"./ca.js\": \"1xZ4\",\n\t\"./cs\": \"PA2r\",\n\t\"./cs.js\": \"PA2r\",\n\t\"./cv\": \"A+xa\",\n\t\"./cv.js\": \"A+xa\",\n\t\"./cy\": \"l5ep\",\n\t\"./cy.js\": \"l5ep\",\n\t\"./da\": \"DxQv\",\n\t\"./da.js\": \"DxQv\",\n\t\"./de\": \"tGlX\",\n\t\"./de-at\": \"s+uk\",\n\t\"./de-at.js\": \"s+uk\",\n\t\"./de-ch\": \"u3GI\",\n\t\"./de-ch.js\": \"u3GI\",\n\t\"./de.js\": \"tGlX\",\n\t\"./dv\": \"WYrj\",\n\t\"./dv.js\": \"WYrj\",\n\t\"./el\": \"jUeY\",\n\t\"./el.js\": \"jUeY\",\n\t\"./en-au\": \"Dmvi\",\n\t\"./en-au.js\": \"Dmvi\",\n\t\"./en-ca\": \"OIYi\",\n\t\"./en-ca.js\": \"OIYi\",\n\t\"./en-gb\": \"Oaa7\",\n\t\"./en-gb.js\": \"Oaa7\",\n\t\"./en-ie\": \"4dOw\",\n\t\"./en-ie.js\": \"4dOw\",\n\t\"./en-il\": \"czMo\",\n\t\"./en-il.js\": \"czMo\",\n\t\"./en-nz\": \"b1Dy\",\n\t\"./en-nz.js\": \"b1Dy\",\n\t\"./eo\": \"Zduo\",\n\t\"./eo.js\": \"Zduo\",\n\t\"./es\": \"iYuL\",\n\t\"./es-do\": \"CjzT\",\n\t\"./es-do.js\": \"CjzT\",\n\t\"./es-us\": \"Vclq\",\n\t\"./es-us.js\": \"Vclq\",\n\t\"./es.js\": \"iYuL\",\n\t\"./et\": \"7BjC\",\n\t\"./et.js\": \"7BjC\",\n\t\"./eu\": \"D/JM\",\n\t\"./eu.js\": \"D/JM\",\n\t\"./fa\": \"jfSC\",\n\t\"./fa.js\": \"jfSC\",\n\t\"./fi\": \"gekB\",\n\t\"./fi.js\": \"gekB\",\n\t\"./fo\": \"ByF4\",\n\t\"./fo.js\": \"ByF4\",\n\t\"./fr\": \"nyYc\",\n\t\"./fr-ca\": \"2fjn\",\n\t\"./fr-ca.js\": \"2fjn\",\n\t\"./fr-ch\": \"Dkky\",\n\t\"./fr-ch.js\": \"Dkky\",\n\t\"./fr.js\": \"nyYc\",\n\t\"./fy\": \"cRix\",\n\t\"./fy.js\": \"cRix\",\n\t\"./gd\": \"9rRi\",\n\t\"./gd.js\": \"9rRi\",\n\t\"./gl\": \"iEDd\",\n\t\"./gl.js\": \"iEDd\",\n\t\"./gom-latn\": \"DKr+\",\n\t\"./gom-latn.js\": \"DKr+\",\n\t\"./gu\": \"4MV3\",\n\t\"./gu.js\": \"4MV3\",\n\t\"./he\": \"x6pH\",\n\t\"./he.js\": \"x6pH\",\n\t\"./hi\": \"3E1r\",\n\t\"./hi.js\": \"3E1r\",\n\t\"./hr\": \"S6ln\",\n\t\"./hr.js\": \"S6ln\",\n\t\"./hu\": \"WxRl\",\n\t\"./hu.js\": \"WxRl\",\n\t\"./hy-am\": \"1rYy\",\n\t\"./hy-am.js\": \"1rYy\",\n\t\"./id\": \"UDhR\",\n\t\"./id.js\": \"UDhR\",\n\t\"./is\": \"BVg3\",\n\t\"./is.js\": \"BVg3\",\n\t\"./it\": \"bpih\",\n\t\"./it.js\": \"bpih\",\n\t\"./ja\": \"B55N\",\n\t\"./ja.js\": \"B55N\",\n\t\"./jv\": \"tUCv\",\n\t\"./jv.js\": \"tUCv\",\n\t\"./ka\": \"IBtZ\",\n\t\"./ka.js\": \"IBtZ\",\n\t\"./kk\": \"bXm7\",\n\t\"./kk.js\": \"bXm7\",\n\t\"./km\": \"6B0Y\",\n\t\"./km.js\": \"6B0Y\",\n\t\"./kn\": \"PpIw\",\n\t\"./kn.js\": \"PpIw\",\n\t\"./ko\": \"Ivi+\",\n\t\"./ko.js\": \"Ivi+\",\n\t\"./ky\": \"lgnt\",\n\t\"./ky.js\": \"lgnt\",\n\t\"./lb\": \"RAwQ\",\n\t\"./lb.js\": \"RAwQ\",\n\t\"./lo\": \"sp3z\",\n\t\"./lo.js\": \"sp3z\",\n\t\"./lt\": \"JvlW\",\n\t\"./lt.js\": \"JvlW\",\n\t\"./lv\": \"uXwI\",\n\t\"./lv.js\": \"uXwI\",\n\t\"./me\": \"KTz0\",\n\t\"./me.js\": \"KTz0\",\n\t\"./mi\": \"aIsn\",\n\t\"./mi.js\": \"aIsn\",\n\t\"./mk\": \"aQkU\",\n\t\"./mk.js\": \"aQkU\",\n\t\"./ml\": \"AvvY\",\n\t\"./ml.js\": \"AvvY\",\n\t\"./mn\": \"lYtQ\",\n\t\"./mn.js\": \"lYtQ\",\n\t\"./mr\": \"Ob0Z\",\n\t\"./mr.js\": \"Ob0Z\",\n\t\"./ms\": \"6+QB\",\n\t\"./ms-my\": \"ZAMP\",\n\t\"./ms-my.js\": \"ZAMP\",\n\t\"./ms.js\": \"6+QB\",\n\t\"./mt\": \"G0Uy\",\n\t\"./mt.js\": \"G0Uy\",\n\t\"./my\": \"honF\",\n\t\"./my.js\": \"honF\",\n\t\"./nb\": \"bOMt\",\n\t\"./nb.js\": \"bOMt\",\n\t\"./ne\": \"OjkT\",\n\t\"./ne.js\": \"OjkT\",\n\t\"./nl\": \"+s0g\",\n\t\"./nl-be\": \"2ykv\",\n\t\"./nl-be.js\": \"2ykv\",\n\t\"./nl.js\": \"+s0g\",\n\t\"./nn\": \"uEye\",\n\t\"./nn.js\": \"uEye\",\n\t\"./pa-in\": \"8/+R\",\n\t\"./pa-in.js\": \"8/+R\",\n\t\"./pl\": \"jVdC\",\n\t\"./pl.js\": \"jVdC\",\n\t\"./pt\": \"8mBD\",\n\t\"./pt-br\": \"0tRk\",\n\t\"./pt-br.js\": \"0tRk\",\n\t\"./pt.js\": \"8mBD\",\n\t\"./ro\": \"lyxo\",\n\t\"./ro.js\": \"lyxo\",\n\t\"./ru\": \"lXzo\",\n\t\"./ru.js\": \"lXzo\",\n\t\"./sd\": \"Z4QM\",\n\t\"./sd.js\": \"Z4QM\",\n\t\"./se\": \"//9w\",\n\t\"./se.js\": \"//9w\",\n\t\"./si\": \"7aV9\",\n\t\"./si.js\": \"7aV9\",\n\t\"./sk\": \"e+ae\",\n\t\"./sk.js\": \"e+ae\",\n\t\"./sl\": \"gVVK\",\n\t\"./sl.js\": \"gVVK\",\n\t\"./sq\": \"yPMs\",\n\t\"./sq.js\": \"yPMs\",\n\t\"./sr\": \"zx6S\",\n\t\"./sr-cyrl\": \"E+lV\",\n\t\"./sr-cyrl.js\": \"E+lV\",\n\t\"./sr.js\": \"zx6S\",\n\t\"./ss\": \"Ur1D\",\n\t\"./ss.js\": \"Ur1D\",\n\t\"./sv\": \"X709\",\n\t\"./sv.js\": \"X709\",\n\t\"./sw\": \"dNwA\",\n\t\"./sw.js\": \"dNwA\",\n\t\"./ta\": \"PeUW\",\n\t\"./ta.js\": \"PeUW\",\n\t\"./te\": \"XLvN\",\n\t\"./te.js\": \"XLvN\",\n\t\"./tet\": \"V2x9\",\n\t\"./tet.js\": \"V2x9\",\n\t\"./tg\": \"Oxv6\",\n\t\"./tg.js\": \"Oxv6\",\n\t\"./th\": \"EOgW\",\n\t\"./th.js\": \"EOgW\",\n\t\"./tl-ph\": \"Dzi0\",\n\t\"./tl-ph.js\": \"Dzi0\",\n\t\"./tlh\": \"z3Vd\",\n\t\"./tlh.js\": \"z3Vd\",\n\t\"./tr\": \"DoHr\",\n\t\"./tr.js\": \"DoHr\",\n\t\"./tzl\": \"z1FC\",\n\t\"./tzl.js\": \"z1FC\",\n\t\"./tzm\": \"wQk9\",\n\t\"./tzm-latn\": \"tT3J\",\n\t\"./tzm-latn.js\": \"tT3J\",\n\t\"./tzm.js\": \"wQk9\",\n\t\"./ug-cn\": \"YRex\",\n\t\"./ug-cn.js\": \"YRex\",\n\t\"./uk\": \"raLr\",\n\t\"./uk.js\": \"raLr\",\n\t\"./ur\": \"UpQW\",\n\t\"./ur.js\": \"UpQW\",\n\t\"./uz\": \"Loxo\",\n\t\"./uz-latn\": \"AQ68\",\n\t\"./uz-latn.js\": \"AQ68\",\n\t\"./uz.js\": \"Loxo\",\n\t\"./vi\": \"KSF8\",\n\t\"./vi.js\": \"KSF8\",\n\t\"./x-pseudo\": \"/X5v\",\n\t\"./x-pseudo.js\": \"/X5v\",\n\t\"./yo\": \"fzPg\",\n\t\"./yo.js\": \"fzPg\",\n\t\"./zh-cn\": \"XDpg\",\n\t\"./zh-cn.js\": \"XDpg\",\n\t\"./zh-hk\": \"SatO\",\n\t\"./zh-hk.js\": \"SatO\",\n\t\"./zh-tw\": \"kOpN\",\n\t\"./zh-tw.js\": \"kOpN\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) { // check for number or string\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn id;\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"RnhZ\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('div',{staticClass:\"nav-bar\",attrs:{\"id\":\"nav\"}},[_c('nav',{staticClass:\"navbar is-transparent is-warning\"},[_c('div',{staticClass:\"navbar-brand\"},[_c('router-link',{staticClass:\"navbar-item\",attrs:{\"to\":\"/\"}},[_c('img',{staticClass:\"logo\",attrs:{\"src\":\"https://p-u.popcdn.net/attachments/images/000/010/730/large/Pizza_Hackathon_Logo.png?1532094493\",\"alt\":\"Pizza Hackathon\",\"width\":\"50\",\"height\":\"50\"}})])],1),_c('div',{staticClass:\"navbar-menu\"},[_c('div',{staticClass:\"navbar-start\"},[_c('div',{staticClass:\"navbar-item\"},[_c('router-link',{staticClass:\"navbar-item link-item\",attrs:{\"to\":\"/\"}},[_vm._v(\"\\n Home\\n \")]),_c('router-link',{staticClass:\"navbar-item link-item\",attrs:{\"to\":\"/leader-board\"}},[_vm._v(\"\\n Leader board\\n \")]),_c('router-link',{staticClass:\"navbar-item link-item\",attrs:{\"to\":\"/livefeed\"}},[_vm._v(\"\\n Live feed\\n \")]),_c('router-link',{staticClass:\"navbar-item link-item\",attrs:{\"to\":\"/github\"}},[_vm._v(\"\\n Github\\n \")])],1)]),_c('div',{staticClass:\"navbar-end\"},[_c('div',{staticClass:\"navbar-item\"},[_vm._v(\"\\n \"+_vm._s(_vm.playerInfo)+\"\\n \")]),_c('div',{staticClass:\"navbar-item\"},[_c('a',{staticClass:\"bd-tw-button button is-info\",attrs:{\"href\":((_vm.$store.state.system.etherscanPrefix) + \"/token/\" + (_vm.$store.state.system.pizzaCoinAddr) + \"?a=\" + (_vm.$pizzaCoin.account)),\"target\":\"_blank\"}},[_vm._v(\" You have \"+_vm._s(_vm.tokenBalance)+\" PZC\")])]),_c('div',{staticClass:\"navbar-item\"},[_c('div',{staticClass:\"field is-grouped\"},[(_vm.isStaffLoggedIn && _vm.stateContract === 'Registration')?_c('p',{staticClass:\"control\"},[_c('a',{staticClass:\"bd-tw-button button\",on:{\"click\":function($event){_vm.lockRegistration()}}},[_vm._v(\"\\n Freeze & Transfer\\n \")])]):_vm._e(),_c('p',{staticClass:\"control\"},[(_vm.isStaffLoggedIn && _vm.stateContract === 'Registration Locked')?_c('a',{staticClass:\"bd-tw-button button\",on:{\"click\":function($event){_vm.startVote()}}},[_vm._v(\"\\n Start Vote\\n \")]):_vm._e(),(_vm.isStaffLoggedIn && _vm.stateContract === 'Voting')?_c('a',{staticClass:\"bd-tw-button button\",on:{\"click\":function($event){_vm.stopVote()}}},[_vm._v(\"\\n Stop Vote\\n \")]):_vm._e()])])])])])])]),_c('section',[(_vm.stateContract === 'Registration' && !(_vm.isStaffLoggedIn || _vm.isPlayerLoggedIn) && this.$route.name !== 'leader-board')?_c('span',{staticClass:\"icon\",on:{\"click\":function($event){_vm.isComponentModalActive = true}}},[_c('i',{staticClass:\"fas fa-plus-circle fa fa-3x\"})]):_vm._e(),_c('b-modal',{attrs:{\"active\":_vm.isComponentModalActive,\"has-modal-card\":\"\"},on:{\"update:active\":function($event){_vm.isComponentModalActive=$event}}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();_vm.onCreateTeam()}}},[_c('div',{staticClass:\"modal-card\",staticStyle:{\"width\":\"auto\"}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_vm._v(\"Place your name\")])]),_c('section',{staticClass:\"modal-card-body\"},[_c('b-field',{attrs:{\"label\":\"User name\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"Your name\",\"required\":\"\"},model:{value:(_vm.creatorName),callback:function ($$v) {_vm.creatorName=$$v},expression:\"creatorName\"}})],1),_c('b-field',{attrs:{\"label\":\"teamname\"}},[_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"Your team name\",\"required\":\"\"},model:{value:(_vm.teamname),callback:function ($$v) {_vm.teamname=$$v},expression:\"teamname\"}})],1)],1),_c('footer',{staticClass:\"modal-card-foot\"},[_c('button',{staticClass:\"button\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.onCancel()}}},[_vm._v(\"Cancel\")]),_c('button',{staticClass:\"button is-primary\"},[_vm._v(\"Submit\")])])])])])],1),_c('router-view',{staticClass:\"main\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div id=\"app\" class=\"\">\r\n <div id=\"nav\" class=\"nav-bar\">\r\n <nav class=\"navbar is-transparent is-warning\">\r\n <div class=\"navbar-brand\">\r\n <router-link to=\"/\" class=\"navbar-item\">\r\n <img class=\"logo\" src=\"https://p-u.popcdn.net/attachments/images/000/010/730/large/Pizza_Hackathon_Logo.png?1532094493\" alt=\"Pizza Hackathon\" width=\"50\" height=\"50\">\r\n </router-link>\r\n </div>\r\n\r\n <div class=\"navbar-menu\">\r\n <div class=\"navbar-start\">\r\n <div class=\"navbar-item\">\r\n <router-link to=\"/\" class=\"navbar-item link-item\">\r\n Home\r\n </router-link>\r\n <router-link to=\"/leader-board\" class=\"navbar-item link-item\">\r\n Leader board\r\n </router-link>\r\n <router-link to=\"/livefeed\" class=\"navbar-item link-item\">\r\n Live feed\r\n </router-link>\r\n <router-link to=\"/github\" class=\"navbar-item link-item\">\r\n Github\r\n </router-link>\r\n </div>\r\n </div>\r\n <div class=\"navbar-end\">\r\n <div class=\"navbar-item\">\r\n {{ playerInfo }}\r\n </div>\r\n <div class=\"navbar-item\">\r\n <a :href=\"`${$store.state.system.etherscanPrefix}/token/${$store.state.system.pizzaCoinAddr}?a=${$pizzaCoin.account}`\" class=\"bd-tw-button button is-info\" target=\"_blank\"> You have {{ tokenBalance }} PZC</a>\r\n </div>\r\n <div class=\"navbar-item\">\r\n <div class=\"field is-grouped\">\r\n <p class=\"control\" v-if=\"isStaffLoggedIn && stateContract === 'Registration'\">\r\n <a class=\"bd-tw-button button\" @click=\"lockRegistration()\">\r\n Freeze & Transfer\r\n </a>\r\n </p>\r\n <p class=\"control\">\r\n <a class=\"bd-tw-button button\" @click=\"startVote()\" v-if=\"isStaffLoggedIn && stateContract === 'Registration Locked'\">\r\n Start Vote\r\n </a>\r\n <a class=\"bd-tw-button button\" @click=\"stopVote()\" v-if=\"isStaffLoggedIn && stateContract === 'Voting'\">\r\n Stop Vote\r\n </a>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </nav>\r\n </div>\r\n <section>\r\n <span\r\n class=\"icon\"\r\n @click=\"isComponentModalActive = true\"\r\n v-if=\"stateContract === 'Registration' && !(isStaffLoggedIn || isPlayerLoggedIn) && this.$route.name !== 'leader-board'\">\r\n <i class=\"fas fa-plus-circle fa fa-3x\"></i>\r\n </span>\r\n\r\n <b-modal :active.sync=\"isComponentModalActive\" has-modal-card>\r\n <!-- <modal-form v-bind=\"teamname\"> -->\r\n <form @submit.prevent=\"onCreateTeam()\">\r\n <div class=\"modal-card\" style=\"width: auto\">\r\n <header class=\"modal-card-head\">\r\n <p class=\"modal-card-title\">Place your name</p>\r\n </header>\r\n <section class=\"modal-card-body\">\r\n <b-field label=\"User name\">\r\n <b-input\r\n type=\"text\"\r\n v-model=\"creatorName\"\r\n placeholder=\"Your name\"\r\n required>\r\n </b-input>\r\n </b-field>\r\n <b-field label=\"teamname\">\r\n <b-input\r\n type=\"text\"\r\n v-model=\"teamname\"\r\n placeholder=\"Your team name\"\r\n required>\r\n </b-input>\r\n </b-field>\r\n </section>\r\n <footer class=\"modal-card-foot\">\r\n <button class=\"button\" type=\"button\" @click=\"onCancel()\">Cancel</button>\r\n <button class=\"button is-primary\">Submit</button>\r\n </footer>\r\n </div>\r\n </form>\r\n <!-- </modal-form> -->\r\n </b-modal>\r\n </section>\r\n <router-view class=\"main\"/>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mapActions, mapState } from 'vuex'\r\n\r\nexport default {\r\n data: () => ({\r\n isComponentModalActive: false,\r\n creatorName: '',\r\n teamname: '',\r\n account: null\r\n // playerInfo: ''\r\n }),\r\n async mounted () {\r\n console.log('check route --> ' + this.$route.name)\r\n try {\r\n let state = await this.$pizzaCoin.getContractState(await this.$pizzaCoin.account)\r\n console.log('check state --> ' + state)\r\n this.$store.dispatch('staff/getContractState', state)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n computed: {\r\n ...mapState('auth', ['isStaffLoggedIn', 'tokenBalance', 'isPlayerLoggedIn', 'playerInfo']),\r\n ...mapState('staff', ['stateContract']),\r\n ...mapState('team', ['teamCount'])\r\n },\r\n methods: {\r\n ...mapActions('auth', ['isStaffLogin']),\r\n ...mapActions('team', ['creatTeam']),\r\n async onCreateTeam () {\r\n try {\r\n this.isComponentModalActive = false\r\n await this.$pizzaCoin.createTeam(this.creatorName, this.teamname)\r\n this.$store.dispatch('team/getTeamsProfile', await this.$pizzaCoin.getTeamsProfile())\r\n this.creatorName = ''\r\n this.teamname = ''\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n onCancel () {\r\n this.teamname = ''\r\n this.isComponentModalActive = false\r\n },\r\n async startVote () {\r\n console.log('start vote' + await this.$pizzaCoin.account)\r\n try {\r\n await this.$pizzaCoin.startVoting(await this.$pizzaCoin.account)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n async isPlayer () {\r\n try {\r\n return await this.$pizzaCoin.isPlayer(this.$pizzaCoin.account)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n async stopVote () {\r\n console.log('stop vote' + this.$pizzaCoin.account)\r\n try {\r\n await this.$pizzaCoin.stopVoting(await this.$pizzaCoin.account)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n async lockRegistration () {\r\n try {\r\n await this.$pizzaCoin.lockRegistration(await this.$pizzaCoin.account)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n#app {\r\n position: relative;\r\n}\r\n.main {\r\n margin-top: 2ex;\r\n}\r\n.icon {\r\n color: orangered;\r\n position: fixed;\r\n top: 900px;\r\n right: 30px;\r\n box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);\r\n}\r\n.icon:hover {\r\n opacity: 0.8;\r\n cursor: pointer;\r\n}\r\n.navbar-brand {\r\n padding-left: 2em;\r\n}\r\n</style>\r\n<style scoped>\r\n.nav-bar {\r\n box-shadow:0 0 10px #333 !important;\r\n padding: 0px;\r\n}\r\n.logo {\r\n max-height: 3.75em;\r\n}\r\n.router-link-exact-active {\r\n font-weight: bold;\r\n color: blue;\r\n text-decoration-style: solid;\r\n}\r\n.link-item {\r\n font-size: 1.1em;\r\n margin-left: 3px;\r\n margin-right: 3px;\r\n}\r\n</style>\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=c0f47384&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./App.vue?vue&type=style&index=1&id=c0f47384&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0f47384\",\n null\n \n)\n\nexport default component.exports","\r\nconst state = {\r\n user: {},\r\n isStaffLoggedIn: false,\r\n isPlayerLoggedIn: false,\r\n isLoading: 0,\r\n userAddress: '',\r\n userName: '',\r\n tokenBalance: 0,\r\n playerInfo: 'You haven\\'t registered'\r\n}\r\n\r\nconst mutations = {\r\n setLoading (state, value) {\r\n state.isLoading += value\r\n },\r\n isStaffLogin (state, payload) {\r\n console.log(` payload >> ${payload}`)\r\n state.isStaffLoggedIn = true\r\n state.isPlayerLoggedIn = false\r\n },\r\n isPlayerLogin (state, payload) {\r\n console.log(` payload >> ${payload}`)\r\n state.isStaffLoggedIn = false\r\n state.isPlayerLoggedIn = true\r\n },\r\n getTokenBalance (state, {isPlayer, tokenBalance}) {\r\n console.log(` isPlayer >> ${isPlayer}`)\r\n if (isPlayer || state.isStaffLoggedIn) {\r\n state.tokenBalance = tokenBalance\r\n } else {\r\n state.tokenBalance = 0\r\n }\r\n },\r\n playerInfo (state, {role, name}) {\r\n console.log(role + 'playerInfo' + name)\r\n state.playerInfo = role + ' : ' + name\r\n }\r\n}\r\n\r\nconst actions = {\r\n async isStaffLogin ({commit}, payload) {\r\n console.log(`actions isStaffLogin >> ${payload}`)\r\n commit('isStaffLogin', payload)\r\n },\r\n async isPlayerLogin ({commit}, payload) {\r\n console.log(`actions isPlayerLogin >> ${payload}`)\r\n commit('isPlayerLogin', payload)\r\n },\r\n async setIsLoading ({ commit }, value) {\r\n commit('setLoading', value)\r\n },\r\n getTokenBalance ({commit}, payload) {\r\n console.log(` getTokenBalance >> ${payload}`)\r\n commit('getTokenBalance', payload)\r\n },\r\n playerInfo ({commit}, payload) {\r\n commit('playerInfo', payload)\r\n }\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n actions,\r\n mutations\r\n}\r\n","// import API from '@/lib/API'\r\n\r\nconst state = {\r\n teams: [],\r\n teamCount: 0\r\n}\r\n\r\nconst actions = {\r\n getTeamsProfile (context, teams) {\r\n console.log('action --> getTeamsProfile')\r\n context.commit('getTeamsProfile', teams)\r\n },\r\n creatTeam (context, teamname) {\r\n context.commit('creatTeam', teamname)\r\n },\r\n addMember (context, memberName) {\r\n context.commit('addMember', memberName)\r\n },\r\n removePlayer (context, player) {\r\n console.log(`removePlayer --> ${player.address}`)\r\n context.commit('removePlayer', player)\r\n },\r\n voteTeam (context, teamname) {\r\n console.log('voteTeam --> ' + teamname)\r\n },\r\n getTeamCount (context, teamCount) {\r\n context.commit('setTeamCount', teamCount)\r\n }\r\n}\r\n\r\n// ///////////////// //\r\n// ---- MUTATION ---- //\r\n// ///////////////// //\r\n\r\nconst mutations = {\r\n getTeamsProfile (state, teams) {\r\n /* eslint-disable */\r\n console.log('mutations --> getTeamsProfile' + teams)\r\n state.teams = teams;\r\n /* eslint-enable */\r\n },\r\n voteTeam (state, teamname) {\r\n\r\n },\r\n addScore (state, team) {\r\n // console.log(state.proposals.indexOf(members.groupId))\r\n console.log(team.groupId)\r\n // const score = state.proposals.filter(proposal => proposal.groupId === 'pzc1')\r\n state.teams.map((member, index) => {\r\n if (member.groupId === team.groupId) {\r\n console.log(state.teams[index].score++)\r\n }\r\n })\r\n\r\n // console.log(state.proposals.indexOf(score))\r\n\r\n // state.members.score++\r\n },\r\n removePlayer (state, team) {\r\n console.log(team.address)\r\n },\r\n creatTeam (state, teamname) {\r\n console.log(teamname)\r\n console.log(state.teams.push(\r\n {\r\n 'groupId': teamname,\r\n 'groupName': teamname,\r\n 'score': 3,\r\n 'detail': [\r\n ]\r\n }\r\n ))\r\n },\r\n addMember (state, {memberName, teamMebers}) {\r\n console.log(teamMebers.groupName)\r\n state.teams.map((member, index) => {\r\n if (member.groupId === teamMebers.groupId) {\r\n console.log(state.teams[index].detail.push({\r\n name: memberName,\r\n address: memberName\r\n }))\r\n }\r\n })\r\n },\r\n setTeamCount (state, teamCount) {\r\n state.teamCount = teamCount\r\n }\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n actions,\r\n mutations\r\n}\r\n","// import API from '@/lib/API'\r\n\r\nconst state = {\r\n stateContract: ''\r\n}\r\n\r\nconst actions = {\r\n getContractState (context, stateContract) {\r\n console.log('action --> getContractState')\r\n context.commit('getContractState', stateContract)\r\n }\r\n}\r\n\r\n// ///////////////// //\r\n// ---- MUTATION ---- //\r\n// ///////////////// //\r\n\r\nconst mutations = {\r\n getContractState (state, stateContract) {\r\n /* eslint-disable */\r\n console.log('mutations --> getContractState')\r\n state.stateContract = stateContract;\r\n /* eslint-enable */\r\n }\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n actions,\r\n mutations\r\n}\r\n","const state = {\r\n network: 'kovan',\r\n etherscanPrefix: 'https://kovan.etherscan.io',\r\n ethereumNode: 'wss://kovan.infura.io/_ws', // Only websocker endpoint\r\n // pizzaCoinAddr: '0xfddd77bec2e53d723e749bf908e4066f7be0873a',\r\n // pizzaCoinStaffAddr: '0xe3001d83e9EB2C086ac48750C6E13d83035347d0',\r\n // pizzaCoinPlayerAddr: '0x6336294bF6b6216EabEe952f336Fd44AAD3c0885',\r\n // pizzaCoinTeamAddr: '0xf7802f5CC14CBF2D9D919b68180a56595F77b4F6'\r\n pizzaCoinAddr: '0x951f89a580dea509a5e4e1a7fa8b5773b96cd47c',\r\n pizzaCoinStaffAddr: '0xd3Ff33F99BFaEc30De7340b4c1d9a8E2aC217140',\r\n pizzaCoinPlayerAddr: '0xF84372B67Aa3c361d72D0aBc477A6b1191c734C1',\r\n pizzaCoinTeamAddr: '0x884eF59566D920FE71a63F44060324bBCed11DC7'\r\n}\r\n\r\n// Ropsten\r\n// const state = {\r\n// network: 'ropsten',\r\n// etherscanPrefix: 'https://ropsten.etherscan.io',\r\n// ethereumNode: 'wss://ropsten.infura.io/_ws', // Only websocker endpoint\r\n// pizzaCoinAddr: '0x2f1d21D4667BA3744bf031d6cd6Cef2109cCc090',\r\n// pizzaCoinStaffAddr: '0x0E87749faD6fBAE09C3A01D4B0FF3b5128fD5675',\r\n// pizzaCoinPlayerAddr: '0x12998F6E32D3f76D856c92eD88428E5A7630aC29',\r\n// pizzaCoinTeamAddr: '0xc336A6537b820bF530BfcdECF5Efb6c33bE49c77'\r\n// }\r\n// Rinkeby\r\n// this.pizzaCoinAddr = '0x5aa5bf8f1a386f6f3cc564548890ee9a7382718d'\r\n// this.pizzaCoinStaffAddr = '0xb25eE5C4d11F9D934f2642d30c99319708e615D4'\r\n// this.pizzaCoinPlayerAddr = '0xD1571785b4309F55294EF7593276B7B5505F103A'\r\n// this.pizzaCoinTeamAddr = '0x164d120357CAc5Cea08c201D719c7D48b2054b8e'\r\n\r\n// Ropsten\r\n// this.pizzaCoinAddr = '0x2f1d21D4667BA3744bf031d6cd6Cef2109cCc090'\r\n// this.pizzaCoinStaffAddr = '0x0E87749faD6fBAE09C3A01D4B0FF3b5128fD5675'\r\n// this.pizzaCoinPlayerAddr = '0x12998F6E32D3f76D856c92eD88428E5A7630aC29'\r\n// this.pizzaCoinTeamAddr = '0xc336A6537b820bF530BfcdECF5Efb6c33bE49c77'\r\n\r\nexport default {\r\n namespaced: true,\r\n state\r\n}\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\n// import API from '@/lib/API'\r\nimport auth from '@/store/auth'\r\nimport team from './team'\r\nimport staff from './staff'\r\nimport system from './system'\r\n\r\nVue.use(Vuex)\r\n\r\nexport default new Vuex.Store({\r\n modules: {\r\n auth,\r\n team,\r\n staff,\r\n system\r\n },\r\n state: {\r\n // members: [],\r\n teamname: ''\r\n }\r\n})\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\"},[_c('span',{staticStyle:{\"text-align\":\"center\",\"justify-content\":\"center\",\"width\":\"100%\",\"display\":\"block\",\"font-size\":\"4em\",\"margin-bottom\":\"33px\",\"margin-top\":\"-27px\"}},[_vm._v(\"\\n Teams\\n \")]),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"is-mobile\"},[_c('div',[_c('div',{staticClass:\"columns is-multiline\"},_vm._l((_vm.dataTeam),function(team){return _c('TeamCard',{key:team.name,attrs:{\"team\":team,\"score\":team.score}})}))])]),_vm._v(\"\\n\\n Team count \"+_vm._s(_vm.teamCount)+\"\\n \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"column is-4\"},[(_vm.stateContract === 'Voting')?_c('a',{staticClass:\"badge1\",attrs:{\"href\":((_vm.$store.state.system.etherscanPrefix) + \"/address/\" + (_vm.$store.state.system.pizzaCoinAddr) + \"#events\"),\"data-badge\":_vm.score,\"target\":\"_blank\"}}):_vm._e(),_c('div',{staticClass:\"box content shadow\"},[_c('article',{staticClass:\"post\"},[_c('h2',{},[_vm._v(\"\\n \"+_vm._s(_vm.team.name)+\"\\n \")]),_c('hr'),_c('div',{},[_c('TeamProfile',{attrs:{\"team\":_vm.dataTeam}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_vm._l((_vm.dataTeam),function(member){return _c('div',{key:member.address,staticClass:\"is-mobile\"},[_c('div',{staticClass:\"media content-margin\"},[_c('div',{staticClass:\"media-left\"},[_c('a',{attrs:{\"href\":((_vm.$store.state.system.etherscanPrefix) + \"/address/\" + (member.address)),\"target\":\"_blank\"}},[_c('p',{staticClass:\"image is-48x48\"},[_c('img',{staticClass:\"img-player\",attrs:{\"src\":_vm.playerAvatarImage(member.address),\"alt\":\"\"}})])])]),_c('div',{staticClass:\"media-content\"},[_c('div',[_c('div',{staticClass:\"playerName\"},[_c('h4',[_vm._v(_vm._s(member.name))])]),_c('h6',{staticClass:\"userAdress\"},[_vm._v(_vm._s(member.address))])])]),(_vm.isStaffLoggedIn && _vm.stateContract === 'Registration')?_c('div',{staticClass:\"media-right\"},[_c('div',[_c('button',{staticClass:\"button is-danger\",on:{\"click\":function($event){_vm.removePlayer(_vm.team, member)}}},[_vm._v(\"\\n Kick\\n \")])])]):_vm._e()])])}),(_vm.stateContract === 'Voting' && parseInt(_vm.tokenBalance) > 0 && _vm.canVote)?_c('button',{staticClass:\"button is-primary is-fullwidth\",on:{\"click\":function($event){_vm.onVote(_vm.team)}}},[_vm._v(\"\\n VOTE\\n \")]):_vm._e(),(!_vm.isStaffLoggedIn && _vm.stateContract === 'Registration')?_c('div',{staticClass:\"join\"},[(_vm.isJoined && !_vm.isPlayerLoggedIn)?_c('button',{staticClass:\"button is-success is-fullwidth\",attrs:{\"disabled\":_vm.dataTeam.length > 4},on:{\"click\":function($event){_vm.onJoin()}}},[_vm._v(\"\\n Join\\n \")]):_vm._e(),_c('form',{on:{\"submit\":function($event){$event.preventDefault();_vm.onAddPlayer(_vm.team)}}},[(!_vm.isJoined)?_c('b-input',{attrs:{\"type\":\"text\",\"placeholder\":\"Your name\",\"required\":\"\"},model:{value:(_vm.playerName),callback:function ($$v) {_vm.playerName=$$v},expression:\"playerName\"}}):_vm._e()],1),(!_vm.isJoined)?_c('button',{staticClass:\"button is-primary is-fullwidth join\",on:{\"click\":function($event){_vm.onAddPlayer(_vm.team)}}},[_vm._v(\"\\n Submit\\n \")]):_vm._e()]):_vm._e(),(_vm.dataTeam.length === 0 && _vm.isStaffLoggedIn && _vm.stateContract === 'Registration')?_c('button',{staticClass:\"button is-danger is-fullwidth join\",on:{\"click\":function($event){_vm.removeTeam(_vm.team.name)}}},[_vm._v(\"\\n Kick team\\n \")]):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"\">\r\n <div\r\n class=\"is-mobile\"\r\n v-for=\"member in dataTeam\"\r\n :key=\"member.address\"\r\n >\r\n <div class=\"media content-margin\">\r\n <div class=\"media-left\">\r\n <a :href=\"`${$store.state.system.etherscanPrefix}/address/${member.address}`\" target=\"_blank\">\r\n <p class=\"image is-48x48\">\r\n <img :src=\"playerAvatarImage(member.address)\" alt=\"\" class=\"img-player\">\r\n </p>\r\n </a>\r\n </div>\r\n <div class=\"media-content\">\r\n <div>\r\n <div class=\"playerName\">\r\n <h4>{{ member.name }}</h4>\r\n </div>\r\n <h6 class=\"userAdress\">{{ member.address }}</h6>\r\n </div>\r\n </div>\r\n <div\r\n class=\"media-right\"\r\n v-if=\"isStaffLoggedIn && stateContract === 'Registration'\"\r\n >\r\n <div>\r\n <button\r\n class=\"button is-danger\"\r\n @click=\"removePlayer(team, member)\"\r\n >\r\n Kick\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <button\r\n class=\"button is-primary is-fullwidth\"\r\n @click=\"onVote(team)\"\r\n v-if=\"stateContract === 'Voting' && parseInt(tokenBalance) > 0 && canVote\"\r\n >\r\n VOTE\r\n </button>\r\n <div v-if=\"!isStaffLoggedIn && stateContract === 'Registration'\" class=\"join\">\r\n <button\r\n class=\"button is-success is-fullwidth\"\r\n @click=\"onJoin()\"\r\n v-if=\"isJoined && !isPlayerLoggedIn\"\r\n :disabled=\"dataTeam.length > 4\"\r\n >\r\n Join\r\n </button>\r\n <form\r\n @submit.prevent=\"onAddPlayer(team)\"\r\n >\r\n <b-input\r\n v-if=\"!isJoined\"\r\n type=\"text\"\r\n v-model=\"playerName\"\r\n placeholder=\"Your name\"\r\n required>\r\n </b-input>\r\n </form>\r\n <button\r\n class=\"button is-primary is-fullwidth join\"\r\n @click=\"onAddPlayer(team)\"\r\n v-if=\"!isJoined\"\r\n >\r\n Submit\r\n </button>\r\n </div>\r\n <button\r\n class=\"button is-danger is-fullwidth join\"\r\n @click=\"removeTeam(team.name)\"\r\n v-if=\"dataTeam.length === 0 && isStaffLoggedIn && stateContract === 'Registration'\"\r\n >\r\n Kick team\r\n </button>\r\n </div>\r\n</template>\r\n<script>\r\nimport { mapMutations, mapState, mapActions } from 'vuex'\r\nimport Identicon from 'identicon.js'\r\n\r\nexport default {\r\n data: () => ({\r\n isJoined: true,\r\n playerName: '',\r\n pizzaCoin: null,\r\n pizzaCoinSymbol: '',\r\n userAddress: '',\r\n dataTeam: null,\r\n canVote: null\r\n }),\r\n async created () {\r\n\r\n },\r\n async mounted () {\r\n await this.loadPizzaCoinSymbol()\r\n // // this.dataTeam = await this.team\r\n // console.log('props'+ this.team.name)\r\n // let {teams, canVote} = await this.$pizzaCoin.getPlayersProfile(this.team.name)\r\n // this.dataTeam = teams\r\n // console.log('canVote' + canVote)\r\n if (this.stateContract !== 'Registration') {\r\n let {teams, canVote} = await this.$pizzaCoin.getPlayersProfile(this.team.name)\r\n this.dataTeam = teams\r\n this.canVote = canVote\r\n console.log('test' + this.dataTeam.length)\r\n }\r\n console.log('stateContract' + this.stateContract)\r\n while (this.stateContract === 'Registration') {\r\n let {teams} = await this.$pizzaCoin.getPlayersProfile(this.team.name)\r\n this.dataTeam = teams\r\n }\r\n },\r\n props: ['team'],\r\n computed: {\r\n ...mapState('auth', ['user', 'isStaffLoggedIn', 'tokenBalance', 'isPlayerLoggedIn']),\r\n ...mapState('staff', ['stateContract'])\r\n },\r\n methods: {\r\n ...mapActions('team', ['addMember']),\r\n ...mapMutations('team', ['addScore']),\r\n async onVote ({name}) {\r\n console.log('onVote --> ' + name)\r\n if (this.tokenBalance < 1) {\r\n alert('Your toker is not enough.')\r\n } else {\r\n try {\r\n const voteTeamData = {\r\n voterAddr: this.userAddress,\r\n teamName: name,\r\n votingWeight: 1\r\n }\r\n await this.$pizzaCoin.voteTeam(voteTeamData)\r\n this.$store.dispatch('team/getTeamsProfile', await this.$pizzaCoin.getTeamsProfile())\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n },\r\n onJoin () {\r\n this.playerName = ''\r\n this.isJoined = false\r\n },\r\n async onAddPlayer ({name}) {\r\n this.isJoined = true\r\n console.log('onAddPlayer --> ' + await name)\r\n console.log('playerName --> ' + this.playerName)\r\n const registerPlayerData = {\r\n playerAddr: this.userAddress,\r\n playerName: this.playerName,\r\n teamName: name\r\n }\r\n try {\r\n await this.$pizzaCoin.registerPlayer(registerPlayerData)\r\n this.isJoined = true\r\n this.$store.dispatch('team/getTeamsProfile', await this.$pizzaCoin.getTeamsProfile())\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n async loadPizzaCoinSymbol () {\r\n try {\r\n this.pizzaCoinSymbol = await this.$pizzaCoin.main.methods.symbol().call()\r\n this.userAddress = await this.$pizzaCoin.account\r\n } catch (error) {\r\n console.log(error)\r\n }\r\n },\r\n async removePlayer ({name}, {address}) {\r\n console.log(`removePlayer --> ${address} in team ${name}`)\r\n const removePlayerData = {\r\n kickerAddr: this.userAddress,\r\n playerAddr: address,\r\n teamName: name\r\n }\r\n try {\r\n const res = await this.$pizzaCoin.kickPlayer(removePlayerData)\r\n console.log(`After delete ->> ${res}`)\r\n this.$store.dispatch('team/getTeamsProfile', await this.$pizzaCoin.getTeamsProfile())\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n async removeTeam (teamName) {\r\n // this.userAddress\r\n console.log(`teamName: ${teamName}`)\r\n try {\r\n const res = await this.$pizzaCoin.kickTeam(teamName)\r\n console.log(`After delete ->> ${res}`)\r\n this.$store.dispatch('team/getTeamsProfile', await this.$pizzaCoin.getTeamsProfile())\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n },\r\n playerAvatarImage (address) {\r\n let data = new Identicon(address, 120).toString()\r\n return `data:image/png;base64,${data}`\r\n },\r\n loadTeam () {\r\n console.log('loadTeam')\r\n }\r\n }\r\n}\r\n</script>\r\n<style>\r\n.main {\r\n margin-top: 5em;\r\n font-size: 10px;\r\n}\r\n</style>\r\n<style scoped>\r\n.content-margin {\r\n margin-top: 5px;\r\n}\r\n.player {\r\n display: inline-block;\r\n margin: 5px 0 0 10px;\r\n flex-grow: 1;\r\n height: 100px;\r\n}\r\n.playerName {\r\n font-size: 12px;\r\n margin-top: 10px;\r\n}\r\n.join {\r\n margin-top: 10px;\r\n}\r\n.img-player {\r\n border-radius: 50%;\r\n}\r\n</style>\r\n<style scoped>\r\n.button {\r\n border-radius: 9999px !important;\r\n}\r\n</style>\r\n\r\n<style scped>\r\n@media only screen and (min-width:120px){\r\n .userAdress {\r\n font-size:20px;\r\n word-break: break-all;\r\n }\r\n}\r\n@media only screen and (min-width:320px){\r\n .userAdress {\r\n font-size:20px;\r\n word-break: break-all;\r\n }\r\n}\r\n@media only screen and (min-width:480px){\r\n .userAdress {\r\n font-size:20px;\r\n word-break: break-all;\r\n }\r\n}\r\n@media only screen and (min-width:769px){\r\n .userAdress {\r\n font-size:20px;\r\n word-break: break-all;\r\n }\r\n}\r\n@media only screen and (min-width:960px){\r\n .userAdress {\r\n font-size:20px;\r\n word-break: break-all;\r\n }\r\n}\r\n@media only screen and (min-width:1024px){\r\n .userAdress {\r\n font-size:20px;\r\n word-break: break-all;\r\n }\r\n}\r\n@media only screen and (min-width:1279px){\r\n .userAdress {\r\n font-size:20px;\r\n }\r\n}\r\n@media only screen and (min-width:1472px){\r\n.userAdress {\r\n font-size:20px;\r\n }\r\n}\r\n@media only screen and (min-width:2000px){\r\n.userAdress {\r\n font-size:20px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamProfile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TeamProfile.vue?vue&type=template&id=b054961e&scoped=true&\"\nimport script from \"./TeamProfile.vue?vue&type=script&lang=js&\"\nexport * from \"./TeamProfile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TeamProfile.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./TeamProfile.vue?vue&type=style&index=1&id=b054961e&scoped=true&lang=css&\"\nimport style2 from \"./TeamProfile.vue?vue&type=style&index=2&id=b054961e&scoped=true&lang=css&\"\nimport style3 from \"./TeamProfile.vue?vue&type=style&index=3&scped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b054961e\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"column is-4\">\r\n <a :href=\"`${$store.state.system.etherscanPrefix}/address/${$store.state.system.pizzaCoinAddr}#events`\" class=\"badge1\" :data-badge=\"score\" target=\"_blank\" v-if=\"stateContract === 'Voting'\"></a>\r\n <div class=\"box content shadow\">\r\n <article class=\"post\">\r\n <h2 class=\"\">\r\n {{team.name}}\r\n </h2>\r\n <hr>\r\n <div class=\"\">\r\n <TeamProfile\r\n :team=\"dataTeam\"\r\n />\r\n </div>\r\n </article>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport TeamProfile from '@/components/TeamProfile.vue'\r\nimport { mapState } from 'vuex'\r\n\r\nexport default {\r\n name: 'TeamProfileCard',\r\n computed: {\r\n ...mapState('staff', ['stateContract'])\r\n\r\n },\r\n props: ['team', 'score'],\r\n data: () => ({\r\n dataTeam: null\r\n }),\r\n components: {\r\n TeamProfile\r\n },\r\n async mounted () {\r\n this.dataTeam = this.team\r\n console.log(this.dataTeam.name + 'props' + this.team.name)\r\n }\r\n}\r\n</script>\r\n\r\n<style scped>\r\n.content-body {\r\n margin-top: 0px;\r\n}\r\n.badge1 {\r\n position:relative;\r\n}\r\n.badge1[data-badge]:after {\r\n content:attr(data-badge);\r\n position:absolute;\r\n font-size:1.5em;\r\n background:#167df0;\r\n color:white;\r\n width:25px;height:25px;\r\n text-align:center;\r\n line-height:18px;\r\n border-radius:50%;\r\n box-shadow:0 0 10px #333;\r\n font-size: 2em;\r\n width: 40px;\r\n height: 38px;\r\n justify-content: center;\r\n vertical-align: middle;\r\n padding-top: 9px;\r\n}\r\n@media only screen and (min-width:120px){\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-320px;\r\n }\r\n}\r\n@media only screen and (min-width:320px){\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-320px;\r\n }\r\n}\r\n@media only screen and (min-width:480px){\r\n font-size: 10em;\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-770px;\r\n }\r\n}\r\n@media only screen and (min-width:769px){\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-250px;\r\n }\r\n}\r\n@media only screen and (min-width:960px){\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-320px;\r\n }\r\n}\r\n@media only screen and (min-width:1024px){\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-320px;\r\n }\r\n}\r\n@media only screen and (min-width:1279px){\r\n .badge1[data-badge]:after {\r\n top:-15px;\r\n right:-390px;\r\n }\r\n}\r\n@media only screen and (min-width:1472px){\r\n.badge1[data-badge]:after {\r\n top:-15px;\r\n right:-450px;\r\n }\r\n}\r\n@media only screen and (min-width:2000px){\r\n.badge1[data-badge]:after {\r\n top:-15px;\r\n right:-450px;\r\n}\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TeamCard.vue?vue&type=template&id=19df559b&\"\nimport script from \"./TeamCard.vue?vue&type=script&lang=js&\"\nexport * from \"./TeamCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TeamCard.vue?vue&type=style&index=0&scped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"home\">\r\n <span style=\"\r\n text-align: center;\r\n justify-content: center;\r\n width: 100%;\r\n display: block;\r\n font-size: 4em;\r\n margin-bottom: 33px;\r\n margin-top: -27px;\r\n \">\r\n Teams\r\n </span>\r\n <div class=\"container\">\r\n <div class=\"is-mobile\">\r\n <div>\r\n <div class=\"columns is-multiline\">\r\n <TeamCard\r\n v-for=\"team in dataTeam\"\r\n :key=\"team.name\"\r\n :team=\"team\"\r\n :score=\"team.score\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n Team count {{ teamCount }}\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport TeamCard from '@/components/TeamCard.vue'\r\nimport { mapState } from 'vuex'\r\n\r\nexport default {\r\n data () {\r\n return {\r\n dataTeam: null\r\n }\r\n },\r\n name: 'home',\r\n computed: {\r\n ...mapState('team', ['teams', 'teamCount']),\r\n ...mapState('staff', ['stateContract'])\r\n },\r\n methods: {\r\n },\r\n components: {\r\n TeamCard\r\n },\r\n async created () {\r\n console.log('mounted' + this.teams)\r\n },\r\n async mounted () {\r\n try {\r\n // Web3 and Wallet validation\r\n await this.$pizzaCoin.validateWeb3Connection(this.$toast)\r\n await this.$pizzaCoin.validateWallet(this.$toast)\r\n\r\n let teams = await this.$pizzaCoin.getTeamsProfile()\r\n this.dataTeam = teams\r\n while (this.stateContract === 'Registration') {\r\n let teams = await this.$pizzaCoin.getTeamsProfile()\r\n this.dataTeam = teams\r\n console.log('home')\r\n }\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=fd54c6b4&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\"\\n Leader board\\n \"),_c('canvas',{attrs:{\"id\":\"leader-board-chart\"}}),_vm._v(\"\\n Team count \"+_vm._s(_vm.teamCount)+\"\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* eslint-disable */\r\n<template>\r\n <div>\r\n Leader board\r\n <canvas id=\"leader-board-chart\"></canvas>\r\n Team count {{ teamCount }}\r\n </div>\r\n</template>\r\n<script>\r\nimport Chart from 'chart.js'\r\nimport Web3 from 'web3'\r\nimport PizzaCoinAbi from '@/abi/PizzaCoinAbi.json'\r\nimport { mapState } from 'vuex'\r\nimport _ from 'lodash'\r\n\r\nexport default {\r\n name: 'LeaderBoardComponent',\r\n computed: {\r\n ...mapState('team', ['teams', 'teamCount'])\r\n },\r\n data () {\r\n return {\r\n leaderBoardData: null,\r\n pizzaCoin: null,\r\n teamNames: [],\r\n teamScore: []\r\n }\r\n },\r\n async mounted () {\r\n this.createWeb3()\r\n this.subscribeEvent()\r\n await this.loadData()\r\n this.initChartInstance()\r\n this.createChart('leader-board-chart', this.leaderBoardData)\r\n },\r\n methods: {\r\n async loadData () {\r\n await this.$store.dispatch('team/getTeamsProfile', await this.$pizzaCoin.getTeamsProfile())\r\n _.forEach(this.teams, (team, idx) => {\r\n console.log('team: ', team)\r\n console.log('teamName: ', team.name)\r\n console.log('total vote: ', team.score)\r\n this.teamNames.push(team.name)\r\n this.teamScore.push(team.score)\r\n })\r\n },\r\n initChartInstance (bgColor, borderColor) {\r\n this.leaderBoardData = {\r\n type: 'bar',\r\n data: {\r\n labels: this.teamNames,\r\n datasets: [\r\n { // one line graph\r\n label: 'Score voting',\r\n data: this.teamScore,\r\n backgroundColor: [\r\n 'rgba(255, 0, 0, 0.1)',\r\n 'rgba(85, 0, 255, 0.1)',\r\n 'rgba(64, 255, 0, 0.1)',\r\n 'rgba(236, 66, 249, 0.1)',\r\n 'rgba(84, 23, 167, 0.1)',\r\n 'rgba(206, 31, 147, 0.1)',\r\n 'rgba(203, 133, 246, 0.1)',\r\n 'rgba(166, 159, 22, 0.1)',\r\n 'rgba(31, 215, 109, 0.1)',\r\n 'rgba(107, 203, 204, 0.1)',\r\n 'rgba(29, 61,1 45, 0.1)',\r\n 'rgba(174, 99, 20 , 0.1)',\r\n 'rgba(26, 123, 92 , 0.1)',\r\n 'rgba(64, 97, 253, 0.1)',\r\n 'rgba(35, 176, 25, 0.1)'\r\n ],\r\n borderColor: [\r\n 'rgba(255, 0, 0)',\r\n 'rgba(85, 0, 255)',\r\n 'rgba(64, 255, 0)',\r\n 'rgba(236, 66, 249)',\r\n 'rgba(84, 23, 167)',\r\n 'rgba(206, 31, 147)',\r\n 'rgba(203, 133, 246)',\r\n 'rgba(166, 159, 22)',\r\n 'rgba(31, 215, 109)',\r\n 'rgba(107, 203, 204)',\r\n 'rgba(29, 61,1 45)',\r\n 'rgba(174, 99, 20 )',\r\n 'rgba(26, 123, 92 )',\r\n 'rgba(64, 97, 253)',\r\n 'rgba(35, 176, 25)'\r\n ],\r\n borderWidth: 3\r\n }\r\n ]\r\n },\r\n options: {\r\n responsive: true,\r\n lineTension: 1,\r\n scales: {\r\n yAxes: [{\r\n ticks: {\r\n beginAtZero: true,\r\n padding: 25\r\n }\r\n }]\r\n }\r\n }\r\n }\r\n },\r\n createWeb3 () {\r\n var web3 = new Web3(new Web3.providers.WebsocketProvider(this.$store.state.system.ethereumNode))\r\n this.pizzaCoin = new web3.eth.Contract(\r\n PizzaCoinAbi,\r\n this.$pizzaCoin.pizzaCoinAddr\r\n )\r\n },\r\n createChart (chartId, chartData) {\r\n if (chartData) {\r\n const ctx = document.getElementById(chartId)\r\n this.leaderBoardChart = new Chart(ctx, {\r\n type: chartData.type,\r\n data: chartData.data,\r\n options: chartData.options\r\n })\r\n }\r\n },\r\n subscribeEvent () {\r\n // Subscribe to 'TeamVoted' event (this requires a web3-websocket provider)\r\n // See: https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#contract-events\r\n let subscription = this.pizzaCoin.events.TeamVoted(null, (err, result) => {\r\n if (err) {\r\n throw new Error(err)\r\n }\r\n\r\n let teamName, totalVoted\r\n teamName = result.returnValues._teamName\r\n totalVoted = result.returnValues._totalVoted\r\n _.forEach(this.teams, (team, index) => {\r\n if (team.name === teamName) {\r\n this.leaderBoardChart.data.datasets[0].data[index] = totalVoted\r\n this.leaderBoardChart.update()\r\n }\r\n })\r\n console.log('***** Event catched *****')\r\n console.log('teamName: ' + teamName)\r\n console.log('totalVoted: ' + totalVoted)\r\n })\r\n\r\n return subscription\r\n }\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaderBoard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaderBoard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LeaderBoard.vue?vue&type=template&id=174f34cb&\"\nimport script from \"./LeaderBoard.vue?vue&type=script&lang=js&\"\nexport * from \"./LeaderBoard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport Home from './views/Home.vue'\r\n\r\nimport LeaderBoard from './components/LeaderBoard.vue'\r\n// import Web3Example from './views/Web3Example'\r\n\r\nVue.use(Router)\r\n\r\nexport default new Router({\r\n // mode: 'history',\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'home',\r\n component: Home\r\n },\r\n {\r\n path: '/leader-board',\r\n name: 'leader-board',\r\n component: LeaderBoard\r\n },\r\n {\r\n path: '/livefeed',\r\n beforeEnter () {\r\n window.open('https://pizzahackathon.github.io/livefeed/', '_blank')\r\n }\r\n },\r\n {\r\n path: '/github',\r\n beforeEnter () {\r\n window.open('https://github.com/pizzahackathon/', '_blank')\r\n }\r\n }\r\n ]\r\n})\r\n","const validateConnection = {\r\n async validateWeb3Connection (toast) {\r\n // Check Web3 wallet connection\r\n if (typeof window.web3 === 'undefined') {\r\n const errorText = 'Please install MetaMask, Cipher or Trust wallet.'\r\n this.showToastError(toast, errorText, 60000)\r\n throw Error(errorText)\r\n }\r\n\r\n // Check Network\r\n let currentNetwork = await this.getNetworkName()\r\n console.log(`currentNetwork ${this.network}`)\r\n if (currentNetwork !== this.network) {\r\n const errorText = `Wrong network! Please switch to **${this.capitalize(this.network)}** on Metamask.`\r\n this.showToastError(toast, errorText, 60000)\r\n throw Error(errorText)\r\n }\r\n },\r\n\r\n async validateWallet (toast) {\r\n let accounts = await this.web3.eth.getAccounts()\r\n console.log(`accounts ${accounts}`)\r\n if (accounts.length === 0) {\r\n // Loop check if user unlocked then refresh\r\n setInterval(async () => {\r\n let accounts = await this.web3.eth.getAccounts()\r\n if (accounts.length > 0) {\r\n console.log('refresh')\r\n location.reload()\r\n }\r\n }, 100)\r\n\r\n const errorText = 'Please unlock your MetaMask.'\r\n this.showToastError(toast, errorText, 60000)\r\n throw Error(errorText)\r\n }\r\n },\r\n\r\n // async showToastSuccess (toast, text) {\r\n // toast.open({\r\n // message: text,\r\n // type: 'is-success'\r\n // })\r\n // }\r\n\r\n async showToastError (toast, text, duration = 5000) {\r\n toast.open({\r\n duration: duration,\r\n message: text,\r\n // position: 'is-bottom',\r\n type: 'is-danger'\r\n })\r\n },\r\n\r\n capitalize (text) {\r\n return text.charAt(0).toUpperCase() + text.slice(1)\r\n }\r\n}\r\n\r\nexport default validateConnection\r\n","import Web3 from 'web3'\r\n// import PizzaCoinAbi from '../abi/PizzaCoinAbi'\r\nimport PizzaCoinAbi from '../abi/PizzaCoinAbi.json'\r\nimport PizzaCoinStaffAbi from '../abi/PizzaCoinStaffAbi'\r\nimport PizzaCoinTeamAbi from '../abi/PizzaCoinTeamAbi'\r\nimport PizzaCoinPlayerAbi from '../abi/PizzaCoinPlayerAbi'\r\n\r\nimport validateConnection from './validateConnection'\r\n\r\nclass PizzaCoin {\r\n constructor (\r\n network = 'rinkeby',\r\n ethNode = 'wss://rinkeby.infura.io/_ws',\r\n pizzaCoinAddr = '0x5aa5bf8f1a386f6f3cc564548890ee9a7382718d',\r\n pizzaCoinStaffAddr = '0xb25eE5C4d11F9D934f2642d30c99319708e615D4',\r\n pizzaCoinTeamAddr = '0x164d120357CAc5Cea08c201D719c7D48b2054b8e',\r\n pizzaCoinPlayerAddr = '0xD1571785b4309F55294EF7593276B7B5505F103A') {\r\n this.network = network\r\n\r\n // connect with web3-compatible like Metamask, Cipher, Trust wallet\r\n if (typeof window.web3 === 'undefined') {\r\n // console.error('No metamask or web3 wallet found!')\r\n this.web3 = new Web3(new Web3.providers.WebsocketProvider(ethNode))\r\n } else {\r\n this.web3 = new Web3(window.web3.currentProvider)\r\n }\r\n\r\n this.pizzaCoinAddr = pizzaCoinAddr\r\n this.pizzaCoinStaffAddr = pizzaCoinStaffAddr\r\n this.pizzaCoinTeamAddr = pizzaCoinTeamAddr\r\n this.pizzaCoinPlayerAddr = pizzaCoinPlayerAddr\r\n\r\n this.loadUserAddress().then(account => {\r\n this.account = account\r\n })\r\n\r\n this.main = new this.web3.eth.Contract(PizzaCoinAbi, this.pizzaCoinAddr)\r\n this.staff = new this.web3.eth.Contract(PizzaCoinStaffAbi, this.pizzaCoinStaffAddr)\r\n this.team = new this.web3.eth.Contract(PizzaCoinTeamAbi, this.pizzaCoinTeamAddr)\r\n this.player = new this.web3.eth.Contract(PizzaCoinPlayerAbi, this.pizzaCoinPlayerAddr)\r\n\r\n console.log(this.main.methods)\r\n console.log(this.staff.methods)\r\n console.log(this.team.methods)\r\n console.log(this.player.methods)\r\n }\r\n\r\n async loadUserAddress () {\r\n let accounts = await this.web3.eth.getAccounts()\r\n console.log('loadUserAddress >> ' + accounts[0])\r\n\r\n return accounts[0]\r\n }\r\n\r\n async getTokenBalance (playerAddr) {\r\n let tokenBalance\r\n try {\r\n tokenBalance = await this.main.methods.balanceOf(playerAddr).call()\r\n console.log('playerAddr -->' + playerAddr + ': tokenBalance = ' + tokenBalance)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n return tokenBalance\r\n }\r\n\r\n async createTeam (creatorName, teamName) {\r\n console.log('Creating a new team --> \"' + teamName + '\" ...')\r\n\r\n // Create a new team\r\n let result = await this.main.methods.createTeam(teamName, creatorName).send({\r\n from: this.account,\r\n gas: 500000,\r\n gasPrice: 10000000000\r\n })\r\n console.log('... succeeded')\r\n console.log(result)\r\n }\r\n\r\n async getTeamCount () {\r\n let teamCount = await this.team.methods.getTotalTeams().call()\r\n return teamCount\r\n }\r\n\r\n async getTeamArrayLength () {\r\n let teamArrayLength = await this.team.methods.getTeamArrayLength().call()\r\n return teamArrayLength\r\n }\r\n\r\n async getPlayerCountInTeam (teamName) {\r\n let playerCount = await this.team.methods.getTotalPlayersInTeam(teamName).call()\r\n return playerCount\r\n }\r\n\r\n // /////////////// //\r\n // ---- TEAM ---- //\r\n // /////////////// //\r\n async getTeamsProfile () {\r\n try {\r\n let teamArrayLength = await this.getTeamArrayLength()\r\n console.log('teamArrayLength: ' + teamArrayLength + '\\n')\r\n let data\r\n // let nextStartSearchingIndex = 0\r\n // let endOfList, teamName, totalVoted\r\n\r\n let teamInfoTasks = []\r\n\r\n for (var i = 0; i < teamArrayLength; i++) {\r\n teamInfoTasks.push(this.getFirstFoundTeamInfo(i))\r\n }\r\n\r\n let teamInfos = await Promise.all(teamInfoTasks)\r\n\r\n // Remove team empty name\r\n teamInfos = teamInfos.filter(teamInfo => {\r\n let teamName = teamInfo[2]\r\n return teamName !== ''\r\n })\r\n\r\n console.log(`teamInfos ${JSON.stringify(teamInfos)}`)\r\n\r\n // Not end list yet\r\n if (teamInfos.length > 0) {\r\n let endOfList = teamInfos[teamInfos.length - 1][0]\r\n if (endOfList === false) {\r\n // clean duplicated\r\n let uniqueTeamInfos = []\r\n let foundTeamNames = []\r\n for (let teamInfo of teamInfos) {\r\n let teamName = teamInfo[2]\r\n if (foundTeamNames.indexOf(teamName) === -1) {\r\n uniqueTeamInfos.push(teamInfo)\r\n foundTeamNames.push(teamName)\r\n }\r\n }\r\n teamInfos = uniqueTeamInfos\r\n }\r\n }\r\n\r\n console.log(`unique teamInfos ${JSON.stringify(teamInfos)}`)\r\n\r\n // console.log(`teamInfos ${teamInfos}`)\r\n let teamProfiles = teamInfos.map(async (teamInfo) => {\r\n // console.log(`teamInfo ${teamInfo}`)\r\n let [\r\n endOfList,\r\n nextStartSearchingIndex,\r\n teamName,\r\n totalVoted\r\n ] = teamInfo\r\n\r\n console.log(`nextStartSearchingIndex ${nextStartSearchingIndex}`)\r\n\r\n if (endOfList) {\r\n console.log(`endOfList ${endOfList}`)\r\n }\r\n console.log('teamName: ' + teamName)\r\n console.log('totalVoted: ' + totalVoted + '\\n')\r\n // const {teams, canVote} = await this.getPlayersProfile(teamName)\r\n // console.log('canVote' + canVote)\r\n\r\n data = {\r\n // member: teams,\r\n // canVote: canVote,\r\n score: await this.getVotingPointForTeam(teamName)\r\n }\r\n // console.log('checkCanVote: ' + data.member[0].address + '\\n')\r\n\r\n const teamProfile = {\r\n name: teamName,\r\n // members: data.member,\r\n // canVote: data.canVote,\r\n score: data.score\r\n }\r\n console.log('profile >> ' + JSON.stringify(teamProfile))\r\n\r\n return teamProfile\r\n })\r\n const dataTeams = await Promise.all(teamProfiles)\r\n\r\n // dataTeams = teamProfiles\r\n\r\n console.log('dataTeams >> ' + JSON.stringify(dataTeams))\r\n\r\n return dataTeams\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n async getFirstFoundTeamInfo (startSearchingIndex) {\r\n // console.log('\\nQuerying for the first found team winner (by the index of voters) ...');\r\n let tupleReturned = await this.team.methods.getFirstFoundTeamInfo(startSearchingIndex).call()\r\n // console.log('... succeeded');\r\n\r\n return [\r\n tupleReturned._endOfList,\r\n tupleReturned._nextStartSearchingIndex,\r\n tupleReturned._teamName,\r\n tupleReturned._totalVoted\r\n ]\r\n }\r\n\r\n async registerPlayerToTeam (registrarAddr, staffAddr, staffName) {\r\n console.log('\\nRegistering a staff --> \"' + staffAddr + '\" ...')\r\n // Register a staff\r\n try {\r\n const res = await PizzaCoin.methods.registerPlayerToTeam(staffAddr, staffName).send({\r\n from: registrarAddr,\r\n gas: 350000,\r\n gasPrice: 10000000000\r\n })\r\n console.log(res)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n console.log('... succeeded')\r\n }\r\n\r\n async getTotalVotersToTeam (teamName) {\r\n let totalVoters = 0\r\n\r\n console.log('\\nQuerying for a total number of voters to the specific team --> \"' + teamName + '\" ...')\r\n try {\r\n totalVoters = await this.team.methods.getTotalVotersToTeam(teamName).call({})\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n return totalVoters\r\n }\r\n\r\n async getVotingPointForTeam (teamName) {\r\n let totalVoters = 0\r\n\r\n console.log('\\nQuerying for a total number of voters to the specific team --> \"' + teamName + '\" ...')\r\n try {\r\n totalVoters = await this.team.methods.getVotingPointForTeam(teamName).call({})\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n return totalVoters\r\n }\r\n\r\n async startVoting (projectDeployerAddr) {\r\n let state\r\n\r\n // Change all contracts' state from RegistrationLocked to Voting\r\n console.log(\"\\nChanging the contracts' state to Voting ...\")\r\n try {\r\n await this.main.methods.startVoting().send({\r\n from: projectDeployerAddr,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n console.log('... succeeded')\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n\r\n try {\r\n // Check the contracts' state\r\n console.log(\"\\nValidating the contracts' state ...\")\r\n state = await this.main.methods.getContractState().call({\r\n from: projectDeployerAddr\r\n })\r\n console.log('... succeeded --> ' + state)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n async stopVoting (projectDeployerAddr) {\r\n let state\r\n\r\n // Change all contracts' state from RegistrationLocked to Voting\r\n console.log(\"\\nChanging the contracts' state to Voting ...\")\r\n try {\r\n await this.main.methods.stopVoting().send({\r\n from: projectDeployerAddr,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n console.log('... succeeded')\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n\r\n try {\r\n // Check the contracts' state\r\n console.log(\"\\nValidating the contracts' state ...\")\r\n state = await this.main.methods.getContractState().call({\r\n from: projectDeployerAddr\r\n })\r\n console.log('... succeeded --> ' + state)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n async voteTeam ({voterAddr, teamName, votingWeight}) {\r\n console.log('\\nVoting to a team --> team: \"' + teamName + '\" weight: \"' + votingWeight + '\" form ' + voterAddr)\r\n // Vote to a team\r\n try {\r\n await this.main.methods.voteTeam(teamName, parseInt(votingWeight)).send({\r\n from: voterAddr,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n console.log('... succeeded voteTeam')\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n async kickTeam (teamName) {\r\n console.log('\\nKicking team --> \"' + teamName + '\" ...')\r\n try {\r\n await this.main.methods.kickTeam(teamName).send({\r\n from: this.account,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n // ///////////////// //\r\n // ---- PLAYER ---- //\r\n // ///////////////// //\r\n async getPlayersProfile (teamName) {\r\n let playerCount = await this.getPlayerCountInTeam(teamName)\r\n console.log(`playerCount: ${playerCount}`)\r\n let teams = []\r\n\r\n let nextStartSearchingIndex = 0\r\n let endOfList, playerAddress\r\n let canVote = true\r\n while (true) {\r\n [\r\n endOfList,\r\n nextStartSearchingIndex,\r\n playerAddress\r\n ] = await this.getFirstFoundPlayer(teamName, nextStartSearchingIndex)\r\n console.log(`endOfList >> ${endOfList}`)\r\n console.log(`myAccount >> ${this.account}`)\r\n if (endOfList) {\r\n break\r\n }\r\n console.log('playerAddress >> : ' + playerAddress)\r\n let playerName = await this.getPlayerName(playerAddress)\r\n console.log(`playerName >> : ${playerName}`)\r\n if (playerAddress === this.account) {\r\n canVote = false\r\n console.log(playerAddress + 'booommm' + this.account)\r\n }\r\n teams.push({\r\n 'name': playerName,\r\n 'address': playerAddress\r\n })\r\n }\r\n // let staffName = await this.getStaffName(this.account)\r\n // console.log(`getStaffName >> ${staffName}`)\r\n // let isStaff = await this.isStaff(this.account)\r\n // console.log(`isStaff >> ${isStaff}`)\r\n // console.log('teams >> ' + teams)\r\n return {teams, canVote}\r\n }\r\n\r\n async isPlayer (address) {\r\n console.log(`isPlayer >> ${address}`)\r\n\r\n let isPlayer = await this.player.methods.isPlayer(address).call()\r\n console.log(`isPlayer >> ${isPlayer}`)\r\n\r\n return isPlayer\r\n }\r\n async getFirstFoundPlayer (teamName, playerIndex) {\r\n // console.log('\\nQuerying for the first found team winner (by the index of voters) ...');\r\n let tupleReturned = await this.team.methods.getFirstFoundPlayerInTeam(teamName, playerIndex).call()\r\n // console.log('... succeeded');\r\n\r\n return [\r\n tupleReturned._endOfList,\r\n tupleReturned._nextStartSearchingIndex,\r\n tupleReturned._player\r\n ]\r\n }\r\n\r\n async getPlayerName (address) {\r\n // console.log('\\nQuerying for the first found team winner (by the index of voters) ...');\r\n let name = await this.player.methods.getPlayerName(address).call()\r\n // console.log('... succeeded');\r\n\r\n return name\r\n }\r\n\r\n async registerPlayer ({playerAddr, playerName, teamName}) {\r\n console.log('\\nRegistering a player --> \"' + teamName + '\" ...')\r\n // Register a player\r\n try {\r\n await this.main.methods.registerPlayer(playerName, teamName).send({\r\n from: playerAddr,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n\r\n console.log('... succeeded')\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n async kickPlayer ({kickerAddr, playerAddr, teamName}) {\r\n console.log('\\nKicking a player --> \"' + playerAddr + '\" ...')\r\n try {\r\n await this.main.methods.kickPlayer(playerAddr, teamName).send({\r\n from: kickerAddr,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n // ///////////////// //\r\n // ---- STAFF ---- //\r\n // ///////////////// //\r\n\r\n async getStaffName (address) {\r\n let name = await this.staff.methods.getStaffName(address).call()\r\n return name\r\n }\r\n async isStaff (address) {\r\n console.log(`ddd >> ${address}`)\r\n\r\n let isStaff = await this.staff.methods.isStaff(address).call()\r\n console.log(`dddIs >> ${isStaff}`)\r\n\r\n return isStaff\r\n }\r\n async lockRegistration (projectDeployerAddr) {\r\n console.log('lockRegis')\r\n try {\r\n await this.main.methods.lockRegistration().send({\r\n from: projectDeployerAddr,\r\n gas: 1000000,\r\n gasPrice: 10000000000\r\n })\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n async getContractState (projectDeployerAddr) {\r\n let state\r\n try {\r\n // Check the contracts' state\r\n console.log(\"\\nValidating the contracts' state ...\")\r\n state = await this.main.methods.getContractState().call({\r\n from: projectDeployerAddr\r\n })\r\n console.log('check state --> ' + state)\r\n console.log('... succeeded --> ' + state)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n return state\r\n }\r\n\r\n // /////////////////// //\r\n // ---- ETHEREUM ---- //\r\n // /////////////////// //\r\n async getNetworkName () {\r\n const network = await this.web3.eth.net.getNetworkType()\r\n return network\r\n }\r\n}\r\n\r\nObject.setPrototypeOf(PizzaCoin.prototype, {...validateConnection})\r\n\r\nexport default PizzaCoin\r\n\r\n// let teams = [\r\n// {\r\n// name: 'PizzaHack',\r\n// members: [\r\n// {\r\n// name: 'Tot',\r\n// address: '0xabc'\r\n// },\r\n// {\r\n// name: 'Byte',\r\n// address: '0x1122'\r\n// }\r\n// ]\r\n// },\r\n// {\r\n// name: 'KX',\r\n// members: [\r\n// {\r\n// name: 'Joy',\r\n// address: '0xee222'\r\n// },\r\n// {\r\n// name: 'Game',\r\n// address: '0x5566'\r\n// }\r\n// ]\r\n// }\r\n// ]\r\n","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport store from '@/store'\r\nimport router from './router'\r\nimport 'buefy/lib/buefy.css'\r\nimport Buefy from 'buefy'\r\nimport Pizzacoin from '@/PizzaCoin'\r\n\r\n//\r\n// ─── INITIAL PIZZA COIN ─────────────────────────────────────────────────────────\r\n//\r\nconst pizzaCoin = new Pizzacoin(\r\n store.state.system.network,\r\n store.state.system.ethereumNode,\r\n store.state.system.pizzaCoinAddr,\r\n store.state.system.pizzaCoinStaffAddr,\r\n store.state.system.pizzaCoinTeamAddr,\r\n store.state.system.pizzaCoinPlayerAddr)\r\nVue.prototype.$pizzaCoin = pizzaCoin\r\n\r\nVue.prototype.$store = store\r\nlet intervalTime = 1000\r\n\r\nsetInterval(async function () {\r\n let account = await pizzaCoin.account\r\n console.log('service >> ' + account)\r\n let isStaff = await pizzaCoin.isStaff(account)\r\n let isPlayer = await pizzaCoin.isPlayer(account)\r\n // let userName = await pizzaCoin.getPlayerName(account)\r\n // let tokenBalance = await pizzaCoin.getTokenBalance('0x006dA2313d578dac3D1eCE86c17Fe914a14D18C5')\r\n let tokenBalance = await pizzaCoin.getTokenBalance(account)\r\n let state = await pizzaCoin.getContractState(account)\r\n console.log('check state --> ' + state)\r\n console.log(`isStaff >> ${isStaff}`)\r\n console.log(`isPlayer >> ${isPlayer}`)\r\n\r\n if (isStaff || isPlayer) {\r\n isStaff ? store.dispatch('auth/isStaffLogin', account) : store.dispatch('auth/isPlayerLogin', account)\r\n try {\r\n let name = isStaff ? await pizzaCoin.getStaffName(account) : await pizzaCoin.getPlayerName(account)\r\n const data = {\r\n role: isStaff ? 'Staff' : 'Player',\r\n name: name\r\n }\r\n store.dispatch('auth/playerInfo', data)\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n console.log('check tokenBalance --> ' + typeof parseInt(tokenBalance))\r\n let showToken = {\r\n isPlayer: isPlayer,\r\n tokenBalance: tokenBalance\r\n }\r\n store.dispatch('staff/getContractState', state)\r\n if (state === 'Voting') {\r\n intervalTime = 100\r\n // console.log('inteval' + intervalTime)\r\n }\r\n if (state === 'Voting Finished') {\r\n intervalTime = 100000\r\n }\r\n store.dispatch('auth/getTokenBalance', showToken)\r\n store.dispatch('team/getTeamCount', await pizzaCoin.getTeamCount())\r\n console.log('inteval' + intervalTime)\r\n}, intervalTime)\r\n\r\nVue.use(Buefy)\r\n\r\nVue.config.productionTip = false\r\n\r\nnew Vue({\r\n store,\r\n router,\r\n render: h => h(App)\r\n}).$mount('#app')\r\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamCard.vue?vue&type=style&index=0&scped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamCard.vue?vue&type=style&index=0&scped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}