mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 01:51:03 +00:00
1 line
20 KiB
Plaintext
1 line
20 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":105,"index":105}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.compareRationals = compareRationals;\n exports.calcPassing = calcPassing;\n exports.calcVotes = calcVotes;\n exports.getStatus = getStatus;\n exports.getImageHashBounded = getImageHashBounded;\n exports.getImageHash = getImageHash;\n var _polkadotUtil = require(_dependencyMap[0], \"@polkadot/util\");\n function isOldInfo(info) {\n return !!info.proposalHash;\n }\n function isCurrentStatus(status) {\n return !!status.tally;\n }\n function compareRationals(n1, d1, n2, d2) {\n while (true) {\n const q1 = n1.div(d1);\n const q2 = n2.div(d2);\n if (q1.lt(q2)) {\n return true;\n } else if (q2.lt(q1)) {\n return false;\n }\n const r1 = n1.mod(d1);\n const r2 = n2.mod(d2);\n if (r2.isZero()) {\n return false;\n } else if (r1.isZero()) {\n return true;\n }\n n1 = d2;\n n2 = d1;\n d1 = r2;\n d2 = r1;\n }\n }\n function calcPassingOther(threshold, sqrtElectorate, {\n votedAye,\n votedNay,\n votedTotal\n }) {\n const sqrtVoters = (0, _polkadotUtil.bnSqrt)(votedTotal);\n return sqrtVoters.isZero() ? false : threshold.isSuperMajorityApprove ? compareRationals(votedNay, sqrtVoters, votedAye, sqrtElectorate) : compareRationals(votedNay, sqrtElectorate, votedAye, sqrtVoters);\n }\n function calcPassing(threshold, sqrtElectorate, state) {\n return threshold.isSimpleMajority ? state.votedAye.gt(state.votedNay) : calcPassingOther(threshold, sqrtElectorate, state);\n }\n function calcVotesPrev(votesFor) {\n return votesFor.reduce((state, derived) => {\n const {\n balance,\n vote\n } = derived;\n const isDefault = vote.conviction.index === 0;\n const counted = balance.muln(isDefault ? 1 : vote.conviction.index).divn(isDefault ? 10 : 1);\n if (vote.isAye) {\n state.allAye.push(derived);\n state.voteCountAye++;\n state.votedAye.iadd(counted);\n } else {\n state.allNay.push(derived);\n state.voteCountNay++;\n state.votedNay.iadd(counted);\n }\n state.voteCount++;\n state.votedTotal.iadd(counted);\n return state;\n }, {\n allAye: [],\n allNay: [],\n voteCount: 0,\n voteCountAye: 0,\n voteCountNay: 0,\n votedAye: new _polkadotUtil.BN(0),\n votedNay: new _polkadotUtil.BN(0),\n votedTotal: new _polkadotUtil.BN(0)\n });\n }\n function calcVotesCurrent(tally, votes) {\n const allAye = [];\n const allNay = [];\n votes.forEach(derived => {\n if (derived.vote.isAye) {\n allAye.push(derived);\n } else {\n allNay.push(derived);\n }\n });\n return {\n allAye,\n allNay,\n voteCount: allAye.length + allNay.length,\n voteCountAye: allAye.length,\n voteCountNay: allNay.length,\n votedAye: tally.ayes,\n votedNay: tally.nays,\n votedTotal: tally.turnout\n };\n }\n function calcVotes(sqrtElectorate, referendum, votes) {\n const state = isCurrentStatus(referendum.status) ? calcVotesCurrent(referendum.status.tally, votes) : calcVotesPrev(votes);\n return (0, _polkadotUtil.objectSpread)({}, state, {\n isPassing: calcPassing(referendum.status.threshold, sqrtElectorate, state),\n votes\n });\n }\n function getStatus(info) {\n if (info.isNone) {\n return null;\n }\n const unwrapped = info.unwrap();\n return isOldInfo(unwrapped) ? unwrapped : unwrapped.isOngoing ? unwrapped.asOngoing\n // done, we don't include it here... only currently active\n : null;\n }\n function getImageHashBounded(hash) {\n return hash.isLegacy ? hash.asLegacy.hash_.toHex() : hash.isLookup ? hash.asLookup.hash_.toHex()\n // for inline, use the actual Bytes hash\n : hash.isInline ? hash.asInline.hash.toHex() : (0, _polkadotUtil.isString)(hash) ? (0, _polkadotUtil.isHex)(hash) ? hash : (0, _polkadotUtil.stringToHex)(hash) : (0, _polkadotUtil.isU8a)(hash) ? (0, _polkadotUtil.u8aToHex)(hash) : hash.toHex();\n }\n function getImageHash(status) {\n return getImageHashBounded(status.proposal || status.proposalHash);\n }\n});","lineCount":129,"map":[[7,2,8,0,"exports"],[7,9,8,0],[7,10,8,0,"compareRationals"],[7,26,8,0],[7,29,8,0,"compareRationals"],[7,45,8,0],[8,2,40,0,"exports"],[8,9,40,0],[8,10,40,0,"calcPassing"],[8,21,40,0],[8,24,40,0,"calcPassing"],[8,35,40,0],[9,2,89,0,"exports"],[9,9,89,0],[9,10,89,0,"calcVotes"],[9,19,89,0],[9,22,89,0,"calcVotes"],[9,31,89,0],[10,2,98,0,"exports"],[10,9,98,0],[10,10,98,0,"getStatus"],[10,19,98,0],[10,22,98,0,"getStatus"],[10,31,98,0],[11,2,110,0,"exports"],[11,9,110,0],[11,10,110,0,"getImageHashBounded"],[11,29,110,0],[11,32,110,0,"getImageHashBounded"],[11,51,110,0],[12,2,126,0,"exports"],[12,9,126,0],[12,10,126,0,"getImageHash"],[12,22,126,0],[12,25,126,0,"getImageHash"],[12,37,126,0],[13,2,1,0],[13,6,1,0,"_polkadotUtil"],[13,19,1,0],[13,22,1,0,"require"],[13,29,1,0],[13,30,1,0,"_dependencyMap"],[13,44,1,0],[14,2,2,0],[14,11,2,9,"isOldInfo"],[14,20,2,18,"isOldInfo"],[14,21,2,19,"info"],[14,25,2,23],[14,27,2,25],[15,4,3,4],[15,11,3,11],[15,12,3,12],[15,13,3,13,"info"],[15,17,3,17],[15,18,3,18,"proposalHash"],[15,30,3,30],[16,2,4,0],[17,2,5,0],[17,11,5,9,"isCurrentStatus"],[17,26,5,24,"isCurrentStatus"],[17,27,5,25,"status"],[17,33,5,31],[17,35,5,33],[18,4,6,4],[18,11,6,11],[18,12,6,12],[18,13,6,13,"status"],[18,19,6,19],[18,20,6,20,"tally"],[18,25,6,25],[19,2,7,0],[20,2,8,7],[20,11,8,16,"compareRationals"],[20,27,8,32,"compareRationals"],[20,28,8,33,"n1"],[20,30,8,35],[20,32,8,37,"d1"],[20,34,8,39],[20,36,8,41,"n2"],[20,38,8,43],[20,40,8,45,"d2"],[20,42,8,47],[20,44,8,49],[21,4,9,4],[21,11,9,11],[21,15,9,15],[21,17,9,17],[22,6,10,8],[22,12,10,14,"q1"],[22,14,10,16],[22,17,10,19,"n1"],[22,19,10,21],[22,20,10,22,"div"],[22,23,10,25],[22,24,10,26,"d1"],[22,26,10,28],[22,27,10,29],[23,6,11,8],[23,12,11,14,"q2"],[23,14,11,16],[23,17,11,19,"n2"],[23,19,11,21],[23,20,11,22,"div"],[23,23,11,25],[23,24,11,26,"d2"],[23,26,11,28],[23,27,11,29],[24,6,12,8],[24,10,12,12,"q1"],[24,12,12,14],[24,13,12,15,"lt"],[24,15,12,17],[24,16,12,18,"q2"],[24,18,12,20],[24,19,12,21],[24,21,12,23],[25,8,13,12],[25,15,13,19],[25,19,13,23],[26,6,14,8],[26,7,14,9],[26,13,15,13],[26,17,15,17,"q2"],[26,19,15,19],[26,20,15,20,"lt"],[26,22,15,22],[26,23,15,23,"q1"],[26,25,15,25],[26,26,15,26],[26,28,15,28],[27,8,16,12],[27,15,16,19],[27,20,16,24],[28,6,17,8],[29,6,18,8],[29,12,18,14,"r1"],[29,14,18,16],[29,17,18,19,"n1"],[29,19,18,21],[29,20,18,22,"mod"],[29,23,18,25],[29,24,18,26,"d1"],[29,26,18,28],[29,27,18,29],[30,6,19,8],[30,12,19,14,"r2"],[30,14,19,16],[30,17,19,19,"n2"],[30,19,19,21],[30,20,19,22,"mod"],[30,23,19,25],[30,24,19,26,"d2"],[30,26,19,28],[30,27,19,29],[31,6,20,8],[31,10,20,12,"r2"],[31,12,20,14],[31,13,20,15,"isZero"],[31,19,20,21],[31,20,20,22],[31,21,20,23],[31,23,20,25],[32,8,21,12],[32,15,21,19],[32,20,21,24],[33,6,22,8],[33,7,22,9],[33,13,23,13],[33,17,23,17,"r1"],[33,19,23,19],[33,20,23,20,"isZero"],[33,26,23,26],[33,27,23,27],[33,28,23,28],[33,30,23,30],[34,8,24,12],[34,15,24,19],[34,19,24,23],[35,6,25,8],[36,6,26,8,"n1"],[36,8,26,10],[36,11,26,13,"d2"],[36,13,26,15],[37,6,27,8,"n2"],[37,8,27,10],[37,11,27,13,"d1"],[37,13,27,15],[38,6,28,8,"d1"],[38,8,28,10],[38,11,28,13,"r2"],[38,13,28,15],[39,6,29,8,"d2"],[39,8,29,10],[39,11,29,13,"r1"],[39,13,29,15],[40,4,30,4],[41,2,31,0],[42,2,32,0],[42,11,32,9,"calcPassingOther"],[42,27,32,25,"calcPassingOther"],[42,28,32,26,"threshold"],[42,37,32,35],[42,39,32,37,"sqrtElectorate"],[42,53,32,51],[42,55,32,53],[43,4,32,55,"votedAye"],[43,12,32,63],[44,4,32,65,"votedNay"],[44,12,32,73],[45,4,32,75,"votedTotal"],[46,2,32,86],[46,3,32,87],[46,5,32,89],[47,4,33,4],[47,10,33,10,"sqrtVoters"],[47,20,33,20],[47,23,33,23],[47,27,33,23,"bnSqrt"],[47,40,33,29],[47,41,33,29,"bnSqrt"],[47,47,33,29],[47,49,33,30,"votedTotal"],[47,59,33,40],[47,60,33,41],[48,4,34,4],[48,11,34,11,"sqrtVoters"],[48,21,34,21],[48,22,34,22,"isZero"],[48,28,34,28],[48,29,34,29],[48,30,34,30],[48,33,35,10],[48,38,35,15],[48,41,36,10,"threshold"],[48,50,36,19],[48,51,36,20,"isSuperMajorityApprove"],[48,73,36,42],[48,76,37,14,"compareRationals"],[48,92,37,30],[48,93,37,31,"votedNay"],[48,101,37,39],[48,103,37,41,"sqrtVoters"],[48,113,37,51],[48,115,37,53,"votedAye"],[48,123,37,61],[48,125,37,63,"sqrtElectorate"],[48,139,37,77],[48,140,37,78],[48,143,38,14,"compareRationals"],[48,159,38,30],[48,160,38,31,"votedNay"],[48,168,38,39],[48,170,38,41,"sqrtElectorate"],[48,184,38,55],[48,186,38,57,"votedAye"],[48,194,38,65],[48,196,38,67,"sqrtVoters"],[48,206,38,77],[48,207,38,78],[49,2,39,0],[50,2,40,7],[50,11,40,16,"calcPassing"],[50,22,40,27,"calcPassing"],[50,23,40,28,"threshold"],[50,32,40,37],[50,34,40,39,"sqrtElectorate"],[50,48,40,53],[50,50,40,55,"state"],[50,55,40,60],[50,57,40,62],[51,4,41,4],[51,11,41,11,"threshold"],[51,20,41,20],[51,21,41,21,"isSimpleMajority"],[51,37,41,37],[51,40,42,10,"state"],[51,45,42,15],[51,46,42,16,"votedAye"],[51,54,42,24],[51,55,42,25,"gt"],[51,57,42,27],[51,58,42,28,"state"],[51,63,42,33],[51,64,42,34,"votedNay"],[51,72,42,42],[51,73,42,43],[51,76,43,10,"calcPassingOther"],[51,92,43,26],[51,93,43,27,"threshold"],[51,102,43,36],[51,104,43,38,"sqrtElectorate"],[51,118,43,52],[51,120,43,54,"state"],[51,125,43,59],[51,126,43,60],[52,2,44,0],[53,2,45,0],[53,11,45,9,"calcVotesPrev"],[53,24,45,22,"calcVotesPrev"],[53,25,45,23,"votesFor"],[53,33,45,31],[53,35,45,33],[54,4,46,4],[54,11,46,11,"votesFor"],[54,19,46,19],[54,20,46,20,"reduce"],[54,26,46,26],[54,27,46,27],[54,28,46,28,"state"],[54,33,46,33],[54,35,46,35,"derived"],[54,42,46,42],[54,47,46,47],[55,6,47,8],[55,12,47,14],[56,8,47,16,"balance"],[56,15,47,23],[57,8,47,25,"vote"],[58,6,47,30],[58,7,47,31],[58,10,47,34,"derived"],[58,17,47,41],[59,6,48,8],[59,12,48,14,"isDefault"],[59,21,48,23],[59,24,48,26,"vote"],[59,28,48,30],[59,29,48,31,"conviction"],[59,39,48,41],[59,40,48,42,"index"],[59,45,48,47],[59,50,48,52],[59,51,48,53],[60,6,49,8],[60,12,49,14,"counted"],[60,19,49,21],[60,22,49,24,"balance"],[60,29,49,31],[60,30,50,13,"muln"],[60,34,50,17],[60,35,50,18,"isDefault"],[60,44,50,27],[60,47,50,30],[60,48,50,31],[60,51,50,34,"vote"],[60,55,50,38],[60,56,50,39,"conviction"],[60,66,50,49],[60,67,50,50,"index"],[60,72,50,55],[60,73,50,56],[60,74,51,13,"divn"],[60,78,51,17],[60,79,51,18,"isDefault"],[60,88,51,27],[60,91,51,30],[60,93,51,32],[60,96,51,35],[60,97,51,36],[60,98,51,37],[61,6,52,8],[61,10,52,12,"vote"],[61,14,52,16],[61,15,52,17,"isAye"],[61,20,52,22],[61,22,52,24],[62,8,53,12,"state"],[62,13,53,17],[62,14,53,18,"allAye"],[62,20,53,24],[62,21,53,25,"push"],[62,25,53,29],[62,26,53,30,"derived"],[62,33,53,37],[62,34,53,38],[63,8,54,12,"state"],[63,13,54,17],[63,14,54,18,"voteCountAye"],[63,26,54,30],[63,28,54,32],[64,8,55,12,"state"],[64,13,55,17],[64,14,55,18,"votedAye"],[64,22,55,26],[64,23,55,27,"iadd"],[64,27,55,31],[64,28,55,32,"counted"],[64,35,55,39],[64,36,55,40],[65,6,56,8],[65,7,56,9],[65,13,57,13],[66,8,58,12,"state"],[66,13,58,17],[66,14,58,18,"allNay"],[66,20,58,24],[66,21,58,25,"push"],[66,25,58,29],[66,26,58,30,"derived"],[66,33,58,37],[66,34,58,38],[67,8,59,12,"state"],[67,13,59,17],[67,14,59,18,"voteCountNay"],[67,26,59,30],[67,28,59,32],[68,8,60,12,"state"],[68,13,60,17],[68,14,60,18,"votedNay"],[68,22,60,26],[68,23,60,27,"iadd"],[68,27,60,31],[68,28,60,32,"counted"],[68,35,60,39],[68,36,60,40],[69,6,61,8],[70,6,62,8,"state"],[70,11,62,13],[70,12,62,14,"voteCount"],[70,21,62,23],[70,23,62,25],[71,6,63,8,"state"],[71,11,63,13],[71,12,63,14,"votedTotal"],[71,22,63,24],[71,23,63,25,"iadd"],[71,27,63,29],[71,28,63,30,"counted"],[71,35,63,37],[71,36,63,38],[72,6,64,8],[72,13,64,15,"state"],[72,18,64,20],[73,4,65,4],[73,5,65,5],[73,7,65,7],[74,6,65,9,"allAye"],[74,12,65,15],[74,14,65,17],[74,16,65,19],[75,6,65,21,"allNay"],[75,12,65,27],[75,14,65,29],[75,16,65,31],[76,6,65,33,"voteCount"],[76,15,65,42],[76,17,65,44],[76,18,65,45],[77,6,65,47,"voteCountAye"],[77,18,65,59],[77,20,65,61],[77,21,65,62],[78,6,65,64,"voteCountNay"],[78,18,65,76],[78,20,65,78],[78,21,65,79],[79,6,65,81,"votedAye"],[79,14,65,89],[79,16,65,91],[79,20,65,95,"BN"],[79,33,65,97],[79,34,65,97,"BN"],[79,36,65,97],[79,37,65,98],[79,38,65,99],[79,39,65,100],[80,6,65,102,"votedNay"],[80,14,65,110],[80,16,65,112],[80,20,65,116,"BN"],[80,33,65,118],[80,34,65,118,"BN"],[80,36,65,118],[80,37,65,119],[80,38,65,120],[80,39,65,121],[81,6,65,123,"votedTotal"],[81,16,65,133],[81,18,65,135],[81,22,65,139,"BN"],[81,35,65,141],[81,36,65,141,"BN"],[81,38,65,141],[81,39,65,142],[81,40,65,143],[82,4,65,145],[82,5,65,146],[82,6,65,147],[83,2,66,0],[84,2,67,0],[84,11,67,9,"calcVotesCurrent"],[84,27,67,25,"calcVotesCurrent"],[84,28,67,26,"tally"],[84,33,67,31],[84,35,67,33,"votes"],[84,40,67,38],[84,42,67,40],[85,4,68,4],[85,10,68,10,"allAye"],[85,16,68,16],[85,19,68,19],[85,21,68,21],[86,4,69,4],[86,10,69,10,"allNay"],[86,16,69,16],[86,19,69,19],[86,21,69,21],[87,4,70,4,"votes"],[87,9,70,9],[87,10,70,10,"forEach"],[87,17,70,17],[87,18,70,19,"derived"],[87,25,70,26],[87,29,70,31],[88,6,71,8],[88,10,71,12,"derived"],[88,17,71,19],[88,18,71,20,"vote"],[88,22,71,24],[88,23,71,25,"isAye"],[88,28,71,30],[88,30,71,32],[89,8,72,12,"allAye"],[89,14,72,18],[89,15,72,19,"push"],[89,19,72,23],[89,20,72,24,"derived"],[89,27,72,31],[89,28,72,32],[90,6,73,8],[90,7,73,9],[90,13,74,13],[91,8,75,12,"allNay"],[91,14,75,18],[91,15,75,19,"push"],[91,19,75,23],[91,20,75,24,"derived"],[91,27,75,31],[91,28,75,32],[92,6,76,8],[93,4,77,4],[93,5,77,5],[93,6,77,6],[94,4,78,4],[94,11,78,11],[95,6,79,8,"allAye"],[95,12,79,14],[96,6,80,8,"allNay"],[96,12,80,14],[97,6,81,8,"voteCount"],[97,15,81,17],[97,17,81,19,"allAye"],[97,23,81,25],[97,24,81,26,"length"],[97,30,81,32],[97,33,81,35,"allNay"],[97,39,81,41],[97,40,81,42,"length"],[97,46,81,48],[98,6,82,8,"voteCountAye"],[98,18,82,20],[98,20,82,22,"allAye"],[98,26,82,28],[98,27,82,29,"length"],[98,33,82,35],[99,6,83,8,"voteCountNay"],[99,18,83,20],[99,20,83,22,"allNay"],[99,26,83,28],[99,27,83,29,"length"],[99,33,83,35],[100,6,84,8,"votedAye"],[100,14,84,16],[100,16,84,18,"tally"],[100,21,84,23],[100,22,84,24,"ayes"],[100,26,84,28],[101,6,85,8,"votedNay"],[101,14,85,16],[101,16,85,18,"tally"],[101,21,85,23],[101,22,85,24,"nays"],[101,26,85,28],[102,6,86,8,"votedTotal"],[102,16,86,18],[102,18,86,20,"tally"],[102,23,86,25],[102,24,86,26,"turnout"],[103,4,87,4],[103,5,87,5],[104,2,88,0],[105,2,89,7],[105,11,89,16,"calcVotes"],[105,20,89,25,"calcVotes"],[105,21,89,26,"sqrtElectorate"],[105,35,89,40],[105,37,89,42,"referendum"],[105,47,89,52],[105,49,89,54,"votes"],[105,54,89,59],[105,56,89,61],[106,4,90,4],[106,10,90,10,"state"],[106,15,90,15],[106,18,90,18,"isCurrentStatus"],[106,33,90,33],[106,34,90,34,"referendum"],[106,44,90,44],[106,45,90,45,"status"],[106,51,90,51],[106,52,90,52],[106,55,91,10,"calcVotesCurrent"],[106,71,91,26],[106,72,91,27,"referendum"],[106,82,91,37],[106,83,91,38,"status"],[106,89,91,44],[106,90,91,45,"tally"],[106,95,91,50],[106,97,91,52,"votes"],[106,102,91,57],[106,103,91,58],[106,106,92,10,"calcVotesPrev"],[106,119,92,23],[106,120,92,24,"votes"],[106,125,92,29],[106,126,92,30],[107,4,93,4],[107,11,93,11],[107,15,93,11,"objectSpread"],[107,28,93,23],[107,29,93,23,"objectSpread"],[107,41,93,23],[107,43,93,24],[107,44,93,25],[107,45,93,26],[107,47,93,28,"state"],[107,52,93,33],[107,54,93,35],[108,6,94,8,"isPassing"],[108,15,94,17],[108,17,94,19,"calcPassing"],[108,28,94,30],[108,29,94,31,"referendum"],[108,39,94,41],[108,40,94,42,"status"],[108,46,94,48],[108,47,94,49,"threshold"],[108,56,94,58],[108,58,94,60,"sqrtElectorate"],[108,72,94,74],[108,74,94,76,"state"],[108,79,94,81],[108,80,94,82],[109,6,95,8,"votes"],[110,4,96,4],[110,5,96,5],[110,6,96,6],[111,2,97,0],[112,2,98,7],[112,11,98,16,"getStatus"],[112,20,98,25,"getStatus"],[112,21,98,26,"info"],[112,25,98,30],[112,27,98,32],[113,4,99,4],[113,8,99,8,"info"],[113,12,99,12],[113,13,99,13,"isNone"],[113,19,99,19],[113,21,99,21],[114,6,100,8],[114,13,100,15],[114,17,100,19],[115,4,101,4],[116,4,102,4],[116,10,102,10,"unwrapped"],[116,19,102,19],[116,22,102,22,"info"],[116,26,102,26],[116,27,102,27,"unwrap"],[116,33,102,33],[116,34,102,34],[116,35,102,35],[117,4,103,4],[117,11,103,11,"isOldInfo"],[117,20,103,20],[117,21,103,21,"unwrapped"],[117,30,103,30],[117,31,103,31],[117,34,104,10,"unwrapped"],[117,43,104,19],[117,46,105,10,"unwrapped"],[117,55,105,19],[117,56,105,20,"isOngoing"],[117,65,105,29],[117,68,106,14,"unwrapped"],[117,77,106,23],[117,78,106,24,"asOngoing"],[118,4,107,12],[119,4,107,12],[119,6,108,14],[119,10,108,18],[120,2,109,0],[121,2,110,7],[121,11,110,16,"getImageHashBounded"],[121,30,110,35,"getImageHashBounded"],[121,31,110,36,"hash"],[121,35,110,40],[121,37,110,42],[122,4,111,4],[122,11,111,11,"hash"],[122,15,111,15],[122,16,111,16,"isLegacy"],[122,24,111,24],[122,27,112,10,"hash"],[122,31,112,14],[122,32,112,15,"asLegacy"],[122,40,112,23],[122,41,112,24,"hash_"],[122,46,112,29],[122,47,112,30,"toHex"],[122,52,112,35],[122,53,112,36],[122,54,112,37],[122,57,113,10,"hash"],[122,61,113,14],[122,62,113,15,"isLookup"],[122,70,113,23],[122,73,114,14,"hash"],[122,77,114,18],[122,78,114,19,"asLookup"],[122,86,114,27],[122,87,114,28,"hash_"],[122,92,114,33],[122,93,114,34,"toHex"],[122,98,114,39],[122,99,114,40],[123,4,115,12],[124,4,115,12],[124,6,116,14,"hash"],[124,10,116,18],[124,11,116,19,"isInline"],[124,19,116,27],[124,22,117,18,"hash"],[124,26,117,22],[124,27,117,23,"asInline"],[124,35,117,31],[124,36,117,32,"hash"],[124,40,117,36],[124,41,117,37,"toHex"],[124,46,117,42],[124,47,117,43],[124,48,117,44],[124,51,118,18],[124,55,118,18,"isString"],[124,68,118,26],[124,69,118,26,"isString"],[124,77,118,26],[124,79,118,27,"hash"],[124,83,118,31],[124,84,118,32],[124,87,119,22],[124,91,119,22,"isHex"],[124,104,119,27],[124,105,119,27,"isHex"],[124,110,119,27],[124,112,119,28,"hash"],[124,116,119,32],[124,117,119,33],[124,120,120,26,"hash"],[124,124,120,30],[124,127,121,26],[124,131,121,26,"stringToHex"],[124,144,121,37],[124,145,121,37,"stringToHex"],[124,156,121,37],[124,158,121,38,"hash"],[124,162,121,42],[124,163,121,43],[124,166,122,22],[124,170,122,22,"isU8a"],[124,183,122,27],[124,184,122,27,"isU8a"],[124,189,122,27],[124,191,122,28,"hash"],[124,195,122,32],[124,196,122,33],[124,199,123,26],[124,203,123,26,"u8aToHex"],[124,216,123,34],[124,217,123,34,"u8aToHex"],[124,225,123,34],[124,227,123,35,"hash"],[124,231,123,39],[124,232,123,40],[124,235,124,26,"hash"],[124,239,124,30],[124,240,124,31,"toHex"],[124,245,124,36],[124,246,124,37],[124,247,124,38],[125,2,125,0],[126,2,126,7],[126,11,126,16,"getImageHash"],[126,23,126,28,"getImageHash"],[126,24,126,29,"status"],[126,30,126,35],[126,32,126,37],[127,4,127,4],[127,11,127,11,"getImageHashBounded"],[127,30,127,30],[127,31,127,31,"status"],[127,37,127,37],[127,38,127,38,"proposal"],[127,46,127,46],[127,50,128,8,"status"],[127,56,128,14],[127,57,128,15,"proposalHash"],[127,69,128,27],[127,70,128,28],[128,2,129,0],[129,0,129,1],[129,3]],"functionMap":{"names":["<global>","isOldInfo","isCurrentStatus","compareRationals","calcPassingOther","calcPassing","calcVotesPrev","votesFor.reduce$argument_0","calcVotesCurrent","votes.forEach$argument_0","calcVotes","getStatus","getImageHashBounded","getImageHash"],"mappings":"AAA;ACC;CDE;AEC;CFE;OGC;CHuB;AIC;CJO;OKC;CLI;AMC;2BCC;KDmB;CNC;AQC;kBCG;KDO;CRW;OUC;CVQ;OWC;CXW;OYC;CZe;OaC;CbG"},"hasCjsExports":false},"type":"js/module"}]} |