{"version":3,"sources":["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/views/game/pointShop/Index.vue","webpack:///./src/services/pointShopService.js","webpack:///src/views/game/pointShop/Index.vue","webpack:///./src/views/game/pointShop/Index.vue?56c7","webpack:///./src/views/game/pointShop/Index.vue?46a4","webpack:///./src/services/serverGameService.js","webpack:///./src/views/game/pointShop/Index.vue?11cc","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":["module","exports","gameService","aliasUrl","httpHelper","get","render","_vm","this","_c","_self","staticClass","attrs","$t","_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","_l","categories","category","index","id","idCategory","name","packages","length","item","buyTimes","domProps","_e","proxy","amount","$toString","$config","pointName","price","items","goods","i","imageUrl","getUrl","$n","quantity","staticRenderFns","pointShopService","data","reCaptchaToken","post","headers","components","GameHeader","timeout","idPointShop","created","$bridge","$on","onSetGame","beforeDestroy","$off","methods","game","loadServers","$gotoHomePage","clearTimeout","setTimeout","response","dialogHelper","alert","error","message","serverGameService","getAllByGame","confirm","$recaptchaLoaded","buy","$recaptcha","loadPackages","watch","newValue","roleService","getRolesByServer","component","_t","pageName","label","click","$router","push","params","iconUrl","downloadUrl","require","homeUrl","fanpageUrl","props","$route","json","window","sessionStorage","getItem","JSON","parse","e","console","log","$store","dispatch","$emit","detail","setItem","stringify"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,iC,uBCA3CD,EAAOC,QAAU,IAA0B,6B,yDCA3C,gBAEA,MAAMC,EAAc,CACh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AtH,GACAmH,IAAApC,EAAAwC,KAAAC,MAAAL,IACA,MAAAM,GACAC,QAAAC,IAAAF,GAGA,GAAA1C,EAKA,OAJA,KAAAA,aACA,KAAA6C,OAAAC,SAAA,iBAAA9C,GACA,KAAAN,QAAAqD,MAAA,iBAAA/C,QACA,KAAAvD,SAAA,GAIA,MAAA4D,QAAArF,OAAAgI,OAAA/H,GACA,IAAAoF,EAKA,OAJA,KAAA5D,SAAA,aACA6D,OAAAC,MACA,mEAKAP,EAAAK,EAAApB,WACA,KAAA4D,OAAAC,SAAA,iBAAA9C,GACA,IACAqC,OAAAC,eAAAW,QAAA,QAAAhI,EAAAuH,KAAAU,UAAAlD,IACA,MAAA0C,GACAC,QAAAC,IAAAF,GAGA,KAAA1C,OACA,KAAAvD,SAAA,EACA,KAAAiD,QAAAqD,MAAA,iBAAA/C,KC/HkW,I,wBCQ9VqB,EAAY,eACd,EACAjG,EACA2D,GACA,EACA,KACA,WACA,MAIa,OAAAsC,E,2CCnBf,W","file":"js/chunk-5810842c.70f9a36e.js","sourcesContent":["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\";","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.$t('Point shop')}}),_c('RowLine'),_c('div',{staticClass:\"game-feature\"},[_c('h1',{staticClass:\"feature-title\"},[_vm._v(_vm._s(_vm.$t(\"Point shop\")))]),_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',_vm._l((_vm.categories),function(category,index){return _c('b-button',{key:index,staticClass:\"btn-rounded mr-1 mb-1\",attrs:{\"variant\":category.id === _vm.formData.idCategory ? 'primary' : 'outline-primary'},on:{\"click\":function($event){_vm.formData.idCategory = category.id}}},[_vm._v(\" \"+_vm._s(category.name)+\" \")])}),1),(_vm.packages.length === 0)?_c('b-form-group',[_c('NotFoundPanel')],1):_c('b-form-group',[_c('b-row',_vm._l((_vm.packages),function(item,index){return _c('b-col',{key:index,staticClass:\"mb-3\",attrs:{\"sm\":\"6\"}},[_c('b-card',{staticClass:\"ws\",scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',[_c('h3',[_vm._v(_vm._s(item.name))]),(item.buyTimes > 0)?_c('div',{staticClass:\"ws-buy-times\",domProps:{\"innerHTML\":_vm._s(_vm.$t('You have {0} purchases left', [item.buyTimes]))}}):_vm._e()])]},proxy:true},{key:\"footer\",fn:function(){return [_c('div',{staticClass:\"d-flex align-items-center justify-content-between\"},[_c('div',[_c('div',{staticClass:\"ws-amount\"},[_c('b',[_vm._v(_vm._s(item.amount.$toString()))]),_vm._v(\" \"+_vm._s(_vm.$config.pointName))]),(item.price > item.amount)?_c('div',{staticClass:\"ws-price\"},[_vm._v(_vm._s(item.price.$toString())+\" \"+_vm._s(_vm.$config.pointName))]):_vm._e()]),_c('b-button',{staticClass:\"btn-rounded\",attrs:{\"variant\":\"primary\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.onSubmit(item)}}},[_vm._v(_vm._s(_vm.$t(\"Buy\")))])],1)]},proxy:true}],null,true)},[_c('perfect-scrollbar',_vm._l((item.items),function(goods,i){return _c('div',{key:i,staticClass:\"ws-goods\"},[_c('img',{attrs:{\"src\":goods.imageUrl.getUrl()}}),_vm._v(_vm._s(goods.name)+\" x \"+_vm._s(_vm.$n(goods.quantity)))])}),0)],1)],1)}),1)],1),_c('b-form-group',{staticClass:\"pt-2\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(\" 1. Point shop is a place to buy items with accumulated points received when you top up coins \")]),_c('div',{staticClass:\"font-weight-bold text-danger\"},[_vm._v(\" 2. Deposit 10,000 coins will correspond to 1 point. \")]),_c('div',[_vm._v(\" 3. Purchasing with Points will not affect your Coin amount. \")])])],1),_c('LoadingModal',{attrs:{\"show\":_vm.loading}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import httpHelper from \"@/helpers/httpHelper\";\n\nconst pointShopService = {\n async get(data) {\n return await httpHelper.get(\"/WebApi/PointShop/Get\", data);\n },\n async buy(data, reCaptchaToken) {\n return await httpHelper.post(\"/WebApi/PointShop/Buy\", data, {\n headers: {\n reCaptchaToken\n }\n });\n },\n};\n\nexport default pointShopService;","\n \n \n \n \n \n {{$t(\"Point shop\")}}\n \n \n \n \n {{ errors[0] }}\n \n \n \n \n \n {{ errors[0] }}\n \n \n \n \n {{category.name}}\n \n \n \n \n \n \n \n \n \n \n \n {{item.name}}\n 0\" class=\"ws-buy-times\" v-html=\"$t('You have {0} purchases left', [item.buyTimes])\">\n \n \n \n \n \n {{item.amount.$toString()}} {{$config.pointName}}\n item.amount\">{{item.price.$toString()}} {{$config.pointName}}\n \n {{$t(\"Buy\")}}\n \n \n \n {{goods.name}} x {{$n(goods.quantity)}}\n \n \n \n \n \n \n \n 1. Point shop is a place to buy items with accumulated points received when you top up coins\n \n \n 2. Deposit 10,000 coins will correspond to 1 point.\n \n \n 3. Purchasing with Points will not affect your Coin amount.\n \n \n \n \n \n \n \n\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=5d35853d&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=5d35853d&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 \"5d35853d\",\n null\n \n)\n\nexport default component.exports","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;","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!./Index.vue?vue&type=style&index=0&id=5d35853d&prod&scoped=true&lang=scss\"","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 \n \n \n $router.push({\n name: 'GameDetail',\n params: { aliasUrl: game.aliasUrl },\n }),\n },\n { label: pageName },\n ]\"\n />\n \n \n \n \n \n \n {{ game.name }}\n \n 0\"\n >\n \n {{ $t(\"Download game\") }}\n \n \n 0\"\n >\n \n {{ $t(\"Home page\") }}\n \n \n 0\"\n >\n \n {{ $t(\"Fanpage\") }}\n \n \n \n \n \n \n \n\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":""}