{"version":3,"sources":["webpack:///./src/views/game/buyGold/Index.vue","webpack:///./src/services/buyGoldService.js","webpack:///src/views/game/buyGold/Index.vue","webpack:///./src/views/game/buyGold/Index.vue?229e","webpack:///./src/views/game/buyGold/Index.vue?7748","webpack:///./src/assets/images/icon/game-toolbar/fanpage-gray.svg","webpack:///./src/assets/images/icon/game-toolbar/download.svg","webpack:///./src/services/gameService.js","webpack:///./src/assets/images/icon/game-toolbar/homepage-grey.svg","webpack:///./src/services/serverGameService.js","webpack:///./src/services/roleService.js","webpack:///./src/components/headers/GameHeader.vue","webpack:///src/components/headers/GameHeader.vue","webpack:///./src/components/headers/GameHeader.vue?37da","webpack:///./src/components/headers/GameHeader.vue?11b3","webpack:///./src/components/headers/GameHeader.vue?06a9"],"names":["render","_vm","this","_c","_self","staticClass","attrs","title","_v","_s","ref","on","$event","preventDefault","onSubmit","scopedSlots","_u","key","fn","errors","servers","loading","formData","idGame","model","value","idServer","callback","$$v","$set","expression","roles","idRole","moneys","money","game","$t","goldName","staticRenderFns","buyGoldService","data","httpHelper","get","reCaptchaToken","post","headers","name","components","GameHeader","id","created","$bridge","$on","onSetGame","beforeDestroy","$off","methods","loadMoneys","$gotoHomePage","response","getRules","error","dialogHelper","alert","message","loadServers","serverGameService","getAllByGame","length","valid","$refs","form","validate","$recaptchaLoaded","buy","$recaptcha","watch","newValue","roleService","getRolesByServer","component","module","exports","gameService","aliasUrl","_t","pageName","label","click","$router","push","params","_e","iconUrl","getUrl","downloadUrl","require","homeUrl","fanpageUrl","props","$route","json","window","sessionStorage","getItem","JSON","parse","e","console","log","$store","dispatch","$emit","detail","setItem","stringify"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACF,EAAG,aAAa,CAACG,MAAM,CAAC,YAAYL,EAAIM,SAASJ,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,OAJA,KAAAA,aACA,KAAA2E,OAAAC,SAAA,iBAAA5E,GACA,KAAAgB,QAAA6D,MAAA,iBAAA7E,QACA,KAAAd,SAAA,GAIA,MAAAsC,QAAAwB,OAAA8B,OAAA7B,GACA,IAAAzB,EAKA,OAJA,KAAAtC,SAAA,aACAyC,OAAAC,MACA,mEAKA5B,EAAAwB,EAAAnB,WACA,KAAAsE,OAAAC,SAAA,iBAAA5E,GACA,IACAmE,OAAAC,eAAAW,QAAA,QAAA9B,EAAAqB,KAAAU,UAAAhF,IACA,MAAAwE,GACAC,QAAAC,IAAAF,GAGA,KAAAxE,OACA,KAAAd,SAAA,EACA,KAAA8B,QAAA6D,MAAA,iBAAA7E,KC/HkW,I,wBCQ9V6C,EAAY,eACd,EACAhF,EACAsC,GACA,EACA,KACA,WACA,MAIa,OAAA0C,E,2CCnBf,W","file":"js/chunk-0f8ee620.b1351b6b.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"page page-account\"},[_c('b-col',{staticClass:\"py-3\"},[_c('GameHeader',{attrs:{\"page-name\":_vm.title}}),_c('RowLine'),_c('div',{staticClass:\"game-feature\"},[_c('h1',{staticClass:\"feature-title\"},[_vm._v(_vm._s(_vm.title))]),_c('ValidationObserver',{ref:\"form\",staticClass:\"form app-form\",attrs:{\"tag\":\"form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit()}}},[_c('b-form-group',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('b-select',{attrs:{\"options\":_vm.servers,\"value-field\":\"id\",\"text-field\":\"name\",\"disabled\":_vm.loading || _vm.formData.idGame < 1},model:{value:(_vm.formData.idServer),callback:function ($$v) {_vm.$set(_vm.formData, \"idServer\", $$v)},expression:\"formData.idServer\"}}),_c('div',{staticClass:\"msg-validate-error\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('b-select',{attrs:{\"options\":_vm.roles,\"value-field\":\"id\",\"text-field\":\"name\",\"disabled\":_vm.loading || _vm.formData.idServer < 1},model:{value:(_vm.formData.idRole),callback:function ($$v) {_vm.$set(_vm.formData, \"idRole\", $$v)},expression:\"formData.idRole\"}}),_c('div',{staticClass:\"msg-validate-error\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('b-select',{attrs:{\"options\":_vm.moneys,\"value-field\":\"id\",\"text-field\":\"name\",\"disabled\":_vm.loading || _vm.formData.idRole < 1},model:{value:(_vm.formData.money),callback:function ($$v) {_vm.$set(_vm.formData, \"money\", $$v)},expression:\"formData.money\"}}),_c('div',{staticClass:\"msg-validate-error\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',[_c('b-button',{staticClass:\"font-weight-bold\",attrs:{\"type\":\"submit\",\"variant\":\"primary\",\"block\":\"\",\"size\":\"lg\",\"disabled\":_vm.loading}},[_vm._v(\" \"+_vm._s(_vm.game ? _vm.$t(\"Buy a {goldName} package\", {goldName: _vm.game.goldName}) : _vm.$t(\"Buy a gold package\"))+\" \")])],1),_c('b-form-group',{staticClass:\"pt-2\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(\" 1. \"+_vm._s(_vm.game && _vm.game.goldName)+\" is the currency used a lot in the Pokemon world, in terms of rarity and convenience, second only to diamonds. \")]),_c('div',[_vm._v(\" 2. This shop helps you to own gold quickly without spending much effort searching in the game. \")]),_c('div',{staticClass:\"font-weight-bold text-danger\"},[_vm._v(\" 3. Buying items at this Shop will not increase benefits or VIP points in the game, please pay attention to avoid miscalculation. \")]),_c('div',[_vm._v(\" 4. \"+_vm._s(_vm.game && _vm.game.goldName)+\" will be sent to in-game mail after purchase! \")])])],1),_c('LoadingModal',{attrs:{\"show\":_vm.loading}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import httpHelper from \"@/helpers/httpHelper\";\n\nconst buyGoldService = {\n async getRules(data) {\n return await httpHelper.get(\"/WebApi/BuyGold/GetRules\", data);\n },\n async buy(data, reCaptchaToken) {\n return await httpHelper.post(\"/WebApi/BuyGold/Buy\", data, {\n headers: {\n reCaptchaToken\n }\n });\n },\n};\n\nexport default buyGoldService;","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=51ed5927&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"51ed5927\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/fanpage-gray.2fdb72ff.svg\";","module.exports = __webpack_public_path__ + \"img/download.8daf6b98.svg\";","import httpHelper from \"@/helpers/httpHelper\";\n\nconst gameService = {\n async detail(aliasUrl) {\n return await httpHelper.get(\"/WebApi/Game/Detail\", {aliasUrl});\n },\n async getAll() {\n return await httpHelper.get(\"/WebApi/Game/GetAll\");\n }\n};\n\nexport default gameService;","module.exports = __webpack_public_path__ + \"img/homepage-grey.dea93aeb.svg\";","import httpHelper from \"@/helpers/httpHelper\";\n\nconst serverGameService = {\n async getAllByGame(idGame) {\n return await httpHelper.get(\"/WebApi/GameServer/GetAllByGame\", {idGame});\n },\n};\n\nexport default serverGameService;","import httpHelper from \"@/helpers/httpHelper\";\n\nconst roleService = {\n async getRolesByServer(idServer) {\n return await httpHelper.get(\"/WebApi/Role/GetRolesByServer\", {idServer});\n },\n};\n\nexport default roleService;","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"game-header\"},[(_vm.loading)?_c('LoadingPanel'):(_vm.game == null)?_c('NotFoundPanel'):_c('div',[_vm._t(\"breadcrumb\",function(){return [(_vm.game)?_c('div',[(_vm.pageName)?_c('Breadcrumb',{attrs:{\"items\":[\n {\n label: _vm.$t('Game detail'),\n click: () =>\n _vm.$router.push({\n name: 'GameDetail',\n params: { aliasUrl: _vm.game.aliasUrl },\n }),\n },\n { label: _vm.pageName },\n ]}}):_c('Breadcrumb',{attrs:{\"items\":[{ label: _vm.game.name }]}})],1):_vm._e()]},null,_vm.game),_c('div',{staticClass:\"d-flex\"},[_c('img',{staticClass:\"game-icon mr-3\",attrs:{\"src\":_vm.game.iconUrl.getUrl(),\"alt\":\"\"}}),_c('div',{staticClass:\"game-content\"},[_c('h1',{staticClass:\"game-name\"},[_vm._v(_vm._s(_vm.game.name))]),_c('div',{staticClass:\"game-links d-flex justify-content-between\"},[(_vm.game.downloadUrl && _vm.game.downloadUrl.length > 0)?_c('div',{staticClass:\"game-link\"},[_c('a',{attrs:{\"href\":_vm.game.downloadUrl,\"download\":\"\"}},[_c('img',{staticClass:\"mr-1\",attrs:{\"src\":require(\"../../assets/images/icon/game-toolbar/download.svg\"),\"alt\":\"\"}}),_vm._v(_vm._s(_vm.$t(\"Download game\"))+\" \")])]):_vm._e(),(_vm.game.homeUrl && _vm.game.homeUrl.length > 0)?_c('div',{staticClass:\"game-link\"},[_c('a',{attrs:{\"href\":_vm.game.homeUrl}},[_c('img',{staticClass:\"mr-1\",attrs:{\"src\":require(\"../../assets/images/icon/game-toolbar/homepage-grey.svg\"),\"alt\":\"\"}}),_vm._v(_vm._s(_vm.$t(\"Home page\"))+\" \")])]):_vm._e(),(_vm.game.fanpageUrl && _vm.game.fanpageUrl.length > 0)?_c('div',{staticClass:\"game-link\"},[_c('a',{attrs:{\"href\":_vm.game.fanpageUrl}},[_c('img',{staticClass:\"mr-1\",attrs:{\"src\":require(\"../../assets/images/icon/game-toolbar/fanpage-gray.svg\"),\"alt\":\"\"}}),_vm._v(_vm._s(_vm.$t(\"Fanpage\"))+\" \")])]):_vm._e()])])])],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GameHeader.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GameHeader.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./GameHeader.vue?vue&type=template&id=d23e3586&scoped=true\"\nimport script from \"./GameHeader.vue?vue&type=script&lang=js\"\nexport * from \"./GameHeader.vue?vue&type=script&lang=js\"\nimport style0 from \"./GameHeader.vue?vue&type=style&index=0&id=d23e3586&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d23e3586\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GameHeader.vue?vue&type=style&index=0&id=d23e3586&prod&scoped=true&lang=scss\""],"sourceRoot":""}