diff --git a/package-lock.json b/package-lock.json index 09749b9e..00860f32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "kredits-web", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ef0b4abc..78408cb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kredits-web", - "version": "1.5.0", + "version": "1.5.1", "private": true, "description": "Contribution dashboard of the Kosmos project", "repository": "https://github.com/67P/kredits-web", diff --git a/release/assets/auto-import-fastboot-81f919f3d82c38703c7b0de8c4c4a874.map b/release/assets/auto-import-fastboot-81f919f3d82c38703c7b0de8c4c4a874.map new file mode 100644 index 00000000..c4d01e76 --- /dev/null +++ b/release/assets/auto-import-fastboot-81f919f3d82c38703c7b0de8c4c4a874.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"auto-import-fastboot.js"} \ No newline at end of file diff --git a/release/assets/auto-import-fastboot-e289ea484a4d8949ea84cb262a624452.js b/release/assets/auto-import-fastboot-e289ea484a4d8949ea84cb262a624452.js new file mode 100644 index 00000000..12207b19 --- /dev/null +++ b/release/assets/auto-import-fastboot-e289ea484a4d8949ea84cb262a624452.js @@ -0,0 +1,2 @@ + +//# sourceMappingURL=auto-import-fastboot-81f919f3d82c38703c7b0de8c4c4a874.map \ No newline at end of file diff --git a/release/assets/kredits-web-251d4f64bec565b2a7fb6e779aa4a6c1.map b/release/assets/kredits-web-251d4f64bec565b2a7fb6e779aa4a6c1.map new file mode 100644 index 00000000..7a6b0fd2 --- /dev/null +++ b/release/assets/kredits-web-251d4f64bec565b2a7fb6e779aa4a6c1.map @@ -0,0 +1 @@ +{"version":3,"sources":["vendor/ember-cli/app-prefix.js","kredits-web/app.js","kredits-web/components/add-contribution/component.js","kredits-web/components/add-contribution/template.js","kredits-web/components/add-contributor/component.js","kredits-web/components/add-contributor/template.js","kredits-web/components/add-proposal/component.js","kredits-web/components/add-proposal/template.js","kredits-web/components/chart-contributions-by-type/component.js","kredits-web/components/chart-contributions-by-type/template.js","kredits-web/components/contribution-list/component.js","kredits-web/components/contribution-list/template.js","kredits-web/components/contributor-list/component.js","kredits-web/components/contributor-list/template.js","kredits-web/components/ember-chart.js","kredits-web/components/ember-flatpickr.js","kredits-web/components/external-account-link/component.js","kredits-web/components/external-account-link/template.js","kredits-web/components/icon-account-gitea-kosmos-org/component.js","kredits-web/components/icon-account-gitea-kosmos-org/template.js","kredits-web/components/icon-account-github-com/component.js","kredits-web/components/icon-account-github-com/template.js","kredits-web/components/icon-account-wiki-kosmos-org/component.js","kredits-web/components/icon-account-wiki-kosmos-org/template.js","kredits-web/components/icon-web-globe/component.js","kredits-web/components/icon-web-globe/template.js","kredits-web/components/loading-spinner/component.js","kredits-web/components/loading-spinner/template.js","kredits-web/components/proposal-list/component.js","kredits-web/components/proposal-list/template.js","kredits-web/components/user-avatar/component.js","kredits-web/components/user-avatar/template.js","kredits-web/controllers/application.js","kredits-web/controllers/contributions/new.js","kredits-web/controllers/contributors/edit.js","kredits-web/controllers/contributors/new.js","kredits-web/controllers/dashboard.js","kredits-web/controllers/dashboard/contributors/show.js","kredits-web/controllers/proposals/new.js","kredits-web/helpers/and.js","kredits-web/helpers/app-version.js","kredits-web/helpers/await.js","kredits-web/helpers/capitalize-string.js","kredits-web/helpers/contribution-status.js","kredits-web/helpers/eq.js","kredits-web/helpers/gt.js","kredits-web/helpers/gte.js","kredits-web/helpers/is-array.js","kredits-web/helpers/is-confirmed-contribution.js","kredits-web/helpers/is-current-user.js","kredits-web/helpers/is-equal.js","kredits-web/helpers/is-fulfilled.js","kredits-web/helpers/is-pending.js","kredits-web/helpers/is-rejected.js","kredits-web/helpers/lt.js","kredits-web/helpers/lte.js","kredits-web/helpers/not-eq.js","kredits-web/helpers/not.js","kredits-web/helpers/or.js","kredits-web/helpers/promise-all.js","kredits-web/helpers/promise-hash.js","kredits-web/helpers/promise-rejected-reason.js","kredits-web/helpers/xor.js","kredits-web/initializers/app-version.js","kredits-web/initializers/container-debug-adapter.js","kredits-web/initializers/export-application-global.js","kredits-web/models/contribution.js","kredits-web/models/contributor.js","kredits-web/models/proposal.js","kredits-web/resolver.js","kredits-web/router.js","kredits-web/routes/application.js","kredits-web/routes/contributors/edit.js","kredits-web/routes/dashboard/contributors/show.js","kredits-web/routes/index.js","kredits-web/services/ajax.js","kredits-web/services/kredits.js","kredits-web/templates/application-loading.js","kredits-web/templates/application.js","kredits-web/templates/contributions/new.js","kredits-web/templates/contributors/edit.js","kredits-web/templates/contributors/new.js","kredits-web/templates/dashboard.js","kredits-web/templates/dashboard/contributors/show.js","kredits-web/templates/proposals/new.js","kredits-web/utils/cps/bignumber.js","kredits-web/utils/cps/kredits.js","kredits-web/utils/format-kredits.js","kredits-web/utils/group-by.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"names":["define","_exports","_resolver","_emberLoadInitializers","_environment","Object","defineProperty","value","default","App","Ember","Application","extend","modulePrefix","podModulePrefix","Resolver","_default","_slicedToArray","arr","i","Array","isArray","_arrayWithHoles","_arr","_n","_d","_e","undefined","_s","_i","Symbol","iterator","next","done","push","length","err","_iterableToArrayLimit","TypeError","_nonIterableRest","Component","attributes","contributors","freeze","isValidContributor","computed","notEmpty","isValidKind","isValidAmount","parseInt","this","amount","isValidDescription","isValidUrl","isValid","and","init","_super","apply","arguments","set","Date","contributorId","kind","date","description","url","reset","setProperties","actions","submit","_this","getProperties","keys","toISOString","split","save","then","console","warn","window","alert","finally","HTMLBars","template","id","block","meta","moduleName","kredits","inject","service","isValidAccount","isValidName","isValidURL","isValidGithubUID","isValidGithubUsername","isValidGiteaUsername","isValidWikiUsername","inProgress","setDefaultAttributes","isPresent","account","name","github_username","github_uid","gitea_username","wiki_username","contributor","catch","didInsertElement","proposal","saved","scroll","categoryColors","contributions","chartOptions","legend","display","chartData","filterBy","map","c","reduce","kinds","datasets","data","borderColor","borderWidth","labels","tagName","classNames","showQuickFilter","hideSmallContributions","contributionKind","contributorsSorting","sort","contributorsActive","activeIds","mapBy","toString","uniq","filter","includes","contributionKinds","contributionsFiltered","included","veto","contributionId","contractInteractionEnabled","vetoContribution","router","selectedContributorId","openContributorDetails","transitionTo","_emberChart","_emberFlatpickr","enumerable","get","iconComponentName","site","match","replace","confirm","proposalId","confirmProposal","SIZES","small","medium","large","classNameBindings","attributeBindings","size","src","alias","title","avatarURL","concat","Controller","minedContributors","sortedContributors","contribution","findBy","contributorIpfsHash","ipfsHash","addContribution","transitionToRoute","updateContributor","model","addContributor","showDetailsPane","currentBlock","contributionsConfirmed","contributionsUnconfirmed","contributionsSorting","contributionsUnconfirmedSorted","contributionsConfirmedSorted","kreditsByContributor","kreditsToplistSorting","showUnconfirmedKredits","kreditsToplist","hideUnconfirmedKredits","not","showQuickFilterUnconfirmed","showQuickFilterConfirmed","transaction","debug","hash","vote","toggleQuickFilterUnconfirmed","toggleProperty","toggleQuickFilterConfirmed","roleName","isCore","totalKreditsEarned","addProposal","_and","_regexp","appVersion","_","version","APP","versionOnly","hideSha","shaOnly","hideVersion","showExtended","versionExtendedRegExp","versionRegExp","shaRegExp","Helper","helper","_await","compute","_ref","string","charAt","toUpperCase","slice","vetoed","confirmedAt","_equal","equal","_gt","gt","_gte","gte","_isArray","currentUser","_isEqual","isEqual","_isFulfilled","isFulfilled","_isPending","isPending","_isRejected","isRejected","_lt","lt","_lte","lte","_notEqual","notEq","_not","_or","or","_promiseAll","promiseAll","_promiseHash","promiseHash","_promiseRejectedReason","_xor","xor","_initializerFactory","initialize","_containerDebugAdapter","app","register","application","exportApplicationGlobal","theGlobal","global","self","globalName","String","classify","reopen","willDestroy","_bignumber","creatorAccount","details","ipfsData","_kredits","balance","contributionsCount","votesCount","votesNeeded","executed","isExecuted","_emberResolver","Router","location","locationType","rootURL","route","path","Route","beforeModel","transition","setup","preflightChecks","error","retry","log","afterModel","loadInitialData","addContractEventHandlers","params","setupController","controller","controllerFor","deactivate","redirect","_ajax","_ethers","_kreditsContracts","_groupBy","_formatKredits","_contributor","_proposal","_contribution","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","Promise","_asyncToGenerator","fn","args","Service","currentUserAccounts","proposals","currentUserIsContributor","currentUserIsCore","hasAccounts","accountNeedsUnlock","isEmpty","_this2","_this3","contributionsGrouped","contributorsWithUnconfirmed","contributorsWithOnlyConfirmed","amountUnconfirmed","items","a","b","create","amountConfirmed","amountTotal","forEach","getEthProvider","ethProvider","_this4","RSVP","regeneratorRuntime","mark","_callee2","instantiateWithoutAccount","instantiateWithAccount","_instantiateWithAccount","wrap","_context2","prev","_callee","web3Provider","context","_context","providers","Web3Provider","listAccounts","accounts","ethSigner","getSigner","stop","_x2","_x3","web3ProviderUrl","JsonRpcProvider","ethereum","enable","t0","web3","currentProvider","_x","_this5","providerAndSigner","addresses","Kernel","kreditsKernelAddress","apm","kreditsApmDomain","ipfsConfig","ipfs","_ref5","_callee3","_context3","provider","getBlockNumber","t1","sent","call","getCurrentUser","contributorData","abrupt","_x4","totalSupply","Token","functions","total","Contribution","toNumber","_this6","getContributors","pushObjects","getContributions","uidInt","Contributor","add","gasLimit","updateProfile","all","_this7","blockNumber","pushObject","_this8","Proposal","getProposals","_this9","_this10","page","_this11","getContributorIdByAddress","getById","findProposalById","on","handleContributorChange","bind","handleContributionVetoed","handleProposalCreated","handleProposalVoted","handleProposalExecuted","handleTransfer","_handleContributorChange","_callee4","_len","_key","newContributor","oldContributor","_args4","_context4","removeObject","_x5","_this12","voterId","totalVotes","incrementProperty","from","to","decrementProperty","dependentKey","converterMethod","utils","BigNumber","isBigNumber","bnValue","bigNumberify","options","etherValue","formatEther","decimals","collection","property","groups","A","item","group","metaName","prefix","rawConfig","document","querySelector","getAttribute","exports","JSON","parse","decodeURIComponent","Error","runningTests","require"],"mappings":"AAAA;ACAAA,OAAA,kBAAA,CAAA,UAAA,uBAAA,0BAAA,kCAAA,SAAAC,EAAAC,EAAAC,EAAAC,GAGAC,OAAAC,eAAA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AA,EAAAM,QAAA,SAAA6H,GACA,IAAAle,EAAAG,MAAAoJ,IAAA2U,EAAAH,GACAI,EAAAH,EAAAjT,OAAA,QAAA/K;AAEAG,MAAA2F,UAAAqY,GACAhe,MAAAoJ,IAAA4U,EAAA,SAAAxc,KAAAuc,IAEAC,EAAA,CACAJ,SAAAA,EACA/d,MAAAA,EACA+V,MAAA,CAAAmI,IAEAF,EAAArc,KAAAwc;AAKA,OAAAH,KC9BAve,OAAA,iCAAA,GAAA,WAEA,IACA,IAAA2e,EAAAC,iCACAC,EAAAC,SAAAC,cAAA,cAAAJ,EAAA,MAAAK,aAAA,WAGAC,EAAA,CAAAze,QAFA0e,KAAAC,MAAAC,mBAAAP;AAMA,OAFAxe,OAAAC,eAAA2e,EAAA,aAAA,CAAA1e,OAAA,IAEA0e,EAEA,MAAA7c,GACA,MAAA,IAAAid,MAAA,kDAAAV,EAAA,SCbAW,cACAC,QAAA,mBAAA,QAAA9I,OAAA,CAAAlQ,KAAA,cAAAqH,QAAA","file":"kredits-web.js","sourcesContent":["'use strict';\n\n\n","define(\"kredits-web/app\", [\"exports\", \"kredits-web/resolver\", \"ember-load-initializers\", \"kredits-web/config/environment\"], function (_exports, _resolver, _emberLoadInitializers, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var App = Ember.Application.extend({\n modulePrefix: _environment.default.modulePrefix,\n podModulePrefix: _environment.default.podModulePrefix,\n Resolver: _resolver.default\n });\n (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n var _default = App;\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contribution/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Component.extend({\n attributes: null,\n contributors: Object.freeze([]),\n isValidContributor: Ember.computed.notEmpty('contributorId'),\n isValidKind: Ember.computed.notEmpty('kind'),\n isValidAmount: Ember.computed('amount', function () {\n return parseInt(this.amount, 10) > 0;\n }),\n isValidDescription: Ember.computed.notEmpty('description'),\n isValidUrl: Ember.computed.notEmpty('url'),\n isValid: Ember.computed.and('isValidContributor', 'isValidKind', 'isValidAmount', 'isValidDescription'),\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('defaultDate', new Date()); // Default attributes used by reset\n\n this.set('attributes', {\n contributorId: null,\n kind: null,\n date: [new Date()],\n amount: null,\n description: null,\n url: null\n });\n this.reset();\n },\n reset: function reset() {\n this.setProperties(this.attributes);\n },\n actions: {\n submit: function submit() {\n var _this = this;\n\n if (!this.isValid) {\n alert('Invalid data. Please review and try again.');\n return;\n }\n\n var attributes = this.getProperties(Object.keys(this.attributes));\n\n var _attributes$date$0$to = attributes.date[0].toISOString().split('T'),\n _attributes$date$0$to2 = _slicedToArray(_attributes$date$0$to, 1),\n date\n /* , time */\n = _attributes$date$0$to2[0];\n\n attributes.date = date;\n this.set('inProgress', true);\n this.save(attributes).then(function ()\n /*contribution*/\n {\n _this.reset();\n }, function (err) {\n console.warn(err);\n window.alert('Something went wrong. Check the browser console for details.');\n }).finally(function () {\n return _this.set('inProgress', false);\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contribution/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"U4IJj1aB\",\n \"block\": \"{\\\"symbols\\\":[\\\"contributor\\\"],\\\"statements\\\":[[7,\\\"form\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributorId\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[11,\\\"disabled\\\",\\\"\\\"],[11,\\\"hidden\\\",\\\"\\\"],[9],[0,\\\"Contributor\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributors\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,1,[\\\"id\\\"]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributorId\\\"]],[22,1,[\\\"id\\\"]]],null]],[9],[1,[22,1,[\\\"name\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"kind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[11,\\\"disabled\\\",\\\"\\\"],[11,\\\"hidden\\\",\\\"\\\"],[9],[0,\\\"Kind\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"community\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"community\\\"],null]],[9],[0,\\\"Community\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"design\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"design\\\"],null]],[9],[0,\\\"Design\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"dev\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"dev\\\"],null]],[9],[0,\\\"Development\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"docs\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"docs\\\"],null]],[9],[0,\\\"Documentation\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"ops\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"ops\\\"],null]],[9],[0,\\\"IT Operations\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"special\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"special\\\"],null]],[9],[0,\\\"Special\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"ember-flatpickr\\\",null,[[\\\"allowInput\\\",\\\"altFormat\\\",\\\"altInput\\\",\\\"altInputClass\\\",\\\"date\\\",\\\"dateFormat\\\",\\\"defaultDate\\\",\\\"maxDate\\\",\\\"onChange\\\"],[false,\\\"F j, Y\\\",true,\\\"date-alt\\\",[23,[\\\"date\\\"]],\\\"Y-m-d\\\",[23,[\\\"defaultDate\\\"]],[23,[\\\"defaultDate\\\"]],[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"date\\\"]]],null]],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"500\\\",[23,[\\\"amount\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidAmount\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"Description\\\",[23,[\\\"description\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidDescription\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"URL (optional)\\\",[23,[\\\"url\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidUrl\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"disabled\\\",\\\"value\\\"],[\\\"submit\\\",[23,[\\\"inProgress\\\"]],[27,\\\"if\\\",[[23,[\\\"inProgress\\\"]],\\\"Processing\\\",\\\"Save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"submit\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[10],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/add-contribution/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contributor/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n kredits: Ember.inject.service(),\n attributes: null,\n // TODO: add proper address validation\n isValidAccount: Ember.computed.notEmpty('account'),\n isValidName: Ember.computed.notEmpty('name'),\n isValidURL: Ember.computed.notEmpty('url'),\n isValidGithubUID: Ember.computed.notEmpty('github_uid'),\n isValidGithubUsername: Ember.computed.notEmpty('github_username'),\n isValidGiteaUsername: Ember.computed.notEmpty('gitea_username'),\n isValidWikiUsername: Ember.computed.notEmpty('wiki_username'),\n isValid: Ember.computed.and('isValidAccount', 'isValidName', 'isValidGithubUID'),\n inProgress: false,\n init: function init() {\n this._super.apply(this, arguments);\n\n this.setDefaultAttributes();\n this.reset();\n },\n setDefaultAttributes: function setDefaultAttributes() {\n if (Ember.isPresent(this.attributes)) {\n return;\n }\n\n this.set('attributes', {\n account: null,\n name: null,\n kind: 'person',\n url: null,\n github_username: null,\n github_uid: null,\n gitea_username: null,\n wiki_username: null\n });\n },\n reset: function reset() {\n this.setProperties(this.attributes);\n },\n actions: {\n submit: function submit() {\n var _this = this;\n\n if (!this.isValid) {\n alert('Invalid data. Please review and try again.');\n return;\n }\n\n var attributes = Object.keys(this.attributes);\n var contributor = this.getProperties(attributes);\n this.set('inProgress', true);\n this.save(contributor).then(function () {\n _this.reset();\n }).catch(function (err) {\n console.warn(err);\n window.alert('Something went wrong. Please check the browser console.');\n }).finally(function () {\n _this.set('inProgress', false);\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contributor/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"ub+zr3DC\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"form\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-account\\\"],[9],[0,\\\"Ethereum account\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"id\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\"],[\\\"account\\\",\\\"c-account\\\",\\\"text\\\",[23,[\\\"account\\\"]],\\\"0xF18E631Ea191aE4ebE70046Fcb01a436554421BA4\\\",[27,\\\"if\\\",[[23,[\\\"isValidAccount\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-kind\\\"],[9],[0,\\\"Kind\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"kind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[11,\\\"id\\\",\\\"c-kind\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"person\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"person\\\"],null]],[9],[0,\\\"Person\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"organization\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"organization\\\"],null]],[9],[0,\\\"Organization\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-name\\\"],[9],[0,\\\"Name\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"name\\\",\\\"text\\\",[23,[\\\"name\\\"]],\\\"Zero Cool\\\",[27,\\\"if\\\",[[23,[\\\"isValidName\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-name\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-url\\\"],[9],[0,\\\"URL\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"url\\\",\\\"text\\\",[23,[\\\"url\\\"]],\\\"http://zerocool.bit\\\",[27,\\\"if\\\",[[23,[\\\"isValidURL\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-url\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-github-uid\\\"],[9],[0,\\\"GitHub UID\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"github_uid\\\",\\\"text\\\",[23,[\\\"github_uid\\\"]],\\\"2342\\\",[27,\\\"if\\\",[[23,[\\\"isValidGithubUID\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-github-uid\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-github-username\\\"],[9],[0,\\\"GitHub username\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"github_username\\\",\\\"text\\\",[23,[\\\"github_username\\\"]],\\\"zerocool\\\",[27,\\\"if\\\",[[23,[\\\"isValidGithubUsername\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-github-username\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-gitea-username\\\"],[9],[0,\\\"Gitea username\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"gitea_username\\\",\\\"text\\\",[23,[\\\"gitea_username\\\"]],\\\"zerocool\\\",[27,\\\"if\\\",[[23,[\\\"isValidGiteaUsername\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-gitea-username\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-wiki-username\\\"],[9],[0,\\\"Wiki username\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"wiki_username\\\",\\\"text\\\",[23,[\\\"wiki_username\\\"]],\\\"ZeroCool\\\",[27,\\\"if\\\",[[23,[\\\"isValidWikiUsername\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-wiki-username\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"disabled\\\",\\\"value\\\"],[\\\"submit\\\",[23,[\\\"inProgress\\\"]],[27,\\\"if\\\",[[23,[\\\"inProgress\\\"]],\\\"Processing\\\",\\\"Save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"submit\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/add-contributor/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-proposal/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n attributes: null,\n contributors: Object.freeze([]),\n isValidContributor: Ember.computed.notEmpty('contributorId'),\n isValidAmount: Ember.computed('amount', function () {\n return parseInt(this.amount, 10) > 0;\n }),\n isValidDescription: Ember.computed.notEmpty('description'),\n isValidUrl: Ember.computed.notEmpty('url'),\n isValid: Ember.computed.and('isValidContributor', 'isValidAmount', 'isValidDescription'),\n init: function init() {\n this._super.apply(this, arguments); // Default attributes used by reset\n\n\n this.set('attributes', {\n contributorId: null,\n kind: 'community',\n amount: null,\n description: null,\n url: null\n });\n },\n didInsertElement: function didInsertElement() {\n this._super.apply(this, arguments);\n\n this.reset();\n },\n reset: function reset() {\n this.setProperties(this.attributes);\n },\n actions: {\n submit: function submit() {\n var _this = this;\n\n if (!this.isValid) {\n alert('Invalid data. Please review and try again.');\n return;\n }\n\n var attributes = Object.keys(this.attributes);\n var proposal = this.getProperties(attributes);\n var saved = this.save(proposal); // The promise handles inProgress\n\n this.set('inProgress', saved);\n saved.then(function () {\n _this.reset();\n\n window.scroll(0, 0);\n window.alert('Proposal added.');\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-proposal/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"3DOgBCvD\",\n \"block\": \"{\\\"symbols\\\":[\\\"contributor\\\"],\\\"statements\\\":[[7,\\\"form\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributorId\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[11,\\\"disabled\\\",\\\"\\\"],[11,\\\"hidden\\\",\\\"\\\"],[9],[0,\\\"Contributor\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributors\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,1,[\\\"id\\\"]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributorId\\\"]],[22,1,[\\\"id\\\"]]],null]],[9],[1,[22,1,[\\\"github_username\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"kind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"community\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"community\\\"],null]],[9],[0,\\\"Community\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"design\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"design\\\"],null]],[9],[0,\\\"Design\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"dev\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"dev\\\"],null]],[9],[0,\\\"Development\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"docs\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"docs\\\"],null]],[9],[0,\\\"Documentation\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"ops\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"ops\\\"],null]],[9],[0,\\\"IT Operations\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"100\\\",[23,[\\\"amount\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidAmount\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"Description\\\",[23,[\\\"description\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidDescription\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"URL (optional)\\\",[23,[\\\"url\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidUrl\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"disabled\\\",\\\"value\\\"],[\\\"submit\\\",[27,\\\"is-pending\\\",[[23,[\\\"inProgress\\\"]]],null],[27,\\\"if\\\",[[27,\\\"is-pending\\\",[[23,[\\\"inProgress\\\"]]],null],\\\"Processing\\\",\\\"Save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[4,\\\"link-to\\\",[\\\"index\\\"],null,{\\\"statements\\\":[[0,\\\"Back\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"submit\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[10],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/add-proposal/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/chart-contributions-by-type/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var categoryColors = {\n community: \"#fb6868\",\n design: \"#fbe468\",\n dev: \"#e068fb\",\n docs: \"#97fb68\",\n ops: \"#8f68fb\"\n };\n\n var _default = Ember.Component.extend({\n contributions: null,\n chartOptions: Object.freeze({\n legend: {\n display: false\n }\n }),\n chartData: Ember.computed('contributions', function () {\n var kredits = this.contributions.filterBy('vetoed', false).map(function (c) {\n return {\n kind: c.kind,\n amount: c.amount\n };\n }).reduce(function (kinds, c) {\n if (c.kind in kinds) {\n kinds[c.kind] = kinds[c.kind] + c.amount;\n } else {\n kinds[c.kind] = c.amount;\n }\n\n return kinds;\n }, {});\n return {\n datasets: [{\n data: [kredits['community'], kredits['design'], kredits['dev'], kredits['ops'], kredits['docs']],\n borderColor: [categoryColors.community, categoryColors.design, categoryColors.dev, categoryColors.ops, categoryColors.docs],\n borderWidth: 1\n }],\n labels: ['Community', 'Design', 'Development', 'Operations & Infrastructure', 'Documentation']\n };\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/chart-contributions-by-type/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"knNRD8x3\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"div\\\"],[11,\\\"class\\\",\\\"chart\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"ember-chart\\\",null,[[\\\"type\\\",\\\"data\\\",\\\"options\\\",\\\"width\\\",\\\"height\\\"],[\\\"doughnut\\\",[23,[\\\"chartData\\\"]],[23,[\\\"chartOptions\\\"]],200,200]]],false],[0,\\\"\\\\n\\\"],[10]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/chart-contributions-by-type/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contribution-list/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: 'div',\n classNames: ['contributions'],\n showQuickFilter: false,\n hideSmallContributions: false,\n contributorId: null,\n contributionKind: null,\n kredits: Ember.inject.service(),\n contributorsSorting: Object.freeze(['name:asc']),\n contributors: Ember.computed.sort('kredits.contributors', 'contributorsSorting'),\n contributorsActive: Ember.computed('contributors.[]', 'contributions', function () {\n var activeIds = this.contributions.mapBy('contributorId').map(function (id) {\n return id.toString();\n }).uniq();\n return this.contributors.filter(function (c) {\n return activeIds.includes(c.id.toString());\n });\n }),\n contributionKinds: Ember.computed('contributions.[]', function () {\n return this.contributions.mapBy('kind').uniq();\n }),\n contributionsFiltered: Ember.computed('contributions.[]', 'hideSmallContributions', 'contributorId', 'contributionKind', function () {\n var _this = this;\n\n return this.contributions.filter(function (c) {\n var included = true;\n\n if (_this.hideSmallContributions && c.amount <= 500) {\n included = false;\n }\n\n if (Ember.isPresent(_this.contributorId) && c.contributorId.toString() !== _this.contributorId.toString()) {\n included = false;\n }\n\n if (Ember.isPresent(_this.contributionKind) && c.kind !== _this.contributionKind) {\n included = false;\n }\n\n return included;\n });\n }),\n actions: {\n veto: function veto(contributionId) {\n if (this.contractInteractionEnabled) {\n this.vetoContribution(contributionId);\n } else {\n window.alert('Only members can veto contributions. Please ask someone to set you up.');\n }\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contribution-list/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"f2WDZU66\",\n \"block\": \"{\\\"symbols\\\":[\\\"contribution\\\",\\\"kind\\\",\\\"contributor\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"showQuickFilter\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"quick-filter\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"class\\\",\\\"filter-contributor\\\"],[9],[0,\\\"\\\\n Contributor:\\\\n \\\"],[7,\\\"select\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributorId\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[9],[0,\\\"all\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributorsActive\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,3,[\\\"id\\\"]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributorId\\\"]],[22,3,[\\\"id\\\"]]],null]],[9],[1,[22,3,[\\\"name\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"class\\\",\\\"filter-contribution-kind\\\"],[9],[0,\\\"\\\\n Kind:\\\\n \\\"],[7,\\\"select\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributionKind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[9],[0,\\\"all\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributionKinds\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,2,[]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributionKind\\\"]],[22,2,[]]],null]],[9],[1,[27,\\\"capitalize-string\\\",[[22,2,[]]],null],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"class\\\",\\\"filter-contribution-size\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"checked\\\"],[\\\"checkbox\\\",[23,[\\\"hideSmallContributions\\\"]]]]],false],[0,\\\"\\\\n Hide small contributions\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[7,\\\"ul\\\"],[11,\\\"class\\\",\\\"contribution-list\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributionsFiltered\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[12,\\\"data-contribution-id\\\",[22,1,[\\\"id\\\"]]],[12,\\\"class\\\",[28,[[27,\\\"contribution-status\\\",[[22,1,[]]],null],\\\" \\\",[27,\\\"if\\\",[[22,1,[\\\"vetoed\\\"]],\\\"vetoed\\\"],null]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"meta\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"recipient\\\"],[9],[1,[27,\\\"user-avatar\\\",null,[[\\\"contributor\\\"],[[22,1,[\\\"contributor\\\"]]]]],false],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[12,\\\"class\\\",[28,[\\\"category \\\",[22,1,[\\\"kind\\\"]]]]],[9],[0,\\\"(\\\"],[1,[22,1,[\\\"kind\\\"]],false],[0,\\\")\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"title\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[22,1,[\\\"url\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[22,1,[\\\"url\\\"]]],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[12,\\\"title\\\",[22,1,[\\\"description\\\"]]],[9],[1,[22,1,[\\\"description\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\" \\\"],[1,[22,1,[\\\"description\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"kredits-amount\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"amount\\\"],[9],[1,[22,1,[\\\"amount\\\"]],false],[10],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"symbol\\\"],[9],[0,\\\"₭S\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[22,1,[\\\"vetoed\\\"]]],null,{\\\"statements\\\":[[4,\\\"unless\\\",[[27,\\\"is-confirmed-contribution\\\",[[22,1,[]]],null]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"voting\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[11,\\\"class\\\",\\\"small danger\\\"],[9],[0,\\\"veto\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"veto\\\",[22,1,[\\\"id\\\"]]]],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[10]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/contribution-list/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contributor-list/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n router: Ember.inject.service(),\n tagName: 'table',\n classNames: 'contributor-list',\n selectedContributorId: null,\n actions: {\n openContributorDetails: function openContributorDetails(contributor) {\n this.router.transitionTo('dashboard.contributors.show', contributor);\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contributor-list/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"KRexKElo\",\n \"block\": \"{\\\"symbols\\\":[\\\"c\\\"],\\\"statements\\\":[[7,\\\"tbody\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributorList\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"tr\\\"],[11,\\\"role\\\",\\\"button\\\"],[12,\\\"class\\\",[28,[[27,\\\"if\\\",[[27,\\\"is-current-user\\\",[[22,1,[\\\"contributor\\\"]]],null],\\\"current-user\\\"],null],\\\" \\\",[27,\\\"if\\\",[[27,\\\"eq\\\",[[22,1,[\\\"contributor\\\",\\\"id\\\"]],[23,[\\\"selectedContributorId\\\"]]],null],\\\"selected\\\"],null]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"td\\\"],[11,\\\"class\\\",\\\"person\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"user-avatar\\\",null,[[\\\"contributor\\\"],[[22,1,[\\\"contributor\\\"]]]]],false],[0,\\\" \\\"],[1,[22,1,[\\\"contributor\\\",\\\"name\\\"]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"td\\\"],[11,\\\"class\\\",\\\"kredits\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"amount\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"showUnconfirmedKredits\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[1,[22,1,[\\\"amountTotal\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\" \\\"],[1,[22,1,[\\\"amountConfirmed\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"symbol\\\"],[9],[0,\\\"₭S\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[3,\\\"action\\\",[[22,0,[]],\\\"openContributorDetails\\\",[22,1,[\\\"contributor\\\"]]]],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/contributor-list/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/ember-chart\", [\"exports\", \"ember-cli-chart/components/ember-chart\"], function (_exports, _emberChart) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = _emberChart.default;\n _exports.default = _default;\n});","define(\"kredits-web/components/ember-flatpickr\", [\"exports\", \"ember-flatpickr/components/ember-flatpickr\"], function (_exports, _emberFlatpickr) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _emberFlatpickr.default;\n }\n });\n});","define(\"kredits-web/components/external-account-link/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\",\n account: null,\n iconComponentName: Ember.computed('account.site', function () {\n if (this.account.site.match(/github|gitea|wiki/)) {\n return 'icon-account-' + this.account.site.replace(/\\./g, '-');\n } else {\n return 'icon-web-globe';\n }\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/external-account-link/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"ruT9Rg4z\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"a\\\"],[12,\\\"href\\\",[23,[\\\"account\\\",\\\"url\\\"]]],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[12,\\\"title\\\",[28,[[23,[\\\"account\\\",\\\"username\\\"]],\\\" on \\\",[23,[\\\"account\\\",\\\"site\\\"]]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"site\\\"],[9],[1,[23,[\\\"account\\\",\\\"site\\\"]],false],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"component\\\",[[23,[\\\"iconComponentName\\\"]]],null],false],[0,\\\"\\\\n\\\"],[10]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/external-account-link/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-gitea-kosmos-org/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-gitea-kosmos-org/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"JiltL+jf\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"class\\\",\\\"icon-gitea\\\"],[11,\\\"width\\\",\\\"400\\\"],[11,\\\"height\\\",\\\"400\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 400 400\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"g\\\"],[11,\\\"fill-rule\\\",\\\"evenodd\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"d\\\",\\\"m235.61 136.7 7e-3 32.7 4.493 2.189c2.471 1.204 4.628 2.25 4.793 2.324s0.3-15.626 0.3-34.889v-35.024h-9.6l7e-3 32.7m-22.336 30.528c-2.787 0.548-5.894 2.175-8.11 4.244-2.296 2.145-1.694 0.967-24.197 47.328l-11.164 23v4.6c0 4.305 0.076 4.75 1.185 6.942 2.815 5.56 1.055 4.606 69.415 37.629l4.2 2.029h4.221c10.104 0 11.144-1.319 26.676-33.8 0.999-2.09 4.15-8.57 7.001-14.4s6.916-14.2 9.033-18.6l3.849-8 0.01-4.219c0.02-8.49-2.644-11.721-14.326-17.371-4.215-2.038-11.264-5.461-15.664-7.606-15.241-7.429-22.802-11.07-23.125-11.137-0.418-0.086-1.177 1.299-5.112 9.333l-3.234 6.6 1.19 2.2c0.654 1.21 1.308 3.038 1.454 4.063l0.265 1.862 5.747 2.8c22.047 10.742 22.975 15.314 9.007 44.377l-3.317 6.902 1.162 2.098c3.865 6.974-0.923 15.098-8.898 15.098-12.557 0-13.717-18.335-1.278-20.2l1.842-0.276 3.101-6.462c12.037-25.079 11.953-25.952-3.232-33.53l-7.333-3.659-2.319 1.032c-1.276 0.567-3.151 1.153-4.167 1.301l-1.848 0.269-6.785 13.855-6.786 13.854 1.109 1.747c6.109 9.633-5.532 20.771-14.552 13.924-6.729-5.108-4.39-16.742 3.633-18.073 0.812-0.134 1.71-0.318 1.996-0.408 0.429-0.136 6.592-12.372 13.118-26.044l1.37-2.87-0.782-1.33c-3.586-6.099 0.331-14.253 7.353-15.306l1.683-0.252 3.969-8.045c2.183-4.425 4.019-8.168 4.08-8.319s-2.979-1.758-6.755-3.571c-8.092-3.885-10.4-4.452-14.685-3.609\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"d\\\",\\\"m73.4 97.876c-2.903 0.376-8.068 1.377-8.8 1.705-0.44 0.197-2.915 1.007-5.5 1.8s-4.7 1.617-4.7 1.831c0 0.213-0.225 0.388-0.5 0.388-0.63 1e-3 -5.615 2.344-5.893 2.771-0.114 0.175-0.837 0.638-1.607 1.029-5.482 2.788-14.835 11.523-18.63 17.4-0.639 0.99-1.274 1.89-1.409 2-0.659 0.534-4.752 8.933-5.555 11.4-0.502 1.54-1.048 2.98-1.213 3.2-0.587 0.782-2.031 7.531-2.489 11.633-0.256 2.292-0.61 4.167-0.785 4.167-0.443 0-0.403 17.45 0.042 18.305 0.199 0.382 0.566 2.748 0.816 5.258 0.493 4.939 1.847 12.516 2.428 13.578 0.198 0.363 0.83 2.369 1.405 4.459 1.927 7.009 10.26 22.927 12.44 23.764 0.303 0.116 0.55 0.481 0.55 0.812 0 0.813 10.667 11.552 12.3 12.383 0.715 0.364 1.3 0.821 1.3 1.017 0 0.195 0.945 0.934 2.1 1.642s2.19 1.41 2.3 1.561 1.28 0.875 2.6 1.609c1.32 0.735 2.67 1.552 3 1.816s1.95 1.086 3.6 1.827c1.65 0.74 3.101 1.486 3.224 1.658 0.123 0.171 1.741 0.865 3.596 1.542s3.557 1.384 3.783 1.572c0.226 0.187 2.388 0.907 4.804 1.599s4.753 1.423 5.193 1.624c1.299 0.593 7.258 1.856 12.2 2.586 2.53 0.374 4.96 0.83 5.4 1.013 1.151 0.48 8.262 1.165 15.067 1.45l5.866 0.247 0.877 2.594c0.903 2.673 4.652 10.529 5.195 10.884 0.168 0.11 0.585 0.83 0.928 1.6 0.685 1.538 1.927 3.686 2.313 4 0.135 0.11 0.826 1.19 1.536 2.4 1.544 2.634 4.561 7.175 5.293 7.968 0.289 0.313 0.975 1.236 1.525 2.051 1.729 2.563 7.039 9.405 8.557 11.025 0.244 0.26 1.523 1.692 2.843 3.183 3.476 3.925 7.354 7.774 10.261 10.183 1.397 1.157 2.629 2.223 2.739 2.368s1.096 0.884 2.191 1.643c1.094 0.758 2.33 1.681 2.745 2.051s1.229 0.911 1.809 1.203 1.884 1.026 2.897 1.632c1.952 1.167 7.201 3.093 8.428 3.093 0.402 0 0.73 0.18 0.73 0.4 0 0.511 115.46 0.557 115.77 0.046 0.121-0.194 1.074-0.482 2.119-0.639 2.437-0.365 7.765-2.307 9.27-3.378 0.64-0.456 1.334-0.829 1.542-0.829 0.451 0 5.639-3.687 8.597-6.111 2.854-2.337 5.633-5.107 8.718-8.689 1.42-1.65 2.681-3.09 2.8-3.2 0.581-0.536 5.161-6.76 5.812-7.9 0.409-0.715 0.869-1.3 1.023-1.3 0.153 0 0.938-1.125 1.742-2.5 2.068-3.533 4.108-6.822 4.561-7.352 0.213-0.248 1.043-1.755 1.845-3.348s1.62-3.1 1.818-3.348c0.687-0.864 5.069-9.661 5.555-11.152 0.269-0.825 0.642-1.5 0.829-1.5s0.878-1.396 1.536-3.101c0.658-1.706 1.671-4.047 2.251-5.203 0.581-1.156 1.405-3.116 1.832-4.356 0.426-1.239 0.934-2.453 1.129-2.696 0.194-0.244 0.946-2.154 1.671-4.244s1.446-3.89 1.602-4c0.155-0.11 0.964-2.36 1.797-5 0.832-2.64 1.627-4.89 1.766-5s0.861-2.27 1.604-4.8c0.742-2.53 1.484-4.782 1.649-5.003 0.164-0.222 0.872-2.562 1.573-5.2 0.701-2.639 1.412-4.977 1.58-5.197s0.965-3.19 1.77-6.6 1.623-6.488 1.817-6.84c0.195-0.353 0.919-3.503 1.611-7 0.692-3.498 1.431-6.678 1.642-7.068 0.211-0.389 0.938-4.169 1.616-8.4 0.677-4.23 1.388-8.052 1.579-8.492 0.192-0.44 0.708-3.77 1.147-7.4 4.258-35.198 1.497-55.451-8.208-60.199l-2.219-1.086-7.473 0.266c-4.111 0.146-7.834 0.417-8.274 0.602-0.801 0.336-13.842 0.941-52 2.412-11.22 0.433-22.2 0.881-24.4 0.997-2.2 0.115-11.334 0.415-20.298 0.665l-16.298 0.455-0.204 69.922-9.392-4.634-8e-3 -65.272-19.3-0.277c-10.615-0.153-19.84-0.441-20.5-0.642-0.66-0.2-6.69-0.551-13.4-0.779-21.82-0.743-58.18-2.495-59-2.843-0.44-0.187-4.04-0.453-8-0.591s-11.34-0.508-16.4-0.822c-8.365-0.519-22.619-0.685-25.6-0.298m13.657 31.23c0.269 0.173 0.809 3.742 1.313 8.694 0.471 4.62 1.021 8.76 1.221 9.2 0.201 0.44 0.561 2.42 0.801 4.4 0.709 5.856 2.382 15.937 2.787 16.8 0.207 0.44 0.943 3.68 1.636 7.2s1.4 6.58 1.571 6.8 0.803 2.56 1.405 5.2c0.601 2.64 1.333 5.34 1.627 6 0.293 0.66 1.193 3.63 2 6.6 0.808 2.97 1.597 5.49 1.754 5.6s0.884 2.27 1.614 4.8c0.731 2.53 1.455 4.69 1.608 4.8 0.154 0.11 0.868 2.09 1.587 4.4 0.72 2.31 1.494 4.429 1.721 4.71 0.226 0.28 0.341 0.567 0.255 0.637-0.263 0.215-9.713-1.339-10.37-1.704-0.337-0.188-1.237-0.468-2-0.623-4-0.814-10.947-2.703-11.712-3.185-0.481-0.304-1.325-0.675-1.875-0.825-1.377-0.377-5.355-1.954-5.6-2.22-0.11-0.12-1.447-0.841-2.971-1.604-1.524-0.762-3.216-1.791-3.759-2.286s-1.16-0.9-1.372-0.9c-1.422 0-11.329-9.68-12.558-12.27-0.347-0.731-0.775-1.33-0.951-1.33-0.593 0-4.638-8.175-5.591-11.3-0.519-1.705-1.071-3.1-1.226-3.1s-0.372-0.495-0.482-1.1c-0.111-0.605-0.599-3.08-1.084-5.5-1.119-5.58-1.528-15.681-0.814-20.111 0.516-3.208 1.895-8.141 2.372-8.489 0.15-0.11 0.752-1.19 1.338-2.4 2.053-4.245 6.611-8.836 11.098-11.177 1.43-0.746 2.69-1.485 2.8-1.643 0.28-0.402 6.231-2.23 8.4-2.58 0.99-0.16 2.003-0.454 2.251-0.654 0.248-0.199 2.678-0.513 5.4-0.697s5.039-0.357 5.149-0.385c0.11-0.029 0.406 0.08 0.657 0.242m131.79 38.066c2.262 0.371 16.092 6.678 15.866 7.236-0.061 0.151-1.897 3.894-4.08 8.319l-3.969 8.045-1.683 0.252c-7.022 1.053-10.939 9.207-7.353 15.306l0.782 1.33-1.37 2.87c-6.526 13.672-12.689 25.908-13.118 26.044-0.286 0.09-1.184 0.274-1.996 0.408-8.023 1.331-10.362 12.965-3.633 18.073 9.02 6.847 20.661-4.291 14.552-13.924l-1.109-1.747 6.786-13.854 6.785-13.855 1.848-0.269c1.016-0.148 2.891-0.734 4.167-1.301l2.319-1.032 7.333 3.659c15.185 7.578 15.269 8.451 3.232 33.53l-3.101 6.462-1.842 0.276c-12.439 1.865-11.279 20.2 1.278 20.2 7.975 0 12.763-8.124 8.898-15.098l-1.162-2.098 3.317-6.902c13.968-29.063 13.04-33.635-9.007-44.377l-5.747-2.8-0.265-1.862c-0.146-1.025-0.8-2.853-1.454-4.063l-1.19-2.2 3.234-6.6c3.935-8.034 4.694-9.419 5.112-9.333 0.323 0.067 7.884 3.708 23.125 11.137 4.4 2.145 11.449 5.568 15.664 7.606 11.682 5.65 14.346 8.881 14.326 17.371l-0.01 4.219-3.849 8c-2.117 4.4-6.182 12.77-9.033 18.6s-6.002 12.31-7.001 14.4c-15.532 32.481-16.572 33.8-26.676 33.8h-4.221l-4.2-2.029c-68.36-33.023-66.6-32.069-69.415-37.629-1.109-2.192-1.185-2.637-1.185-6.942v-4.6l11.164-23c22.503-46.361 21.901-45.183 24.197-47.328 3.874-3.618 8.661-5.122 13.684-4.3\\\"],[9],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-account-gitea-kosmos-org/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-github-com/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-github-com/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"DB4qRdw9\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"id\\\",\\\"svg825\\\"],[11,\\\"class\\\",\\\"icon-github\\\"],[11,\\\"width\\\",\\\"260\\\"],[11,\\\"height\\\",\\\"260\\\"],[11,\\\"enable-background\\\",\\\"new 0 0 212.4575 186.23\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 260 260\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"g\\\"],[11,\\\"transform\\\",\\\"translate(23.766 36.885)\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"d\\\",\\\"m151.79 86.234c-7.078 0.1229-14.154 0.5605-21.232 0.7069-12.318 0.248-24.64 0.5664-36.961 0.512-11.176-0.0472-22.358-0.9728-33.518-0.7052-7.3164 0.1776-14.373 2.2948-20.131 7.584-9.9472 9.1368-12.522 21-11.314 33.807 1.92 20.357 9.2716 31.449 29.115 37.064 15.793 4.4704 31.963 5.2088 48.199 4.9744 5.254 0 10.51 0.1367 15.758-0.0292 12.723-0.4064 25.264-2.2072 37.358-6.3596 10.846-3.7225 18.799-10.691 22.572-22.166 2.6736-8.1288 3.7148-16.388 2.5544-24.853-1.7772-12.959-13.275-30.86-32.4-30.535zm-81.576 59.996c-8.836 0-16-8.9551-16-20 0-11.045 7.164-20 16-20s16 8.9553 16 20c0 11.045-7.164 20-16 20zm76 0c-8.836 0-16-8.9551-16-20 0-11.045 7.164-20 16-20s16 8.9553 16 20c0 11.045-7.164 20-16 20z\\\"],[11,\\\"fill\\\",\\\"none\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"d\\\",\\\"m200.25 59.188c-2.5076-3.4493-4.3632-6.3888-3.8748-11.44 0.6796-7.0664-0.3536-14.396-1.3204-21.518-1.2188-8.9843-3.5236-17.74-7.1776-26.23-9.0332 1.9356-17.981 3.49-25.963 8.0976-8.4648 4.8908-16.695 10.215-25.08 15.25-0.9532 0.5704-2.3124 0.8848-3.3848 0.7032-17.967-3.1368-35.92-3.0196-53.898-0.086-1.3632 0.2244-3.0724-0.2345-4.2948-0.9608-4.4436-2.6604-8.6564-5.7344-13.123-8.3516-11.656-6.844-23.66-12.822-37.494-14.59-0.3928 0.8597-0.7188 1.4785-0.9612 2.1253-4.164 11.22-6.6424 22.844-7.4276 34.82-0.2872 4.3516-0.6092 8.8048 0 13.072 0.3456 2.4296-4e-3 3.8788-1.3924 5.6132-4.8516 6.0488-8.6368 12.717-11.102 20.219-4.6972 14.295-4.4004 28.861-2.2756 43.475 1.7268 11.974 4.7344 23.537 11.324 33.873 13.186 20.682 32.892 29.774 55.572 31.705 19.308 1.6464 38.8 1.1992 58.213 1.2364 13.855 0.0251 27.57-1.4924 40.715-6.6389 20.375-7.9727 33.859-22.604 40.275-44.166 3.7344-12.545 5.2324-25.396 4.8144-38.498-0.4412-13.81-4.0504-26.566-12.144-37.711zm-18.609 82.435c-3.7736 11.475-11.727 18.444-22.572 22.166-12.094 4.1524-24.635 5.9532-37.358 6.3596-5.248 0.1659-10.504 0.0292-15.758 0.0292-16.236 0.2344-32.406-0.504-48.199-4.9744-19.844-5.6152-27.195-16.707-29.115-37.064-1.2072-12.807 1.3672-24.67 11.314-33.807 5.7576-5.2892 12.814-7.4064 20.131-7.584 11.16-0.2676 22.342 0.658 33.518 0.7052 12.32 0.0544 24.642-0.264 36.961-0.512 7.0784-0.1464 14.154-0.584 21.232-0.7069 19.125-0.3243 30.623 17.576 32.4 30.535 1.1604 8.4647 0.1192 16.724-2.5544 24.853z\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"ellipse\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"cx\\\",\\\"70.214\\\"],[11,\\\"cy\\\",\\\"126.23\\\"],[11,\\\"rx\\\",\\\"16\\\"],[11,\\\"ry\\\",\\\"20\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"ellipse\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"cx\\\",\\\"146.21\\\"],[11,\\\"cy\\\",\\\"126.23\\\"],[11,\\\"rx\\\",\\\"16\\\"],[11,\\\"ry\\\",\\\"20\\\"],[9],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-account-github-com/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-wiki-kosmos-org/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-wiki-kosmos-org/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"BV/BbT8B\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"class\\\",\\\"icon-wiki\\\"],[11,\\\"width\\\",\\\"120\\\"],[11,\\\"height\\\",\\\"120\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 120 120\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"g\\\"],[11,\\\"transform\\\",\\\"translate(18.1,3)\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"6.2 5 45.7 20.5 45.7 91 6.2 75.5\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"90 5 50.5 20.5 50.5 91 90 75.5\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"87 88 87 81.8 60.4 91\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"9.2 88 9.2 81.8 34.9 91\\\"],[9],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-account-wiki-kosmos-org/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-web-globe/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-web-globe/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"QUXphtad\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"class\\\",\\\"icon-web-globe\\\"],[11,\\\"width\\\",\\\"60\\\"],[11,\\\"height\\\",\\\"60\\\"],[11,\\\"enable-background\\\",\\\"new 0 0 64 64\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 60 60\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"d\\\",\\\"m48.1 14.3c-0.4-0.5-0.9-1-1.4-1.5-4.3-4.2-10.2-6.8-16.7-6.8s-12.4 2.6-16.7 6.8c-0.5 0.5-1 1-1.4 1.5-3.7 4.2-5.9 9.7-5.9 15.7s2.2 11.5 5.8 15.7c0.4 0.5 0.9 1 1.4 1.5 4.3 4.2 10.3 6.8 16.8 6.8s12.5-2.6 16.8-6.9c0.5-0.5 0.9-0.9 1.4-1.5 3.6-4.1 5.8-9.6 5.8-15.6s-2.2-11.5-5.9-15.7zm3.9 14.7h-8.1c-0.1-3-1-7.3-2.4-10.5 1.8-0.8 3.5-1.8 5.1-3 3.1 3.6 5.1 8.5 5.4 13.5zm-21-20.1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"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-web-globe/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/loading-spinner/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n classNames: ['loading-spinner']\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/loading-spinner/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"b6SWTOaj\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"svg\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"x\\\",\\\"0px\\\"],[11,\\\"y\\\",\\\"0px\\\"],[11,\\\"viewBox\\\",\\\"0 0 132 100\\\"],[11,\\\"enable-background\\\",\\\"new 0 0 100 100\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"id\\\",\\\"path-comet\\\"],[11,\\\"d\\\",\\\"M79.062,24.173L79.062,24.173l-0.021-0.011c-0.068-0.03-0.137-0.062-0.204-0.093L42.392,7.337\\\\n c0,0,3.065,14.104,4.458,18.019l0,0c0,0-41.754-12.481-46.85-13.67c1.67,6.52,30.607,62.492,30.607,62.492\\\\n c5.848,11.873,19.394,18.485,33.522,18.485c19.811,0,35.87-16.059,35.87-35.869C100,42.313,91.418,29.837,79.062,24.173z\\\"],[9],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n Loading data...\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/loading-spinner/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/proposal-list/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: 'ul',\n classNames: ['proposal-list'],\n actions: {\n confirm: function confirm(proposalId) {\n if (this.contractInteractionEnabled) {\n this.confirmProposal(proposalId);\n } else {\n window.alert('Only members can vote on proposals. Please ask someone to set you up.');\n }\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/proposal-list/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"pZHMSOZc\",\n \"block\": \"{\\\"symbols\\\":[\\\"proposal\\\"],\\\"statements\\\":[[4,\\\"each\\\",[[23,[\\\"proposals\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[12,\\\"data-proposal-id\\\",[22,1,[\\\"id\\\"]]],[12,\\\"class\\\",[27,\\\"if\\\",[[22,1,[\\\"isExecuted\\\"]],\\\"confirmed\\\",\\\"unconfirmed\\\"],null]],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"meta\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[12,\\\"class\\\",[28,[\\\"category \\\",[22,1,[\\\"kind\\\"]]]]],[9],[0,\\\"♥ (\\\"],[1,[22,1,[\\\"kind\\\"]],false],[0,\\\")\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"recipient\\\"],[9],[1,[22,1,[\\\"contributor\\\",\\\"name\\\"]],false],[0,\\\":\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"kredits-amount\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"amount\\\"],[9],[1,[22,1,[\\\"amount\\\"]],false],[10],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"symbol\\\"],[9],[0,\\\"₭S\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"description\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"description\\\"],[9],[1,[22,1,[\\\"description\\\"]],false],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"voting\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[22,1,[\\\"isExecuted\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"votes\\\"],[9],[0,\\\"(\\\"],[1,[22,1,[\\\"votesCount\\\"]],false],[0,\\\"/\\\"],[1,[22,1,[\\\"votesNeeded\\\"]],false],[0,\\\" votes)\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[9],[0,\\\"+1\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"confirm\\\",[22,1,[\\\"id\\\"]]]],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/proposal-list/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/user-avatar/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var SIZES = {\n 'small': '128',\n // pixels\n 'medium': '256',\n 'large': '512'\n };\n\n var _default = Ember.Component.extend({\n contributor: null,\n tagName: 'img',\n classNames: ['avatar'],\n classNameBindings: ['size'],\n attributeBindings: ['src', 'title'],\n size: 'small',\n src: Ember.computed.alias('avatarURL'),\n title: Ember.computed.alias('contributor.name'),\n avatarURL: Ember.computed('contributor.github_uid', 'size', function () {\n var github_uid = this.contributor.github_uid;\n\n if (github_uid) {\n return \"https://avatars2.githubusercontent.com/u/\".concat(github_uid, \"?v=3&s=\").concat(SIZES[this.size]);\n }\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/user-avatar/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"rnnAjEgP\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/user-avatar/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/application\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service()\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/contributions/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n minedContributors: Ember.computed.filterBy('contributors', 'id'),\n contributorsSorting: Object.freeze(['name:asc']),\n sortedContributors: Ember.computed.sort('minedContributors', 'contributorsSorting'),\n actions: {\n save: function save(contribution) {\n var _this = this;\n\n var contributor = this.contributors.findBy('id', contribution.contributorId);\n contribution.contributorIpfsHash = contributor.ipfsHash;\n return this.kredits.addContribution(contribution).then(function (contribution) {\n _this.transitionToRoute('index');\n\n return contribution;\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/contributors/edit\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n actions: {\n save: function save(attributes) {\n var _this = this;\n\n return this.kredits.updateContributor(this.model.id, attributes).then(function () {\n return _this.transitionToRoute('index');\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/contributors/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n actions: {\n save: function save(contributor) {\n var _this = this;\n\n return this.kredits.addContributor(contributor).then(function () {\n return _this.transitionToRoute('index');\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/dashboard\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n showDetailsPane: false,\n selectedContributorId: null,\n currentBlock: Ember.computed.alias('kredits.currentBlock'),\n contributions: Ember.computed.alias('kredits.contributions'),\n contributionsConfirmed: Ember.computed.alias('kredits.contributionsConfirmed'),\n contributionsUnconfirmed: Ember.computed.alias('kredits.contributionsUnconfirmed'),\n contributionsSorting: Object.freeze(['date:desc', 'time:desc', 'id:desc']),\n contributionsUnconfirmedSorted: Ember.computed.sort('contributionsUnconfirmed', 'contributionsSorting'),\n contributionsConfirmedSorted: Ember.computed.sort('contributionsConfirmed', 'contributionsSorting'),\n kreditsByContributor: Ember.computed.alias('kredits.kreditsByContributor'),\n kreditsToplistSorting: Ember.computed('showUnconfirmedKredits', function () {\n return this.showUnconfirmedKredits ? ['amountTotal:desc'] : ['amountConfirmed:desc'];\n }),\n kreditsToplist: Ember.computed.sort('kreditsByContributor', 'kreditsToplistSorting'),\n showUnconfirmedKredits: true,\n hideUnconfirmedKredits: Ember.computed.not('showUnconfirmedKredits'),\n showQuickFilterUnconfirmed: false,\n showQuickFilterConfirmed: false,\n actions: {\n vetoContribution: function vetoContribution(contributionId) {\n this.kredits.veto(contributionId).then(function (transaction) {\n console.debug('[controllers:index] Veto submitted to Ethereum blockhain: ' + transaction.hash);\n });\n },\n confirmProposal: function confirmProposal(proposalId) {\n this.kredits.vote(proposalId).then(function (transaction) {\n console.debug('[controllers:index] Vote submitted to Ethereum blockhain: ' + transaction.hash);\n });\n },\n toggleQuickFilterUnconfirmed: function toggleQuickFilterUnconfirmed() {\n this.toggleProperty('showQuickFilterUnconfirmed');\n },\n toggleQuickFilterConfirmed: function toggleQuickFilterConfirmed() {\n this.toggleProperty('showQuickFilterConfirmed');\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/dashboard/contributors/show\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n roleName: Ember.computed('model.isCore', 'totalKreditsEarned', function () {\n if (this.model.isCore) return 'Core Contributor';\n if (this.model.totalKreditsEarned <= 5000) return 'Newcomer';\n return 'Contributor';\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/proposals/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n minedContributors: Ember.computed.filterBy('contributors', 'id'),\n actions: {\n save: function save(proposal) {\n var _this = this;\n\n // contributorIpfsHash is needed for the proposal ipfs data. I'm not happy to do this here but I think to load all the contributors in addProposal again is a bit too much. I hope we can refactor it later.\n var contributor = this.contributors.findBy('id', proposal.contributorId);\n proposal.contributorIpfsHash = contributor.get('ipfsHash');\n return this.kredits.addProposal(proposal).then(function (proposal) {\n _this.transitionToRoute('index');\n\n return proposal;\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/and\", [\"exports\", \"ember-truth-helpers/helpers/and\"], function (_exports, _and) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _and.default;\n }\n });\n Object.defineProperty(_exports, \"and\", {\n enumerable: true,\n get: function get() {\n return _and.and;\n }\n });\n});","define(\"kredits-web/helpers/app-version\", [\"exports\", \"kredits-web/config/environment\", \"ember-cli-app-version/utils/regexp\"], function (_exports, _environment, _regexp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.appVersion = appVersion;\n _exports.default = void 0;\n\n function appVersion(_) {\n var hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var version = _environment.default.APP.version; // e.g. 1.0.0-alpha.1+4jds75hf\n // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility\n\n var versionOnly = hash.versionOnly || hash.hideSha;\n var shaOnly = hash.shaOnly || hash.hideVersion;\n var match = null;\n\n if (versionOnly) {\n if (hash.showExtended) {\n match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1\n } // Fallback to just version\n\n\n if (!match) {\n match = version.match(_regexp.versionRegExp); // 1.0.0\n }\n }\n\n if (shaOnly) {\n match = version.match(_regexp.shaRegExp); // 4jds75hf\n }\n\n return match ? match[0] : version;\n }\n\n var _default = Ember.Helper.helper(appVersion);\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/await\", [\"exports\", \"ember-promise-helpers/helpers/await\"], function (_exports, _await) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _await.default;\n }\n });\n});","define(\"kredits-web/helpers/capitalize-string\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n string = _ref2[0];\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/contribution-status\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n kredits: Ember.inject.service(),\n currentBlock: Ember.computed.alias('kredits.currentBlock'),\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n contribution = _ref2[0];\n\n if (contribution.vetoed) {\n return 'vetoed';\n } else if (contribution.confirmedAt > this.currentBlock) {\n return 'unconfirmed';\n } else {\n return 'confirmed';\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/equal\"], function (_exports, _equal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _equal.default;\n }\n });\n Object.defineProperty(_exports, \"equal\", {\n enumerable: true,\n get: function get() {\n return _equal.equal;\n }\n });\n});","define(\"kredits-web/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _gt.default;\n }\n });\n Object.defineProperty(_exports, \"gt\", {\n enumerable: true,\n get: function get() {\n return _gt.gt;\n }\n });\n});","define(\"kredits-web/helpers/gte\", [\"exports\", \"ember-truth-helpers/helpers/gte\"], function (_exports, _gte) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _gte.default;\n }\n });\n Object.defineProperty(_exports, \"gte\", {\n enumerable: true,\n get: function get() {\n return _gte.gte;\n }\n });\n});","define(\"kredits-web/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isArray.default;\n }\n });\n Object.defineProperty(_exports, \"isArray\", {\n enumerable: true,\n get: function get() {\n return _isArray.isArray;\n }\n });\n});","define(\"kredits-web/helpers/is-confirmed-contribution\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n kredits: Ember.inject.service(),\n currentBlock: Ember.computed.alias('kredits.currentBlock'),\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n contribution = _ref2[0];\n\n return !contribution.vetoed && contribution.confirmedAt <= this.currentBlock;\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/is-current-user\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n kredits: Ember.inject.service(),\n currentUser: Ember.computed.alias('kredits.currentUser'),\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n contributor = _ref2[0];\n\n return Ember.isPresent(contributor) && Ember.isPresent(this.currentUser) && contributor.account === this.currentUser.account;\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isEqual.default;\n }\n });\n Object.defineProperty(_exports, \"isEqual\", {\n enumerable: true,\n get: function get() {\n return _isEqual.isEqual;\n }\n });\n});","define(\"kredits-web/helpers/is-fulfilled\", [\"exports\", \"ember-promise-helpers/helpers/is-fulfilled\"], function (_exports, _isFulfilled) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isFulfilled.default;\n }\n });\n Object.defineProperty(_exports, \"isFulfilled\", {\n enumerable: true,\n get: function get() {\n return _isFulfilled.isFulfilled;\n }\n });\n});","define(\"kredits-web/helpers/is-pending\", [\"exports\", \"ember-promise-helpers/helpers/is-pending\"], function (_exports, _isPending) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isPending.default;\n }\n });\n Object.defineProperty(_exports, \"isPending\", {\n enumerable: true,\n get: function get() {\n return _isPending.isPending;\n }\n });\n});","define(\"kredits-web/helpers/is-rejected\", [\"exports\", \"ember-promise-helpers/helpers/is-rejected\"], function (_exports, _isRejected) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isRejected.default;\n }\n });\n Object.defineProperty(_exports, \"isRejected\", {\n enumerable: true,\n get: function get() {\n return _isRejected.isRejected;\n }\n });\n});","define(\"kredits-web/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _lt.default;\n }\n });\n Object.defineProperty(_exports, \"lt\", {\n enumerable: true,\n get: function get() {\n return _lt.lt;\n }\n });\n});","define(\"kredits-web/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _lte.default;\n }\n });\n Object.defineProperty(_exports, \"lte\", {\n enumerable: true,\n get: function get() {\n return _lte.lte;\n }\n });\n});","define(\"kredits-web/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-equal\"], function (_exports, _notEqual) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _notEqual.default;\n }\n });\n Object.defineProperty(_exports, \"notEq\", {\n enumerable: true,\n get: function get() {\n return _notEqual.notEq;\n }\n });\n});","define(\"kredits-web/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _not.default;\n }\n });\n Object.defineProperty(_exports, \"not\", {\n enumerable: true,\n get: function get() {\n return _not.not;\n }\n });\n});","define(\"kredits-web/helpers/or\", [\"exports\", \"ember-truth-helpers/helpers/or\"], function (_exports, _or) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _or.default;\n }\n });\n Object.defineProperty(_exports, \"or\", {\n enumerable: true,\n get: function get() {\n return _or.or;\n }\n });\n});","define(\"kredits-web/helpers/promise-all\", [\"exports\", \"ember-promise-helpers/helpers/promise-all\"], function (_exports, _promiseAll) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _promiseAll.default;\n }\n });\n Object.defineProperty(_exports, \"promiseAll\", {\n enumerable: true,\n get: function get() {\n return _promiseAll.promiseAll;\n }\n });\n});","define(\"kredits-web/helpers/promise-hash\", [\"exports\", \"ember-promise-helpers/helpers/promise-hash\"], function (_exports, _promiseHash) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _promiseHash.default;\n }\n });\n Object.defineProperty(_exports, \"promiseHash\", {\n enumerable: true,\n get: function get() {\n return _promiseHash.promiseHash;\n }\n });\n});","define(\"kredits-web/helpers/promise-rejected-reason\", [\"exports\", \"ember-promise-helpers/helpers/promise-rejected-reason\"], function (_exports, _promiseRejectedReason) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _promiseRejectedReason.default;\n }\n });\n});","define(\"kredits-web/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _xor.default;\n }\n });\n Object.defineProperty(_exports, \"xor\", {\n enumerable: true,\n get: function get() {\n return _xor.xor;\n }\n });\n});","define(\"kredits-web/initializers/app-version\", [\"exports\", \"ember-cli-app-version/initializer-factory\", \"kredits-web/config/environment\"], function (_exports, _initializerFactory, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var name, version;\n\n if (_environment.default.APP) {\n name = _environment.default.APP.name;\n version = _environment.default.APP.version;\n }\n\n var _default = {\n name: 'App Version',\n initialize: (0, _initializerFactory.default)(name, version)\n };\n _exports.default = _default;\n});","define(\"kredits-web/initializers/container-debug-adapter\", [\"exports\", \"ember-resolver/resolvers/classic/container-debug-adapter\"], function (_exports, _containerDebugAdapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = {\n name: 'container-debug-adapter',\n initialize: function initialize() {\n var app = arguments[1] || arguments[0];\n app.register('container-debug-adapter:main', _containerDebugAdapter.default);\n app.inject('container-debug-adapter:main', 'namespace', 'application:main');\n }\n };\n _exports.default = _default;\n});","define(\"kredits-web/initializers/export-application-global\", [\"exports\", \"kredits-web/config/environment\"], function (_exports, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.initialize = initialize;\n _exports.default = void 0;\n\n function initialize() {\n var application = arguments[1] || arguments[0];\n\n if (_environment.default.exportApplicationGlobal !== false) {\n var theGlobal;\n\n if (typeof window !== 'undefined') {\n theGlobal = window;\n } else if (typeof global !== 'undefined') {\n theGlobal = global;\n } else if (typeof self !== 'undefined') {\n theGlobal = self;\n } else {\n // no reasonable global, just bail\n return;\n }\n\n var value = _environment.default.exportApplicationGlobal;\n var globalName;\n\n if (typeof value === 'string') {\n globalName = value;\n } else {\n globalName = Ember.String.classify(_environment.default.modulePrefix);\n }\n\n if (!theGlobal[globalName]) {\n theGlobal[globalName] = application;\n application.reopen({\n willDestroy: function willDestroy() {\n this._super.apply(this, arguments);\n\n delete theGlobal[globalName];\n }\n });\n }\n }\n }\n\n var _default = {\n name: 'export-application-global',\n initialize: initialize\n };\n _exports.default = _default;\n});","define(\"kredits-web/models/contribution\", [\"exports\", \"kredits-web/utils/cps/bignumber\"], function (_exports, _bignumber) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Object.extend({\n // Contract\n id: null,\n contributorId: null,\n amount: null,\n confirmedAt: (0, _bignumber.default)('confirmedAtBlock', 'toNumber'),\n vetoed: null,\n ipfsHash: null,\n creatorAccount: null,\n // IPFS\n kind: null,\n description: null,\n details: null,\n url: null,\n ipfsData: '',\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('details', {});\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/models/contributor\", [\"exports\", \"kredits-web/utils/cps/bignumber\", \"kredits-web/utils/cps/kredits\"], function (_exports, _bignumber, _kredits) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Object.extend({\n // Contract\n id: (0, _bignumber.default)('idRaw', 'toString'),\n account: null,\n balance: (0, _kredits.default)('balanceRaw'),\n totalKreditsEarned: (0, _bignumber.default)('totalKreditsEarnedRaw', 'toNumber'),\n contributionsCount: (0, _bignumber.default)('contributionsCountRaw', 'toNumber'),\n isCore: false,\n ipfsHash: null,\n // IPFS\n kind: null,\n name: null,\n url: null,\n github_username: null,\n github_uid: null,\n wiki_username: null,\n ipfsData: ''\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/models/proposal\", [\"exports\", \"kredits-web/utils/cps/bignumber\"], function (_exports, _bignumber) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Object.extend({\n // Contract\n id: (0, _bignumber.default)('idRaw', 'toString'),\n creatorAccount: null,\n contributorId: (0, _bignumber.default)('contributorIdRaw', 'toString'),\n amount: (0, _bignumber.default)('amountRaw', 'toNumber'),\n votesCount: (0, _bignumber.default)('votesCountRaw', 'toNumber'),\n votesNeeded: (0, _bignumber.default)('votesNeededRaw', 'toNumber'),\n executed: null,\n ipfsHash: null,\n // Shortcuts\n isExecuted: Ember.computed.alias('executed'),\n // IPFS\n kind: null,\n description: null,\n details: null,\n url: null,\n ipfsData: '',\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('details', {});\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/resolver\", [\"exports\", \"ember-resolver\"], function (_exports, _emberResolver) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = _emberResolver.default;\n _exports.default = _default;\n});","define(\"kredits-web/router\", [\"exports\", \"kredits-web/config/environment\"], function (_exports, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var Router = Ember.Router.extend({\n location: _environment.default.locationType,\n rootURL: _environment.default.rootURL\n });\n Router.map(function () {\n this.route('dashboard', function () {\n this.route('contributors', function () {\n this.route('show', {\n path: ':id'\n });\n });\n });\n this.route('proposals', function () {\n this.route('new');\n });\n this.route('contributions', function () {\n this.route('new');\n });\n this.route('contributors', function () {\n this.route('new');\n this.route('edit', {\n path: ':id/edit'\n });\n });\n });\n var _default = Router;\n _exports.default = _default;\n});","define(\"kredits-web/routes/application\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n kredits: Ember.inject.service(),\n beforeModel: function beforeModel(transition) {\n var kredits = this.kredits;\n return kredits.setup().then(function () {\n kredits.get('kredits').preflightChecks().catch(function (error) {\n console.error('Kredits preflight check failed!');\n console.error(error);\n });\n\n if (kredits.get('accountNeedsUnlock')) {\n if (confirm('It looks like you have an Ethereum wallet available. Please unlock your account.')) {\n transition.retry();\n }\n }\n }).catch(function (error) {\n console.log('Error initializing Kredits', error);\n });\n },\n afterModel: function afterModel() {\n var _this = this;\n\n return this.kredits.loadInitialData().then(function () {\n _this.kredits.addContractEventHandlers();\n });\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/routes/contributors/edit\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n model: function model(params) {\n return this.kredits.contributors.findBy('id', params.id);\n },\n setupController: function setupController(controller, model) {\n this._super(controller, model);\n\n controller.set('attributes', {\n account: model.account,\n name: model.name,\n kind: model.kind,\n url: model.url,\n github_username: model.github_username,\n github_uid: model.github_uid,\n gitea_username: model.gitea_username,\n wiki_username: model.wiki_username\n });\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/routes/dashboard/contributors/show\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n model: function model(params) {\n return this.contributors.findBy('id', params.id);\n },\n setupController: function setupController(controller, model) {\n this._super(controller, model);\n\n this.controllerFor('dashboard').setProperties({\n showDetailsPane: true,\n selectedContributorId: model.id\n });\n },\n deactivate: function deactivate() {\n this.controllerFor('dashboard').setProperties({\n showDetailsPane: false,\n selectedContributorId: null\n });\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/routes/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n redirect: function redirect() {\n this.transitionTo('dashboard');\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/services/ajax\", [\"exports\", \"ember-ajax/services/ajax\"], function (_exports, _ajax) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _ajax.default;\n }\n });\n});","define(\"kredits-web/services/kredits\", [\"exports\", \"ethers\", \"kredits-contracts\", \"kredits-web/utils/group-by\", \"kredits-web/utils/format-kredits\", \"kredits-web/config/environment\", \"kredits-web/models/contributor\", \"kredits-web/models/proposal\", \"kredits-web/models/contribution\"], function (_exports, _ethers, _kreditsContracts, _groupBy, _formatKredits, _environment, _contributor, _proposal, _contribution) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\n function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n var _default = Ember.Service.extend({\n currentBlock: null,\n currentUserAccounts: null,\n // default to not having an account. this is the wen web3 is loaded.\n currentUser: null,\n contributors: null,\n contributions: null,\n proposals: null,\n currentUserIsContributor: Ember.computed.notEmpty('currentUser'),\n currentUserIsCore: Ember.computed.alias('currentUser.isCore'),\n hasAccounts: Ember.computed.notEmpty('currentUserAccounts'),\n accountNeedsUnlock: Ember.computed('currentUserAccounts', function () {\n return this.currentUserAccounts && Ember.isEmpty(this.currentUserAccounts);\n }),\n contributionsUnconfirmed: Ember.computed('contributions.[]', 'currentBlock', function () {\n var _this = this;\n\n return this.contributions.filter(function (contribution) {\n return contribution.confirmedAt > _this.currentBlock;\n });\n }),\n contributionsConfirmed: Ember.computed('contributions.[]', 'currentBlock', function () {\n var _this2 = this;\n\n return this.contributions.filterBy('vetoed', false).filter(function (contribution) {\n return contribution.confirmedAt <= _this2.currentBlock;\n });\n }),\n kreditsByContributor: Ember.computed('contributionsUnconfirmed.@each.vetoed', 'contributors.[]', function () {\n var _this3 = this;\n\n var contributionsUnconfirmed = this.contributionsUnconfirmed.filterBy('vetoed', false);\n var contributionsGrouped = (0, _groupBy.default)(contributionsUnconfirmed, 'contributorId');\n var contributorsWithUnconfirmed = contributionsGrouped.map(function (c) {\n return c.value.toString();\n });\n var contributorsWithOnlyConfirmed = this.contributors.reject(function (c) {\n return contributorsWithUnconfirmed.includes(c.id);\n });\n var kreditsByContributor = contributionsGrouped.map(function (c) {\n var amountUnconfirmed = c.items.mapBy('amount').reduce(function (a, b) {\n return a + b;\n });\n\n var contributor = _this3.contributors.findBy('id', c.value.toString());\n\n return Ember.Object.create({\n contributor: contributor,\n amountUnconfirmed: amountUnconfirmed,\n amountConfirmed: contributor.totalKreditsEarned,\n amountTotal: contributor.totalKreditsEarned + amountUnconfirmed\n });\n });\n contributorsWithOnlyConfirmed.forEach(function (c) {\n kreditsByContributor.push(Ember.Object.create({\n contributor: c,\n amountUnconfirmed: 0,\n amountConfirmed: c.totalKreditsEarned,\n amountTotal: c.totalKreditsEarned\n }));\n });\n return kreditsByContributor;\n }),\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('contributors', []);\n this.set('proposals', []);\n this.set('contributions', []);\n },\n // This is called in the application route's beforeModel(). So it is\n // initialized before everything else, and we can rely on the ethProvider and\n // the potential currentUserAccounts to be available\n getEthProvider: function getEthProvider() {\n var _this4 = this;\n\n var ethProvider;\n return new Ember.RSVP.Promise(\n /*#__PURE__*/\n function () {\n var _ref = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee2(resolve) {\n var instantiateWithoutAccount, instantiateWithAccount, _instantiateWithAccount;\n\n return regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _instantiateWithAccount = function _ref4() {\n _instantiateWithAccount = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(web3Provider, context) {\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n console.debug('[kredits] Using user-provided instance, e.g. from Mist browser or Metamask');\n ethProvider = new _ethers.default.providers.Web3Provider(web3Provider); // const network = await ethProvider.getNetwork();\n\n ethProvider.listAccounts().then(function (accounts) {\n context.set('currentUserAccounts', accounts);\n var ethSigner = accounts.length === 0 ? null : ethProvider.getSigner();\n resolve({\n ethProvider: ethProvider,\n ethSigner: ethSigner\n });\n });\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _instantiateWithAccount.apply(this, arguments);\n };\n\n instantiateWithAccount = function _ref3(_x2, _x3) {\n return _instantiateWithAccount.apply(this, arguments);\n };\n\n instantiateWithoutAccount = function _ref2() {\n console.debug('[kredits] Creating new instance from npm module class');\n console.debug(\"[kredits] providerURL: \".concat(_environment.default.web3ProviderUrl));\n ethProvider = new _ethers.default.providers.JsonRpcProvider(_environment.default.web3ProviderUrl);\n resolve({\n ethProvider: ethProvider,\n ethSigner: null\n });\n };\n\n if (!window.ethereum) {\n _context2.next = 15;\n break;\n }\n\n _context2.prev = 4;\n _context2.next = 7;\n return window.ethereum.enable();\n\n case 7:\n // Acccounts now exposed\n instantiateWithAccount(window.ethereum, _this4);\n _context2.next = 13;\n break;\n\n case 10:\n _context2.prev = 10;\n _context2.t0 = _context2[\"catch\"](4);\n instantiateWithoutAccount();\n\n case 13:\n _context2.next = 16;\n break;\n\n case 15:\n // Legacy dapp browsers...\n if (window.web3) {\n instantiateWithAccount(window.web3.currentProvider, _this4);\n } // Non-dapp browsers...\n else {\n instantiateWithoutAccount();\n }\n\n case 16:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[4, 10]]);\n }));\n\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }());\n },\n setup: function setup() {\n var _this5 = this;\n\n return this.getEthProvider().then(function (providerAndSigner) {\n var kredits = new _kreditsContracts.default(providerAndSigner.ethProvider, providerAndSigner.ethSigner, {\n addresses: {\n Kernel: _environment.default.kreditsKernelAddress\n },\n apm: _environment.default.kreditsApmDomain,\n ipfsConfig: _environment.default.ipfs\n });\n return kredits.init().then(\n /*#__PURE__*/\n function () {\n var _ref5 = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee3(kredits) {\n return regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _this5.set('kredits', kredits);\n\n _context3.t0 = _this5;\n _context3.next = 4;\n return kredits.provider.getBlockNumber();\n\n case 4:\n _context3.t1 = _context3.sent;\n\n _context3.t0.set.call(_context3.t0, 'currentBlock', _context3.t1);\n\n if (_this5.currentUserAccounts && _this5.currentUserAccounts.length > 0) {\n _this5.getCurrentUser.then(function (contributorData) {\n _this5.set('currentUser', contributorData);\n });\n }\n\n return _context3.abrupt(\"return\", kredits);\n\n case 8:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n\n return function (_x4) {\n return _ref5.apply(this, arguments);\n };\n }());\n });\n },\n totalSupply: Ember.computed(function () {\n return this.kredits.Token.functions.totalSupply().then(function (total) {\n return (0, _formatKredits.default)(total);\n });\n }),\n totalKreditsEarned: Ember.computed(function () {\n return this.kredits.Contribution.functions.totalKreditsEarned(true).then(function (total) {\n return total.toNumber();\n });\n }),\n loadInitialData: function loadInitialData() {\n var _this6 = this;\n\n return this.getContributors().then(function (contributors) {\n return _this6.contributors.pushObjects(contributors);\n }).then(function () {\n return _this6.getContributions();\n }).then(function (contributions) {\n return _this6.contributions.pushObjects(contributions);\n });\n },\n addContributor: function addContributor(attributes) {\n if (attributes.github_uid) {\n var uidInt = parseInt(attributes.github_uid);\n attributes.github_uid = uidInt;\n }\n\n console.debug('[kredits] add contributor', attributes);\n return this.kredits.Contributor.add(attributes, {\n gasLimit: 350000\n }).then(function (data) {\n console.debug('[kredits] add contributor response', data);\n });\n },\n updateContributor: function updateContributor(id, attributes) {\n if (attributes.github_uid) {\n var uidInt = parseInt(attributes.github_uid);\n attributes.github_uid = uidInt;\n }\n\n console.debug('[kredits] update contributor', attributes);\n return this.kredits.Contributor.updateProfile(id, attributes, {\n gasLimit: 350000\n }).then(function (data) {\n console.debug('[kredits] updateProfile response', data);\n });\n },\n getContributors: function getContributors() {\n return this.kredits.Contributor.all().then(function (contributors) {\n return contributors.map(function (contributor) {\n return _contributor.default.create(contributor);\n });\n });\n },\n addContribution: function addContribution(attributes) {\n var _this7 = this;\n\n console.debug('[kredits] add contribution', attributes);\n return this.kredits.Contribution.addContribution(attributes, {\n gasLimit: 300000\n }).then(function (data) {\n console.debug('[kredits] add contribution response', data);\n attributes.contributor = _this7.contributors.findBy('id', attributes.contributorId);\n\n var contribution = _contribution.default.create(attributes); // TODO receive from wrapper\n\n\n contribution.set('confirmedAtBlock', data.blockNumber + 40320);\n\n _this7.contributions.pushObject(contribution);\n\n return contribution;\n });\n },\n addProposal: function addProposal(attributes) {\n var _this8 = this;\n\n console.debug('[kredits] add proposal', attributes);\n return this.kredits.Proposal.addProposal(attributes).then(function (data) {\n console.debug('[kredits] add proposal response', data);\n attributes.contributor = _this8.contributors.findBy('id', attributes.contributorId);\n return _proposal.default.create(attributes);\n });\n },\n getProposals: function getProposals() {\n var _this9 = this;\n\n return this.kredits.Proposal.all().then(function (proposals) {\n return proposals.map(function (proposal) {\n proposal.contributor = _this9.contributors.findBy('id', proposal.contributorId.toString());\n return _proposal.default.create(proposal);\n });\n });\n },\n getContributions: function getContributions() {\n var _this10 = this;\n\n return this.kredits.Contribution.all({\n page: {\n size: 200\n }\n }).then(function (contributions) {\n return contributions.map(function (contribution) {\n contribution.contributor = _this10.contributors.findBy('id', contribution.contributorId.toString());\n return _contribution.default.create(contribution);\n });\n });\n },\n vote: function vote(proposalId) {\n console.debug('[kredits] vote for', proposalId);\n return this.kredits.Proposal.functions.vote(proposalId).then(function (data) {\n console.debug('[kredits] vote response', data);\n return data;\n });\n },\n veto: function veto(contributionId) {\n console.debug('[kredits] veto against', contributionId);\n return this.kredits.Contribution.functions.veto(contributionId, {\n gasLimit: 300000\n }).then(function (data) {\n console.debug('[kredits] veto response', data);\n return data;\n });\n },\n getCurrentUser: Ember.computed('kredits.provider', function () {\n var _this11 = this;\n\n if (Ember.isEmpty(this.currentUserAccounts)) {\n return Ember.RSVP.resolve();\n }\n\n return this.kredits.Contributor.functions.getContributorIdByAddress(this.get('currentUserAccounts.firstObject')).then(function (id) {\n // check if the user is a contributor or not\n if (id === 0) {\n return Ember.RSVP.resolve();\n } else {\n return _this11.kredits.Contributor.getById(id);\n }\n });\n }),\n findProposalById: function findProposalById(proposalId) {\n return this.proposals.findBy('id', proposalId.toString());\n },\n // Contract events\n addContractEventHandlers: function addContractEventHandlers() {\n this.kredits.Contributor.on('ContributorProfileUpdated', this.handleContributorChange.bind(this)).on('ContributorAccountUpdated', this.handleContributorChange.bind(this)).on('ContributorAdded', this.handleContributorChange.bind(this));\n this.kredits.Contribution.on('ContributionVetoed', this.handleContributionVetoed.bind(this));\n this.kredits.Proposal.on('ProposalCreated', this.handleProposalCreated.bind(this)).on('ProposalVoted', this.handleProposalVoted.bind(this)).on('ProposalExecuted', this.handleProposalExecuted.bind(this));\n this.kredits.Token.on('Transfer', this.handleTransfer.bind(this));\n },\n handleContributorChange: function () {\n var _handleContributorChange = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee4(contributorId) {\n var _len,\n args,\n _key,\n contributorData,\n newContributor,\n oldContributor,\n _args4 = arguments;\n\n return regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n console.debug('[kredits] Contributor add/update event received for ID', contributorId);\n\n for (_len = _args4.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = _args4[_key];\n }\n\n console.debug('[kredits] Event data:', args);\n _context4.next = 5;\n return this.kredits.Contributor.getById(contributorId);\n\n case 5:\n contributorData = _context4.sent;\n newContributor = _contributor.default.create(contributorData);\n oldContributor = this.contributors.findBy('id', contributorId.toString());\n\n if (oldContributor) {\n console.debug('[kredits] old contributor', oldContributor);\n this.contributors.removeObject(oldContributor);\n }\n\n console.debug('[kredits] new contributor', newContributor);\n this.contributors.pushObject(newContributor);\n\n case 11:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this);\n }));\n\n function handleContributorChange(_x5) {\n return _handleContributorChange.apply(this, arguments);\n }\n\n return handleContributorChange;\n }(),\n handleContributionVetoed: function handleContributionVetoed(contributionId) {\n console.debug('[kredits] ContributionVetoed event received for ', contributionId);\n var contribution = this.contributions.findBy('id', contributionId);\n console.debug('[kredits] contribution', contribution);\n\n if (contribution) {\n contribution.set('vetoed', true);\n }\n },\n handleProposalCreated: function handleProposalCreated(proposalId) {\n var _this12 = this;\n\n var proposal = this.findProposalById(proposalId);\n\n if (proposal) {\n console.debug('[events] proposal exists, not adding from event');\n return;\n }\n\n this.kredits.Proposal.getById(proposalId).then(function (proposal) {\n proposal.contributor = _this12.contributors.findBy('id', proposal.contributorId.toString());\n\n _this12.proposals.pushObject(_proposal.default.create(proposal));\n });\n },\n // TODO: We may want to reload that proposal to show the voter as voted\n handleProposalVoted: function handleProposalVoted(proposalId, voterId, totalVotes) {\n var proposal = this.findProposalById(proposalId);\n\n if (proposal) {\n proposal.set('votesCount', totalVotes);\n }\n },\n handleProposalExecuted: function handleProposalExecuted(proposalId, contributorId, amount) {\n var proposal = this.findProposalById(proposalId);\n\n if (proposal.get('isExecuted')) {\n console.debug('[events] proposal already executed, not adding from event');\n return;\n }\n\n proposal.set('executed', true);\n this.contributors.findBy('id', contributorId.toString()).incrementProperty('balance', amount);\n },\n handleTransfer: function handleTransfer(from, to, value) {\n value = value.toNumber();\n this.contributors.findBy('address', from).decrementProperty('balance', value);\n this.contributors.findBy('address', to).incrementProperty('balance', value);\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/application-loading\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"/K85jZFR\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[21,\\\"loading-spinner\\\"],false],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/application-loading.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/application\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"ilYHX1bH\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"header\\\"],[11,\\\"id\\\",\\\"topbar\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h1\\\"],[9],[4,\\\"link-to\\\",[\\\"dashboard\\\"],null,{\\\"statements\\\":[[0,\\\"Kosmos Kredits\\\"]],\\\"parameters\\\":[]},null],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"user-account\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"currentUser\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[1,[23,[\\\"kredits\\\",\\\"currentUser\\\",\\\"name\\\"]],false],[0,\\\"\\\\n \\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"currentUserIsCore\\\"]]],null,{\\\"statements\\\":[[0,\\\"(core)\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\" Anonymous\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\" \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[1,[21,\\\"outlet\\\"],false],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/application.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/contributions/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"YPbtYII6\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"class\\\",\\\"center-column\\\"],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-contribution\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Submit a contribution\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-contribution\\\",null,[[\\\"contributors\\\",\\\"save\\\"],[[23,[\\\"sortedContributors\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/contributions/new.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/contributors/edit\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"LZQyoYt+\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"class\\\",\\\"center-column\\\"],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-contributor\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Update contributor profile\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-contributor\\\",null,[[\\\"attributes\\\",\\\"save\\\"],[[23,[\\\"attributes\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/contributors/edit.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/contributors/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"IoVi6fNU\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"class\\\",\\\"center-column\\\"],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-contributor\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Add contributor profile\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-contributor\\\",null,[[\\\"save\\\"],[[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/contributors/new.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/dashboard\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"cY0zhgDi\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"id\\\",\\\"dashboard\\\"],[12,\\\"class\\\",[27,\\\"if\\\",[[23,[\\\"showDetailsPane\\\"]],\\\"with-details\\\"],null]],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"id\\\",\\\"stats\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"people\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[11,\\\"class\\\",\\\"with-nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Contributors\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"nav\\\"],[9],[0,\\\"\\\\n \\\"],[4,\\\"link-to\\\",[\\\"contributors.new\\\"],[[\\\"title\\\",\\\"class\\\"],[\\\"Add contributor profile\\\",\\\"button small green\\\"]],{\\\"statements\\\":[[0,\\\"add\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"contributor-list\\\",null,[[\\\"contributorList\\\",\\\"showUnconfirmedKredits\\\",\\\"selectedContributorId\\\"],[[23,[\\\"kreditsToplist\\\"]],[23,[\\\"showUnconfirmedKredits\\\"]],[23,[\\\"selectedContributorId\\\"]]]]],false],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"stats\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"number\\\"],[9],[1,[27,\\\"await\\\",[[23,[\\\"kredits\\\",\\\"totalKreditsEarned\\\"]]],null],false],[10],[0,\\\" kredits confirmed and issued to\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"number\\\"],[9],[1,[23,[\\\"contributorsWithKredits\\\",\\\"length\\\"]],false],[10],[0,\\\" contributors\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"stats\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"id\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"hide-unnconfirmed-kredits\\\",[23,[\\\"showUnconfirmedKredits\\\"]]]]],false],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"hide-unnconfirmed-kredits\\\"],[9],[0,\\\"Show unconfirmed kredits in toplist\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributions-by-type\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Contributions by type\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"chart-contributions-by-type\\\",null,[[\\\"contributions\\\"],[[23,[\\\"contributions\\\"]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"id\\\",\\\"contributions\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"contributionsUnconfirmed\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributions-unconfirmed\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[11,\\\"class\\\",\\\"with-nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Latest Contributions\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[12,\\\"class\\\",[28,[\\\"small \\\",[27,\\\"if\\\",[[23,[\\\"showQuickFilterUnconfirmed\\\"]],\\\"active\\\"],null]]]],[9],[0,\\\"filter\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"toggleQuickFilterUnconfirmed\\\"]],[10],[0,\\\"\\\\n \\\"],[4,\\\"link-to\\\",[\\\"contributions.new\\\"],[[\\\"title\\\",\\\"class\\\"],[\\\"Submit a contribution\\\",\\\"button small green\\\"]],{\\\"statements\\\":[[0,\\\"add\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n\\\"],[0,\\\" \\\"],[1,[27,\\\"contribution-list\\\",null,[[\\\"contributions\\\",\\\"vetoContribution\\\",\\\"contractInteractionEnabled\\\",\\\"showQuickFilter\\\"],[[23,[\\\"contributionsUnconfirmedSorted\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"vetoContribution\\\"],null],[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]],[23,[\\\"showQuickFilterUnconfirmed\\\"]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributions-confirmed\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[11,\\\"class\\\",\\\"with-nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Confirmed Contributions\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[12,\\\"class\\\",[28,[\\\"small \\\",[27,\\\"if\\\",[[23,[\\\"showQuickFilterConfirmed\\\"]],\\\"active\\\"],null]]]],[9],[0,\\\"filter\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"toggleQuickFilterConfirmed\\\"]],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"contribution-list\\\",null,[[\\\"contributions\\\",\\\"vetoContribution\\\",\\\"showQuickFilter\\\"],[[23,[\\\"contributionsConfirmedSorted\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"vetoContribution\\\"],null],[23,[\\\"showQuickFilterConfirmed\\\"]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"id\\\",\\\"details\\\"],[9],[0,\\\"\\\\n \\\"],[1,[21,\\\"outlet\\\"],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/dashboard.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/dashboard/contributors/show\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"m62wYKML\",\n \"block\": \"{\\\"symbols\\\":[\\\"account\\\"],\\\"statements\\\":[[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributor-profile\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"user-avatar\\\",null,[[\\\"contributor\\\",\\\"size\\\"],[[23,[\\\"model\\\"]],\\\"medium\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[1,[23,[\\\"model\\\",\\\"name\\\"]],false],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"role\\\"],[9],[1,[21,\\\"roleName\\\"],false],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"ul\\\"],[11,\\\"class\\\",\\\"external-accounts\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"model\\\",\\\"accounts\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"external-account-link\\\",null,[[\\\"account\\\"],[[22,1,[]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[4,\\\"if\\\",[[23,[\\\"model\\\",\\\"url\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[23,[\\\"model\\\",\\\"url\\\"]]],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[11,\\\"title\\\",\\\"Website\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"site\\\"],[9],[0,\\\"Web\\\"],[10],[0,\\\"\\\\n \\\"],[1,[21,\\\"icon-web-globe\\\"],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[28,[\\\"https://rinkeby.etherscan.io/address/\\\",[23,[\\\"model\\\",\\\"account\\\"]]]]],[11,\\\"class\\\",\\\"button small\\\"],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[9],[0,\\\"Inspect Ethereum transactions\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"model\\\",\\\"ipfsHash\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[28,[\\\"https://ipfs.io/ipfs/\\\",[23,[\\\"model\\\",\\\"ipfsHash\\\"]]]]],[11,\\\"class\\\",\\\"button small\\\"],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[9],[0,\\\"Inspect IPFS profile\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[4,\\\"link-to\\\",[\\\"contributors.edit\\\",[23,[\\\"model\\\"]]],[[\\\"class\\\"],[\\\"button small\\\"]],{\\\"statements\\\":[[0,\\\"Edit profile\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/dashboard/contributors/show.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/proposals/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"vauAEy3a\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-proposal\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Add Proposal\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-proposal\\\",null,[[\\\"contributors\\\",\\\"save\\\"],[[23,[\\\"minedContributors\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/proposals/new.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/utils/cps/bignumber\", [\"exports\", \"ethers\"], function (_exports, _ethers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _default;\n\n function _default(dependentKey, converterMethod) {\n return Ember.computed(dependentKey, {\n get: function get() {\n var value = this.get(dependentKey);\n\n if (value && _ethers.default.utils.BigNumber.isBigNumber(value)) {\n return value[converterMethod]();\n } else {\n return value;\n }\n },\n set: function set(key, value) {\n var bnValue = _ethers.default.utils.bigNumberify(value);\n\n this.set(dependentKey, bnValue);\n return bnValue[converterMethod]();\n }\n });\n }\n});","define(\"kredits-web/utils/cps/kredits\", [\"exports\", \"ethers\", \"kredits-web/utils/format-kredits\"], function (_exports, _ethers, _formatKredits) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _default;\n\n function _default(dependentKey) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Ember.computed(dependentKey, {\n get: function get() {\n var value = this.get(dependentKey);\n return (0, _formatKredits.default)(value, options);\n },\n set: function set(key, value) {\n var bnValue = _ethers.default.utils.bigNumberify(value);\n\n this.set(dependentKey, bnValue);\n return (0, _formatKredits.default)(bnValue, options);\n }\n });\n }\n});","define(\"kredits-web/utils/format-kredits\", [\"exports\", \"ethers\"], function (_exports, _ethers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _default;\n\n function _default(value) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var etherValue = _ethers.default.utils.formatEther(value);\n\n if (!options.decimals) {\n etherValue = parseInt(etherValue).toString();\n }\n\n return etherValue;\n }\n});","define(\"kredits-web/utils/group-by\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = groupBy;\n\n function groupBy(collection, property) {\n var groups = Ember.A();\n var items = collection;\n\n if (items) {\n items.forEach(function (item) {\n var value = Ember.get(item, property);\n var group = groups.findBy('value', value);\n\n if (Ember.isPresent(group)) {\n Ember.get(group, 'items').push(item);\n } else {\n group = {\n property: property,\n value: value,\n items: [item]\n };\n groups.push(group);\n }\n });\n }\n\n return groups;\n }\n});","define('kredits-web/config/environment', [], function() {\n var prefix = 'kredits-web';\ntry {\n var metaName = prefix + '/config/environment';\n var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n var config = JSON.parse(decodeURIComponent(rawConfig));\n\n var exports = { 'default': config };\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n}\ncatch(err) {\n throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n});\n","\n if (!runningTests) {\n require(\"kredits-web/app\")[\"default\"].create({\"name\":\"kredits-web\",\"version\":\"1.5.1+c6588097\"});\n }\n \n"]} \ No newline at end of file diff --git a/release/assets/kredits-web-5678558b21e53558b90d8bb75b10fdd6.map b/release/assets/kredits-web-5678558b21e53558b90d8bb75b10fdd6.map deleted file mode 100644 index dd7b0d3a..00000000 --- a/release/assets/kredits-web-5678558b21e53558b90d8bb75b10fdd6.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["vendor/ember-cli/app-prefix.js","kredits-web/app.js","kredits-web/components/add-contribution/component.js","kredits-web/components/add-contribution/template.js","kredits-web/components/add-contributor/component.js","kredits-web/components/add-contributor/template.js","kredits-web/components/add-proposal/component.js","kredits-web/components/add-proposal/template.js","kredits-web/components/chart-contributions-by-type/component.js","kredits-web/components/chart-contributions-by-type/template.js","kredits-web/components/contribution-list/component.js","kredits-web/components/contribution-list/template.js","kredits-web/components/contributor-list/component.js","kredits-web/components/contributor-list/template.js","kredits-web/components/ember-chart.js","kredits-web/components/ember-flatpickr.js","kredits-web/components/external-account-link/component.js","kredits-web/components/external-account-link/template.js","kredits-web/components/icon-account-gitea-kosmos-org/component.js","kredits-web/components/icon-account-gitea-kosmos-org/template.js","kredits-web/components/icon-account-github-com/component.js","kredits-web/components/icon-account-github-com/template.js","kredits-web/components/icon-account-wiki-kosmos-org/component.js","kredits-web/components/icon-account-wiki-kosmos-org/template.js","kredits-web/components/icon-web-globe/component.js","kredits-web/components/icon-web-globe/template.js","kredits-web/components/loading-spinner/component.js","kredits-web/components/loading-spinner/template.js","kredits-web/components/proposal-list/component.js","kredits-web/components/proposal-list/template.js","kredits-web/components/user-avatar/component.js","kredits-web/components/user-avatar/template.js","kredits-web/controllers/application.js","kredits-web/controllers/contributions/new.js","kredits-web/controllers/contributors/edit.js","kredits-web/controllers/contributors/new.js","kredits-web/controllers/dashboard.js","kredits-web/controllers/dashboard/contributors/show.js","kredits-web/controllers/proposals/new.js","kredits-web/helpers/and.js","kredits-web/helpers/app-version.js","kredits-web/helpers/await.js","kredits-web/helpers/capitalize-string.js","kredits-web/helpers/contribution-status.js","kredits-web/helpers/eq.js","kredits-web/helpers/gt.js","kredits-web/helpers/gte.js","kredits-web/helpers/is-array.js","kredits-web/helpers/is-confirmed-contribution.js","kredits-web/helpers/is-current-user.js","kredits-web/helpers/is-equal.js","kredits-web/helpers/is-fulfilled.js","kredits-web/helpers/is-pending.js","kredits-web/helpers/is-rejected.js","kredits-web/helpers/lt.js","kredits-web/helpers/lte.js","kredits-web/helpers/not-eq.js","kredits-web/helpers/not.js","kredits-web/helpers/or.js","kredits-web/helpers/promise-all.js","kredits-web/helpers/promise-hash.js","kredits-web/helpers/promise-rejected-reason.js","kredits-web/helpers/xor.js","kredits-web/initializers/app-version.js","kredits-web/initializers/container-debug-adapter.js","kredits-web/initializers/export-application-global.js","kredits-web/models/contribution.js","kredits-web/models/contributor.js","kredits-web/models/proposal.js","kredits-web/resolver.js","kredits-web/router.js","kredits-web/routes/application.js","kredits-web/routes/contributors/edit.js","kredits-web/routes/dashboard/contributors/show.js","kredits-web/routes/index.js","kredits-web/services/ajax.js","kredits-web/services/kredits.js","kredits-web/templates/application-loading.js","kredits-web/templates/application.js","kredits-web/templates/contributions/new.js","kredits-web/templates/contributors/edit.js","kredits-web/templates/contributors/new.js","kredits-web/templates/dashboard.js","kredits-web/templates/dashboard/contributors/show.js","kredits-web/templates/proposals/new.js","kredits-web/utils/cps/bignumber.js","kredits-web/utils/cps/kredits.js","kredits-web/utils/format-kredits.js","kredits-web/utils/group-by.js","vendor/ember-cli/app-config.js","vendor/ember-cli/app-boot.js"],"names":["define","_exports","_resolver","_emberLoadInitializers","_environment","Object","defineProperty","value","default","App","Ember","Application","extend","modulePrefix","podModulePrefix","Resolver","_default","_slicedToArray","arr","i","Array","isArray","_arrayWithHoles","_arr","_n","_d","_e","undefined","_s","_i","Symbol","iterator","next","done","push","length","err","_iterableToArrayLimit","TypeError","_nonIterableRest","Component","attributes","contributors","freeze","isValidContributor","computed","notEmpty","isValidKind","isValidAmount","parseInt","this","amount","isValidDescription","isValidUrl","isValid","and","init","_super","apply","arguments","set","Date","contributorId","kind","date","description","url","reset","setProperties","actions","submit","_this","getProperties","keys","toISOString","split","save","then","console","warn","window","alert","finally","HTMLBars","template","id","block","meta","moduleName","kredits","inject","service","isValidAccount","isValidName","isValidURL","isValidGithubUID","isValidGithubUsername","isValidGiteaUsername","isValidWikiUsername","inProgress","setDefaultAttributes","isPresent","account","name","github_username","github_uid","gitea_username","wiki_username","contributor","catch","didInsertElement","proposal","saved","scroll","categoryColors","contributions","chartOptions","legend","display","chartData","filterBy","map","c","reduce","kinds","datasets","data","borderColor","borderWidth","labels","tagName","classNames","showQuickFilter","hideSmallContributions","contributionKind","contributorsSorting","sort","contributorsActive","activeIds","mapBy","toString","uniq","filter","includes","contributionKinds","contributionsFiltered","included","veto","contributionId","contractInteractionEnabled","vetoContribution","router","selectedContributor","openContributorDetails","transitionTo","_emberChart","_emberFlatpickr","enumerable","get","iconComponentName","site","match","replace","confirm","proposalId","confirmProposal","SIZES","small","medium","large","classNameBindings","attributeBindings","size","src","alias","title","avatarURL","concat","Controller","minedContributors","sortedContributors","contribution","findBy","contributorIpfsHash","ipfsHash","addContribution","transitionToRoute","updateContributor","model","addContributor","showDetailsPane","currentBlock","contributionsConfirmed","contributionsUnconfirmed","contributionsSorting","contributionsUnconfirmedSorted","contributionsConfirmedSorted","kreditsByContributor","kreditsToplistSorting","showUnconfirmedKredits","kreditsToplist","hideUnconfirmedKredits","not","showQuickFilterUnconfirmed","showQuickFilterConfirmed","transaction","debug","hash","vote","toggleQuickFilterUnconfirmed","toggleProperty","toggleQuickFilterConfirmed","roleName","isCore","totalKreditsEarned","addProposal","_and","_regexp","appVersion","_","version","APP","versionOnly","hideSha","shaOnly","hideVersion","showExtended","versionExtendedRegExp","versionRegExp","shaRegExp","Helper","helper","_await","compute","_ref","string","charAt","toUpperCase","slice","vetoed","confirmedAt","_equal","equal","_gt","gt","_gte","gte","_isArray","currentUser","_isEqual","isEqual","_isFulfilled","isFulfilled","_isPending","isPending","_isRejected","isRejected","_lt","lt","_lte","lte","_notEqual","notEq","_not","_or","or","_promiseAll","promiseAll","_promiseHash","promiseHash","_promiseRejectedReason","_xor","xor","_initializerFactory","initialize","_containerDebugAdapter","app","register","application","exportApplicationGlobal","theGlobal","global","self","globalName","String","classify","reopen","willDestroy","_bignumber","creatorAccount","details","ipfsData","_kredits","balance","contributionsCount","votesCount","votesNeeded","executed","isExecuted","_emberResolver","Router","location","locationType","rootURL","route","path","Route","beforeModel","transition","setup","preflightChecks","error","retry","log","afterModel","loadInitialData","addContractEventHandlers","params","setupController","controller","activate","controllerFor","deactivate","redirect","_ajax","_npmEthers","_npmKreditsContracts","_groupBy","_formatKredits","_contributor","_proposal","_contribution","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","Promise","_asyncToGenerator","fn","args","Service","currentUserAccounts","proposals","currentUserIsContributor","currentUserIsCore","hasAccounts","accountNeedsUnlock","isEmpty","_this2","_this3","contributionsGrouped","contributorsWithUnconfirmed","contributorsWithOnlyConfirmed","amountUnconfirmed","items","a","b","create","amountConfirmed","amountTotal","forEach","getEthProvider","ethProvider","_this4","RSVP","regeneratorRuntime","mark","_callee2","instantiateWithoutAccount","instantiateWithAccount","_instantiateWithAccount","wrap","_context2","prev","_callee","web3Provider","context","_context","providers","Web3Provider","listAccounts","accounts","ethSigner","getSigner","stop","_x2","_x3","web3ProviderUrl","JsonRpcProvider","ethereum","enable","t0","web3","currentProvider","_x","_this5","providerAndSigner","addresses","Kernel","kreditsKernelAddress","apm","kreditsApmDomain","ipfsConfig","ipfs","_ref5","_callee3","_context3","provider","getBlockNumber","t1","sent","call","getCurrentUser","contributorData","abrupt","_x4","totalSupply","Token","functions","total","Contribution","toNumber","_this6","getContributors","pushObjects","getContributions","uidInt","Contributor","add","gasLimit","updateProfile","all","_this7","blockNumber","pushObject","_this8","Proposal","getProposals","_this9","_this10","page","_this11","getContributorIdByAddress","getById","findProposalById","on","handleContributorChange","bind","handleContributionVetoed","handleProposalCreated","handleProposalVoted","handleProposalExecuted","handleTransfer","_handleContributorChange","_callee4","_len","_key","newContributor","oldContributor","_args4","_context4","removeObject","_x5","_this12","voterId","totalVotes","incrementProperty","from","to","decrementProperty","dependentKey","converterMethod","utils","BigNumber","isBigNumber","bnValue","bigNumberify","options","etherValue","formatEther","decimals","collection","property","groups","A","item","group","metaName","prefix","rawConfig","document","querySelector","getAttribute","exports","JSON","parse","decodeURIComponent","Error","runningTests","require"],"mappings":"AAAA;ACAAA,OAAA,kBAAA,CAAA,UAAA,uBAAA,0BAAA,kCAAA,SAAAC,E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GACAI,EAAAH,EAAAlT,OAAA,QAAA/K;AAEAG,MAAA2F,UAAAsY,GACAje,MAAAoJ,IAAA6U,EAAA,SAAAzc,KAAAwc,IAEAC,EAAA,CACAJ,SAAAA,EACAhe,MAAAA,EACAgW,MAAA,CAAAmI,IAEAF,EAAAtc,KAAAyc;AAKA,OAAAH,KC9BAxe,OAAA,iCAAA,GAAA,WAEA,IACA,IAAA4e,EAAAC,iCACAC,EAAAC,SAAAC,cAAA,cAAAJ,EAAA,MAAAK,aAAA,WAGAC,EAAA,CAAA1e,QAFA2e,KAAAC,MAAAC,mBAAAP;AAMA,OAFAze,OAAAC,eAAA4e,EAAA,aAAA,CAAA3e,OAAA,IAEA2e,EAEA,MAAA9c,GACA,MAAA,IAAAkd,MAAA,kDAAAV,EAAA,SCbAW,cACAC,QAAA,mBAAA,QAAA9I,OAAA,CAAAnQ,KAAA,cAAAqH,QAAA","file":"kredits-web.js","sourcesContent":["'use strict';\n\n\n","define(\"kredits-web/app\", [\"exports\", \"kredits-web/resolver\", \"ember-load-initializers\", \"kredits-web/config/environment\"], function (_exports, _resolver, _emberLoadInitializers, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var App = Ember.Application.extend({\n modulePrefix: _environment.default.modulePrefix,\n podModulePrefix: _environment.default.podModulePrefix,\n Resolver: _resolver.default\n });\n (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);\n var _default = App;\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contribution/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Component.extend({\n attributes: null,\n contributors: Object.freeze([]),\n isValidContributor: Ember.computed.notEmpty('contributorId'),\n isValidKind: Ember.computed.notEmpty('kind'),\n isValidAmount: Ember.computed('amount', function () {\n return parseInt(this.amount, 10) > 0;\n }),\n isValidDescription: Ember.computed.notEmpty('description'),\n isValidUrl: Ember.computed.notEmpty('url'),\n isValid: Ember.computed.and('isValidContributor', 'isValidKind', 'isValidAmount', 'isValidDescription'),\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('defaultDate', new Date()); // Default attributes used by reset\n\n this.set('attributes', {\n contributorId: null,\n kind: null,\n date: [new Date()],\n amount: null,\n description: null,\n url: null\n });\n this.reset();\n },\n reset: function reset() {\n this.setProperties(this.attributes);\n },\n actions: {\n submit: function submit() {\n var _this = this;\n\n if (!this.isValid) {\n alert('Invalid data. Please review and try again.');\n return;\n }\n\n var attributes = this.getProperties(Object.keys(this.attributes));\n\n var _attributes$date$0$to = attributes.date[0].toISOString().split('T'),\n _attributes$date$0$to2 = _slicedToArray(_attributes$date$0$to, 1),\n date\n /* , time */\n = _attributes$date$0$to2[0];\n\n attributes.date = date;\n this.set('inProgress', true);\n this.save(attributes).then(function ()\n /*contribution*/\n {\n _this.reset();\n }, function (err) {\n console.warn(err);\n window.alert('Something went wrong. Check the browser console for details.');\n }).finally(function () {\n return _this.set('inProgress', false);\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contribution/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"U4IJj1aB\",\n \"block\": \"{\\\"symbols\\\":[\\\"contributor\\\"],\\\"statements\\\":[[7,\\\"form\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributorId\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[11,\\\"disabled\\\",\\\"\\\"],[11,\\\"hidden\\\",\\\"\\\"],[9],[0,\\\"Contributor\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributors\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,1,[\\\"id\\\"]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributorId\\\"]],[22,1,[\\\"id\\\"]]],null]],[9],[1,[22,1,[\\\"name\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"kind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[11,\\\"disabled\\\",\\\"\\\"],[11,\\\"hidden\\\",\\\"\\\"],[9],[0,\\\"Kind\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"community\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"community\\\"],null]],[9],[0,\\\"Community\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"design\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"design\\\"],null]],[9],[0,\\\"Design\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"dev\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"dev\\\"],null]],[9],[0,\\\"Development\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"docs\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"docs\\\"],null]],[9],[0,\\\"Documentation\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"ops\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"ops\\\"],null]],[9],[0,\\\"IT Operations\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"special\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"special\\\"],null]],[9],[0,\\\"Special\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"ember-flatpickr\\\",null,[[\\\"allowInput\\\",\\\"altFormat\\\",\\\"altInput\\\",\\\"altInputClass\\\",\\\"date\\\",\\\"dateFormat\\\",\\\"defaultDate\\\",\\\"maxDate\\\",\\\"onChange\\\"],[false,\\\"F j, Y\\\",true,\\\"date-alt\\\",[23,[\\\"date\\\"]],\\\"Y-m-d\\\",[23,[\\\"defaultDate\\\"]],[23,[\\\"defaultDate\\\"]],[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"date\\\"]]],null]],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"500\\\",[23,[\\\"amount\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidAmount\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"Description\\\",[23,[\\\"description\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidDescription\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"URL (optional)\\\",[23,[\\\"url\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidUrl\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"disabled\\\",\\\"value\\\"],[\\\"submit\\\",[23,[\\\"inProgress\\\"]],[27,\\\"if\\\",[[23,[\\\"inProgress\\\"]],\\\"Processing\\\",\\\"Save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"submit\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[10],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/add-contribution/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contributor/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n kredits: Ember.inject.service(),\n attributes: null,\n // TODO: add proper address validation\n isValidAccount: Ember.computed.notEmpty('account'),\n isValidName: Ember.computed.notEmpty('name'),\n isValidURL: Ember.computed.notEmpty('url'),\n isValidGithubUID: Ember.computed.notEmpty('github_uid'),\n isValidGithubUsername: Ember.computed.notEmpty('github_username'),\n isValidGiteaUsername: Ember.computed.notEmpty('gitea_username'),\n isValidWikiUsername: Ember.computed.notEmpty('wiki_username'),\n isValid: Ember.computed.and('isValidAccount', 'isValidName', 'isValidGithubUID'),\n inProgress: false,\n init: function init() {\n this._super.apply(this, arguments);\n\n this.setDefaultAttributes();\n this.reset();\n },\n setDefaultAttributes: function setDefaultAttributes() {\n if (Ember.isPresent(this.attributes)) {\n return;\n }\n\n this.set('attributes', {\n account: null,\n name: null,\n kind: 'person',\n url: null,\n github_username: null,\n github_uid: null,\n gitea_username: null,\n wiki_username: null\n });\n },\n reset: function reset() {\n this.setProperties(this.attributes);\n },\n actions: {\n submit: function submit() {\n var _this = this;\n\n if (!this.isValid) {\n alert('Invalid data. Please review and try again.');\n return;\n }\n\n var attributes = Object.keys(this.attributes);\n var contributor = this.getProperties(attributes);\n this.set('inProgress', true);\n this.save(contributor).then(function () {\n _this.reset();\n }).catch(function (err) {\n console.warn(err);\n window.alert('Something went wrong. Please check the browser console.');\n }).finally(function () {\n _this.set('inProgress', false);\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-contributor/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"ub+zr3DC\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"form\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-account\\\"],[9],[0,\\\"Ethereum account\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"id\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\"],[\\\"account\\\",\\\"c-account\\\",\\\"text\\\",[23,[\\\"account\\\"]],\\\"0xF18E631Ea191aE4ebE70046Fcb01a436554421BA4\\\",[27,\\\"if\\\",[[23,[\\\"isValidAccount\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-kind\\\"],[9],[0,\\\"Kind\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"kind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[11,\\\"id\\\",\\\"c-kind\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"person\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"person\\\"],null]],[9],[0,\\\"Person\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"organization\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"organization\\\"],null]],[9],[0,\\\"Organization\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-name\\\"],[9],[0,\\\"Name\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"name\\\",\\\"text\\\",[23,[\\\"name\\\"]],\\\"Zero Cool\\\",[27,\\\"if\\\",[[23,[\\\"isValidName\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-name\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-url\\\"],[9],[0,\\\"URL\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"url\\\",\\\"text\\\",[23,[\\\"url\\\"]],\\\"http://zerocool.bit\\\",[27,\\\"if\\\",[[23,[\\\"isValidURL\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-url\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-github-uid\\\"],[9],[0,\\\"GitHub UID\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"github_uid\\\",\\\"text\\\",[23,[\\\"github_uid\\\"]],\\\"2342\\\",[27,\\\"if\\\",[[23,[\\\"isValidGithubUID\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-github-uid\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-github-username\\\"],[9],[0,\\\"GitHub username\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"github_username\\\",\\\"text\\\",[23,[\\\"github_username\\\"]],\\\"zerocool\\\",[27,\\\"if\\\",[[23,[\\\"isValidGithubUsername\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-github-username\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-gitea-username\\\"],[9],[0,\\\"Gitea username\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"gitea_username\\\",\\\"text\\\",[23,[\\\"gitea_username\\\"]],\\\"zerocool\\\",[27,\\\"if\\\",[[23,[\\\"isValidGiteaUsername\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-gitea-username\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"c-wiki-username\\\"],[9],[0,\\\"Wiki username\\\"],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"name\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\",\\\"class\\\",\\\"id\\\"],[\\\"wiki_username\\\",\\\"text\\\",[23,[\\\"wiki_username\\\"]],\\\"ZeroCool\\\",[27,\\\"if\\\",[[23,[\\\"isValidWikiUsername\\\"]],\\\"valid\\\",\\\"\\\"],null],\\\"c-wiki-username\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"disabled\\\",\\\"value\\\"],[\\\"submit\\\",[23,[\\\"inProgress\\\"]],[27,\\\"if\\\",[[23,[\\\"inProgress\\\"]],\\\"Processing\\\",\\\"Save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"submit\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/add-contributor/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-proposal/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n attributes: null,\n contributors: Object.freeze([]),\n isValidContributor: Ember.computed.notEmpty('contributorId'),\n isValidAmount: Ember.computed('amount', function () {\n return parseInt(this.amount, 10) > 0;\n }),\n isValidDescription: Ember.computed.notEmpty('description'),\n isValidUrl: Ember.computed.notEmpty('url'),\n isValid: Ember.computed.and('isValidContributor', 'isValidAmount', 'isValidDescription'),\n init: function init() {\n this._super.apply(this, arguments); // Default attributes used by reset\n\n\n this.set('attributes', {\n contributorId: null,\n kind: 'community',\n amount: null,\n description: null,\n url: null\n });\n },\n didInsertElement: function didInsertElement() {\n this._super.apply(this, arguments);\n\n this.reset();\n },\n reset: function reset() {\n this.setProperties(this.attributes);\n },\n actions: {\n submit: function submit() {\n var _this = this;\n\n if (!this.isValid) {\n alert('Invalid data. Please review and try again.');\n return;\n }\n\n var attributes = Object.keys(this.attributes);\n var proposal = this.getProperties(attributes);\n var saved = this.save(proposal); // The promise handles inProgress\n\n this.set('inProgress', saved);\n saved.then(function () {\n _this.reset();\n\n window.scroll(0, 0);\n window.alert('Proposal added.');\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/add-proposal/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"3DOgBCvD\",\n \"block\": \"{\\\"symbols\\\":[\\\"contributor\\\"],\\\"statements\\\":[[7,\\\"form\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributorId\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[11,\\\"disabled\\\",\\\"\\\"],[11,\\\"hidden\\\",\\\"\\\"],[9],[0,\\\"Contributor\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributors\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,1,[\\\"id\\\"]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributorId\\\"]],[22,1,[\\\"id\\\"]]],null]],[9],[1,[22,1,[\\\"github_username\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"select\\\"],[11,\\\"required\\\",\\\"\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"kind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"community\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"community\\\"],null]],[9],[0,\\\"Community\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"design\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"design\\\"],null]],[9],[0,\\\"Design\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"dev\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"dev\\\"],null]],[9],[0,\\\"Development\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"docs\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"docs\\\"],null]],[9],[0,\\\"Documentation\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"ops\\\"],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"kind\\\"]],\\\"ops\\\"],null]],[9],[0,\\\"IT Operations\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"100\\\",[23,[\\\"amount\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidAmount\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"Description\\\",[23,[\\\"description\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidDescription\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"placeholder\\\",\\\"value\\\",\\\"class\\\"],[\\\"text\\\",\\\"URL (optional)\\\",[23,[\\\"url\\\"]],[27,\\\"if\\\",[[23,[\\\"isValidUrl\\\"]],\\\"valid\\\",\\\"\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"disabled\\\",\\\"value\\\"],[\\\"submit\\\",[27,\\\"is-pending\\\",[[23,[\\\"inProgress\\\"]]],null],[27,\\\"if\\\",[[27,\\\"is-pending\\\",[[23,[\\\"inProgress\\\"]]],null],\\\"Processing\\\",\\\"Save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[4,\\\"link-to\\\",[\\\"index\\\"],null,{\\\"statements\\\":[[0,\\\"Back\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"submit\\\"],[[\\\"on\\\"],[\\\"submit\\\"]]],[10],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/add-proposal/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/chart-contributions-by-type/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var categoryColors = {\n community: \"#fb6868\",\n design: \"#fbe468\",\n dev: \"#e068fb\",\n docs: \"#97fb68\",\n ops: \"#8f68fb\"\n };\n\n var _default = Ember.Component.extend({\n contributions: null,\n chartOptions: Object.freeze({\n legend: {\n display: false\n }\n }),\n chartData: Ember.computed('contributions', function () {\n var kredits = this.contributions.filterBy('vetoed', false).map(function (c) {\n return {\n kind: c.kind,\n amount: c.amount\n };\n }).reduce(function (kinds, c) {\n if (c.kind in kinds) {\n kinds[c.kind] = kinds[c.kind] + c.amount;\n } else {\n kinds[c.kind] = c.amount;\n }\n\n return kinds;\n }, {});\n return {\n datasets: [{\n data: [kredits['community'], kredits['design'], kredits['dev'], kredits['ops'], kredits['docs']],\n borderColor: [categoryColors.community, categoryColors.design, categoryColors.dev, categoryColors.ops, categoryColors.docs],\n borderWidth: 1\n }],\n labels: ['Community', 'Design', 'Development', 'Operations & Infrastructure', 'Documentation']\n };\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/chart-contributions-by-type/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"knNRD8x3\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"div\\\"],[11,\\\"class\\\",\\\"chart\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"ember-chart\\\",null,[[\\\"type\\\",\\\"data\\\",\\\"options\\\",\\\"width\\\",\\\"height\\\"],[\\\"doughnut\\\",[23,[\\\"chartData\\\"]],[23,[\\\"chartOptions\\\"]],200,200]]],false],[0,\\\"\\\\n\\\"],[10]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/chart-contributions-by-type/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contribution-list/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: 'div',\n classNames: ['contributions'],\n showQuickFilter: false,\n hideSmallContributions: false,\n contributorId: null,\n contributionKind: null,\n kredits: Ember.inject.service(),\n contributorsSorting: Object.freeze(['name:asc']),\n contributors: Ember.computed.sort('kredits.contributors', 'contributorsSorting'),\n contributorsActive: Ember.computed('contributors.[]', 'contributions', function () {\n var activeIds = this.contributions.mapBy('contributorId').map(function (id) {\n return id.toString();\n }).uniq();\n return this.contributors.filter(function (c) {\n return activeIds.includes(c.id.toString());\n });\n }),\n contributionKinds: Ember.computed('contributions.[]', function () {\n return this.contributions.mapBy('kind').uniq();\n }),\n contributionsFiltered: Ember.computed('contributions.[]', 'hideSmallContributions', 'contributorId', 'contributionKind', function () {\n var _this = this;\n\n return this.contributions.filter(function (c) {\n var included = true;\n\n if (_this.hideSmallContributions && c.amount <= 500) {\n included = false;\n }\n\n if (Ember.isPresent(_this.contributorId) && c.contributorId.toString() !== _this.contributorId.toString()) {\n included = false;\n }\n\n if (Ember.isPresent(_this.contributionKind) && c.kind !== _this.contributionKind) {\n included = false;\n }\n\n return included;\n });\n }),\n actions: {\n veto: function veto(contributionId) {\n if (this.contractInteractionEnabled) {\n this.vetoContribution(contributionId);\n } else {\n window.alert('Only members can veto contributions. Please ask someone to set you up.');\n }\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contribution-list/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"f2WDZU66\",\n \"block\": \"{\\\"symbols\\\":[\\\"contribution\\\",\\\"kind\\\",\\\"contributor\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"showQuickFilter\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"quick-filter\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"class\\\",\\\"filter-contributor\\\"],[9],[0,\\\"\\\\n Contributor:\\\\n \\\"],[7,\\\"select\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributorId\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[9],[0,\\\"all\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributorsActive\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,3,[\\\"id\\\"]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributorId\\\"]],[22,3,[\\\"id\\\"]]],null]],[9],[1,[22,3,[\\\"name\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"class\\\",\\\"filter-contribution-kind\\\"],[9],[0,\\\"\\\\n Kind:\\\\n \\\"],[7,\\\"select\\\"],[12,\\\"onchange\\\",[27,\\\"action\\\",[[22,0,[]],[27,\\\"mut\\\",[[23,[\\\"contributionKind\\\"]]],null]],[[\\\"value\\\"],[\\\"target.value\\\"]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"option\\\"],[11,\\\"value\\\",\\\"\\\"],[11,\\\"selected\\\",\\\"\\\"],[9],[0,\\\"all\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributionKinds\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"option\\\"],[12,\\\"value\\\",[22,2,[]]],[12,\\\"selected\\\",[27,\\\"eq\\\",[[23,[\\\"contributionKind\\\"]],[22,2,[]]],null]],[9],[1,[27,\\\"capitalize-string\\\",[[22,2,[]]],null],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"class\\\",\\\"filter-contribution-size\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"checked\\\"],[\\\"checkbox\\\",[23,[\\\"hideSmallContributions\\\"]]]]],false],[0,\\\"\\\\n Hide small contributions\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[7,\\\"ul\\\"],[11,\\\"class\\\",\\\"contribution-list\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributionsFiltered\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[12,\\\"data-contribution-id\\\",[22,1,[\\\"id\\\"]]],[12,\\\"class\\\",[28,[[27,\\\"contribution-status\\\",[[22,1,[]]],null],\\\" \\\",[27,\\\"if\\\",[[22,1,[\\\"vetoed\\\"]],\\\"vetoed\\\"],null]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"meta\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"recipient\\\"],[9],[1,[27,\\\"user-avatar\\\",null,[[\\\"contributor\\\"],[[22,1,[\\\"contributor\\\"]]]]],false],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[12,\\\"class\\\",[28,[\\\"category \\\",[22,1,[\\\"kind\\\"]]]]],[9],[0,\\\"(\\\"],[1,[22,1,[\\\"kind\\\"]],false],[0,\\\")\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"title\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[22,1,[\\\"url\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[22,1,[\\\"url\\\"]]],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[12,\\\"title\\\",[22,1,[\\\"description\\\"]]],[9],[1,[22,1,[\\\"description\\\"]],false],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\" \\\"],[1,[22,1,[\\\"description\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"kredits-amount\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"amount\\\"],[9],[1,[22,1,[\\\"amount\\\"]],false],[10],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"symbol\\\"],[9],[0,\\\"₭S\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[22,1,[\\\"vetoed\\\"]]],null,{\\\"statements\\\":[[4,\\\"unless\\\",[[27,\\\"is-confirmed-contribution\\\",[[22,1,[]]],null]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"voting\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[11,\\\"class\\\",\\\"small danger\\\"],[9],[0,\\\"veto\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"veto\\\",[22,1,[\\\"id\\\"]]]],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[10]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/contribution-list/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contributor-list/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n router: Ember.inject.service(),\n tagName: 'table',\n classNames: 'contributor-list',\n selectedContributor: null,\n actions: {\n openContributorDetails: function openContributorDetails(contributor) {\n this.router.transitionTo('dashboard.contributors.show', contributor);\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/contributor-list/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"OSGGbvZX\",\n \"block\": \"{\\\"symbols\\\":[\\\"c\\\"],\\\"statements\\\":[[7,\\\"tbody\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"contributorList\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"tr\\\"],[11,\\\"role\\\",\\\"button\\\"],[12,\\\"class\\\",[27,\\\"if\\\",[[27,\\\"is-current-user\\\",[[22,1,[\\\"contributor\\\"]]],null],\\\"current-user\\\"],null]],[9],[0,\\\"\\\\n \\\"],[7,\\\"td\\\"],[11,\\\"class\\\",\\\"person\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"user-avatar\\\",null,[[\\\"contributor\\\"],[[22,1,[\\\"contributor\\\"]]]]],false],[0,\\\" \\\"],[1,[22,1,[\\\"contributor\\\",\\\"name\\\"]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"td\\\"],[11,\\\"class\\\",\\\"kredits\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"amount\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"showUnconfirmedKredits\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[1,[22,1,[\\\"amountTotal\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\" \\\"],[1,[22,1,[\\\"amountConfirmed\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"symbol\\\"],[9],[0,\\\"₭S\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[3,\\\"action\\\",[[22,0,[]],\\\"openContributorDetails\\\",[22,1,[\\\"contributor\\\"]]]],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/contributor-list/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/ember-chart\", [\"exports\", \"ember-cli-chart/components/ember-chart\"], function (_exports, _emberChart) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = _emberChart.default;\n _exports.default = _default;\n});","define(\"kredits-web/components/ember-flatpickr\", [\"exports\", \"ember-flatpickr/components/ember-flatpickr\"], function (_exports, _emberFlatpickr) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _emberFlatpickr.default;\n }\n });\n});","define(\"kredits-web/components/external-account-link/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\",\n account: null,\n iconComponentName: Ember.computed('account.site', function () {\n if (this.account.site.match(/github|gitea|wiki/)) {\n return 'icon-account-' + this.account.site.replace(/\\./g, '-');\n } else {\n return 'icon-web-globe';\n }\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/external-account-link/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"ruT9Rg4z\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"a\\\"],[12,\\\"href\\\",[23,[\\\"account\\\",\\\"url\\\"]]],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[12,\\\"title\\\",[28,[[23,[\\\"account\\\",\\\"username\\\"]],\\\" on \\\",[23,[\\\"account\\\",\\\"site\\\"]]]]],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"site\\\"],[9],[1,[23,[\\\"account\\\",\\\"site\\\"]],false],[10],[0,\\\"\\\\n \\\"],[1,[27,\\\"component\\\",[[23,[\\\"iconComponentName\\\"]]],null],false],[0,\\\"\\\\n\\\"],[10]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/external-account-link/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-gitea-kosmos-org/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-gitea-kosmos-org/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"JiltL+jf\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"class\\\",\\\"icon-gitea\\\"],[11,\\\"width\\\",\\\"400\\\"],[11,\\\"height\\\",\\\"400\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 400 400\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"g\\\"],[11,\\\"fill-rule\\\",\\\"evenodd\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"d\\\",\\\"m235.61 136.7 7e-3 32.7 4.493 2.189c2.471 1.204 4.628 2.25 4.793 2.324s0.3-15.626 0.3-34.889v-35.024h-9.6l7e-3 32.7m-22.336 30.528c-2.787 0.548-5.894 2.175-8.11 4.244-2.296 2.145-1.694 0.967-24.197 47.328l-11.164 23v4.6c0 4.305 0.076 4.75 1.185 6.942 2.815 5.56 1.055 4.606 69.415 37.629l4.2 2.029h4.221c10.104 0 11.144-1.319 26.676-33.8 0.999-2.09 4.15-8.57 7.001-14.4s6.916-14.2 9.033-18.6l3.849-8 0.01-4.219c0.02-8.49-2.644-11.721-14.326-17.371-4.215-2.038-11.264-5.461-15.664-7.606-15.241-7.429-22.802-11.07-23.125-11.137-0.418-0.086-1.177 1.299-5.112 9.333l-3.234 6.6 1.19 2.2c0.654 1.21 1.308 3.038 1.454 4.063l0.265 1.862 5.747 2.8c22.047 10.742 22.975 15.314 9.007 44.377l-3.317 6.902 1.162 2.098c3.865 6.974-0.923 15.098-8.898 15.098-12.557 0-13.717-18.335-1.278-20.2l1.842-0.276 3.101-6.462c12.037-25.079 11.953-25.952-3.232-33.53l-7.333-3.659-2.319 1.032c-1.276 0.567-3.151 1.153-4.167 1.301l-1.848 0.269-6.785 13.855-6.786 13.854 1.109 1.747c6.109 9.633-5.532 20.771-14.552 13.924-6.729-5.108-4.39-16.742 3.633-18.073 0.812-0.134 1.71-0.318 1.996-0.408 0.429-0.136 6.592-12.372 13.118-26.044l1.37-2.87-0.782-1.33c-3.586-6.099 0.331-14.253 7.353-15.306l1.683-0.252 3.969-8.045c2.183-4.425 4.019-8.168 4.08-8.319s-2.979-1.758-6.755-3.571c-8.092-3.885-10.4-4.452-14.685-3.609\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"d\\\",\\\"m73.4 97.876c-2.903 0.376-8.068 1.377-8.8 1.705-0.44 0.197-2.915 1.007-5.5 1.8s-4.7 1.617-4.7 1.831c0 0.213-0.225 0.388-0.5 0.388-0.63 1e-3 -5.615 2.344-5.893 2.771-0.114 0.175-0.837 0.638-1.607 1.029-5.482 2.788-14.835 11.523-18.63 17.4-0.639 0.99-1.274 1.89-1.409 2-0.659 0.534-4.752 8.933-5.555 11.4-0.502 1.54-1.048 2.98-1.213 3.2-0.587 0.782-2.031 7.531-2.489 11.633-0.256 2.292-0.61 4.167-0.785 4.167-0.443 0-0.403 17.45 0.042 18.305 0.199 0.382 0.566 2.748 0.816 5.258 0.493 4.939 1.847 12.516 2.428 13.578 0.198 0.363 0.83 2.369 1.405 4.459 1.927 7.009 10.26 22.927 12.44 23.764 0.303 0.116 0.55 0.481 0.55 0.812 0 0.813 10.667 11.552 12.3 12.383 0.715 0.364 1.3 0.821 1.3 1.017 0 0.195 0.945 0.934 2.1 1.642s2.19 1.41 2.3 1.561 1.28 0.875 2.6 1.609c1.32 0.735 2.67 1.552 3 1.816s1.95 1.086 3.6 1.827c1.65 0.74 3.101 1.486 3.224 1.658 0.123 0.171 1.741 0.865 3.596 1.542s3.557 1.384 3.783 1.572c0.226 0.187 2.388 0.907 4.804 1.599s4.753 1.423 5.193 1.624c1.299 0.593 7.258 1.856 12.2 2.586 2.53 0.374 4.96 0.83 5.4 1.013 1.151 0.48 8.262 1.165 15.067 1.45l5.866 0.247 0.877 2.594c0.903 2.673 4.652 10.529 5.195 10.884 0.168 0.11 0.585 0.83 0.928 1.6 0.685 1.538 1.927 3.686 2.313 4 0.135 0.11 0.826 1.19 1.536 2.4 1.544 2.634 4.561 7.175 5.293 7.968 0.289 0.313 0.975 1.236 1.525 2.051 1.729 2.563 7.039 9.405 8.557 11.025 0.244 0.26 1.523 1.692 2.843 3.183 3.476 3.925 7.354 7.774 10.261 10.183 1.397 1.157 2.629 2.223 2.739 2.368s1.096 0.884 2.191 1.643c1.094 0.758 2.33 1.681 2.745 2.051s1.229 0.911 1.809 1.203 1.884 1.026 2.897 1.632c1.952 1.167 7.201 3.093 8.428 3.093 0.402 0 0.73 0.18 0.73 0.4 0 0.511 115.46 0.557 115.77 0.046 0.121-0.194 1.074-0.482 2.119-0.639 2.437-0.365 7.765-2.307 9.27-3.378 0.64-0.456 1.334-0.829 1.542-0.829 0.451 0 5.639-3.687 8.597-6.111 2.854-2.337 5.633-5.107 8.718-8.689 1.42-1.65 2.681-3.09 2.8-3.2 0.581-0.536 5.161-6.76 5.812-7.9 0.409-0.715 0.869-1.3 1.023-1.3 0.153 0 0.938-1.125 1.742-2.5 2.068-3.533 4.108-6.822 4.561-7.352 0.213-0.248 1.043-1.755 1.845-3.348s1.62-3.1 1.818-3.348c0.687-0.864 5.069-9.661 5.555-11.152 0.269-0.825 0.642-1.5 0.829-1.5s0.878-1.396 1.536-3.101c0.658-1.706 1.671-4.047 2.251-5.203 0.581-1.156 1.405-3.116 1.832-4.356 0.426-1.239 0.934-2.453 1.129-2.696 0.194-0.244 0.946-2.154 1.671-4.244s1.446-3.89 1.602-4c0.155-0.11 0.964-2.36 1.797-5 0.832-2.64 1.627-4.89 1.766-5s0.861-2.27 1.604-4.8c0.742-2.53 1.484-4.782 1.649-5.003 0.164-0.222 0.872-2.562 1.573-5.2 0.701-2.639 1.412-4.977 1.58-5.197s0.965-3.19 1.77-6.6 1.623-6.488 1.817-6.84c0.195-0.353 0.919-3.503 1.611-7 0.692-3.498 1.431-6.678 1.642-7.068 0.211-0.389 0.938-4.169 1.616-8.4 0.677-4.23 1.388-8.052 1.579-8.492 0.192-0.44 0.708-3.77 1.147-7.4 4.258-35.198 1.497-55.451-8.208-60.199l-2.219-1.086-7.473 0.266c-4.111 0.146-7.834 0.417-8.274 0.602-0.801 0.336-13.842 0.941-52 2.412-11.22 0.433-22.2 0.881-24.4 0.997-2.2 0.115-11.334 0.415-20.298 0.665l-16.298 0.455-0.204 69.922-9.392-4.634-8e-3 -65.272-19.3-0.277c-10.615-0.153-19.84-0.441-20.5-0.642-0.66-0.2-6.69-0.551-13.4-0.779-21.82-0.743-58.18-2.495-59-2.843-0.44-0.187-4.04-0.453-8-0.591s-11.34-0.508-16.4-0.822c-8.365-0.519-22.619-0.685-25.6-0.298m13.657 31.23c0.269 0.173 0.809 3.742 1.313 8.694 0.471 4.62 1.021 8.76 1.221 9.2 0.201 0.44 0.561 2.42 0.801 4.4 0.709 5.856 2.382 15.937 2.787 16.8 0.207 0.44 0.943 3.68 1.636 7.2s1.4 6.58 1.571 6.8 0.803 2.56 1.405 5.2c0.601 2.64 1.333 5.34 1.627 6 0.293 0.66 1.193 3.63 2 6.6 0.808 2.97 1.597 5.49 1.754 5.6s0.884 2.27 1.614 4.8c0.731 2.53 1.455 4.69 1.608 4.8 0.154 0.11 0.868 2.09 1.587 4.4 0.72 2.31 1.494 4.429 1.721 4.71 0.226 0.28 0.341 0.567 0.255 0.637-0.263 0.215-9.713-1.339-10.37-1.704-0.337-0.188-1.237-0.468-2-0.623-4-0.814-10.947-2.703-11.712-3.185-0.481-0.304-1.325-0.675-1.875-0.825-1.377-0.377-5.355-1.954-5.6-2.22-0.11-0.12-1.447-0.841-2.971-1.604-1.524-0.762-3.216-1.791-3.759-2.286s-1.16-0.9-1.372-0.9c-1.422 0-11.329-9.68-12.558-12.27-0.347-0.731-0.775-1.33-0.951-1.33-0.593 0-4.638-8.175-5.591-11.3-0.519-1.705-1.071-3.1-1.226-3.1s-0.372-0.495-0.482-1.1c-0.111-0.605-0.599-3.08-1.084-5.5-1.119-5.58-1.528-15.681-0.814-20.111 0.516-3.208 1.895-8.141 2.372-8.489 0.15-0.11 0.752-1.19 1.338-2.4 2.053-4.245 6.611-8.836 11.098-11.177 1.43-0.746 2.69-1.485 2.8-1.643 0.28-0.402 6.231-2.23 8.4-2.58 0.99-0.16 2.003-0.454 2.251-0.654 0.248-0.199 2.678-0.513 5.4-0.697s5.039-0.357 5.149-0.385c0.11-0.029 0.406 0.08 0.657 0.242m131.79 38.066c2.262 0.371 16.092 6.678 15.866 7.236-0.061 0.151-1.897 3.894-4.08 8.319l-3.969 8.045-1.683 0.252c-7.022 1.053-10.939 9.207-7.353 15.306l0.782 1.33-1.37 2.87c-6.526 13.672-12.689 25.908-13.118 26.044-0.286 0.09-1.184 0.274-1.996 0.408-8.023 1.331-10.362 12.965-3.633 18.073 9.02 6.847 20.661-4.291 14.552-13.924l-1.109-1.747 6.786-13.854 6.785-13.855 1.848-0.269c1.016-0.148 2.891-0.734 4.167-1.301l2.319-1.032 7.333 3.659c15.185 7.578 15.269 8.451 3.232 33.53l-3.101 6.462-1.842 0.276c-12.439 1.865-11.279 20.2 1.278 20.2 7.975 0 12.763-8.124 8.898-15.098l-1.162-2.098 3.317-6.902c13.968-29.063 13.04-33.635-9.007-44.377l-5.747-2.8-0.265-1.862c-0.146-1.025-0.8-2.853-1.454-4.063l-1.19-2.2 3.234-6.6c3.935-8.034 4.694-9.419 5.112-9.333 0.323 0.067 7.884 3.708 23.125 11.137 4.4 2.145 11.449 5.568 15.664 7.606 11.682 5.65 14.346 8.881 14.326 17.371l-0.01 4.219-3.849 8c-2.117 4.4-6.182 12.77-9.033 18.6s-6.002 12.31-7.001 14.4c-15.532 32.481-16.572 33.8-26.676 33.8h-4.221l-4.2-2.029c-68.36-33.023-66.6-32.069-69.415-37.629-1.109-2.192-1.185-2.637-1.185-6.942v-4.6l11.164-23c22.503-46.361 21.901-45.183 24.197-47.328 3.874-3.618 8.661-5.122 13.684-4.3\\\"],[9],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-account-gitea-kosmos-org/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-github-com/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-github-com/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"DB4qRdw9\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"id\\\",\\\"svg825\\\"],[11,\\\"class\\\",\\\"icon-github\\\"],[11,\\\"width\\\",\\\"260\\\"],[11,\\\"height\\\",\\\"260\\\"],[11,\\\"enable-background\\\",\\\"new 0 0 212.4575 186.23\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 260 260\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"g\\\"],[11,\\\"transform\\\",\\\"translate(23.766 36.885)\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"d\\\",\\\"m151.79 86.234c-7.078 0.1229-14.154 0.5605-21.232 0.7069-12.318 0.248-24.64 0.5664-36.961 0.512-11.176-0.0472-22.358-0.9728-33.518-0.7052-7.3164 0.1776-14.373 2.2948-20.131 7.584-9.9472 9.1368-12.522 21-11.314 33.807 1.92 20.357 9.2716 31.449 29.115 37.064 15.793 4.4704 31.963 5.2088 48.199 4.9744 5.254 0 10.51 0.1367 15.758-0.0292 12.723-0.4064 25.264-2.2072 37.358-6.3596 10.846-3.7225 18.799-10.691 22.572-22.166 2.6736-8.1288 3.7148-16.388 2.5544-24.853-1.7772-12.959-13.275-30.86-32.4-30.535zm-81.576 59.996c-8.836 0-16-8.9551-16-20 0-11.045 7.164-20 16-20s16 8.9553 16 20c0 11.045-7.164 20-16 20zm76 0c-8.836 0-16-8.9551-16-20 0-11.045 7.164-20 16-20s16 8.9553 16 20c0 11.045-7.164 20-16 20z\\\"],[11,\\\"fill\\\",\\\"none\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"d\\\",\\\"m200.25 59.188c-2.5076-3.4493-4.3632-6.3888-3.8748-11.44 0.6796-7.0664-0.3536-14.396-1.3204-21.518-1.2188-8.9843-3.5236-17.74-7.1776-26.23-9.0332 1.9356-17.981 3.49-25.963 8.0976-8.4648 4.8908-16.695 10.215-25.08 15.25-0.9532 0.5704-2.3124 0.8848-3.3848 0.7032-17.967-3.1368-35.92-3.0196-53.898-0.086-1.3632 0.2244-3.0724-0.2345-4.2948-0.9608-4.4436-2.6604-8.6564-5.7344-13.123-8.3516-11.656-6.844-23.66-12.822-37.494-14.59-0.3928 0.8597-0.7188 1.4785-0.9612 2.1253-4.164 11.22-6.6424 22.844-7.4276 34.82-0.2872 4.3516-0.6092 8.8048 0 13.072 0.3456 2.4296-4e-3 3.8788-1.3924 5.6132-4.8516 6.0488-8.6368 12.717-11.102 20.219-4.6972 14.295-4.4004 28.861-2.2756 43.475 1.7268 11.974 4.7344 23.537 11.324 33.873 13.186 20.682 32.892 29.774 55.572 31.705 19.308 1.6464 38.8 1.1992 58.213 1.2364 13.855 0.0251 27.57-1.4924 40.715-6.6389 20.375-7.9727 33.859-22.604 40.275-44.166 3.7344-12.545 5.2324-25.396 4.8144-38.498-0.4412-13.81-4.0504-26.566-12.144-37.711zm-18.609 82.435c-3.7736 11.475-11.727 18.444-22.572 22.166-12.094 4.1524-24.635 5.9532-37.358 6.3596-5.248 0.1659-10.504 0.0292-15.758 0.0292-16.236 0.2344-32.406-0.504-48.199-4.9744-19.844-5.6152-27.195-16.707-29.115-37.064-1.2072-12.807 1.3672-24.67 11.314-33.807 5.7576-5.2892 12.814-7.4064 20.131-7.584 11.16-0.2676 22.342 0.658 33.518 0.7052 12.32 0.0544 24.642-0.264 36.961-0.512 7.0784-0.1464 14.154-0.584 21.232-0.7069 19.125-0.3243 30.623 17.576 32.4 30.535 1.1604 8.4647 0.1192 16.724-2.5544 24.853z\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"ellipse\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"cx\\\",\\\"70.214\\\"],[11,\\\"cy\\\",\\\"126.23\\\"],[11,\\\"rx\\\",\\\"16\\\"],[11,\\\"ry\\\",\\\"20\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"ellipse\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"cx\\\",\\\"146.21\\\"],[11,\\\"cy\\\",\\\"126.23\\\"],[11,\\\"rx\\\",\\\"16\\\"],[11,\\\"ry\\\",\\\"20\\\"],[9],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-account-github-com/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-wiki-kosmos-org/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-account-wiki-kosmos-org/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"BV/BbT8B\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"class\\\",\\\"icon-wiki\\\"],[11,\\\"width\\\",\\\"120\\\"],[11,\\\"height\\\",\\\"120\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 120 120\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"g\\\"],[11,\\\"transform\\\",\\\"translate(18.1,3)\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"6.2 5 45.7 20.5 45.7 91 6.2 75.5\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"90 5 50.5 20.5 50.5 91 90 75.5\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"87 88 87 81.8 60.4 91\\\"],[9],[10],[0,\\\"\\\\n \\\"],[7,\\\"polygon\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"transform\\\",\\\"translate(-6.2,9)\\\"],[11,\\\"points\\\",\\\"9.2 88 9.2 81.8 34.9 91\\\"],[9],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-account-wiki-kosmos-org/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-web-globe/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: \"\"\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/icon-web-globe/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"QUXphtad\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"svg\\\"],[11,\\\"class\\\",\\\"icon-web-globe\\\"],[11,\\\"width\\\",\\\"60\\\"],[11,\\\"height\\\",\\\"60\\\"],[11,\\\"enable-background\\\",\\\"new 0 0 64 64\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"viewBox\\\",\\\"0 0 60 60\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:cc\\\",\\\"http://creativecommons.org/ns#\\\"],[11,\\\"xmlns:dc\\\",\\\"http://purl.org/dc/elements/1.1/\\\"],[11,\\\"xmlns:rdf\\\",\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"class\\\",\\\"fg\\\"],[11,\\\"d\\\",\\\"m48.1 14.3c-0.4-0.5-0.9-1-1.4-1.5-4.3-4.2-10.2-6.8-16.7-6.8s-12.4 2.6-16.7 6.8c-0.5 0.5-1 1-1.4 1.5-3.7 4.2-5.9 9.7-5.9 15.7s2.2 11.5 5.8 15.7c0.4 0.5 0.9 1 1.4 1.5 4.3 4.2 10.3 6.8 16.8 6.8s12.5-2.6 16.8-6.9c0.5-0.5 0.9-0.9 1.4-1.5 3.6-4.1 5.8-9.6 5.8-15.6s-2.2-11.5-5.9-15.7zm3.9 14.7h-8.1c-0.1-3-1-7.3-2.4-10.5 1.8-0.8 3.5-1.8 5.1-3 3.1 3.6 5.1 8.5 5.4 13.5zm-21-20.1c3 2.3 5.8 5.2 7.6 8.5-2.4 0.9-4.6 1.3-7.6 1.4zm-2 9.9c-3-0.1-5.2-0.6-7.6-1.4 1.8-3.3 4.6-6.3 7.6-8.5zm0 2v8.2h-10.8c0.1-3 0.9-6.8 2.3-9.8 2.7 1 5.5 1.5 8.5 1.6zm0 10.2v8c-3 0.1-5.9 0.7-8.6 1.7-1.4-3-2.1-5.7-2.3-9.7zm0 10v10.1c-3-2.3-5.8-5.3-7.7-8.6 2.4-0.9 4.7-1.4 7.7-1.5zm2 0c3 0.1 5.3 0.6 7.7 1.5-1.9 3.4-4.7 6.3-7.7 8.6zm0-2v-8h10.8c-0.1 4-0.9 6.7-2.3 9.7-2.6-1-5.5-1.5-8.5-1.7zm0-10v-8.2c3-0.1 5.8-0.7 8.5-1.6 1.4 3 2.2 6.8 2.3 9.8zm9.5-12.3c-1.7-3.2-4.1-6-6.9-8.3 4.4 0.6 8.4 2.7 11.5 5.6-1.4 1.1-3 1.9-4.6 2.7zm-14.1-8.4c-2.9 2.3-5.2 5.2-6.9 8.3-1.6-0.7-3.2-1.6-4.6-2.6 3.1-2.9 7.1-5 11.5-5.7zm-12.9 7.2c1.6 1.2 3.3 2.2 5.1 3-1.5 3.3-2.3 7.5-2.4 10.5h-8.2c0.3-5 2.3-9.9 5.5-13.5zm-5.5 15.5h8.1c0.1 4 1 7.2 2.4 10.5-1.8 0.8-3.5 1.8-5.1 3-3.2-3.7-5.1-8.5-5.4-13.5zm11.4 12.2c1.7 3.2 4.1 6.1 7 8.4-4.5-0.7-8.5-2.8-11.6-5.8 1.5-1 3-1.8 4.6-2.6zm14.2 8.5c2.9-2.4 5.3-5.2 7-8.4 1.6 0.7 3.2 1.6 4.6 2.6-3.1 3-7.2 5-11.6 5.8zm13-7.3c-1.6-1.2-3.3-2.2-5.1-3 1.4-3.2 2.3-6.5 2.4-10.5h8.1c-0.3 5.1-2.2 9.9-5.4 13.5z\\\"],[9],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/icon-web-globe/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/loading-spinner/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n classNames: ['loading-spinner']\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/loading-spinner/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"b6SWTOaj\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"svg\\\"],[11,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[11,\\\"version\\\",\\\"1.1\\\"],[11,\\\"x\\\",\\\"0px\\\"],[11,\\\"y\\\",\\\"0px\\\"],[11,\\\"viewBox\\\",\\\"0 0 132 100\\\"],[11,\\\"enable-background\\\",\\\"new 0 0 100 100\\\"],[11,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"path\\\"],[11,\\\"id\\\",\\\"path-comet\\\"],[11,\\\"d\\\",\\\"M79.062,24.173L79.062,24.173l-0.021-0.011c-0.068-0.03-0.137-0.062-0.204-0.093L42.392,7.337\\\\n c0,0,3.065,14.104,4.458,18.019l0,0c0,0-41.754-12.481-46.85-13.67c1.67,6.52,30.607,62.492,30.607,62.492\\\\n c5.848,11.873,19.394,18.485,33.522,18.485c19.811,0,35.87-16.059,35.87-35.869C100,42.313,91.418,29.837,79.062,24.173z\\\"],[9],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n Loading data...\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/loading-spinner/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/proposal-list/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Component.extend({\n tagName: 'ul',\n classNames: ['proposal-list'],\n actions: {\n confirm: function confirm(proposalId) {\n if (this.contractInteractionEnabled) {\n this.confirmProposal(proposalId);\n } else {\n window.alert('Only members can vote on proposals. Please ask someone to set you up.');\n }\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/proposal-list/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"pZHMSOZc\",\n \"block\": \"{\\\"symbols\\\":[\\\"proposal\\\"],\\\"statements\\\":[[4,\\\"each\\\",[[23,[\\\"proposals\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[12,\\\"data-proposal-id\\\",[22,1,[\\\"id\\\"]]],[12,\\\"class\\\",[27,\\\"if\\\",[[22,1,[\\\"isExecuted\\\"]],\\\"confirmed\\\",\\\"unconfirmed\\\"],null]],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"meta\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[12,\\\"class\\\",[28,[\\\"category \\\",[22,1,[\\\"kind\\\"]]]]],[9],[0,\\\"♥ (\\\"],[1,[22,1,[\\\"kind\\\"]],false],[0,\\\")\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"recipient\\\"],[9],[1,[22,1,[\\\"contributor\\\",\\\"name\\\"]],false],[0,\\\":\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"kredits-amount\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"amount\\\"],[9],[1,[22,1,[\\\"amount\\\"]],false],[10],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"symbol\\\"],[9],[0,\\\"₭S\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"description\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"description\\\"],[9],[1,[22,1,[\\\"description\\\"]],false],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"voting\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[22,1,[\\\"isExecuted\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"votes\\\"],[9],[0,\\\"(\\\"],[1,[22,1,[\\\"votesCount\\\"]],false],[0,\\\"/\\\"],[1,[22,1,[\\\"votesNeeded\\\"]],false],[0,\\\" votes)\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[9],[0,\\\"+1\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"confirm\\\",[22,1,[\\\"id\\\"]]]],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/proposal-list/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/user-avatar/component\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var SIZES = {\n 'small': '128',\n // pixels\n 'medium': '256',\n 'large': '512'\n };\n\n var _default = Ember.Component.extend({\n contributor: null,\n tagName: 'img',\n classNames: ['avatar'],\n classNameBindings: ['size'],\n attributeBindings: ['src', 'title'],\n size: 'small',\n src: Ember.computed.alias('avatarURL'),\n title: Ember.computed.alias('contributor.name'),\n avatarURL: Ember.computed('contributor.github_uid', 'size', function () {\n var github_uid = this.contributor.github_uid;\n\n if (github_uid) {\n return \"https://avatars2.githubusercontent.com/u/\".concat(github_uid, \"?v=3&s=\").concat(SIZES[this.size]);\n }\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/components/user-avatar/template\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"rnnAjEgP\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/components/user-avatar/template.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/application\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service()\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/contributions/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n minedContributors: Ember.computed.filterBy('contributors', 'id'),\n contributorsSorting: Object.freeze(['name:asc']),\n sortedContributors: Ember.computed.sort('minedContributors', 'contributorsSorting'),\n actions: {\n save: function save(contribution) {\n var _this = this;\n\n var contributor = this.contributors.findBy('id', contribution.contributorId);\n contribution.contributorIpfsHash = contributor.ipfsHash;\n return this.kredits.addContribution(contribution).then(function (contribution) {\n _this.transitionToRoute('index');\n\n return contribution;\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/contributors/edit\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n actions: {\n save: function save(attributes) {\n var _this = this;\n\n return this.kredits.updateContributor(this.model.id, attributes).then(function () {\n return _this.transitionToRoute('index');\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/contributors/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n actions: {\n save: function save(contributor) {\n var _this = this;\n\n return this.kredits.addContributor(contributor).then(function () {\n return _this.transitionToRoute('index');\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/dashboard\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n showDetailsPane: false,\n currentBlock: Ember.computed.alias('kredits.currentBlock'),\n contributions: Ember.computed.alias('kredits.contributions'),\n contributionsConfirmed: Ember.computed.alias('kredits.contributionsConfirmed'),\n contributionsUnconfirmed: Ember.computed.alias('kredits.contributionsUnconfirmed'),\n contributionsSorting: Object.freeze(['date:desc', 'time:desc', 'id:desc']),\n contributionsUnconfirmedSorted: Ember.computed.sort('contributionsUnconfirmed', 'contributionsSorting'),\n contributionsConfirmedSorted: Ember.computed.sort('contributionsConfirmed', 'contributionsSorting'),\n kreditsByContributor: Ember.computed.alias('kredits.kreditsByContributor'),\n kreditsToplistSorting: Ember.computed('showUnconfirmedKredits', function () {\n return this.showUnconfirmedKredits ? ['amountTotal:desc'] : ['amountConfirmed:desc'];\n }),\n kreditsToplist: Ember.computed.sort('kreditsByContributor', 'kreditsToplistSorting'),\n showUnconfirmedKredits: true,\n hideUnconfirmedKredits: Ember.computed.not('showUnconfirmedKredits'),\n showQuickFilterUnconfirmed: false,\n showQuickFilterConfirmed: false,\n actions: {\n vetoContribution: function vetoContribution(contributionId) {\n this.kredits.veto(contributionId).then(function (transaction) {\n console.debug('[controllers:index] Veto submitted to Ethereum blockhain: ' + transaction.hash);\n });\n },\n confirmProposal: function confirmProposal(proposalId) {\n this.kredits.vote(proposalId).then(function (transaction) {\n console.debug('[controllers:index] Vote submitted to Ethereum blockhain: ' + transaction.hash);\n });\n },\n toggleQuickFilterUnconfirmed: function toggleQuickFilterUnconfirmed() {\n this.toggleProperty('showQuickFilterUnconfirmed');\n },\n toggleQuickFilterConfirmed: function toggleQuickFilterConfirmed() {\n this.toggleProperty('showQuickFilterConfirmed');\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/dashboard/contributors/show\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n roleName: Ember.computed('model.isCore', 'totalKreditsEarned', function () {\n if (this.model.isCore) return 'Core Contributor';\n if (this.model.totalKreditsEarned <= 5000) return 'Newcomer';\n return 'Contributor';\n })\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/controllers/proposals/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Controller.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n minedContributors: Ember.computed.filterBy('contributors', 'id'),\n actions: {\n save: function save(proposal) {\n var _this = this;\n\n // contributorIpfsHash is needed for the proposal ipfs data. I'm not happy to do this here but I think to load all the contributors in addProposal again is a bit too much. I hope we can refactor it later.\n var contributor = this.contributors.findBy('id', proposal.contributorId);\n proposal.contributorIpfsHash = contributor.get('ipfsHash');\n return this.kredits.addProposal(proposal).then(function (proposal) {\n _this.transitionToRoute('index');\n\n return proposal;\n });\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/and\", [\"exports\", \"ember-truth-helpers/helpers/and\"], function (_exports, _and) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _and.default;\n }\n });\n Object.defineProperty(_exports, \"and\", {\n enumerable: true,\n get: function get() {\n return _and.and;\n }\n });\n});","define(\"kredits-web/helpers/app-version\", [\"exports\", \"kredits-web/config/environment\", \"ember-cli-app-version/utils/regexp\"], function (_exports, _environment, _regexp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.appVersion = appVersion;\n _exports.default = void 0;\n\n function appVersion(_) {\n var hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var version = _environment.default.APP.version; // e.g. 1.0.0-alpha.1+4jds75hf\n // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility\n\n var versionOnly = hash.versionOnly || hash.hideSha;\n var shaOnly = hash.shaOnly || hash.hideVersion;\n var match = null;\n\n if (versionOnly) {\n if (hash.showExtended) {\n match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1\n } // Fallback to just version\n\n\n if (!match) {\n match = version.match(_regexp.versionRegExp); // 1.0.0\n }\n }\n\n if (shaOnly) {\n match = version.match(_regexp.shaRegExp); // 4jds75hf\n }\n\n return match ? match[0] : version;\n }\n\n var _default = Ember.Helper.helper(appVersion);\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/await\", [\"exports\", \"ember-promise-helpers/helpers/await\"], function (_exports, _await) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _await.default;\n }\n });\n});","define(\"kredits-web/helpers/capitalize-string\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n string = _ref2[0];\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/contribution-status\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n kredits: Ember.inject.service(),\n currentBlock: Ember.computed.alias('kredits.currentBlock'),\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n contribution = _ref2[0];\n\n if (contribution.vetoed) {\n return 'vetoed';\n } else if (contribution.confirmedAt > this.currentBlock) {\n return 'unconfirmed';\n } else {\n return 'confirmed';\n }\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/equal\"], function (_exports, _equal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _equal.default;\n }\n });\n Object.defineProperty(_exports, \"equal\", {\n enumerable: true,\n get: function get() {\n return _equal.equal;\n }\n });\n});","define(\"kredits-web/helpers/gt\", [\"exports\", \"ember-truth-helpers/helpers/gt\"], function (_exports, _gt) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _gt.default;\n }\n });\n Object.defineProperty(_exports, \"gt\", {\n enumerable: true,\n get: function get() {\n return _gt.gt;\n }\n });\n});","define(\"kredits-web/helpers/gte\", [\"exports\", \"ember-truth-helpers/helpers/gte\"], function (_exports, _gte) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _gte.default;\n }\n });\n Object.defineProperty(_exports, \"gte\", {\n enumerable: true,\n get: function get() {\n return _gte.gte;\n }\n });\n});","define(\"kredits-web/helpers/is-array\", [\"exports\", \"ember-truth-helpers/helpers/is-array\"], function (_exports, _isArray) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isArray.default;\n }\n });\n Object.defineProperty(_exports, \"isArray\", {\n enumerable: true,\n get: function get() {\n return _isArray.isArray;\n }\n });\n});","define(\"kredits-web/helpers/is-confirmed-contribution\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n kredits: Ember.inject.service(),\n currentBlock: Ember.computed.alias('kredits.currentBlock'),\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n contribution = _ref2[0];\n\n return !contribution.vetoed && contribution.confirmedAt <= this.currentBlock;\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/is-current-user\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\n function _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\n function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\n function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n var _default = Ember.Helper.extend({\n kredits: Ember.inject.service(),\n currentUser: Ember.computed.alias('kredits.currentUser'),\n compute: function compute(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n contributor = _ref2[0];\n\n return Ember.isPresent(contributor) && Ember.isPresent(this.currentUser) && contributor.account === this.currentUser.account;\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/helpers/is-equal\", [\"exports\", \"ember-truth-helpers/helpers/is-equal\"], function (_exports, _isEqual) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isEqual.default;\n }\n });\n Object.defineProperty(_exports, \"isEqual\", {\n enumerable: true,\n get: function get() {\n return _isEqual.isEqual;\n }\n });\n});","define(\"kredits-web/helpers/is-fulfilled\", [\"exports\", \"ember-promise-helpers/helpers/is-fulfilled\"], function (_exports, _isFulfilled) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isFulfilled.default;\n }\n });\n Object.defineProperty(_exports, \"isFulfilled\", {\n enumerable: true,\n get: function get() {\n return _isFulfilled.isFulfilled;\n }\n });\n});","define(\"kredits-web/helpers/is-pending\", [\"exports\", \"ember-promise-helpers/helpers/is-pending\"], function (_exports, _isPending) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isPending.default;\n }\n });\n Object.defineProperty(_exports, \"isPending\", {\n enumerable: true,\n get: function get() {\n return _isPending.isPending;\n }\n });\n});","define(\"kredits-web/helpers/is-rejected\", [\"exports\", \"ember-promise-helpers/helpers/is-rejected\"], function (_exports, _isRejected) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _isRejected.default;\n }\n });\n Object.defineProperty(_exports, \"isRejected\", {\n enumerable: true,\n get: function get() {\n return _isRejected.isRejected;\n }\n });\n});","define(\"kredits-web/helpers/lt\", [\"exports\", \"ember-truth-helpers/helpers/lt\"], function (_exports, _lt) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _lt.default;\n }\n });\n Object.defineProperty(_exports, \"lt\", {\n enumerable: true,\n get: function get() {\n return _lt.lt;\n }\n });\n});","define(\"kredits-web/helpers/lte\", [\"exports\", \"ember-truth-helpers/helpers/lte\"], function (_exports, _lte) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _lte.default;\n }\n });\n Object.defineProperty(_exports, \"lte\", {\n enumerable: true,\n get: function get() {\n return _lte.lte;\n }\n });\n});","define(\"kredits-web/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-equal\"], function (_exports, _notEqual) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _notEqual.default;\n }\n });\n Object.defineProperty(_exports, \"notEq\", {\n enumerable: true,\n get: function get() {\n return _notEqual.notEq;\n }\n });\n});","define(\"kredits-web/helpers/not\", [\"exports\", \"ember-truth-helpers/helpers/not\"], function (_exports, _not) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _not.default;\n }\n });\n Object.defineProperty(_exports, \"not\", {\n enumerable: true,\n get: function get() {\n return _not.not;\n }\n });\n});","define(\"kredits-web/helpers/or\", [\"exports\", \"ember-truth-helpers/helpers/or\"], function (_exports, _or) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _or.default;\n }\n });\n Object.defineProperty(_exports, \"or\", {\n enumerable: true,\n get: function get() {\n return _or.or;\n }\n });\n});","define(\"kredits-web/helpers/promise-all\", [\"exports\", \"ember-promise-helpers/helpers/promise-all\"], function (_exports, _promiseAll) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _promiseAll.default;\n }\n });\n Object.defineProperty(_exports, \"promiseAll\", {\n enumerable: true,\n get: function get() {\n return _promiseAll.promiseAll;\n }\n });\n});","define(\"kredits-web/helpers/promise-hash\", [\"exports\", \"ember-promise-helpers/helpers/promise-hash\"], function (_exports, _promiseHash) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _promiseHash.default;\n }\n });\n Object.defineProperty(_exports, \"promiseHash\", {\n enumerable: true,\n get: function get() {\n return _promiseHash.promiseHash;\n }\n });\n});","define(\"kredits-web/helpers/promise-rejected-reason\", [\"exports\", \"ember-promise-helpers/helpers/promise-rejected-reason\"], function (_exports, _promiseRejectedReason) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _promiseRejectedReason.default;\n }\n });\n});","define(\"kredits-web/helpers/xor\", [\"exports\", \"ember-truth-helpers/helpers/xor\"], function (_exports, _xor) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _xor.default;\n }\n });\n Object.defineProperty(_exports, \"xor\", {\n enumerable: true,\n get: function get() {\n return _xor.xor;\n }\n });\n});","define(\"kredits-web/initializers/app-version\", [\"exports\", \"ember-cli-app-version/initializer-factory\", \"kredits-web/config/environment\"], function (_exports, _initializerFactory, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var name, version;\n\n if (_environment.default.APP) {\n name = _environment.default.APP.name;\n version = _environment.default.APP.version;\n }\n\n var _default = {\n name: 'App Version',\n initialize: (0, _initializerFactory.default)(name, version)\n };\n _exports.default = _default;\n});","define(\"kredits-web/initializers/container-debug-adapter\", [\"exports\", \"ember-resolver/resolvers/classic/container-debug-adapter\"], function (_exports, _containerDebugAdapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = {\n name: 'container-debug-adapter',\n initialize: function initialize() {\n var app = arguments[1] || arguments[0];\n app.register('container-debug-adapter:main', _containerDebugAdapter.default);\n app.inject('container-debug-adapter:main', 'namespace', 'application:main');\n }\n };\n _exports.default = _default;\n});","define(\"kredits-web/initializers/export-application-global\", [\"exports\", \"kredits-web/config/environment\"], function (_exports, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.initialize = initialize;\n _exports.default = void 0;\n\n function initialize() {\n var application = arguments[1] || arguments[0];\n\n if (_environment.default.exportApplicationGlobal !== false) {\n var theGlobal;\n\n if (typeof window !== 'undefined') {\n theGlobal = window;\n } else if (typeof global !== 'undefined') {\n theGlobal = global;\n } else if (typeof self !== 'undefined') {\n theGlobal = self;\n } else {\n // no reasonable global, just bail\n return;\n }\n\n var value = _environment.default.exportApplicationGlobal;\n var globalName;\n\n if (typeof value === 'string') {\n globalName = value;\n } else {\n globalName = Ember.String.classify(_environment.default.modulePrefix);\n }\n\n if (!theGlobal[globalName]) {\n theGlobal[globalName] = application;\n application.reopen({\n willDestroy: function willDestroy() {\n this._super.apply(this, arguments);\n\n delete theGlobal[globalName];\n }\n });\n }\n }\n }\n\n var _default = {\n name: 'export-application-global',\n initialize: initialize\n };\n _exports.default = _default;\n});","define(\"kredits-web/models/contribution\", [\"exports\", \"kredits-web/utils/cps/bignumber\"], function (_exports, _bignumber) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Object.extend({\n // Contract\n id: null,\n contributorId: null,\n amount: null,\n confirmedAt: (0, _bignumber.default)('confirmedAtBlock', 'toNumber'),\n vetoed: null,\n ipfsHash: null,\n creatorAccount: null,\n // IPFS\n kind: null,\n description: null,\n details: null,\n url: null,\n ipfsData: '',\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('details', {});\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/models/contributor\", [\"exports\", \"kredits-web/utils/cps/bignumber\", \"kredits-web/utils/cps/kredits\"], function (_exports, _bignumber, _kredits) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Object.extend({\n // Contract\n id: (0, _bignumber.default)('idRaw', 'toString'),\n account: null,\n balance: (0, _kredits.default)('balanceRaw'),\n totalKreditsEarned: (0, _bignumber.default)('totalKreditsEarnedRaw', 'toNumber'),\n contributionsCount: (0, _bignumber.default)('contributionsCountRaw', 'toNumber'),\n isCore: false,\n ipfsHash: null,\n // IPFS\n kind: null,\n name: null,\n url: null,\n github_username: null,\n github_uid: null,\n wiki_username: null,\n ipfsData: ''\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/models/proposal\", [\"exports\", \"kredits-web/utils/cps/bignumber\"], function (_exports, _bignumber) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Object.extend({\n // Contract\n id: (0, _bignumber.default)('idRaw', 'toString'),\n creatorAccount: null,\n contributorId: (0, _bignumber.default)('contributorIdRaw', 'toString'),\n amount: (0, _bignumber.default)('amountRaw', 'toNumber'),\n votesCount: (0, _bignumber.default)('votesCountRaw', 'toNumber'),\n votesNeeded: (0, _bignumber.default)('votesNeededRaw', 'toNumber'),\n executed: null,\n ipfsHash: null,\n // Shortcuts\n isExecuted: Ember.computed.alias('executed'),\n // IPFS\n kind: null,\n description: null,\n details: null,\n url: null,\n ipfsData: '',\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('details', {});\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/resolver\", [\"exports\", \"ember-resolver\"], function (_exports, _emberResolver) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = _emberResolver.default;\n _exports.default = _default;\n});","define(\"kredits-web/router\", [\"exports\", \"kredits-web/config/environment\"], function (_exports, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var Router = Ember.Router.extend({\n location: _environment.default.locationType,\n rootURL: _environment.default.rootURL\n });\n Router.map(function () {\n this.route('dashboard', function () {\n this.route('contributors', function () {\n this.route('show', {\n path: ':id'\n });\n });\n });\n this.route('proposals', function () {\n this.route('new');\n });\n this.route('contributions', function () {\n this.route('new');\n });\n this.route('contributors', function () {\n this.route('new');\n this.route('edit', {\n path: ':id/edit'\n });\n });\n });\n var _default = Router;\n _exports.default = _default;\n});","define(\"kredits-web/routes/application\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n kredits: Ember.inject.service(),\n beforeModel: function beforeModel(transition) {\n var kredits = this.kredits;\n return kredits.setup().then(function () {\n kredits.get('kredits').preflightChecks().catch(function (error) {\n console.error('Kredits preflight check failed!');\n console.error(error);\n });\n\n if (kredits.get('accountNeedsUnlock')) {\n if (confirm('It looks like you have an Ethereum wallet available. Please unlock your account.')) {\n transition.retry();\n }\n }\n }).catch(function (error) {\n console.log('Error initializing Kredits', error);\n });\n },\n afterModel: function afterModel() {\n var _this = this;\n\n return this.kredits.loadInitialData().then(function () {\n _this.kredits.addContractEventHandlers();\n });\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/routes/contributors/edit\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n model: function model(params) {\n return this.kredits.contributors.findBy('id', params.id);\n },\n setupController: function setupController(controller, model) {\n this._super(controller, model);\n\n controller.set('attributes', {\n account: model.account,\n name: model.name,\n kind: model.kind,\n url: model.url,\n github_username: model.github_username,\n github_uid: model.github_uid,\n gitea_username: model.gitea_username,\n wiki_username: model.wiki_username\n });\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/routes/dashboard/contributors/show\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n kredits: Ember.inject.service(),\n contributors: Ember.computed.alias('kredits.contributors'),\n model: function model(params) {\n return this.contributors.findBy('id', params.id);\n },\n activate: function activate() {\n this.controllerFor('dashboard').set('showDetailsPane', true);\n },\n deactivate: function deactivate() {\n this.controllerFor('dashboard').set('showDetailsPane', false);\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/routes/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.Route.extend({\n redirect: function redirect() {\n this.transitionTo('dashboard');\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/services/ajax\", [\"exports\", \"ember-ajax/services/ajax\"], function (_exports, _ajax) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _ajax.default;\n }\n });\n});","define(\"kredits-web/services/kredits\", [\"exports\", \"npm:ethers\", \"npm:kredits-contracts\", \"kredits-web/utils/group-by\", \"kredits-web/utils/format-kredits\", \"kredits-web/config/environment\", \"kredits-web/models/contributor\", \"kredits-web/models/proposal\", \"kredits-web/models/contribution\"], function (_exports, _npmEthers, _npmKreditsContracts, _groupBy, _formatKredits, _environment, _contributor, _proposal, _contribution) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\n function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n var _default = Ember.Service.extend({\n currentBlock: null,\n currentUserAccounts: null,\n // default to not having an account. this is the wen web3 is loaded.\n currentUser: null,\n contributors: null,\n contributions: null,\n proposals: null,\n currentUserIsContributor: Ember.computed.notEmpty('currentUser'),\n currentUserIsCore: Ember.computed.alias('currentUser.isCore'),\n hasAccounts: Ember.computed.notEmpty('currentUserAccounts'),\n accountNeedsUnlock: Ember.computed('currentUserAccounts', function () {\n return this.currentUserAccounts && Ember.isEmpty(this.currentUserAccounts);\n }),\n contributionsUnconfirmed: Ember.computed('contributions.[]', 'currentBlock', function () {\n var _this = this;\n\n return this.contributions.filter(function (contribution) {\n return contribution.confirmedAt > _this.currentBlock;\n });\n }),\n contributionsConfirmed: Ember.computed('contributions.[]', 'currentBlock', function () {\n var _this2 = this;\n\n return this.contributions.filterBy('vetoed', false).filter(function (contribution) {\n return contribution.confirmedAt <= _this2.currentBlock;\n });\n }),\n kreditsByContributor: Ember.computed('contributionsUnconfirmed.@each.vetoed', 'contributors.[]', function () {\n var _this3 = this;\n\n var contributionsUnconfirmed = this.contributionsUnconfirmed.filterBy('vetoed', false);\n var contributionsGrouped = (0, _groupBy.default)(contributionsUnconfirmed, 'contributorId');\n var contributorsWithUnconfirmed = contributionsGrouped.map(function (c) {\n return c.value.toString();\n });\n var contributorsWithOnlyConfirmed = this.contributors.reject(function (c) {\n return contributorsWithUnconfirmed.includes(c.id);\n });\n var kreditsByContributor = contributionsGrouped.map(function (c) {\n var amountUnconfirmed = c.items.mapBy('amount').reduce(function (a, b) {\n return a + b;\n });\n\n var contributor = _this3.contributors.findBy('id', c.value.toString());\n\n return Ember.Object.create({\n contributor: contributor,\n amountUnconfirmed: amountUnconfirmed,\n amountConfirmed: contributor.totalKreditsEarned,\n amountTotal: contributor.totalKreditsEarned + amountUnconfirmed\n });\n });\n contributorsWithOnlyConfirmed.forEach(function (c) {\n kreditsByContributor.push(Ember.Object.create({\n contributor: c,\n amountUnconfirmed: 0,\n amountConfirmed: c.totalKreditsEarned,\n amountTotal: c.totalKreditsEarned\n }));\n });\n return kreditsByContributor;\n }),\n init: function init() {\n this._super.apply(this, arguments);\n\n this.set('contributors', []);\n this.set('proposals', []);\n this.set('contributions', []);\n },\n // This is called in the application route's beforeModel(). So it is\n // initialized before everything else, and we can rely on the ethProvider and\n // the potential currentUserAccounts to be available\n getEthProvider: function getEthProvider() {\n var _this4 = this;\n\n var ethProvider;\n return new Ember.RSVP.Promise(\n /*#__PURE__*/\n function () {\n var _ref = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee2(resolve) {\n var instantiateWithoutAccount, instantiateWithAccount, _instantiateWithAccount;\n\n return regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _instantiateWithAccount = function _ref4() {\n _instantiateWithAccount = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(web3Provider, context) {\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n console.debug('[kredits] Using user-provided instance, e.g. from Mist browser or Metamask');\n ethProvider = new _npmEthers.default.providers.Web3Provider(web3Provider); // const network = await ethProvider.getNetwork();\n\n ethProvider.listAccounts().then(function (accounts) {\n context.set('currentUserAccounts', accounts);\n var ethSigner = accounts.length === 0 ? null : ethProvider.getSigner();\n resolve({\n ethProvider: ethProvider,\n ethSigner: ethSigner\n });\n });\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _instantiateWithAccount.apply(this, arguments);\n };\n\n instantiateWithAccount = function _ref3(_x2, _x3) {\n return _instantiateWithAccount.apply(this, arguments);\n };\n\n instantiateWithoutAccount = function _ref2() {\n console.debug('[kredits] Creating new instance from npm module class');\n console.debug(\"[kredits] providerURL: \".concat(_environment.default.web3ProviderUrl));\n ethProvider = new _npmEthers.default.providers.JsonRpcProvider(_environment.default.web3ProviderUrl);\n resolve({\n ethProvider: ethProvider,\n ethSigner: null\n });\n };\n\n if (!window.ethereum) {\n _context2.next = 15;\n break;\n }\n\n _context2.prev = 4;\n _context2.next = 7;\n return window.ethereum.enable();\n\n case 7:\n // Acccounts now exposed\n instantiateWithAccount(window.ethereum, _this4);\n _context2.next = 13;\n break;\n\n case 10:\n _context2.prev = 10;\n _context2.t0 = _context2[\"catch\"](4);\n instantiateWithoutAccount();\n\n case 13:\n _context2.next = 16;\n break;\n\n case 15:\n // Legacy dapp browsers...\n if (window.web3) {\n instantiateWithAccount(window.web3.currentProvider, _this4);\n } // Non-dapp browsers...\n else {\n instantiateWithoutAccount();\n }\n\n case 16:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[4, 10]]);\n }));\n\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }());\n },\n setup: function setup() {\n var _this5 = this;\n\n return this.getEthProvider().then(function (providerAndSigner) {\n var kredits = new _npmKreditsContracts.default(providerAndSigner.ethProvider, providerAndSigner.ethSigner, {\n addresses: {\n Kernel: _environment.default.kreditsKernelAddress\n },\n apm: _environment.default.kreditsApmDomain,\n ipfsConfig: _environment.default.ipfs\n });\n return kredits.init().then(\n /*#__PURE__*/\n function () {\n var _ref5 = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee3(kredits) {\n return regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _this5.set('kredits', kredits);\n\n _context3.t0 = _this5;\n _context3.next = 4;\n return kredits.provider.getBlockNumber();\n\n case 4:\n _context3.t1 = _context3.sent;\n\n _context3.t0.set.call(_context3.t0, 'currentBlock', _context3.t1);\n\n if (_this5.currentUserAccounts && _this5.currentUserAccounts.length > 0) {\n _this5.getCurrentUser.then(function (contributorData) {\n _this5.set('currentUser', contributorData);\n });\n }\n\n return _context3.abrupt(\"return\", kredits);\n\n case 8:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n\n return function (_x4) {\n return _ref5.apply(this, arguments);\n };\n }());\n });\n },\n totalSupply: Ember.computed(function () {\n return this.kredits.Token.functions.totalSupply().then(function (total) {\n return (0, _formatKredits.default)(total);\n });\n }),\n totalKreditsEarned: Ember.computed(function () {\n return this.kredits.Contribution.functions.totalKreditsEarned(true).then(function (total) {\n return total.toNumber();\n });\n }),\n loadInitialData: function loadInitialData() {\n var _this6 = this;\n\n return this.getContributors().then(function (contributors) {\n return _this6.contributors.pushObjects(contributors);\n }).then(function () {\n return _this6.getContributions();\n }).then(function (contributions) {\n return _this6.contributions.pushObjects(contributions);\n });\n },\n addContributor: function addContributor(attributes) {\n if (attributes.github_uid) {\n var uidInt = parseInt(attributes.github_uid);\n attributes.github_uid = uidInt;\n }\n\n console.debug('[kredits] add contributor', attributes);\n return this.kredits.Contributor.add(attributes, {\n gasLimit: 350000\n }).then(function (data) {\n console.debug('[kredits] add contributor response', data);\n });\n },\n updateContributor: function updateContributor(id, attributes) {\n if (attributes.github_uid) {\n var uidInt = parseInt(attributes.github_uid);\n attributes.github_uid = uidInt;\n }\n\n console.debug('[kredits] update contributor', attributes);\n return this.kredits.Contributor.updateProfile(id, attributes, {\n gasLimit: 350000\n }).then(function (data) {\n console.debug('[kredits] updateProfile response', data);\n });\n },\n getContributors: function getContributors() {\n return this.kredits.Contributor.all().then(function (contributors) {\n return contributors.map(function (contributor) {\n return _contributor.default.create(contributor);\n });\n });\n },\n addContribution: function addContribution(attributes) {\n var _this7 = this;\n\n console.debug('[kredits] add contribution', attributes);\n return this.kredits.Contribution.addContribution(attributes, {\n gasLimit: 300000\n }).then(function (data) {\n console.debug('[kredits] add contribution response', data);\n attributes.contributor = _this7.contributors.findBy('id', attributes.contributorId);\n\n var contribution = _contribution.default.create(attributes); // TODO receive from wrapper\n\n\n contribution.set('confirmedAtBlock', data.blockNumber + 40320);\n\n _this7.contributions.pushObject(contribution);\n\n return contribution;\n });\n },\n addProposal: function addProposal(attributes) {\n var _this8 = this;\n\n console.debug('[kredits] add proposal', attributes);\n return this.kredits.Proposal.addProposal(attributes).then(function (data) {\n console.debug('[kredits] add proposal response', data);\n attributes.contributor = _this8.contributors.findBy('id', attributes.contributorId);\n return _proposal.default.create(attributes);\n });\n },\n getProposals: function getProposals() {\n var _this9 = this;\n\n return this.kredits.Proposal.all().then(function (proposals) {\n return proposals.map(function (proposal) {\n proposal.contributor = _this9.contributors.findBy('id', proposal.contributorId.toString());\n return _proposal.default.create(proposal);\n });\n });\n },\n getContributions: function getContributions() {\n var _this10 = this;\n\n return this.kredits.Contribution.all({\n page: {\n size: 200\n }\n }).then(function (contributions) {\n return contributions.map(function (contribution) {\n contribution.contributor = _this10.contributors.findBy('id', contribution.contributorId.toString());\n return _contribution.default.create(contribution);\n });\n });\n },\n vote: function vote(proposalId) {\n console.debug('[kredits] vote for', proposalId);\n return this.kredits.Proposal.functions.vote(proposalId).then(function (data) {\n console.debug('[kredits] vote response', data);\n return data;\n });\n },\n veto: function veto(contributionId) {\n console.debug('[kredits] veto against', contributionId);\n return this.kredits.Contribution.functions.veto(contributionId, {\n gasLimit: 300000\n }).then(function (data) {\n console.debug('[kredits] veto response', data);\n return data;\n });\n },\n getCurrentUser: Ember.computed('kredits.provider', function () {\n var _this11 = this;\n\n if (Ember.isEmpty(this.currentUserAccounts)) {\n return Ember.RSVP.resolve();\n }\n\n return this.kredits.Contributor.functions.getContributorIdByAddress(this.get('currentUserAccounts.firstObject')).then(function (id) {\n // check if the user is a contributor or not\n if (id === 0) {\n return Ember.RSVP.resolve();\n } else {\n return _this11.kredits.Contributor.getById(id);\n }\n });\n }),\n findProposalById: function findProposalById(proposalId) {\n return this.proposals.findBy('id', proposalId.toString());\n },\n // Contract events\n addContractEventHandlers: function addContractEventHandlers() {\n this.kredits.Contributor.on('ContributorProfileUpdated', this.handleContributorChange.bind(this)).on('ContributorAccountUpdated', this.handleContributorChange.bind(this)).on('ContributorAdded', this.handleContributorChange.bind(this));\n this.kredits.Contribution.on('ContributionVetoed', this.handleContributionVetoed.bind(this));\n this.kredits.Proposal.on('ProposalCreated', this.handleProposalCreated.bind(this)).on('ProposalVoted', this.handleProposalVoted.bind(this)).on('ProposalExecuted', this.handleProposalExecuted.bind(this));\n this.kredits.Token.on('Transfer', this.handleTransfer.bind(this));\n },\n handleContributorChange: function () {\n var _handleContributorChange = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee4(contributorId) {\n var _len,\n args,\n _key,\n contributorData,\n newContributor,\n oldContributor,\n _args4 = arguments;\n\n return regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n console.debug('[kredits] Contributor add/update event received for ID', contributorId);\n\n for (_len = _args4.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = _args4[_key];\n }\n\n console.debug('[kredits] Event data:', args);\n _context4.next = 5;\n return this.kredits.Contributor.getById(contributorId);\n\n case 5:\n contributorData = _context4.sent;\n newContributor = _contributor.default.create(contributorData);\n oldContributor = this.contributors.findBy('id', contributorId.toString());\n\n if (oldContributor) {\n console.debug('[kredits] old contributor', oldContributor);\n this.contributors.removeObject(oldContributor);\n }\n\n console.debug('[kredits] new contributor', newContributor);\n this.contributors.pushObject(newContributor);\n\n case 11:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this);\n }));\n\n function handleContributorChange(_x5) {\n return _handleContributorChange.apply(this, arguments);\n }\n\n return handleContributorChange;\n }(),\n handleContributionVetoed: function handleContributionVetoed(contributionId) {\n console.debug('[kredits] ContributionVetoed event received for ', contributionId);\n var contribution = this.contributions.findBy('id', contributionId);\n console.debug('[kredits] contribution', contribution);\n\n if (contribution) {\n contribution.set('vetoed', true);\n }\n },\n handleProposalCreated: function handleProposalCreated(proposalId) {\n var _this12 = this;\n\n var proposal = this.findProposalById(proposalId);\n\n if (proposal) {\n console.debug('[events] proposal exists, not adding from event');\n return;\n }\n\n this.kredits.Proposal.getById(proposalId).then(function (proposal) {\n proposal.contributor = _this12.contributors.findBy('id', proposal.contributorId.toString());\n\n _this12.proposals.pushObject(_proposal.default.create(proposal));\n });\n },\n // TODO: We may want to reload that proposal to show the voter as voted\n handleProposalVoted: function handleProposalVoted(proposalId, voterId, totalVotes) {\n var proposal = this.findProposalById(proposalId);\n\n if (proposal) {\n proposal.set('votesCount', totalVotes);\n }\n },\n handleProposalExecuted: function handleProposalExecuted(proposalId, contributorId, amount) {\n var proposal = this.findProposalById(proposalId);\n\n if (proposal.get('isExecuted')) {\n console.debug('[events] proposal already executed, not adding from event');\n return;\n }\n\n proposal.set('executed', true);\n this.contributors.findBy('id', contributorId.toString()).incrementProperty('balance', amount);\n },\n handleTransfer: function handleTransfer(from, to, value) {\n value = value.toNumber();\n this.contributors.findBy('address', from).decrementProperty('balance', value);\n this.contributors.findBy('address', to).incrementProperty('balance', value);\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/application-loading\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"/K85jZFR\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[21,\\\"loading-spinner\\\"],false],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/application-loading.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/application\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"ilYHX1bH\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"header\\\"],[11,\\\"id\\\",\\\"topbar\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h1\\\"],[9],[4,\\\"link-to\\\",[\\\"dashboard\\\"],null,{\\\"statements\\\":[[0,\\\"Kosmos Kredits\\\"]],\\\"parameters\\\":[]},null],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"user-account\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"currentUser\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[1,[23,[\\\"kredits\\\",\\\"currentUser\\\",\\\"name\\\"]],false],[0,\\\"\\\\n \\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"currentUserIsCore\\\"]]],null,{\\\"statements\\\":[[0,\\\"(core)\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\" Anonymous\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\" \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[1,[21,\\\"outlet\\\"],false],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/application.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/contributions/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"YPbtYII6\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"class\\\",\\\"center-column\\\"],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-contribution\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Submit a contribution\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-contribution\\\",null,[[\\\"contributors\\\",\\\"save\\\"],[[23,[\\\"sortedContributors\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/contributions/new.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/contributors/edit\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"LZQyoYt+\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"class\\\",\\\"center-column\\\"],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-contributor\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Update contributor profile\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-contributor\\\",null,[[\\\"attributes\\\",\\\"save\\\"],[[23,[\\\"attributes\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/contributors/edit.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/contributors/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"IoVi6fNU\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"class\\\",\\\"center-column\\\"],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-contributor\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Add contributor profile\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-contributor\\\",null,[[\\\"save\\\"],[[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/contributors/new.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/dashboard\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"O4pC7NLn\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"main\\\"],[11,\\\"id\\\",\\\"dashboard\\\"],[12,\\\"class\\\",[27,\\\"if\\\",[[23,[\\\"showDetailsPane\\\"]],\\\"with-details\\\"],null]],[9],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"id\\\",\\\"stats\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"people\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[11,\\\"class\\\",\\\"with-nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Contributors\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"nav\\\"],[9],[0,\\\"\\\\n \\\"],[4,\\\"link-to\\\",[\\\"contributors.new\\\"],[[\\\"title\\\",\\\"class\\\"],[\\\"Add contributor profile\\\",\\\"button small green\\\"]],{\\\"statements\\\":[[0,\\\"add\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"contributor-list\\\",null,[[\\\"contributorList\\\",\\\"showUnconfirmedKredits\\\"],[[23,[\\\"kreditsToplist\\\"]],[23,[\\\"showUnconfirmedKredits\\\"]]]]],false],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"stats\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"number\\\"],[9],[1,[27,\\\"await\\\",[[23,[\\\"kredits\\\",\\\"totalKreditsEarned\\\"]]],null],false],[10],[0,\\\" kredits confirmed and issued to\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"number\\\"],[9],[1,[23,[\\\"contributorsWithKredits\\\",\\\"length\\\"]],false],[10],[0,\\\" contributors\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"stats\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"input\\\",null,[[\\\"type\\\",\\\"id\\\",\\\"checked\\\"],[\\\"checkbox\\\",\\\"hide-unnconfirmed-kredits\\\",[23,[\\\"showUnconfirmedKredits\\\"]]]]],false],[0,\\\"\\\\n \\\"],[7,\\\"label\\\"],[11,\\\"for\\\",\\\"hide-unnconfirmed-kredits\\\"],[9],[0,\\\"Show unconfirmed kredits in toplist\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributions-by-type\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Contributions by type\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"chart-contributions-by-type\\\",null,[[\\\"contributions\\\"],[[23,[\\\"contributions\\\"]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"id\\\",\\\"contributions\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"contributionsUnconfirmed\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributions-unconfirmed\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[11,\\\"class\\\",\\\"with-nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Latest Contributions\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[12,\\\"class\\\",[28,[\\\"small \\\",[27,\\\"if\\\",[[23,[\\\"showQuickFilterUnconfirmed\\\"]],\\\"active\\\"],null]]]],[9],[0,\\\"filter\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"toggleQuickFilterUnconfirmed\\\"]],[10],[0,\\\"\\\\n \\\"],[4,\\\"link-to\\\",[\\\"contributions.new\\\"],[[\\\"title\\\",\\\"class\\\"],[\\\"Submit a contribution\\\",\\\"button small green\\\"]],{\\\"statements\\\":[[0,\\\"add\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n\\\"],[0,\\\" \\\"],[1,[27,\\\"contribution-list\\\",null,[[\\\"contributions\\\",\\\"vetoContribution\\\",\\\"contractInteractionEnabled\\\",\\\"showQuickFilter\\\"],[[23,[\\\"contributionsUnconfirmedSorted\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"vetoContribution\\\"],null],[23,[\\\"kredits\\\",\\\"hasAccounts\\\"]],[23,[\\\"showQuickFilterUnconfirmed\\\"]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributions-confirmed\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[11,\\\"class\\\",\\\"with-nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Confirmed Contributions\\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"nav\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"button\\\"],[12,\\\"class\\\",[28,[\\\"small \\\",[27,\\\"if\\\",[[23,[\\\"showQuickFilterConfirmed\\\"]],\\\"active\\\"],null]]]],[9],[0,\\\"filter\\\"],[3,\\\"action\\\",[[22,0,[]],\\\"toggleQuickFilterConfirmed\\\"]],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"contribution-list\\\",null,[[\\\"contributions\\\",\\\"vetoContribution\\\",\\\"showQuickFilter\\\"],[[23,[\\\"contributionsConfirmedSorted\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"vetoContribution\\\"],null],[23,[\\\"showQuickFilterConfirmed\\\"]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"id\\\",\\\"details\\\"],[9],[0,\\\"\\\\n \\\"],[1,[21,\\\"outlet\\\"],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/dashboard.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/dashboard/contributors/show\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"m62wYKML\",\n \"block\": \"{\\\"symbols\\\":[\\\"account\\\"],\\\"statements\\\":[[7,\\\"section\\\"],[11,\\\"id\\\",\\\"contributor-profile\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"user-avatar\\\",null,[[\\\"contributor\\\",\\\"size\\\"],[[23,[\\\"model\\\"]],\\\"medium\\\"]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[1,[23,[\\\"model\\\",\\\"name\\\"]],false],[10],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[11,\\\"class\\\",\\\"role\\\"],[9],[1,[21,\\\"roleName\\\"],false],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"ul\\\"],[11,\\\"class\\\",\\\"external-accounts\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,[\\\"model\\\",\\\"accounts\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"external-account-link\\\",null,[[\\\"account\\\"],[[22,1,[]]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[4,\\\"if\\\",[[23,[\\\"model\\\",\\\"url\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"li\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[23,[\\\"model\\\",\\\"url\\\"]]],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[11,\\\"title\\\",\\\"Website\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"span\\\"],[11,\\\"class\\\",\\\"site\\\"],[9],[0,\\\"Web\\\"],[10],[0,\\\"\\\\n \\\"],[1,[21,\\\"icon-web-globe\\\"],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"actions\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"p\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[28,[\\\"https://rinkeby.etherscan.io/address/\\\",[23,[\\\"model\\\",\\\"account\\\"]]]]],[11,\\\"class\\\",\\\"button small\\\"],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[9],[0,\\\"Inspect Ethereum transactions\\\"],[10],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,[\\\"model\\\",\\\"ipfsHash\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[7,\\\"a\\\"],[12,\\\"href\\\",[28,[\\\"https://ipfs.io/ipfs/\\\",[23,[\\\"model\\\",\\\"ipfsHash\\\"]]]]],[11,\\\"class\\\",\\\"button small\\\"],[11,\\\"target\\\",\\\"_blank\\\"],[11,\\\"rel\\\",\\\"noopener\\\"],[9],[0,\\\"Inspect IPFS profile\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\" \\\"],[4,\\\"link-to\\\",[\\\"contributors.edit\\\",[23,[\\\"model\\\"]]],[[\\\"class\\\"],[\\\"button small\\\"]],{\\\"statements\\\":[[0,\\\"Edit profile\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/dashboard/contributors/show.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/templates/proposals/new\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = Ember.HTMLBars.template({\n \"id\": \"vauAEy3a\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"section\\\"],[11,\\\"id\\\",\\\"add-proposal\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"header\\\"],[9],[0,\\\"\\\\n \\\"],[7,\\\"h2\\\"],[9],[0,\\\"Add Proposal\\\"],[10],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\\n \\\"],[7,\\\"div\\\"],[11,\\\"class\\\",\\\"content\\\"],[9],[0,\\\"\\\\n \\\"],[1,[27,\\\"add-proposal\\\",null,[[\\\"contributors\\\",\\\"save\\\"],[[23,[\\\"minedContributors\\\"]],[27,\\\"action\\\",[[22,0,[]],\\\"save\\\"],null]]]],false],[0,\\\"\\\\n \\\"],[10],[0,\\\"\\\\n\\\"],[10],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n \"meta\": {\n \"moduleName\": \"kredits-web/templates/proposals/new.hbs\"\n }\n });\n\n _exports.default = _default;\n});","define(\"kredits-web/utils/cps/bignumber\", [\"exports\", \"npm:ethers\"], function (_exports, _npmEthers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _default;\n\n function _default(dependentKey, converterMethod) {\n return Ember.computed(dependentKey, {\n get: function get() {\n var value = this.get(dependentKey);\n\n if (value && _npmEthers.default.utils.BigNumber.isBigNumber(value)) {\n return value[converterMethod]();\n } else {\n return value;\n }\n },\n set: function set(key, value) {\n var bnValue = _npmEthers.default.utils.bigNumberify(value);\n\n this.set(dependentKey, bnValue);\n return bnValue[converterMethod]();\n }\n });\n }\n});","define(\"kredits-web/utils/cps/kredits\", [\"exports\", \"npm:ethers\", \"kredits-web/utils/format-kredits\"], function (_exports, _npmEthers, _formatKredits) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _default;\n\n function _default(dependentKey) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Ember.computed(dependentKey, {\n get: function get() {\n var value = this.get(dependentKey);\n return (0, _formatKredits.default)(value, options);\n },\n set: function set(key, value) {\n var bnValue = _npmEthers.default.utils.bigNumberify(value);\n\n this.set(dependentKey, bnValue);\n return (0, _formatKredits.default)(bnValue, options);\n }\n });\n }\n});","define(\"kredits-web/utils/format-kredits\", [\"exports\", \"npm:ethers\"], function (_exports, _npmEthers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = _default;\n\n function _default(value) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var etherValue = _npmEthers.default.utils.formatEther(value);\n\n if (!options.decimals) {\n etherValue = parseInt(etherValue).toString();\n }\n\n return etherValue;\n }\n});","define(\"kredits-web/utils/group-by\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = groupBy;\n\n function groupBy(collection, property) {\n var groups = Ember.A();\n var items = collection;\n\n if (items) {\n items.forEach(function (item) {\n var value = Ember.get(item, property);\n var group = groups.findBy('value', value);\n\n if (Ember.isPresent(group)) {\n Ember.get(group, 'items').push(item);\n } else {\n group = {\n property: property,\n value: value,\n items: [item]\n };\n groups.push(group);\n }\n });\n }\n\n return groups;\n }\n});","define('kredits-web/config/environment', [], function() {\n var prefix = 'kredits-web';\ntry {\n var metaName = prefix + '/config/environment';\n var rawConfig = document.querySelector('meta[name=\"' + metaName + '\"]').getAttribute('content');\n var config = JSON.parse(decodeURIComponent(rawConfig));\n\n var exports = { 'default': config };\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n}\ncatch(err) {\n throw new Error('Could not read config from meta tag with name \"' + metaName + '\".');\n}\n\n});\n","\n if (!runningTests) {\n require(\"kredits-web/app\")[\"default\"].create({\"name\":\"kredits-web\",\"version\":\"1.5.0+fe16a605\"});\n }\n \n"]} \ No newline at end of file diff --git a/release/assets/kredits-web-2de55b3ff6969b257370b5e81cc2ea84.js b/release/assets/kredits-web-686d8b7af100292e31164c098c81d9fe.js similarity index 90% rename from release/assets/kredits-web-2de55b3ff6969b257370b5e81cc2ea84.js rename to release/assets/kredits-web-686d8b7af100292e31164c098c81d9fe.js index 24fa0fbf..6889cdf0 100644 --- a/release/assets/kredits-web-2de55b3ff6969b257370b5e81cc2ea84.js +++ b/release/assets/kredits-web-686d8b7af100292e31164c098c81d9fe.js @@ -34,9 +34,9 @@ return e.hideSmallContributions&&t.amount<=500&&(n=!1),Ember.isPresent(e.contrib e.default=t}),define("kredits-web/components/contribution-list/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"f2WDZU66",block:'{"symbols":["contribution","kind","contributor"],"statements":[[4,"if",[[23,["showQuickFilter"]]],null,{"statements":[[0," "],[7,"div"],[11,"class","quick-filter"],[9],[0,"\\n "],[7,"p"],[9],[0,"\\n "],[7,"label"],[11,"class","filter-contributor"],[9],[0,"\\n Contributor:\\n "],[7,"select"],[12,"onchange",[27,"action",[[22,0,[]],[27,"mut",[[23,["contributorId"]]],null]],[["value"],["target.value"]]]],[9],[0,"\\n "],[7,"option"],[11,"value",""],[11,"selected",""],[9],[0,"all"],[10],[0,"\\n"],[4,"each",[[23,["contributorsActive"]]],null,{"statements":[[0," "],[7,"option"],[12,"value",[22,3,["id"]]],[12,"selected",[27,"eq",[[23,["contributorId"]],[22,3,["id"]]],null]],[9],[1,[22,3,["name"]],false],[10],[0,"\\n"]],"parameters":[3]},null],[0," "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"label"],[11,"class","filter-contribution-kind"],[9],[0,"\\n Kind:\\n "],[7,"select"],[12,"onchange",[27,"action",[[22,0,[]],[27,"mut",[[23,["contributionKind"]]],null]],[["value"],["target.value"]]]],[9],[0,"\\n "],[7,"option"],[11,"value",""],[11,"selected",""],[9],[0,"all"],[10],[0,"\\n"],[4,"each",[[23,["contributionKinds"]]],null,{"statements":[[0," "],[7,"option"],[12,"value",[22,2,[]]],[12,"selected",[27,"eq",[[23,["contributionKind"]],[22,2,[]]],null]],[9],[1,[27,"capitalize-string",[[22,2,[]]],null],false],[10],[0,"\\n"]],"parameters":[2]},null],[0," "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"label"],[11,"class","filter-contribution-size"],[9],[0,"\\n "],[1,[27,"input",null,[["type","checked"],["checkbox",[23,["hideSmallContributions"]]]]],false],[0,"\\n Hide small contributions\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0,"\\n"],[7,"ul"],[11,"class","contribution-list"],[9],[0,"\\n"],[4,"each",[[23,["contributionsFiltered"]]],null,{"statements":[[0," "],[7,"li"],[12,"data-contribution-id",[22,1,["id"]]],[12,"class",[28,[[27,"contribution-status",[[22,1,[]]],null]," ",[27,"if",[[22,1,["vetoed"]],"vetoed"],null]]]],[9],[0,"\\n "],[7,"p"],[11,"class","meta"],[9],[0,"\\n "],[7,"span"],[11,"class","recipient"],[9],[1,[27,"user-avatar",null,[["contributor"],[[22,1,["contributor"]]]]],false],[10],[0,"\\n "],[7,"span"],[12,"class",[28,["category ",[22,1,["kind"]]]]],[9],[0,"("],[1,[22,1,["kind"]],false],[0,")"],[10],[0,"\\n "],[7,"span"],[11,"class","title"],[9],[0,"\\n"],[4,"if",[[22,1,["url"]]],null,{"statements":[[0," "],[7,"a"],[12,"href",[22,1,["url"]]],[11,"target","_blank"],[11,"rel","noopener"],[12,"title",[22,1,["description"]]],[9],[1,[22,1,["description"]],false],[10],[0,"\\n"]],"parameters":[]},{"statements":[[0," "],[1,[22,1,["description"]],false],[0,"\\n"]],"parameters":[]}],[0," "],[10],[0,"\\n "],[10],[0,"\\n "],[7,"p"],[11,"class","kredits-amount"],[9],[0,"\\n "],[7,"span"],[11,"class","amount"],[9],[1,[22,1,["amount"]],false],[10],[7,"span"],[11,"class","symbol"],[9],[0,"₭S"],[10],[0,"\\n "],[10],[0,"\\n"],[4,"unless",[[22,1,["vetoed"]]],null,{"statements":[[4,"unless",[[27,"is-confirmed-contribution",[[22,1,[]]],null]],null,{"statements":[[0," "],[7,"p"],[11,"class","voting"],[9],[0,"\\n "],[7,"button"],[11,"class","small danger"],[9],[0,"veto"],[3,"action",[[22,0,[]],"veto",[22,1,["id"]]]],[10],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[0," "],[10],[0,"\\n"]],"parameters":[1]},null],[10]],"hasEval":false}',meta:{moduleName:"kredits-web/components/contribution-list/template.hbs"}}) e.default=t}),define("kredits-web/components/contributor-list/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var t=Ember.Component.extend({router:Ember.inject.service(),tagName:"table",classNames:"contributor-list",selectedContributor:null,actions:{openContributorDetails:function(e){this.router.transitionTo("dashboard.contributors.show",e)}}}) +var t=Ember.Component.extend({router:Ember.inject.service(),tagName:"table",classNames:"contributor-list",selectedContributorId:null,actions:{openContributorDetails:function(e){this.router.transitionTo("dashboard.contributors.show",e)}}}) e.default=t}),define("kredits-web/components/contributor-list/template",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var t=Ember.HTMLBars.template({id:"OSGGbvZX",block:'{"symbols":["c"],"statements":[[7,"tbody"],[9],[0,"\\n"],[4,"each",[[23,["contributorList"]]],null,{"statements":[[0," "],[7,"tr"],[11,"role","button"],[12,"class",[27,"if",[[27,"is-current-user",[[22,1,["contributor"]]],null],"current-user"],null]],[9],[0,"\\n "],[7,"td"],[11,"class","person"],[9],[0,"\\n "],[1,[27,"user-avatar",null,[["contributor"],[[22,1,["contributor"]]]]],false],[0," "],[1,[22,1,["contributor","name"]],false],[0,"\\n "],[10],[0,"\\n "],[7,"td"],[11,"class","kredits"],[9],[0,"\\n "],[7,"span"],[11,"class","amount"],[9],[0,"\\n"],[4,"if",[[23,["showUnconfirmedKredits"]]],null,{"statements":[[0," "],[1,[22,1,["amountTotal"]],false],[0,"\\n"]],"parameters":[]},{"statements":[[0," "],[1,[22,1,["amountConfirmed"]],false],[0,"\\n"]],"parameters":[]}],[0," "],[10],[0,"\\n "],[7,"span"],[11,"class","symbol"],[9],[0,"₭S"],[10],[0,"\\n "],[10],[0,"\\n "],[3,"action",[[22,0,[]],"openContributorDetails",[22,1,["contributor"]]]],[10],[0,"\\n"]],"parameters":[1]},null],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/components/contributor-list/template.hbs"}}) +var t=Ember.HTMLBars.template({id:"KRexKElo",block:'{"symbols":["c"],"statements":[[7,"tbody"],[9],[0,"\\n"],[4,"each",[[23,["contributorList"]]],null,{"statements":[[0," "],[7,"tr"],[11,"role","button"],[12,"class",[28,[[27,"if",[[27,"is-current-user",[[22,1,["contributor"]]],null],"current-user"],null]," ",[27,"if",[[27,"eq",[[22,1,["contributor","id"]],[23,["selectedContributorId"]]],null],"selected"],null]]]],[9],[0,"\\n "],[7,"td"],[11,"class","person"],[9],[0,"\\n "],[1,[27,"user-avatar",null,[["contributor"],[[22,1,["contributor"]]]]],false],[0," "],[1,[22,1,["contributor","name"]],false],[0,"\\n "],[10],[0,"\\n "],[7,"td"],[11,"class","kredits"],[9],[0,"\\n "],[7,"span"],[11,"class","amount"],[9],[0,"\\n"],[4,"if",[[23,["showUnconfirmedKredits"]]],null,{"statements":[[0," "],[1,[22,1,["amountTotal"]],false],[0,"\\n"]],"parameters":[]},{"statements":[[0," "],[1,[22,1,["amountConfirmed"]],false],[0,"\\n"]],"parameters":[]}],[0," "],[10],[0,"\\n "],[7,"span"],[11,"class","symbol"],[9],[0,"₭S"],[10],[0,"\\n "],[10],[0,"\\n "],[3,"action",[[22,0,[]],"openContributorDetails",[22,1,["contributor"]]]],[10],[0,"\\n"]],"parameters":[1]},null],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/components/contributor-list/template.hbs"}}) e.default=t}),define("kredits-web/components/ember-chart",["exports","ember-cli-chart/components/ember-chart"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=t.default e.default=n}),define("kredits-web/components/ember-flatpickr",["exports","ember-flatpickr/components/ember-flatpickr"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("kredits-web/components/external-account-link/component",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 @@ -85,7 +85,7 @@ e.default=t}),define("kredits-web/controllers/contributors/new",["exports"],func var t=Ember.Controller.extend({kredits:Ember.inject.service(),actions:{save:function(e){var t=this return this.kredits.addContributor(e).then(function(){return t.transitionToRoute("index")})}}}) e.default=t}),define("kredits-web/controllers/dashboard",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var t=Ember.Controller.extend({kredits:Ember.inject.service(),showDetailsPane:!1,currentBlock:Ember.computed.alias("kredits.currentBlock"),contributions:Ember.computed.alias("kredits.contributions"),contributionsConfirmed:Ember.computed.alias("kredits.contributionsConfirmed"),contributionsUnconfirmed:Ember.computed.alias("kredits.contributionsUnconfirmed"),contributionsSorting:Object.freeze(["date:desc","time:desc","id:desc"]),contributionsUnconfirmedSorted:Ember.computed.sort("contributionsUnconfirmed","contributionsSorting"),contributionsConfirmedSorted:Ember.computed.sort("contributionsConfirmed","contributionsSorting"),kreditsByContributor:Ember.computed.alias("kredits.kreditsByContributor"),kreditsToplistSorting:Ember.computed("showUnconfirmedKredits",function(){return this.showUnconfirmedKredits?["amountTotal:desc"]:["amountConfirmed:desc"]}),kreditsToplist:Ember.computed.sort("kreditsByContributor","kreditsToplistSorting"),showUnconfirmedKredits:!0,hideUnconfirmedKredits:Ember.computed.not("showUnconfirmedKredits"),showQuickFilterUnconfirmed:!1,showQuickFilterConfirmed:!1,actions:{vetoContribution:function(e){this.kredits.veto(e).then(function(e){console.debug("[controllers:index] Veto submitted to Ethereum blockhain: "+e.hash)})},confirmProposal:function(e){this.kredits.vote(e).then(function(e){console.debug("[controllers:index] Vote submitted to Ethereum blockhain: "+e.hash)})},toggleQuickFilterUnconfirmed:function(){this.toggleProperty("showQuickFilterUnconfirmed")},toggleQuickFilterConfirmed:function(){this.toggleProperty("showQuickFilterConfirmed")}}}) +var t=Ember.Controller.extend({kredits:Ember.inject.service(),showDetailsPane:!1,selectedContributorId:null,currentBlock:Ember.computed.alias("kredits.currentBlock"),contributions:Ember.computed.alias("kredits.contributions"),contributionsConfirmed:Ember.computed.alias("kredits.contributionsConfirmed"),contributionsUnconfirmed:Ember.computed.alias("kredits.contributionsUnconfirmed"),contributionsSorting:Object.freeze(["date:desc","time:desc","id:desc"]),contributionsUnconfirmedSorted:Ember.computed.sort("contributionsUnconfirmed","contributionsSorting"),contributionsConfirmedSorted:Ember.computed.sort("contributionsConfirmed","contributionsSorting"),kreditsByContributor:Ember.computed.alias("kredits.kreditsByContributor"),kreditsToplistSorting:Ember.computed("showUnconfirmedKredits",function(){return this.showUnconfirmedKredits?["amountTotal:desc"]:["amountConfirmed:desc"]}),kreditsToplist:Ember.computed.sort("kreditsByContributor","kreditsToplistSorting"),showUnconfirmedKredits:!0,hideUnconfirmedKredits:Ember.computed.not("showUnconfirmedKredits"),showQuickFilterUnconfirmed:!1,showQuickFilterConfirmed:!1,actions:{vetoContribution:function(e){this.kredits.veto(e).then(function(e){console.debug("[controllers:index] Veto submitted to Ethereum blockhain: "+e.hash)})},confirmProposal:function(e){this.kredits.vote(e).then(function(e){console.debug("[controllers:index] Vote submitted to Ethereum blockhain: "+e.hash)})},toggleQuickFilterUnconfirmed:function(){this.toggleProperty("showQuickFilterUnconfirmed")},toggleQuickFilterConfirmed:function(){this.toggleProperty("showQuickFilterConfirmed")}}}) e.default=t}),define("kredits-web/controllers/dashboard/contributors/show",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Controller.extend({roleName:Ember.computed("model.isCore","totalKreditsEarned",function(){return this.model.isCore?"Core Contributor":this.model.totalKreditsEarned<=5e3?"Newcomer":"Contributor"})}) e.default=t}),define("kredits-web/controllers/proposals/new",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 @@ -144,10 +144,10 @@ return this.kredits.loadInitialData().then(function(){e.kredits.addContractEvent e.default=t}),define("kredits-web/routes/contributors/edit",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Route.extend({kredits:Ember.inject.service(),contributors:Ember.computed.alias("kredits.contributors"),model:function(e){return this.kredits.contributors.findBy("id",e.id)},setupController:function(e,t){this._super(e,t),e.set("attributes",{account:t.account,name:t.name,kind:t.kind,url:t.url,github_username:t.github_username,github_uid:t.github_uid,gitea_username:t.gitea_username,wiki_username:t.wiki_username})}}) e.default=t}),define("kredits-web/routes/dashboard/contributors/show",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var t=Ember.Route.extend({kredits:Ember.inject.service(),contributors:Ember.computed.alias("kredits.contributors"),model:function(e){return this.contributors.findBy("id",e.id)},activate:function(){this.controllerFor("dashboard").set("showDetailsPane",!0)},deactivate:function(){this.controllerFor("dashboard").set("showDetailsPane",!1)}}) +var t=Ember.Route.extend({kredits:Ember.inject.service(),contributors:Ember.computed.alias("kredits.contributors"),model:function(e){return this.contributors.findBy("id",e.id)},setupController:function(e,t){this._super(e,t),this.controllerFor("dashboard").setProperties({showDetailsPane:!0,selectedContributorId:t.id})},deactivate:function(){this.controllerFor("dashboard").setProperties({showDetailsPane:!1,selectedContributorId:null})}}) e.default=t}),define("kredits-web/routes/index",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Route.extend({redirect:function(){this.transitionTo("dashboard")}}) -e.default=t}),define("kredits-web/services/ajax",["exports","ember-ajax/services/ajax"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("kredits-web/services/kredits",["exports","npm:ethers","npm:kredits-contracts","kredits-web/utils/group-by","kredits-web/utils/format-kredits","kredits-web/config/environment","kredits-web/models/contributor","kredits-web/models/proposal","kredits-web/models/contribution"],function(e,t,n,r,o,i,s,a,l){function u(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(u){return void n(u)}a.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments +e.default=t}),define("kredits-web/services/ajax",["exports","ember-ajax/services/ajax"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}),define("kredits-web/services/kredits",["exports","ethers","kredits-contracts","kredits-web/utils/group-by","kredits-web/utils/format-kredits","kredits-web/config/environment","kredits-web/models/contributor","kredits-web/models/proposal","kredits-web/models/contribution"],function(e,t,n,r,o,i,s,a,l){function u(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(u){return void n(u)}a.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments return new Promise(function(r,o){var i=e.apply(t,n) function s(e){u(i,r,o,s,a,"next",e)}function a(e){u(i,r,o,s,a,"throw",e)}s(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var c=Ember.Service.extend({currentBlock:null,currentUserAccounts:null,currentUser:null,contributors:null,contributions:null,proposals:null,currentUserIsContributor:Ember.computed.notEmpty("currentUser"),currentUserIsCore:Ember.computed.alias("currentUser.isCore"),hasAccounts:Ember.computed.notEmpty("currentUserAccounts"),accountNeedsUnlock:Ember.computed("currentUserAccounts",function(){return this.currentUserAccounts&&Ember.isEmpty(this.currentUserAccounts)}),contributionsUnconfirmed:Ember.computed("contributions.[]","currentBlock",function(){var e=this @@ -204,22 +204,22 @@ var t=Ember.HTMLBars.template({id:"LZQyoYt+",block:'{"symbols":[],"statements":[ e.default=t}),define("kredits-web/templates/contributors/new",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"IoVi6fNU",block:'{"symbols":[],"statements":[[7,"main"],[11,"class","center-column"],[9],[0,"\\n\\n "],[7,"section"],[11,"id","add-contributor"],[9],[0,"\\n "],[7,"header"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Add contributor profile"],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"add-contributor",null,[["save"],[[27,"action",[[22,0,[]],"save"],null]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n"],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/templates/contributors/new.hbs"}}) e.default=t}),define("kredits-web/templates/dashboard",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 -var t=Ember.HTMLBars.template({id:"O4pC7NLn",block:'{"symbols":[],"statements":[[7,"main"],[11,"id","dashboard"],[12,"class",[27,"if",[[23,["showDetailsPane"]],"with-details"],null]],[9],[0,"\\n\\n "],[7,"div"],[11,"id","stats"],[9],[0,"\\n "],[7,"section"],[11,"id","people"],[9],[0,"\\n "],[7,"header"],[11,"class","with-nav"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Contributors"],[10],[0,"\\n"],[4,"if",[[23,["kredits","hasAccounts"]]],null,{"statements":[[0," "],[7,"nav"],[9],[0,"\\n "],[4,"link-to",["contributors.new"],[["title","class"],["Add contributor profile","button small green"]],{"statements":[[0,"add"]],"parameters":[]},null],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0," "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"contributor-list",null,[["contributorList","showUnconfirmedKredits"],[[23,["kreditsToplist"]],[23,["showUnconfirmedKredits"]]]]],false],[0,"\\n\\n "],[7,"p"],[11,"class","stats"],[9],[0,"\\n "],[7,"span"],[11,"class","number"],[9],[1,[27,"await",[[23,["kredits","totalKreditsEarned"]]],null],false],[10],[0," kredits confirmed and issued to\\n "],[7,"span"],[11,"class","number"],[9],[1,[23,["contributorsWithKredits","length"]],false],[10],[0," contributors\\n "],[10],[0,"\\n "],[7,"p"],[11,"class","stats"],[9],[0,"\\n "],[1,[27,"input",null,[["type","id","checked"],["checkbox","hide-unnconfirmed-kredits",[23,["showUnconfirmedKredits"]]]]],false],[0,"\\n "],[7,"label"],[11,"for","hide-unnconfirmed-kredits"],[9],[0,"Show unconfirmed kredits in toplist"],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"section"],[11,"id","contributions-by-type"],[9],[0,"\\n "],[7,"header"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Contributions by type"],[10],[0,"\\n "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"chart-contributions-by-type",null,[["contributions"],[[23,["contributions"]]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"id","contributions"],[9],[0,"\\n"],[4,"if",[[23,["contributionsUnconfirmed"]]],null,{"statements":[[0," "],[7,"section"],[11,"id","contributions-unconfirmed"],[9],[0,"\\n "],[7,"header"],[11,"class","with-nav"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Latest Contributions"],[10],[0,"\\n"],[4,"if",[[23,["kredits","hasAccounts"]]],null,{"statements":[[0," "],[7,"nav"],[9],[0,"\\n "],[7,"button"],[12,"class",[28,["small ",[27,"if",[[23,["showQuickFilterUnconfirmed"]],"active"],null]]]],[9],[0,"filter"],[3,"action",[[22,0,[]],"toggleQuickFilterUnconfirmed"]],[10],[0,"\\n "],[4,"link-to",["contributions.new"],[["title","class"],["Submit a contribution","button small green"]],{"statements":[[0,"add"]],"parameters":[]},null],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0," "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n"],[0," "],[1,[27,"contribution-list",null,[["contributions","vetoContribution","contractInteractionEnabled","showQuickFilter"],[[23,["contributionsUnconfirmedSorted"]],[27,"action",[[22,0,[]],"vetoContribution"],null],[23,["kredits","hasAccounts"]],[23,["showQuickFilterUnconfirmed"]]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0,"\\n "],[7,"section"],[11,"id","contributions-confirmed"],[9],[0,"\\n "],[7,"header"],[11,"class","with-nav"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Confirmed Contributions"],[10],[0,"\\n "],[7,"nav"],[9],[0,"\\n "],[7,"button"],[12,"class",[28,["small ",[27,"if",[[23,["showQuickFilterConfirmed"]],"active"],null]]]],[9],[0,"filter"],[3,"action",[[22,0,[]],"toggleQuickFilterConfirmed"]],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"contribution-list",null,[["contributions","vetoContribution","showQuickFilter"],[[23,["contributionsConfirmedSorted"]],[27,"action",[[22,0,[]],"vetoContribution"],null],[23,["showQuickFilterConfirmed"]]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"id","details"],[9],[0,"\\n "],[1,[21,"outlet"],false],[0,"\\n "],[10],[0,"\\n\\n"],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/templates/dashboard.hbs"}}) +var t=Ember.HTMLBars.template({id:"cY0zhgDi",block:'{"symbols":[],"statements":[[7,"main"],[11,"id","dashboard"],[12,"class",[27,"if",[[23,["showDetailsPane"]],"with-details"],null]],[9],[0,"\\n\\n "],[7,"div"],[11,"id","stats"],[9],[0,"\\n "],[7,"section"],[11,"id","people"],[9],[0,"\\n "],[7,"header"],[11,"class","with-nav"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Contributors"],[10],[0,"\\n"],[4,"if",[[23,["kredits","hasAccounts"]]],null,{"statements":[[0," "],[7,"nav"],[9],[0,"\\n "],[4,"link-to",["contributors.new"],[["title","class"],["Add contributor profile","button small green"]],{"statements":[[0,"add"]],"parameters":[]},null],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0," "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"contributor-list",null,[["contributorList","showUnconfirmedKredits","selectedContributorId"],[[23,["kreditsToplist"]],[23,["showUnconfirmedKredits"]],[23,["selectedContributorId"]]]]],false],[0,"\\n\\n "],[7,"p"],[11,"class","stats"],[9],[0,"\\n "],[7,"span"],[11,"class","number"],[9],[1,[27,"await",[[23,["kredits","totalKreditsEarned"]]],null],false],[10],[0," kredits confirmed and issued to\\n "],[7,"span"],[11,"class","number"],[9],[1,[23,["contributorsWithKredits","length"]],false],[10],[0," contributors\\n "],[10],[0,"\\n "],[7,"p"],[11,"class","stats"],[9],[0,"\\n "],[1,[27,"input",null,[["type","id","checked"],["checkbox","hide-unnconfirmed-kredits",[23,["showUnconfirmedKredits"]]]]],false],[0,"\\n "],[7,"label"],[11,"for","hide-unnconfirmed-kredits"],[9],[0,"Show unconfirmed kredits in toplist"],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"section"],[11,"id","contributions-by-type"],[9],[0,"\\n "],[7,"header"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Contributions by type"],[10],[0,"\\n "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"chart-contributions-by-type",null,[["contributions"],[[23,["contributions"]]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"id","contributions"],[9],[0,"\\n"],[4,"if",[[23,["contributionsUnconfirmed"]]],null,{"statements":[[0," "],[7,"section"],[11,"id","contributions-unconfirmed"],[9],[0,"\\n "],[7,"header"],[11,"class","with-nav"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Latest Contributions"],[10],[0,"\\n"],[4,"if",[[23,["kredits","hasAccounts"]]],null,{"statements":[[0," "],[7,"nav"],[9],[0,"\\n "],[7,"button"],[12,"class",[28,["small ",[27,"if",[[23,["showQuickFilterUnconfirmed"]],"active"],null]]]],[9],[0,"filter"],[3,"action",[[22,0,[]],"toggleQuickFilterUnconfirmed"]],[10],[0,"\\n "],[4,"link-to",["contributions.new"],[["title","class"],["Submit a contribution","button small green"]],{"statements":[[0,"add"]],"parameters":[]},null],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0," "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n"],[0," "],[1,[27,"contribution-list",null,[["contributions","vetoContribution","contractInteractionEnabled","showQuickFilter"],[[23,["contributionsUnconfirmedSorted"]],[27,"action",[[22,0,[]],"vetoContribution"],null],[23,["kredits","hasAccounts"]],[23,["showQuickFilterUnconfirmed"]]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0,"\\n "],[7,"section"],[11,"id","contributions-confirmed"],[9],[0,"\\n "],[7,"header"],[11,"class","with-nav"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Confirmed Contributions"],[10],[0,"\\n "],[7,"nav"],[9],[0,"\\n "],[7,"button"],[12,"class",[28,["small ",[27,"if",[[23,["showQuickFilterConfirmed"]],"active"],null]]]],[9],[0,"filter"],[3,"action",[[22,0,[]],"toggleQuickFilterConfirmed"]],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"contribution-list",null,[["contributions","vetoContribution","showQuickFilter"],[[23,["contributionsConfirmedSorted"]],[27,"action",[[22,0,[]],"vetoContribution"],null],[23,["showQuickFilterConfirmed"]]]]],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"id","details"],[9],[0,"\\n "],[1,[21,"outlet"],false],[0,"\\n "],[10],[0,"\\n\\n"],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/templates/dashboard.hbs"}}) e.default=t}),define("kredits-web/templates/dashboard/contributors/show",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"m62wYKML",block:'{"symbols":["account"],"statements":[[7,"section"],[11,"id","contributor-profile"],[9],[0,"\\n "],[7,"header"],[9],[0,"\\n "],[1,[27,"user-avatar",null,[["contributor","size"],[[23,["model"]],"medium"]]],false],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[7,"h2"],[9],[1,[23,["model","name"]],false],[10],[0,"\\n "],[7,"p"],[11,"class","role"],[9],[1,[21,"roleName"],false],[10],[0,"\\n\\n "],[7,"ul"],[11,"class","external-accounts"],[9],[0,"\\n"],[4,"each",[[23,["model","accounts"]]],null,{"statements":[[0," "],[7,"li"],[9],[0,"\\n "],[1,[27,"external-account-link",null,[["account"],[[22,1,[]]]]],false],[0,"\\n "],[10],[0,"\\n"]],"parameters":[1]},null],[4,"if",[[23,["model","url"]]],null,{"statements":[[0," "],[7,"li"],[9],[0,"\\n "],[7,"a"],[12,"href",[23,["model","url"]]],[11,"target","_blank"],[11,"rel","noopener"],[11,"title","Website"],[9],[0,"\\n "],[7,"span"],[11,"class","site"],[9],[0,"Web"],[10],[0,"\\n "],[1,[21,"icon-web-globe"],false],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n"]],"parameters":[]},null],[0," "],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"class","actions"],[9],[0,"\\n "],[7,"p"],[9],[0,"\\n "],[7,"a"],[12,"href",[28,["https://rinkeby.etherscan.io/address/",[23,["model","account"]]]]],[11,"class","button small"],[11,"target","_blank"],[11,"rel","noopener"],[9],[0,"Inspect Ethereum transactions"],[10],[0,"\\n"],[4,"if",[[23,["model","ipfsHash"]]],null,{"statements":[[0," "],[7,"a"],[12,"href",[28,["https://ipfs.io/ipfs/",[23,["model","ipfsHash"]]]]],[11,"class","button small"],[11,"target","_blank"],[11,"rel","noopener"],[9],[0,"Inspect IPFS profile"],[10],[0,"\\n"]],"parameters":[]},null],[0," "],[4,"link-to",["contributors.edit",[23,["model"]]],[["class"],["button small"]],{"statements":[[0,"Edit profile"]],"parameters":[]},null],[0,"\\n "],[10],[0,"\\n "],[10],[0,"\\n"],[10],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/templates/dashboard/contributors/show.hbs"}}) e.default=t}),define("kredits-web/templates/proposals/new",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"vauAEy3a",block:'{"symbols":[],"statements":[[7,"section"],[11,"id","add-proposal"],[9],[0,"\\n "],[7,"header"],[9],[0,"\\n "],[7,"h2"],[9],[0,"Add Proposal"],[10],[0,"\\n "],[10],[0,"\\n\\n "],[7,"div"],[11,"class","content"],[9],[0,"\\n "],[1,[27,"add-proposal",null,[["contributors","save"],[[23,["minedContributors"]],[27,"action",[[22,0,[]],"save"],null]]]],false],[0,"\\n "],[10],[0,"\\n"],[10],[0,"\\n\\n"]],"hasEval":false}',meta:{moduleName:"kredits-web/templates/proposals/new.hbs"}}) -e.default=t}),define("kredits-web/utils/cps/bignumber",["exports","npm:ethers"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,n){return Ember.computed(e,{get:function(){var r=this.get(e) +e.default=t}),define("kredits-web/utils/cps/bignumber",["exports","ethers"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,n){return Ember.computed(e,{get:function(){var r=this.get(e) return r&&t.default.utils.BigNumber.isBigNumber(r)?r[n]():r},set:function(r,o){var i=t.default.utils.bigNumberify(o) -return this.set(e,i),i[n]()}})}}),define("kredits-web/utils/cps/kredits",["exports","npm:ethers","kredits-web/utils/format-kredits"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} +return this.set(e,i),i[n]()}})}}),define("kredits-web/utils/cps/kredits",["exports","ethers","kredits-web/utils/format-kredits"],function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} return Ember.computed(e,{get:function(){var t=this.get(e) return(0,n.default)(t,r)},set:function(o,i){var s=t.default.utils.bigNumberify(i) -return this.set(e,s),(0,n.default)(s,r)}})}}),define("kredits-web/utils/format-kredits",["exports","npm:ethers"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.default.utils.formatEther(e) +return this.set(e,s),(0,n.default)(s,r)}})}}),define("kredits-web/utils/format-kredits",["exports","ethers"],function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.default.utils.formatEther(e) n.decimals||(r=parseInt(r).toString()) return r}}),define("kredits-web/utils/group-by",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){var n=Ember.A(),r=e r&&r.forEach(function(e){var r=Ember.get(e,t),o=n.findBy("value",r) Ember.isPresent(o)?Ember.get(o,"items").push(e):(o={property:t,value:r,items:[e]},n.push(o))}) return n}}),define("kredits-web/config/environment",[],function(){try{var e="kredits-web/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))} -return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}}),runningTests||require("kredits-web/app").default.create({name:"kredits-web",version:"1.5.0+fe16a605"}) +return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}}),runningTests||require("kredits-web/app").default.create({name:"kredits-web",version:"1.5.1+c6588097"}) -//# sourceMappingURL=kredits-web-5678558b21e53558b90d8bb75b10fdd6.map \ No newline at end of file +//# sourceMappingURL=kredits-web-251d4f64bec565b2a7fb6e779aa4a6c1.map \ No newline at end of file diff --git a/release/assets/kredits-web-87a975d1ebfb073f8c85b3f709cd0bcd.css b/release/assets/kredits-web-87a975d1ebfb073f8c85b3f709cd0bcd.css deleted file mode 100644 index 2b021468..00000000 --- a/release/assets/kredits-web-87a975d1ebfb073f8c85b3f709cd0bcd.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";body,button,h1,h2,h3,h4,h5,input{font-family:"Open Sans",sans-serif;font-weight:300}*{margin:0;padding:0;box-sizing:border-box;font-size:14px}:active,:focus,:hover{outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}main{padding:1rem 2rem}main#dashboard{width:100%;display:grid;grid-row-gap:2rem;grid-template-areas:"stats" "contributions"}main.center-column{display:flex;flex-direction:column;align-items:center}main.center-column section{width:600px;max-width:100%}main.center-column section header{text-align:center}@media (min-width:550px){main#dashboard{grid-column-gap:4rem;grid-row-gap:2rem;grid-template-columns:2fr 4fr;grid-template-areas:"stats contributions"}main#dashboard.with-details{grid-column-gap:3rem;grid-template-columns:2fr 4fr 2fr;grid-template-areas:"stats contributions details"}}main section{margin-bottom:5rem}main section:first-of-type{margin-top:2rem}main section header{margin-bottom:3rem}main section header.with-nav{display:grid;grid-template-columns:auto 5rem;grid-template-areas:"title" "actions"}main section header h2{display:inline-block}main section header nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-end}@media (max-width:600px){main{padding:1rem}main section{margin-bottom:5rem}main section header{margin-bottom:2rem}}body{background-image:linear-gradient(to bottom,rgba(22,21,40,.4),rgba(0,0,0,.75)),url(/img/bg-947d3bf6bb15a1a3b07afcba4c307690.jpg);background-repeat:none;background-attachment:fixed;color:#fff}@media screen and (min-width:900px){body{background-size:cover}}button,h1,h2,h3,h4,h5,input{font-size:1rem}section h2{font-size:1.4rem;color:#68d7fb}section#people .content p.stats{margin-bottom:1rem;font-size:1rem;color:#fff;text-align:center}section#people .content p.stats span.number{font-weight:600}.button,button,input[type=submit],ul.contribution-list li .amount,ul.contribution-list li .recipient,ul.proposal-list li .amount,ul.proposal-list li .recipient,ul.proposal-list li .symbol{font-weight:500}section#contributions-by-type .chart{width:50%;margin-left:auto;margin-right:auto}section#proposals-closed .actions,section#proposals-open .actions{padding-top:3rem;font-size:1rem;color:#68d7fb;text-align:center}@media (max-width:600px){section#contributions-by-type .chart{width:75%}section#proposals-closed .actions,section#proposals-open .actions{padding-top:2rem}main section#contributions-confirmed,main section#contributions-unconfirmed{margin-top:0}}section#proposals-closed .actions a,section#proposals-open .actions a{color:#68d7fb}@media (min-width:550px){section h2{font-size:2rem}}.button,button,input[type=submit]{display:inline-block;padding:.6rem 2rem;background-color:rgba(22,21,40,.6);border:1px solid #161528;border-radius:3px;color:#68d7fb;text-decoration:none;text-transform:uppercase;cursor:pointer;letter-spacing:.1em}.button+.button,.button+button,.button+input[type=submit],button+.button,button+button,button+input[type=submit],input[type=submit]+.button,input[type=submit]+button,input[type=submit]+input[type=submit]{margin-left:.5rem}.button:hover,button:hover,input[type=submit]:hover{background-color:rgba(22,21,40,.8)}.button.active,.button:active,button.active,button:active,input[type=submit].active,input[type=submit]:active{border-color:#68d7fb}.button.small,button.small,input[type=submit].small{font-size:.8rem;padding:.2rem .8rem}.button.danger,button.danger,input[type=submit].danger{color:#fb6868;background-color:rgba(40,21,21,.6);border-color:#281515}.button.danger:hover,button.danger:hover,input[type=submit].danger:hover{background-color:rgba(40,21,21,.8)}.button.danger.active,.button.danger:active,button.danger.active,button.danger:active,input[type=submit].danger.active,input[type=submit].danger:active{border-color:#fb6868}.button.green,button.green,input[type=submit].green{color:#97fb68;background-color:rgba(21,40,21,.6);border-color:#152815}.button.green:hover,button.green:hover,input[type=submit].green:hover{background-color:rgba(21,40,21,.8)}.button.green.active,.button.green:active,button.green.active,button.green:active,input[type=submit].green.active,input[type=submit].green:active{border-color:#97fb68}section#add-contribution form p,section#add-contributor form p,section#add-proposal form p{margin-bottom:1.5rem}section#add-contribution form p.actions,section#add-contributor form p.actions,section#add-proposal form p.actions{padding-top:1.5rem;text-align:center}section#add-contribution form p.actions a,section#add-contributor form p.actions a,section#add-proposal form p.actions a{color:#68d7fb;margin-left:1rem}section#add-contribution form label,section#add-contributor form label,section#add-proposal form label{display:block;margin-bottom:.5rem;opacity:.7}section#add-contribution form input[type=text],section#add-contribution form select,section#add-contributor form input[type=text],section#add-contributor form select,section#add-proposal form input[type=text],section#add-proposal form select{width:100%;padding:1rem;border:none;border-bottom:1px solid rgba(255,255,255,.2);background-color:rgba(22,21,40,.3);color:#fff;font-size:1.2rem;transition:border-color .1s linear}section#add-contribution form input[type=text].valid,section#add-contribution form input[type=text]:focus,section#add-contribution form select.valid,section#add-contribution form select:focus,section#add-contributor form input[type=text].valid,section#add-contributor form input[type=text]:focus,section#add-contributor form select.valid,section#add-contributor form select:focus,section#add-proposal form input[type=text].valid,section#add-proposal form input[type=text]:focus,section#add-proposal form select.valid,section#add-proposal form select:focus{background-color:rgba(22,21,40,.6)}section#add-contribution form input[type=text]:focus,section#add-contribution form select:focus,section#add-contributor form input[type=text]:focus,section#add-contributor form select:focus,section#add-proposal form input[type=text]:focus,section#add-proposal form select:focus{border-color:#68d7fb}table.contributor-list tr:first-of-type,ul.contribution-list li:first-of-type{border-top:1px solid rgba(255,255,255,.2)}section#add-contribution form input[type=text]::placeholder,section#add-contribution form select::placeholder,section#add-contributor form input[type=text]::placeholder,section#add-contributor form select::placeholder,section#add-proposal form input[type=text]::placeholder,section#add-proposal form select::placeholder{color:rgba(238,238,238,.5)}section#add-contribution form select,section#add-contributor form select,section#add-proposal form select{-moz-appearance:none;-webkit-appearance:none;appearance:none;border-radius:0;background-color:rgba(22,21,40,.6);background-image:linear-gradient(45deg,transparent 50%,gray 50%),linear-gradient(135deg,gray 50%,transparent 50%);background-position:calc(100% - 1.5rem) calc(1rem + .5rem),calc(100% - 1rem) calc(1rem + .5rem);background-size:.5rem .5rem,.5rem .5rem;background-repeat:no-repeat}section#add-contribution form select:invalid,section#add-contributor form select:invalid,section#add-proposal form select:invalid{color:rgba(238,238,238,.5)}section#add-contribution form input[type=submit],section#add-contributor form input[type=submit],section#add-proposal form input[type=submit]{padding:.6rem 2rem}section#add-contribution form input[type=submit]:disabled,section#add-contributor form input[type=submit]:disabled,section#add-proposal form input[type=submit]:disabled{background-color:transparent}section#add-contribution form input[type=checkbox],section#add-contributor form input[type=checkbox],section#add-proposal form input[type=checkbox]{display:none}section#add-contribution form label.checkbox,section#add-contributor form label.checkbox,section#add-proposal form label.checkbox{line-height:3.2rem;font-size:1.2rem}section#add-contribution form label.checkbox::before,section#add-contributor form label.checkbox::before,section#add-proposal form label.checkbox::before{display:inline-block;margin-right:.8rem;height:3.2rem;width:3.2rem;font-size:2rem;background-color:rgba(22,21,40,.3);border-bottom:1px solid rgba(255,255,255,.2);text-align:center;vertical-align:middle;content:'✓';color:rgba(255,255,255,.2)}section#add-contribution form input[type=checkbox]:checked+label.checkbox::before,section#add-contributor form input[type=checkbox]:checked+label.checkbox::before,section#add-proposal form input[type=checkbox]:checked+label.checkbox::before{background-color:rgba(22,21,40,.6);color:#fff}table.contributor-list tr,ul.contribution-list li{border-bottom:1px solid rgba(255,255,255,.2);background-color:rgba(255,255,255,.1)}.quick-filter{font-size:1.2rem;margin-bottom:2rem}.quick-filter label,.quick-filter p{font-size:inherit}.quick-filter p{padding:.2rem 0 0}.quick-filter label+label{margin-left:3.6rem}ul.contribution-list{clear:both;width:100%;list-style:none}ul.contribution-list li{display:grid;grid-template-columns:auto 5rem 5rem;grid-row-gap:.5rem;padding:.8rem 1.2rem;font-size:1.2rem}ul.contribution-list li.confirmed,ul.contribution-list li.vetoed{grid-template-columns:auto 5rem}ul.contribution-list li.vetoed{text-decoration:line-through;opacity:.6}ul.contribution-list li p{align-self:center;margin:0;font-size:inherit;line-height:2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.contribution-list li p.kredits-amount,ul.contribution-list li p.voting{text-align:right}ul.contribution-list li span{font-size:inherit}ul.contribution-list li span.title a{font-size:inherit;text-decoration:none;color:#fff}ul.contribution-list li span.title a:active,ul.contribution-list li span.title a:hover{color:#68d7fb}ul.contribution-list li .description{line-height:1.4em;font-size:1rem}ul.contribution-list li .category{color:#68d7fb;padding-right:.2rem}ul.contribution-list li .category.community{color:#fb6868}ul.contribution-list li .category.dev{color:#e068fb}ul.contribution-list li .category.design{color:#fbe468}ul.contribution-list li .category.docs{color:#97fb68}ul.contribution-list li .category.ops{color:#8f68fb}ul.contribution-list li .symbol{font-size:.8rem;padding-left:.2rem}ul.contribution-list li .votes{font-size:1rem;color:#68d7fb;margin-right:.5rem}table.contributor-list{width:100%;border-collapse:collapse;margin-bottom:1.5rem}table.contributor-list tr.current-user{background-color:rgba(255,255,255,.2)}table.contributor-list tr.metadata{height:0;visibility:hidden}table.contributor-list tr.metadata:not(.visible){border-bottom:none}table.contributor-list tr.metadata td{padding:0 1.2rem}table.contributor-list tr.metadata a{color:#68d7fb}table.contributor-list tr.metadata a:active,table.contributor-list tr.metadata a:hover{color:#fff}table.contributor-list tr.metadata ul{list-style:none;display:block;overflow:hidden;height:0}table.contributor-list tr.metadata ul li{display:inline}.external-accounts a,section#contributor-profile .content ul.external-accounts li{display:inline-block}table.contributor-list tr.metadata ul li+li{margin-left:1rem}table.contributor-list tr.metadata.visible{height:auto;visibility:visible}table.contributor-list tr.metadata.visible ul{height:auto}table.contributor-list tr td{padding:0 1.2rem;line-height:3.6rem}table.contributor-list tr td.person{text-align:left;font-size:1.2rem}table.contributor-list tr td.person img.avatar{margin-right:.2rem}table.contributor-list tr td.kredits{text-align:right}table.contributor-list tr td.kredits .amount{font-size:1.2rem;font-weight:500}table.contributor-list tr td.kredits .symbol{font-size:.8rem;padding-left:.2rem}table.contributor-list tr td pre{line-height:1rem;padding-bottom:1rem}section#contributor-profile{text-align:center}section#contributor-profile header{z-index:2;width:100%;text-align:center}section#contributor-profile header img{margin:0 auto;border:3px solid rgba(255,255,255,.2)}section#contributor-profile .content,ul.proposal-list li:first-of-type{border-top:1px solid rgba(255,255,255,.2)}section#contributor-profile .content{z-index:1;width:100%;margin:-7.2rem 0 1.5rem;padding:6rem 1.2rem 2rem;border-bottom:1px solid rgba(255,255,255,.2);background-color:rgba(255,255,255,.1)}section#contributor-profile .content h2{text-align:center;margin-bottom:.6rem}section#contributor-profile .content p.role{margin-bottom:2rem}section#contributor-profile .content ul.external-accounts{list-style:none}section#contributor-profile .content ul.external-accounts li+li{margin-left:.6rem}section#contributor-profile .actions .button{margin-bottom:.6rem}.external-accounts a{width:4rem;height:4rem;padding:.8rem;background-color:rgba(0,0,0,.3);color:#fff;border-radius:2rem}.external-accounts a span.site{display:none}.external-accounts a svg{display:block;position:relative;width:100%;height:100%}.external-accounts a svg .fg{fill:#fff}.external-accounts a:active,.external-accounts a:hover{background-color:rgba(0,0,0,.5)}.external-accounts a:active svg .fg,.external-accounts a:hover svg .fg{fill:#68d7fb}@keyframes pulse{from{opacity:.1}to{opacity:.6}}.loading-spinner{margin-top:12rem;text-align:center;font-size:1.4rem;color:#68d7fb}@media (max-width:600px){.loading-spinner{margin-top:6rem}}.loading-spinner svg{width:200px;height:200px;margin-bottom:2rem}.loading-spinner svg #path-comet{fill:#68d7fb;opacity:.1;animation-name:pulse;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-direction:alternate;animation-duration:1s}ul.proposal-list{clear:both;width:100%;list-style:none}ul.proposal-list li{display:grid;grid-template-columns:auto 5rem;grid-row-gap:.5rem;padding:1rem 1.2rem;background-color:rgba(255,255,255,.1);font-size:1.2rem;border-bottom:1px solid rgba(255,255,255,.2)}ul.proposal-list li p{align-self:center;margin:0;font-size:inherit;line-height:2rem}ul.proposal-list li p.kredits-amount,ul.proposal-list li p.voting{text-align:right}ul.proposal-list li p.description,ul.proposal-list li p.voting{grid-column-start:span 2}ul.proposal-list li span{font-size:inherit}ul.proposal-list li .description{line-height:1.4em;font-size:1rem}ul.proposal-list li .category{color:#68d7fb;padding-right:.2rem}ul.proposal-list li .category.community{color:#fb6868}ul.proposal-list li .category.dev{color:#e068fb}ul.proposal-list li .category.design{color:#fbe468}ul.proposal-list li .category.docs{color:#97fb68}ul.proposal-list li .category.ops{color:#8f68fb}ul.proposal-list li .symbol{font-size:1rem;padding-left:.2rem}ul.proposal-list li .votes{font-size:1rem;color:#68d7fb;margin-right:.5rem}@media (min-width:550px){ul.proposal-list li{grid-template-columns:auto 10rem;grid-row-gap:.5rem}ul.proposal-list li p.kredits-amount,ul.proposal-list li p.voting,ul.proposal-list li.unconfirmed p.kredits-amount,ul.proposal-list li.unconfirmed p.voting{text-align:right}ul.proposal-list li.unconfirmed p.description,ul.proposal-list li.unconfirmed p.voting{grid-column-start:span 1}ul.proposal-list li .description{font-size:inherit}}#topbar{padding:0 1rem;height:3rem;line-height:3rem;background-color:rgba(0,0,0,.3)}@media (min-width:961px){#topbar{padding:0 2rem;height:4rem;line-height:4rem}}#topbar h1{display:inline-block;text-transform:uppercase}#topbar h1 a{color:inherit;text-decoration:none}#topbar section#user-account{display:inline-block;float:right}img.avatar{width:2rem;height:2rem;vertical-align:middle;margin-right:.2rem;border-radius:1rem}img.avatar.medium{margin:0;width:10rem;height:10rem;border-radius:5rem}img.avatar.large{margin:0;width:256px;height:256px;border-radius:128px} \ No newline at end of file diff --git a/release/assets/kredits-web-d27bdcdf554d9b3bd6b4d37dd84f4db2.css b/release/assets/kredits-web-d27bdcdf554d9b3bd6b4d37dd84f4db2.css new file mode 100644 index 00000000..6626caf6 --- /dev/null +++ b/release/assets/kredits-web-d27bdcdf554d9b3bd6b4d37dd84f4db2.css @@ -0,0 +1 @@ +@charset "UTF-8";body,button,h1,h2,h3,h4,h5,input{font-family:"Open Sans",sans-serif;font-weight:300}*{margin:0;padding:0;box-sizing:border-box;font-size:14px}:active,:focus,:hover{outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}main{padding:1rem 2rem}main#dashboard{width:100%;display:grid;grid-row-gap:2rem;grid-template-areas:"stats" "contributions"}main.center-column{display:flex;flex-direction:column;align-items:center}main.center-column section{width:600px;max-width:100%}main.center-column section header{text-align:center}@media (min-width:550px){main#dashboard{grid-column-gap:4rem;grid-row-gap:2rem;grid-template-columns:2fr 4fr;grid-template-areas:"stats contributions"}main#dashboard.with-details{grid-column-gap:3rem;grid-template-columns:2fr 4fr 2fr;grid-template-areas:"stats contributions details"}}main section{margin-bottom:5rem}main section:first-of-type{margin-top:2rem}main section header{margin-bottom:3rem}main section header.with-nav{display:grid;grid-template-columns:auto 5rem;grid-template-areas:"title" "actions"}main section header h2{display:inline-block}main section header nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-end}@media (max-width:600px){main{padding:1rem}main section{margin-bottom:5rem}main section header{margin-bottom:2rem}}body{background-image:linear-gradient(to bottom,rgba(22,21,40,.4),rgba(0,0,0,.75)),url(/img/bg-947d3bf6bb15a1a3b07afcba4c307690.jpg);background-repeat:none;background-attachment:fixed;color:#fff}@media screen and (min-width:900px){body{background-size:cover}}button,h1,h2,h3,h4,h5,input{font-size:1rem}section h2{font-size:1.4rem;color:#68d7fb}section#people .content p.stats{margin-bottom:1rem;font-size:1rem;color:#fff;text-align:center}section#people .content p.stats span.number{font-weight:600}.button,button,input[type=submit],table.contributor-list tr.current-user,ul.contribution-list li .amount,ul.contribution-list li .recipient,ul.proposal-list li .amount,ul.proposal-list li .recipient,ul.proposal-list li .symbol{font-weight:500}section#contributions-by-type .chart{width:50%;margin-left:auto;margin-right:auto}section#proposals-closed .actions,section#proposals-open .actions{padding-top:3rem;font-size:1rem;color:#68d7fb;text-align:center}@media (max-width:600px){section#contributions-by-type .chart{width:75%}section#proposals-closed .actions,section#proposals-open .actions{padding-top:2rem}main section#contributions-confirmed,main section#contributions-unconfirmed{margin-top:0}}section#proposals-closed .actions a,section#proposals-open .actions a{color:#68d7fb}@media (min-width:550px){section h2{font-size:2rem}}.button,button,input[type=submit]{display:inline-block;padding:.6rem 2rem;background-color:rgba(22,21,40,.6);border:1px solid #161528;border-radius:3px;color:#68d7fb;text-decoration:none;text-transform:uppercase;cursor:pointer;letter-spacing:.1em}.button+.button,.button+button,.button+input[type=submit],button+.button,button+button,button+input[type=submit],input[type=submit]+.button,input[type=submit]+button,input[type=submit]+input[type=submit]{margin-left:.5rem}.button:hover,button:hover,input[type=submit]:hover{background-color:rgba(22,21,40,.8)}.button.active,.button:active,button.active,button:active,input[type=submit].active,input[type=submit]:active{border-color:#68d7fb}.button.small,button.small,input[type=submit].small{font-size:.8rem;padding:.2rem .8rem}.button.danger,button.danger,input[type=submit].danger{color:#fb6868;background-color:rgba(40,21,21,.6);border-color:#281515}.button.danger:hover,button.danger:hover,input[type=submit].danger:hover{background-color:rgba(40,21,21,.8)}.button.danger.active,.button.danger:active,button.danger.active,button.danger:active,input[type=submit].danger.active,input[type=submit].danger:active{border-color:#fb6868}.button.green,button.green,input[type=submit].green{color:#97fb68;background-color:rgba(21,40,21,.6);border-color:#152815}.button.green:hover,button.green:hover,input[type=submit].green:hover{background-color:rgba(21,40,21,.8)}.button.green.active,.button.green:active,button.green.active,button.green:active,input[type=submit].green.active,input[type=submit].green:active{border-color:#97fb68}section#add-contribution form p,section#add-contributor form p,section#add-proposal form p{margin-bottom:1.5rem}section#add-contribution form p.actions,section#add-contributor form p.actions,section#add-proposal form p.actions{padding-top:1.5rem;text-align:center}section#add-contribution form p.actions a,section#add-contributor form p.actions a,section#add-proposal form p.actions a{color:#68d7fb;margin-left:1rem}section#add-contribution form label,section#add-contributor form label,section#add-proposal form label{display:block;margin-bottom:.5rem;opacity:.7}section#add-contribution form input[type=text],section#add-contribution form select,section#add-contributor form input[type=text],section#add-contributor form select,section#add-proposal form input[type=text],section#add-proposal form select{width:100%;padding:1rem;border:none;border-bottom:1px solid rgba(255,255,255,.2);background-color:rgba(22,21,40,.3);color:#fff;font-size:1.2rem;transition:border-color .1s linear}section#add-contribution form input[type=text].valid,section#add-contribution form input[type=text]:focus,section#add-contribution form select.valid,section#add-contribution form select:focus,section#add-contributor form input[type=text].valid,section#add-contributor form input[type=text]:focus,section#add-contributor form select.valid,section#add-contributor form select:focus,section#add-proposal form input[type=text].valid,section#add-proposal form input[type=text]:focus,section#add-proposal form select.valid,section#add-proposal form select:focus{background-color:rgba(22,21,40,.6)}section#add-contribution form input[type=text]:focus,section#add-contribution form select:focus,section#add-contributor form input[type=text]:focus,section#add-contributor form select:focus,section#add-proposal form input[type=text]:focus,section#add-proposal form select:focus{border-color:#68d7fb}table.contributor-list tr:first-of-type,ul.contribution-list li:first-of-type{border-top:1px solid rgba(255,255,255,.2)}section#add-contribution form input[type=text]::placeholder,section#add-contribution form select::placeholder,section#add-contributor form input[type=text]::placeholder,section#add-contributor form select::placeholder,section#add-proposal form input[type=text]::placeholder,section#add-proposal form select::placeholder{color:rgba(238,238,238,.5)}section#add-contribution form select,section#add-contributor form select,section#add-proposal form select{-moz-appearance:none;-webkit-appearance:none;appearance:none;border-radius:0;background-color:rgba(22,21,40,.6);background-image:linear-gradient(45deg,transparent 50%,gray 50%),linear-gradient(135deg,gray 50%,transparent 50%);background-position:calc(100% - 1.5rem) calc(1rem + .5rem),calc(100% - 1rem) calc(1rem + .5rem);background-size:.5rem .5rem,.5rem .5rem;background-repeat:no-repeat}section#add-contribution form select:invalid,section#add-contributor form select:invalid,section#add-proposal form select:invalid{color:rgba(238,238,238,.5)}section#add-contribution form input[type=submit],section#add-contributor form input[type=submit],section#add-proposal form input[type=submit]{padding:.6rem 2rem}section#add-contribution form input[type=submit]:disabled,section#add-contributor form input[type=submit]:disabled,section#add-proposal form input[type=submit]:disabled{background-color:transparent}section#add-contribution form input[type=checkbox],section#add-contributor form input[type=checkbox],section#add-proposal form input[type=checkbox]{display:none}section#add-contribution form label.checkbox,section#add-contributor form label.checkbox,section#add-proposal form label.checkbox{line-height:3.2rem;font-size:1.2rem}section#add-contribution form label.checkbox::before,section#add-contributor form label.checkbox::before,section#add-proposal form label.checkbox::before{display:inline-block;margin-right:.8rem;height:3.2rem;width:3.2rem;font-size:2rem;background-color:rgba(22,21,40,.3);border-bottom:1px solid rgba(255,255,255,.2);text-align:center;vertical-align:middle;content:'✓';color:rgba(255,255,255,.2)}section#add-contribution form input[type=checkbox]:checked+label.checkbox::before,section#add-contributor form input[type=checkbox]:checked+label.checkbox::before,section#add-proposal form input[type=checkbox]:checked+label.checkbox::before{background-color:rgba(22,21,40,.6);color:#fff}table.contributor-list tr,ul.contribution-list li{background-color:rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.2)}.quick-filter{font-size:1.2rem;margin-bottom:2rem}.quick-filter label,.quick-filter p{font-size:inherit}.quick-filter p{padding:.2rem 0 0}.quick-filter label+label{margin-left:3.6rem}ul.contribution-list{clear:both;width:100%;list-style:none}ul.contribution-list li{display:grid;grid-template-columns:auto 5rem 5rem;grid-row-gap:.5rem;padding:.8rem 1.2rem;font-size:1.2rem}.external-accounts a,section#contributor-profile .content ul.external-accounts li{display:inline-block}ul.contribution-list li.confirmed,ul.contribution-list li.vetoed{grid-template-columns:auto 5rem}ul.contribution-list li.vetoed{text-decoration:line-through;opacity:.6}ul.contribution-list li p{align-self:center;margin:0;font-size:inherit;line-height:2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.contribution-list li p.kredits-amount,ul.contribution-list li p.voting{text-align:right}ul.contribution-list li span{font-size:inherit}ul.contribution-list li span.title a{font-size:inherit;text-decoration:none;color:#fff}ul.contribution-list li span.title a:active,ul.contribution-list li span.title a:hover{color:#68d7fb}ul.contribution-list li .description{line-height:1.4em;font-size:1rem}ul.contribution-list li .category{color:#68d7fb;padding-right:.2rem}ul.contribution-list li .category.community{color:#fb6868}ul.contribution-list li .category.dev{color:#e068fb}ul.contribution-list li .category.design{color:#fbe468}ul.contribution-list li .category.docs{color:#97fb68}ul.contribution-list li .category.ops{color:#8f68fb}ul.contribution-list li .symbol{font-size:.8rem;padding-left:.2rem}ul.contribution-list li .votes{font-size:1rem;color:#68d7fb;margin-right:.5rem}table.contributor-list{width:100%;border-collapse:collapse;margin-bottom:1.5rem}table.contributor-list tr{cursor:pointer}table.contributor-list tr.selected{background-color:rgba(255,255,255,.2)}table.contributor-list tr td{padding:0 1.2rem;line-height:3.6rem}table.contributor-list tr td.person{text-align:left;font-size:1.2rem}table.contributor-list tr td.person img.avatar{margin-right:.2rem}table.contributor-list tr td.kredits{text-align:right}table.contributor-list tr td.kredits .amount{font-size:1.2rem;font-weight:500}table.contributor-list tr td.kredits .symbol{font-size:.8rem;padding-left:.2rem}section#contributor-profile{text-align:center}section#contributor-profile header{z-index:2;width:100%;text-align:center}section#contributor-profile header img{margin:0 auto;border:3px solid rgba(255,255,255,.2)}section#contributor-profile .content,ul.proposal-list li:first-of-type{border-top:1px solid rgba(255,255,255,.2)}section#contributor-profile .content{z-index:1;width:100%;margin:-7.2rem 0 1.5rem;padding:6rem 1.2rem 2rem;border-bottom:1px solid rgba(255,255,255,.2);background-color:rgba(255,255,255,.1)}section#contributor-profile .content h2{text-align:center;margin-bottom:.6rem}section#contributor-profile .content p.role{margin-bottom:2rem}section#contributor-profile .content ul.external-accounts{list-style:none}section#contributor-profile .content ul.external-accounts li+li{margin-left:.6rem}section#contributor-profile .actions .button{margin-bottom:.6rem}.external-accounts a{width:4rem;height:4rem;padding:.8rem;background-color:rgba(0,0,0,.3);color:#fff;border-radius:2rem}.external-accounts a span.site{display:none}.external-accounts a svg{display:block;position:relative;width:100%;height:100%}.external-accounts a svg .fg{fill:#fff}.external-accounts a:active,.external-accounts a:hover{background-color:rgba(0,0,0,.5)}.external-accounts a:active svg .fg,.external-accounts a:hover svg .fg{fill:#68d7fb}@keyframes pulse{from{opacity:.1}to{opacity:.6}}.loading-spinner{margin-top:12rem;text-align:center;font-size:1.4rem;color:#68d7fb}@media (max-width:600px){.loading-spinner{margin-top:6rem}}.loading-spinner svg{width:200px;height:200px;margin-bottom:2rem}.loading-spinner svg #path-comet{fill:#68d7fb;opacity:.1;animation-name:pulse;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-direction:alternate;animation-duration:1s}ul.proposal-list{clear:both;width:100%;list-style:none}ul.proposal-list li{display:grid;grid-template-columns:auto 5rem;grid-row-gap:.5rem;padding:1rem 1.2rem;background-color:rgba(255,255,255,.1);font-size:1.2rem;border-bottom:1px solid rgba(255,255,255,.2)}ul.proposal-list li p{align-self:center;margin:0;font-size:inherit;line-height:2rem}ul.proposal-list li p.kredits-amount,ul.proposal-list li p.voting{text-align:right}ul.proposal-list li p.description,ul.proposal-list li p.voting{grid-column-start:span 2}ul.proposal-list li span{font-size:inherit}ul.proposal-list li .description{line-height:1.4em;font-size:1rem}ul.proposal-list li .category{color:#68d7fb;padding-right:.2rem}ul.proposal-list li .category.community{color:#fb6868}ul.proposal-list li .category.dev{color:#e068fb}ul.proposal-list li .category.design{color:#fbe468}ul.proposal-list li .category.docs{color:#97fb68}ul.proposal-list li .category.ops{color:#8f68fb}ul.proposal-list li .symbol{font-size:1rem;padding-left:.2rem}ul.proposal-list li .votes{font-size:1rem;color:#68d7fb;margin-right:.5rem}@media (min-width:550px){ul.proposal-list li{grid-template-columns:auto 10rem;grid-row-gap:.5rem}ul.proposal-list li p.kredits-amount,ul.proposal-list li p.voting,ul.proposal-list li.unconfirmed p.kredits-amount,ul.proposal-list li.unconfirmed p.voting{text-align:right}ul.proposal-list li.unconfirmed p.description,ul.proposal-list li.unconfirmed p.voting{grid-column-start:span 1}ul.proposal-list li .description{font-size:inherit}}#topbar{padding:0 1rem;height:3rem;line-height:3rem;background-color:rgba(0,0,0,.3)}@media (min-width:961px){#topbar{padding:0 2rem;height:4rem;line-height:4rem}}#topbar h1{display:inline-block;text-transform:uppercase}#topbar h1 a{color:inherit;text-decoration:none}#topbar section#user-account{display:inline-block;float:right}img.avatar{width:2rem;height:2rem;vertical-align:middle;margin-right:.2rem;border-radius:1rem}img.avatar.medium{margin:0;width:10rem;height:10rem;border-radius:5rem}img.avatar.large{margin:0;width:256px;height:256px;border-radius:128px} \ No newline at end of file diff --git a/release/assets/vendor-80a68be62538fc452f619ea272efa683.js b/release/assets/vendor-13953d1578bf9c8e1d4dec9854bc4804.js similarity index 73% rename from release/assets/vendor-80a68be62538fc452f619ea272efa683.js rename to release/assets/vendor-13953d1578bf9c8e1d4dec9854bc4804.js index 363923a6..1f4235cf 100644 --- a/release/assets/vendor-80a68be62538fc452f619ea272efa683.js +++ b/release/assets/vendor-13953d1578bf9c8e1d4dec9854bc4804.js @@ -108,10 +108,10 @@ return n},map:function(e,t,r){var n,i,o=0,s=[] if(S(e))for(n=e.length;o+~]|"+L+")"+L+"*"),q=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(F),W=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,$=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ee=function(e,t,r){var n="0x"+t-65536 +var E=function(e){var t,r,n,i,o,a,s,u,l,c,f,h,d,p,m,y,g,v,b,w="sizzle"+1*new Date,_=e.document,S=0,E=0,k=ae(),x=ae(),A=ae(),M=function(e,t){return e===t&&(f=!0),0},I={}.hasOwnProperty,C=[],T=C.pop,P=C.push,O=C.push,R=C.slice,N=function(e,t){for(var r=0,n=e.length;r+~]|"+B+")"+B+"*"),q=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),V=new RegExp(F),W=new RegExp("^"+D+"$"),G={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,$=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),ee=function(e,t,r){var n="0x"+t-65536 return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ne=function(){h()},ie=ve(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"}) -try{O.apply(I=R.call(_.childNodes),_.childNodes),I[_.childNodes.length].nodeType}catch(Ee){O={apply:I.length?function(e,t){P.apply(e,R.call(t))}:function(e,t){for(var r=e.length,n=0;e[r++]=t[n++];);e.length=r-1}}}function oe(e,t,n,i){var o,s,l,c,f,p,g,v=t&&t.ownerDocument,S=t?t.nodeType:9 +try{O.apply(C=R.call(_.childNodes),_.childNodes),C[_.childNodes.length].nodeType}catch(Ee){O={apply:C.length?function(e,t){P.apply(e,R.call(t))}:function(e,t){for(var r=e.length,n=0;e[r++]=t[n++];);e.length=r-1}}}function oe(e,t,n,i){var o,s,l,c,f,p,g,v=t&&t.ownerDocument,S=t?t.nodeType:9 if(n=n||[],"string"!=typeof e||!e||1!==S&&9!==S&&11!==S)return n if(!i&&((t?t.ownerDocument||t:_)!==d&&h(t),t=t||d,m)){if(11!==S&&(f=X.exec(e)))if(o=f[1]){if(9===S){if(!(l=t.getElementById(o)))return n if(l.id===o)return n.push(l),n}else if(v&&(l=v.getElementById(o))&&b(t,l)&&l.id===o)return n.push(l),n}else{if(f[2])return O.apply(n,t.getElementsByTagName(e)),n @@ -133,9 +133,9 @@ return r&&r.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m) if(o){if((r=o.getAttributeNode("id"))&&r.value===e)return[o] for(i=t.getElementsByName(e),n=0;o=i[n++];)if((r=o.getAttributeNode("id"))&&r.value===e)return[o]}return[]}}),n.find.TAG=r.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,n=[],i=0,o=t.getElementsByTagName(e) if("*"===e){for(;r=o[i++];)1===r.nodeType&&n.push(r) -return n}return o},n.find.CLASS=r.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],y=[],(r.qsa=Z.test(d.querySelectorAll))&&(ue(function(e){p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+L+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+L+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+w+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="" +return n}return o},n.find.CLASS=r.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],y=[],(r.qsa=Z.test(d.querySelectorAll))&&(ue(function(e){p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+B+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+w+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="" var t=d.createElement("input") -t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+L+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(r.matchesSelector=Z.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){r.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),g.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode +t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+B+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(r.matchesSelector=Z.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){r.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),g.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode return e===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0 return!1},M=t?function(e,t){if(e===t)return f=!0,0 var n=!e.compareDocumentPosition-!t.compareDocumentPosition @@ -148,7 +148,7 @@ for(r=t;r=r.parentNode;)s.unshift(r) for(;a[n]===s[n];)n++ return n?ce(a[n],s[n]):a[n]===_?-1:s[n]===_?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&h(e),t=t.replace(q,"='$1']"),r.matchesSelector&&m&&!A[t+" "]&&(!g||!g.test(t))&&(!y||!y.test(t)))try{var n=v.call(e,t) if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ee){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&h(e),b(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&h(e) -var i=n.attrHandle[t.toLowerCase()],o=i&&C.call(n.attrHandle,t.toLowerCase())?i(e,t,!m):void 0 +var i=n.attrHandle[t.toLowerCase()],o=i&&I.call(n.attrHandle,t.toLowerCase())?i(e,t,!m):void 0 return void 0!==o?o:r.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,re)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,n=[],i=0,o=0 if(f=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(M),f){for(;t=e[o++];)t===e[o]&&(i=n.push(o)) for(;i--;)e.splice(n[i],1)}return c=null,e},i=oe.getText=function(e){var t,r="",n=0,o=e.nodeType @@ -157,7 +157,7 @@ for(e=e.firstChild;e;e=e.nextSibling)r+=i(e)}else if(3===o||4===o)return e.nodeV return r},(n=oe.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,ee),e[3]=(e[3]||e[4]||e[5]||"").replace($,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2] return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&V.test(r)&&(t=a(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace($,ee).toLowerCase() return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "] -return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(n){var i=oe.attr(n,e) +return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(n){var i=oe.attr(n,e) return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(U," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,u){var l,c,f,h,d,p,m=o!==a?"nextSibling":"previousSibling",y=t.parentNode,g=s&&t.nodeName.toLowerCase(),v=!u&&!s,b=!1 if(y){if(o){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1 @@ -203,22 +203,22 @@ w=we(w)}O.apply(u,w),c&&!o&&w.length>0&&g+t.length>1&&oe.uniqueSort(u)}return c& return r?se(o):o}(o,i))).selector=e}return s},u=oe.select=function(e,t,r,i){var o,u,l,c,f,h="function"==typeof e&&e,d=!i&&a(e=h.selector||e) if(r=r||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&n.relative[u[1].type]){if(!(t=(n.find.ID(l.matches[0].replace($,ee),t)||[])[0]))return r h&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=G.needsContext.test(e)?0:u.length;o--&&(l=u[o],!n.relative[c=l.type]);)if((f=n.find[c])&&(i=f(l.matches[0].replace($,ee),Q.test(u[0].type)&&me(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ge(u)))return O.apply(r,i),r -break}}return(h||s(e,d))(i,t,!m,r,!t||Q.test(e)&&me(t.parentNode)||t),r},r.sortStable=w.split("").sort(M).join("")===w,r.detectDuplicates=!!f,h(),r.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),r.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(B,function(e,t,r){var n +break}}return(h||s(e,d))(i,t,!m,r,!t||Q.test(e)&&me(t.parentNode)||t),r},r.sortStable=w.split("").sort(M).join("")===w,r.detectDuplicates=!!f,h(),r.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),r.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(L,function(e,t,r){var n if(!r)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),oe}(e) w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape var k=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(r))break n.push(e)}return n},x=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e) return r},A=w.expr.match.needsContext -function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i -function I(e,t,r){return m(t)?w.grep(e,function(e,n){return!!t.call(e,n,e)!==r}):t.nodeType?w.grep(e,function(e){return e===t!==r}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==r}):w.filter(t,e,r)}w.filter=function(e,t,r){var n=t[0] +function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i +function C(e,t,r){return m(t)?w.grep(e,function(e,n){return!!t.call(e,n,e)!==r}):t.nodeType?w.grep(e,function(e){return e===t!==r}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==r}):w.filter(t,e,r)}w.filter=function(e,t,r){var n=t[0] return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?w.find.matchesSelector(n,e)?[n]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,r,n=this.length,i=this if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(r):r},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&A.test(e)?w(e):e||[],!1).length}}) +return n>1?w.uniqueSort(r):r},filter:function(e){return this.pushStack(C(this,e||[],!1))},not:function(e){return this.pushStack(C(this,e||[],!0))},is:function(e){return!!C(this,"string"==typeof e&&A.test(e)?w(e):e||[],!1).length}}) var T,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,r){var i,o if(!e)return this if(r=r||T,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!i[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e) -if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:n,!0)),C.test(i[1])&&w.isPlainObject(t))for(i in t)m(this[i])?this[i](t[i]):this.attr(i,t[i]) +if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:n,!0)),I.test(i[1])&&w.isPlainObject(t))for(i in t)m(this[i])?this[i](t[i]):this.attr(i,t[i]) return this}return(o=n.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==r.ready?r.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,T=w(n) var O=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0} function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),r=t.length @@ -227,10 +227,10 @@ if(!A.test(e))for(;n1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,r){return k(e,"parentNode",r)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,r){return k(e,"nextSibling",r)},prevUntil:function(e,t,r){return k(e,"previousSibling",r)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return M(e,"iframe")?e.contentDocument:(M(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(r,n){var i=w.map(this,t,r) return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=w.filter(n,i)),this.length>1&&(R[e]||w.uniqueSort(i),O.test(e)&&i.reverse()),this.pushStack(i)}}) -var B=/[^\x20\t\r\n\f]+/g -function L(e){return e}function j(e){throw e}function D(e,t,r,n){var i +var L=/[^\x20\t\r\n\f]+/g +function B(e){return e}function D(e){throw e}function j(e,t,r,n){var i try{e&&m(i=e.promise)?i.call(e).done(t).fail(r):e&&m(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}w.Callbacks=function(e){e="string"==typeof e?function(e){var t={} -return w.each(e.match(B)||[],function(e,r){t[r]=!0}),t}(e):w.extend({},e) +return w.each(e.match(L)||[],function(e,r){t[r]=!0}),t}(e):w.extend({},e) var t,r,n,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s-1;)o.splice(r,1),r<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return i=a=[],r||t||(o=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}} return l},w.extend({Deferred:function(t){var r=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments @@ -239,12 +239,12 @@ o[n[1]](function(){var e=i&&i.apply(this,arguments) e&&m(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,n,i){var o=0 function a(t,r,n,i){return function(){var s=this,u=arguments,l=function(){var e,l if(!(t=o&&(n!==j&&(s=void 0,u=[e]),r.rejectWith(s,u))}} -t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){r[0][3].add(a(0,e,m(i)?i:L,e.notifyWith)),r[1][3].add(a(0,e,m(t)?t:L)),r[2][3].add(a(0,e,m(n)?n:j))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={} +l=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(l)?i?l.call(e,a(o,r,B,i),a(o,r,D,i)):(o++,l.call(e,a(o,r,B,i),a(o,r,D,i),a(o,r,B,r.notifyWith))):(n!==B&&(s=void 0,u=[e]),(i||r.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(n!==D&&(s=void 0,u=[e]),r.rejectWith(s,u))}} +t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){r[0][3].add(a(0,e,m(i)?i:B,e.notifyWith)),r[1][3].add(a(0,e,m(t)?t:B)),r[2][3].add(a(0,e,m(n)?n:D))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={} return w.each(r,function(e,t){var a=t[2],s=t[5] i[t[1]]=a.add,s&&a.add(function(){n=s},r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,r=t,n=Array(r),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?o.call(arguments):r,--t||a.resolveWith(n,i)}} -if(t<=1&&(D(e,a.done(s(r)).resolve,a.reject,!t),"pending"===a.state()||m(i[r]&&i[r].then)))return a.then() -for(;r--;)D(i[r],s(r),a.reject) +if(t<=1&&(j(e,a.done(s(r)).resolve,a.reject,!t),"pending"===a.state()||m(i[r]&&i[r].then)))return a.then() +for(;r--;)j(i[r],s(r),a.reject) return a.promise()}}) var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/ w.Deferred.exceptionHook=function(t,r){e.console&&e.console.warn&&t&&F.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,r)},w.readyException=function(t){e.setTimeout(function(){throw t})} @@ -260,7 +260,7 @@ return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this if("string"==typeof t)i[W(t)]=r else for(n in t)i[W(n)]=t[n] return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][W(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando] -if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(W):(t=W(t))in n?[t]:t.match(B)||[]).length +if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(W):(t=W(t))in n?[t]:t.match(L)||[]).length for(;r--;)delete n[t[r]]}(void 0===t||w.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando] return void 0!==t&&!w.isEmptyObject(t)}} var J=new Y,Z=new Y,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g @@ -306,8 +306,8 @@ if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)Ae(e,s,r, return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=ke else if(!i)return e return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,n,r)})}w.event={global:{},add:function(e,t,r,n,i){var o,a,s,u,l,c,f,h,d,p,m,y=J.get(e) -if(y)for(r.handler&&(r=(o=r).handler,i=o.selector),i&&w.find.matchesSelector(be,i),r.guid||(r.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(B)||[""]).length;l--;)d=m=(s=Se.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:m,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[d])||((h=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,n,p,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),w.event.global[d]=!0)},remove:function(e,t,r,n,i){var o,a,s,u,l,c,f,h,d,p,m,y=J.hasData(e)&&J.get(e) -if(y&&(u=y.events)){for(l=(t=(t||"").match(B)||[""]).length;l--;)if(d=m=(s=Se.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},h=u[d=(n?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&m!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(e,c)) +if(y)for(r.handler&&(r=(o=r).handler,i=o.selector),i&&w.find.matchesSelector(be,i),r.guid||(r.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(L)||[""]).length;l--;)d=m=(s=Se.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:m,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[d])||((h=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,n,p,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),w.event.global[d]=!0)},remove:function(e,t,r,n,i){var o,a,s,u,l,c,f,h,d,p,m,y=J.hasData(e)&&J.get(e) +if(y&&(u=y.events)){for(l=(t=(t||"").match(L)||[""]).length;l--;)if(d=m=(s=Se.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},h=u[d=(n?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&m!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(e,c)) a&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,p,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],r,n,!0) w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,o,a,s=w.event.fix(e),u=new Array(arguments.length),l=(J.get(this,"events")||{})[s.type]||[],c=w.event.special[s.type]||{} for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Ce=/\s*$/g +var Me=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ie=/\s*$/g function Pe(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var r,n,i,o,a,s,u,l if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(r=0,n=l[i].length;r1&&"string"==typeof y&&!p.checkClone&&Ie.test(y))return e.each(function(i){var o=e.eq(i) -g&&(t[0]=y.call(this,i,o.html())),Be(o,t,r,n)}) +if(g||h>1&&"string"==typeof y&&!p.checkClone&&Ce.test(y))return e.each(function(i){var o=e.eq(i) +g&&(t[0]=y.call(this,i,o.html())),Le(o,t,r,n)}) if(h&&(o=(i=ve(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(u=(s=w.map(de(i,"script"),Oe)).length;f")},clone:function(e,t,r){var n,i,o,a,s,u,l,c=e.cloneNode(!0),f=w.contains(e.ownerDocument,e) if(!(p.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=de(c),n=0,i=(o=de(e)).length;n0&&pe(a,!f&&de(e,"script")),c},cleanData:function(e){for(var t,r,n,i=w.event.special,o=0;void 0!==(r=e[o]);o++)if(G(r)){if(t=r[J.expando]){if(t.events)for(n in t.events)i[n]?w.event.remove(r,n):w.removeEvent(r,n,t.handle) -r[J.expando]=void 0}r[Z.expando]&&(r[Z.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Le(this,e,!0)},remove:function(e){return Le(this,e)},text:function(e){return K(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Be(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return Be(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e) -t.insertBefore(e,t.firstChild)}})},before:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(de(e,!1)),e.textContent="") +r[J.expando]=void 0}r[Z.expando]&&(r[Z.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return K(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Le(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return Le(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e) +t.insertBefore(e,t.firstChild)}})},before:function(){return Le(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Le(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(de(e,!1)),e.textContent="") return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return K(this,function(e){var t=this[0]||{},r=0,n=this.length if(void 0===e&&1===t.nodeType)return t.innerHTML -if("string"==typeof e&&!Ce.test(e)&&!he[(ce.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e) +if("string"==typeof e&&!Ie.test(e)&&!he[(ce.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e) try{for(;r=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function Xe(e,t,r){var n=De(e),i=Ue(e,t,n),o="border-box"===w.css(e,"boxSizing",!1,n),a=o -if(je.test(i)){if(!r)return i +return!n&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function Xe(e,t,r){var n=je(e),i=Ue(e,t,n),o="border-box"===w.css(e,"boxSizing",!1,n),a=o +if(De.test(i)){if(!r)return i i="auto"}return a=a&&(p.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,n))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,r||(o?"border":"content"),a,n,i)+"px"}function Qe(e,t,r,n,i){return new Qe.prototype.init(e,t,r,n,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Ue(e,"opacity") return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=W(t),u=He.test(t),l=e.style if(u||(t=Ye(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(e,!1,n))?i:l[t] "string"===(o=typeof r)&&(i=te.exec(r))&&i[1]&&(r=oe(e,t,i),o="number"),null!=r&&r==r&&("number"===o&&(r+=i&&i[3]||(w.cssNumber[s]?"":"px")),p.clearCloneStyle||""!==r||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(u?l.setProperty(t,r):l[t]=r))}},css:function(e,t,r,n){var i,o,a,s=W(t) -return He.test(t)||(t=Ye(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=Ue(e,t,n)),"normal"===i&&t in Ve&&(i=Ve[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,r,n){if(r)return!Ke.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Xe(e,t,n):ie(e,qe,function(){return Xe(e,t,n)})},set:function(e,r,n){var i,o=De(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=n&&Ze(e,t,n,a,o) +return He.test(t)||(t=Ye(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=Ue(e,t,n)),"normal"===i&&t in Ve&&(i=Ve[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,r,n){if(r)return!Ke.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Xe(e,t,n):ie(e,qe,function(){return Xe(e,t,n)})},set:function(e,r,n){var i,o=je(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=n&&Ze(e,t,n,a,o) return a&&p.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=te.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=w.css(e,t)),Je(0,r,s)}}}),w.cssHooks.marginLeft=ze(p.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-ie(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+re[n]+t]=o[n]||o[n-2]||o[0] return i}},"margin"!==e&&(w.cssHooks[e+t].set=Je)}),w.fn.extend({css:function(e,t){return K(this,function(e,t,r){var n,i,o={},a=0 -if(Array.isArray(t)){for(n=De(e),i=t.length;a1)}}),w.Tween=Qe,Qe.prototype={constructor:Qe,init:function(e,t,r,n,i,o){this.elem=e,this.prop=r,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(w.cssNumber[r]?"":"px")},cur:function(){var e=Qe.propHooks[this.prop] return e&&e.get?e.get(this):Qe.propHooks._default.get(this)},run:function(e){var t,r=Qe.propHooks[this.prop] return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):Qe.propHooks._default.set(this),this}},Qe.prototype.init.prototype=Qe.prototype,Qe.propHooks={_default:{get:function(e){var t @@ -391,7 +391,7 @@ for(function(e,t){var r,n,i,o,a for(r in e)if(i=t[n=W(r)],o=e[r],Array.isArray(o)&&(i=o[1],o=e[r]=o[0]),r!==n&&(e[n]=o,delete e[r]),(a=w.cssHooks[n])&&"expand"in a)for(r in o=a.expand(o),delete e[n],o)r in e||(e[r]=o[r],t[r]=i) else t[n]=i}(c,l.opts.specialEasing);o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,r){var n,i,o=e.nodeType if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?w.prop(e,t,r):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ut:void 0)),void 0!==r?null===r?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=w.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&M(e,"input")){var r=e.value -return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(B) +return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(L) if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),ut={set:function(e,t,r){return!1===t?w.removeAttr(e,r):e.setAttribute(r,r),r}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var r=lt[t]||w.find.attr lt[t]=function(e,t,n){var i,o,a=t.toLowerCase() return n||(o=lt[a],lt[a]=i,i=null!=r(e,t,n)?a:null,lt[a]=o),i}}) var ct=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i -function ht(e){return(e.match(B)||[]).join(" ")}function dt(e){return e.getAttribute&&e.getAttribute("class")||""}function pt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(B)||[]}w.fn.extend({prop:function(e,t){return K(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,r){var n,i,o=e.nodeType +function ht(e){return(e.match(L)||[]).join(" ")}function dt(e){return e.getAttribute&&e.getAttribute("class")||""}function pt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}w.fn.extend({prop:function(e,t){return K(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,r){var n,i,o=e.nodeType if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex") return t?parseInt(t,10):ct.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode @@ -470,27 +470,27 @@ return n.join("&")},w.fn.extend({serialize:function(){return w.param(this.serial return e?w.makeArray(e):this}).filter(function(){var e=this.type return this.name&&!w(this).is(":disabled")&&kt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!le.test(e))}).map(function(e,t){var r=w(this).val() return null==r?null:Array.isArray(r)?w.map(r,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:r.replace(St,"\r\n")}}).get()}}) -var At=/%20/g,Mt=/#.*$/,Ct=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Tt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Ot={},Rt={},Nt="*/".concat("*"),Bt=n.createElement("a") -function Lt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*") -var n,i=0,o=t.toLowerCase().match(B)||[] -if(m(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function jt(e,t,r,n){var i={},o=e===Rt +var At=/%20/g,Mt=/#.*$/,It=/([?&])_=[^&]*/,Ct=/^(.*?):[ \t]*([^\r\n]*)$/gm,Tt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Ot={},Rt={},Nt="*/".concat("*"),Lt=n.createElement("a") +function Bt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*") +var n,i=0,o=t.toLowerCase().match(L)||[] +if(m(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Dt(e,t,r,n){var i={},o=e===Rt function a(s){var u return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,r,n) -return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Dt(e,t){var r,n,i=w.ajaxSettings.flatOptions||{} +return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function jt(e,t){var r,n,i=w.ajaxSettings.flatOptions||{} for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]) -return n&&w.extend(!0,e,n),e}Bt.href=vt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Dt(Dt(e,w.ajaxSettings),t):Dt(w.ajaxSettings,e)},ajaxPrefilter:Lt(Ot),ajaxTransport:Lt(Rt),ajax:function(t,r){"object"==typeof t&&(r=t,t=void 0),r=r||{} +return n&&w.extend(!0,e,n),e}Lt.href=vt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?jt(jt(e,w.ajaxSettings),t):jt(w.ajaxSettings,e)},ajaxPrefilter:Bt(Ot),ajaxTransport:Bt(Rt),ajax:function(t,r){"object"==typeof t&&(r=t,t=void 0),r=r||{} var i,o,a,s,u,l,c,f,h,d,p=w.ajaxSetup({},r),m=p.context||p,y=p.context&&(m.nodeType||m.jquery)?w(m):w.event,g=w.Deferred(),v=w.Callbacks("once memory"),b=p.statusCode||{},_={},S={},E="canceled",k={readyState:0,getResponseHeader:function(e){var t -if(c){if(!s)for(s={};t=It.exec(a);)s[t[1].toLowerCase()]=t[2] +if(c){if(!s)for(s={};t=Ct.exec(a);)s[t[1].toLowerCase()]=t[2] t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=S[e.toLowerCase()]=S[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t if(e)if(c)k.always(e[k.status]) else for(t in e)b[t]=[b[t],e[t]] return this},abort:function(e){var t=e||E return i&&i.abort(t),x(0,t),this}} -if(g.promise(k),p.url=((t||p.url||vt.href)+"").replace(Pt,vt.protocol+"//"),p.type=r.method||r.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(B)||[""],null==p.crossDomain){l=n.createElement("a") -try{l.href=p.url,l.href=l.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(A){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),jt(Ot,p,r,k),c)return k -for(h in(f=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Tt.test(p.type),o=p.url.replace(Mt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(At,"+")):(d=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(wt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ct,"$1"),d=(wt.test(o)?"&":"?")+"_="+bt+++d),p.url=o+d),p.ifModified&&(w.lastModified[o]&&k.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&k.setRequestHeader("If-None-Match",w.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||r.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Nt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(h,p.headers[h]) +if(g.promise(k),p.url=((t||p.url||vt.href)+"").replace(Pt,vt.protocol+"//"),p.type=r.method||r.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(L)||[""],null==p.crossDomain){l=n.createElement("a") +try{l.href=p.url,l.href=l.href,p.crossDomain=Lt.protocol+"//"+Lt.host!=l.protocol+"//"+l.host}catch(A){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),Dt(Ot,p,r,k),c)return k +for(h in(f=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Tt.test(p.type),o=p.url.replace(Mt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(At,"+")):(d=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(wt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(It,"$1"),d=(wt.test(o)?"&":"?")+"_="+bt+++d),p.url=o+d),p.ifModified&&(w.lastModified[o]&&k.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&k.setRequestHeader("If-None-Match",w.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||r.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Nt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(h,p.headers[h]) if(p.beforeSend&&(!1===p.beforeSend.call(m,k,p)||c))return k.abort() -if(E="abort",v.add(p.complete),k.done(p.success),k.fail(p.error),i=jt(Rt,p,r,k)){if(k.readyState=1,f&&y.trigger("ajaxSend",[k,p]),c)return k +if(E="abort",v.add(p.complete),k.done(p.success),k.fail(p.error),i=Dt(Rt,p,r,k)){if(k.readyState=1,f&&y.trigger("ajaxSend",[k,p]),c)return k p.async&&p.timeout>0&&(u=e.setTimeout(function(){k.abort("timeout")},p.timeout)) try{c=!1,i.send(_,x)}catch(A){if(c)throw A x(-1,A)}}else x(-1,"No Transport") @@ -520,7 +520,7 @@ if(e.crossDomain)return{send:function(i,o){t=w(" - + +