{"version":3,"sources":["webpack:///./src/modals/games/crate-battles/battle-join.vue?057e","webpack:///./src/modals/games/crate-battles/battle-join.vue?9601","webpack:///src/modals/games/crate-battles/battle-join.vue","webpack:///./src/modals/games/crate-battles/battle-join.vue?03bc","webpack:///./src/modals/games/crate-battles/battle-join.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","chosenTeamId","teamId","_e","_l","game","team","key","id","slot","playersByTeam","color","on","$event","onJoin","teams","length","user","pickedTeam","_s","title","isCommunism","style","joinPrice","model","value","callback","$$v","hideWarning","expression","staticRenderFns","components","BattleListingPlayer","mixins","props","close","type","Function","required","payload","Object","loading","computed","find","i","payloadTeamId","onboardingHasSeen","isUneven","isCursed","methods","joinBattle","onboardingSetSeen","$router","push","name","params","$toast","success","error","message","component","VAlert","VBtn","VCheckbox","VContainer"],"mappings":"kKAAA,yBAAmpB,EAAG,G,yCCAtpB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,oBAAoBC,MAAM,CAAC,MAAQ,KAAK,CAACH,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,WAAW,CAACE,YAAY,eAAeC,MAAM,CAAC,KAAO,cAAc,MAAQ,KAAK,QAAU,GAAG,eAAe,KAAKH,EAAG,KAAK,CAACE,YAAY,4DAA4D,CAACN,EAAIQ,GAAG,yBAA0BR,EAAgB,aAAEI,EAAG,IAAI,CAACE,YAAY,qCAAqC,CAACN,EAAIQ,GAAG,wDAAwDJ,EAAG,IAAI,CAACE,YAAY,qCAAqC,CAACN,EAAIQ,GAAG,wCAAwC,GAAKR,EAAIS,cAAiBT,EAAIU,OAAkuBV,EAAIW,KAA9tBP,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,KAAK,CAACE,YAAY,wEAAwE,CAACN,EAAIQ,GAAG,mBAAmBJ,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U,IAGd,OACE,MAAO,CACLG,SAAS,EACTvC,OAAQ,KACR0B,aAAa,IAGjBc,SAAU,IACZ,gBACMzB,KAAM,iBAER,OACE,OAAOxB,KAAK8C,QAAQlC,MAEtB,aACE,OAAOZ,KAAKY,KAAKU,MAAM4B,KAAKC,GAAKA,EAAEpC,KAAOf,KAAKS,SAEjD,eACE,MAAM2C,EAAgBpD,KAAK8C,QAAQrC,OAEnC,OAAI2C,IAEApD,KAAKY,KAAKgB,YACL,EAGF,OAET,aACE,OAAI5B,KAAKqD,kBAAkB,yBAEpBrD,KAAKY,KAAK0C,UAAYtD,KAAKY,KAAK2C,YAG3C,UACEvD,KAAKS,OAAST,KAAKQ,cAErBgD,QAAS,IACX,gBACMC,WAAY,4BAEd,aAAahD,EAAST,KAAKS,QACzB,IAAIT,KAAKgD,QAAT,CACAhD,KAAKgD,SAAU,EAEXhD,KAAKmC,aACPnC,KAAK0D,kBAAkB,uBAGzB,UACQ1D,KAAKyD,WAAW,CACpB1C,GAAIf,KAAKY,KAAKG,GACdN,WAGFT,KAAK2D,QAAQC,KAAK,CAChBC,KAAM,eACNC,OAAQ,CAAlB,mBACA,cAEQ9D,KAAK+D,OAAOC,QAAQ,iBACpBhE,KAAK0C,QACb,SACQ1C,KAAK+D,OAAOE,MAAMA,EAAMC,SAd/B,QAgBOlE,KAAKgD,SAAU,OC5Lgc,I,6FCQndmB,EAAY,eACd,EACArE,EACAuC,GACA,EACA,KACA,WACA,MAIa,aAAA8B,EAAiB,QAQhC,IAAkBA,EAAW,CAACC,SAAA,KAAOC,OAAA,KAAKC,YAAA,KAAUC,aAAA","file":"js/games-crate-battles-battle-join.modal.3b529949.js","sourcesContent":["import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./battle-join.vue?vue&type=style&index=0&id=171e577a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./battle-join.vue?vue&type=style&index=0&id=171e577a&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"grey800 px-6 py-6\",attrs:{\"fluid\":\"\"}},[_c('div',{staticClass:\"mb-8 text-center\"},[_c('GameIcon',{staticClass:\"mx-auto mb-3\",attrs:{\"game\":\"caseBattles\",\"width\":\"72\",\"contain\":\"\",\"aspect-ratio\":1}}),_c('h5',{staticClass:\"text-h6 text-uppercase font-weight-bold primary500--text\"},[_vm._v(\" Join Crate Battle \")]),(_vm.chosenTeamId)?_c('p',{staticClass:\"mb-0 text-body-2 primary100--text\"},[_vm._v(\" Confirm the team you want to join in this battle \")]):_c('p',{staticClass:\"mb-0 text-body-2 primary100--text\"},[_vm._v(\" Pick a team to join this battle \")])],1),(!_vm.chosenTeamId && !_vm.teamId)?_c('div',{staticClass:\"text-center mt-6 mb-9\"},[_c('h4',{staticClass:\"text-uppercase text-body-2 font-weight-semibold text--secondary mb-4\"},[_vm._v(\" Pick a team \")]),_c('div',{staticClass:\"teams d-flex justify-center px-2\"},_vm._l((_vm.game.teams),function(team){return _c('div',{key:team.id,staticClass:\"team\"},[_vm._l((team.slots),function(slot){return _c('BattleListingPlayer',{key:slot,staticClass:\"mr-3\",attrs:{\"player\":_vm.game.playersByTeam(team.id)[slot - 1],\"game\":_vm.game,\"color\":team.color},on:{\"join\":function($event){return _vm.onJoin(team.id)}}})}),(_vm.game.teams.length !== 4)?_c('span',{staticClass:\"vs text--secondary text-caption font-weight-bold mr-1 px-1\"},[_c('span',[_vm._v(\"vs\")])]):_vm._e()],2)}),0)]):_vm._e(),(_vm.pickedTeam)?_c('div',{staticClass:\"d-flex justify-center align-center mb-8\"},[_c('BattleListingPlayer',{staticClass:\"mr-5\",attrs:{\"game\":_vm.game,\"no-tooltip\":\"\",\"player\":_vm.user,\"color\":_vm.pickedTeam.color}}),_c('div',{staticClass:\"mt-1\"},[_c('h4',{staticClass:\"text-body-2 font-weight-bold lh-1\"},[_vm._v(\" \"+_vm._s(_vm.game.title)+\" \")]),(!_vm.game.isCommunism)?_c('p',{staticClass:\"mb-0 text-caption text-uppercase font-weight-bold\",style:({color: _vm.pickedTeam.color})},[_vm._v(\" Team \"+_vm._s(_vm.teamId)+\" \")]):_vm._e()])],1):_vm._e(),(_vm.teamId)?_c('div',{staticClass:\"text-center mt-6 mb-6\"},[_c('v-btn',{staticClass:\"px-5 font-weight-bold\",attrs:{\"color\":\"green700 green200--text\",\"tile\":\"\",\"large\":\"\",\"depressed\":\"\",\"ripple\":false},on:{\"click\":function($event){return _vm.onJoin(_vm.teamId)}}},[_vm._v(\" Confirm \"),_c('scrap',{staticClass:\"ml-2\",attrs:{\"amount\":_vm.game.joinPrice}})],1)],1):_vm._e(),(_vm.hasWarning)?_c('div',{staticClass:\"d-flex justify-center mb-4\"},[_c('v-checkbox',{staticClass:\"ma-0\",attrs:{\"color\":\"primary500\",\"ripple\":false,\"hide-details\":\"\",\"dense\":\"\",\"label\":\"Don't show warning again\"},model:{value:(_vm.hideWarning),callback:function ($$v) {_vm.hideWarning=$$v},expression:\"hideWarning\"}})],1):_vm._e(),(_vm.game.isCursed)?_c('v-alert',{staticClass:\"text-center mb-0\",attrs:{\"color\":\"primary700\",\"dense\":\"\",\"tile\":\"\"}},[_c('fai',{staticClass:\"primary100--text text-body-2 mr-1\",attrs:{\"fixed-width\":\"\",\"icon\":['fad', 'skull-crossbones']}}),_c('span',{staticClass:\"text-body-2 font-weight-semibold primary100--text\"},[_vm._v(\" Cursed Battle \")])],1):_vm._e(),(_vm.game.isUneven)?_c('v-alert',{staticClass:\"text-center mb-0 mt-2\",attrs:{\"color\":\"primary700\",\"dense\":\"\",\"tile\":\"\"}},[_c('fai',{staticClass:\"primary100--text text-body-2 mr-1\",attrs:{\"fixed-width\":\"\",\"icon\":['fad', 'exclamation-triangle']}}),_c('span',{staticClass:\"text-body-2 font-weight-semibold primary100--text\"},[_vm._v(\" Uneven Teams \")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n Join Crate Battle\n \n \n Confirm the team you want to join in this battle\n \n \n Pick a team to join this battle\n \n \n\n \n \n Pick a team\n \n \n \n \n \n vs\n \n \n \n \n\n \n \n\n \n \n {{ game.title }}\n \n \n Team {{ teamId }}\n \n \n \n\n\n \n \n Confirm\n \n \n \n\n \n \n \n\n\n \n \n \n Cursed Battle\n \n \n\n \n \n \n Uneven Teams\n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./battle-join.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./battle-join.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./battle-join.vue?vue&type=template&id=171e577a&scoped=true&\"\nimport script from \"./battle-join.vue?vue&type=script&lang=js&\"\nexport * from \"./battle-join.vue?vue&type=script&lang=js&\"\nimport style0 from \"./battle-join.vue?vue&type=style&index=0&id=171e577a&lang=scss&scoped=true&\"\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 \"171e577a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VBtn,VCheckbox,VContainer})\n"],"sourceRoot":""}
\n Confirm the team you want to join in this battle\n
\n Pick a team to join this battle\n
\n Team {{ teamId }}\n