{"version":3,"sources":["webpack:///./src/views/games/CaseBattles/create-battle.vue?07fd","webpack:///src/views/games/CaseBattles/create-battle.vue","webpack:///./src/views/games/CaseBattles/create-battle.vue?839d","webpack:///./src/views/games/CaseBattles/create-battle.vue","webpack:///./src/modals/account/views/components/SettingsSlider.vue?73f0","webpack:///src/modals/account/views/components/SettingsSlider.vue","webpack:///./src/modals/account/views/components/SettingsSlider.vue?89a2","webpack:///./src/modals/account/views/components/SettingsSlider.vue","webpack:///./src/views/games/CaseBattles/create-battle.vue?6306","webpack:///./src/views/games/CaseBattles/components/BattleCrate.vue?56af","webpack:///./src/views/games/CaseBattles/components/BattleCrate.vue?8c52","webpack:///src/views/games/CaseBattles/components/BattleCrate.vue","webpack:///./src/views/games/CaseBattles/components/BattleCrate.vue?dd33","webpack:///./src/views/games/CaseBattles/components/BattleCrate.vue","webpack:///./src/modals/account/views/components/SettingsSlider.vue?7e2d"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","name","directives","rawName","value","expression","_v","_l","mode","i","key","class","activePreset","icon","domProps","_s","scopedSlots","_u","fn","ref","on","_g","tooltip","_e","preset","$event","onPresetChange","botsDisabled","roundsCount","roundsCost","config","bot","maxPrice","customSorting","maxRounds","dragging","model","form","callback","$$v","$set","crate","onChangeCrateAmount","onRemoveCrate","onAddCrate","allowCursed","isCommunism","cursed","onToggleFunding","funding","private","banditsAvailable","slots","_f","slotFundPrice","canSubmit","loading","onSubmit","battleCost","xpCreatorMultiplier","staticRenderFns","MODES","regular","team","group","metaInfo","title","components","BattleCrate","SettingsSlider","draggable","data","rounds","teams","computed","conga","user","games","caseBattles","CasesGame","crates","reduce","acc","id","allowCommunism","allowUnevenTeams","some","presets","push","map","cratesById","amount","length","v","price","Math","ceil","disabled","isCursed","isUneven","watch","val","getCases","catch","methods","subscribe","unsubscribe","createBattle","diff","newAmount","index","findIndex","splice","sortedRounds","flatMap","Array","fill","modal","$modal","open","newRounds","promise","Object","entries","presetId","$toast","success","$router","params","error","message","component","VAlert","VBtn","VChip","VCol","VContainer","VRow","VSpacer","VSwitch","VTooltip","_b","$emit","valueLabel","proxy","$attrs","props","type","Number","required","String","default","VSlider","caseImage","stopPropagation","defaultCaseImg","dragHandle","Boolean","tags","includes","VImg"],"mappings":"kLAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,0CAA0CC,MAAM,CAAC,MAAQ,KAAK,CAACH,EAAG,cAAc,CAACE,YAAY,kBAAkB,CAACF,EAAG,QAAQ,CAACE,YAAY,QAAQ,CAACF,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,OAAO,CAACH,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,IAAI,MAAQ,IAAI,GAAK,IAAI,WAAW,IAAI,aAAa,WAAW,CAACH,EAAG,cAAc,CAACE,YAAY,kDAAkDC,MAAM,CAAC,GAAK,CAACC,KAAM,mBAAmB,CAACJ,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,CAAC,MAAO,sBAAsBH,EAAG,OAAO,CAACK,WAAW,CAAC,CAACD,KAAK,IAAIE,QAAQ,MAAMC,MAAM,oCAAsCC,WAAW,2CAA2C,GAAGR,EAAG,aAAa,GAAGA,EAAG,QAAQ,CAACE,YAAY,cAAcC,MAAM,CAAC,KAAO,KAAK,MAAQ,IAAI,GAAK,IAAI,WAAW,IAAI,aAAa,WAAW,CAACH,EAAG,KAAK,CAACE,YAAY,4BAA4B,CAACN,EAAIa,GAAG,iCAAiC,IAAI,GAAGT,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,OAAO,CAACH,EAAG,KAAK,CAACE,YAAY,+CAA+C,CAACN,EAAIa,GAAG,0BAA0BT,EAAG,IAAI,CAACE,YAAY,oCAAoC,CAACN,EAAIa,GA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AC,QAAS,EAAM,KAAO,GAAG,UAAY,GAAG,MAAQ,8BAA8B,MAAQ,IAAIoB,GAAG,CAAC,MAAQ,SAASK,GAAQ,OAAOhC,EAAIqJ,MAAM,aAAa,CAACjJ,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,CAAC,MAAO,YAAYP,EAAIa,GAAG,aAAa,IAAI,GAAGT,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,QAAQ,CAACG,MAAM,CAAC,QAAS,EAAM,KAAO,GAAG,UAAY,GAAG,MAAQ,2BAA2BoB,GAAG,CAAC,MAAQ,SAASK,GAAQ,OAAOhC,EAAIqJ,MAAM,UAAU,CAACjJ,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,CAAC,MAAO,WAAWH,EAAG,QAAQ,CAACG,MAAM,CAAC,OAASP,EAAIgD,MAAMqD,UAAU,IAAI,IAAI,IAC/uDlC,EAAkB,GCgFtB,MAAM+F,EAAiB,EAAvB,QAEA,OACET,MAAO,CACLzG,MAAO,CACL0G,KAAMzB,OACN2B,UAAU,GAEZO,WAAYC,SAEdnF,SAAU,CACR,YAAJ,MACM,OAAN,yDAEI,WACE,OAAOhF,KAAK+C,MAAMqH,KAAKC,SAAS,eClGmc,I,iFCQre5B,EAAY,eACd,EACA3I,EACAoE,GACA,EACA,KACA,WACA,MAIa,OAAAuE,EAAiB,QAOhC,IAAkBA,EAAW,CAACE,OAAA,KAAK2B,OAAA,KAAKpB,WAAA,Q,kCC1BxC,yBAA8qB,EAAG","file":"js/view-case-battle-create.b1e1fc97.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"page--create-battle pos-relative d-flex\",attrs:{\"fluid\":\"\"}},[_c('v-container',{staticClass:\"game-container\"},[_c('v-row',{staticClass:\"pt-8\"},[_c('v-col',{staticClass:\"mb-6\",attrs:{\"cols\":\"12\"}},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\",\"order\":\"1\",\"md\":\"3\",\"order-md\":\"1\",\"align-self\":\"center\"}},[_c('router-link',{staticClass:\"link text--secondary text-uppercase text-body-2\",attrs:{\"to\":{name: 'Crate Battles'}}},[_c('fai',{staticClass:\"mr-2\",attrs:{\"icon\":['fad', 'long-arrow-left']}}),_c('span',{directives:[{name:\"t\",rawName:\"v-t\",value:('page.case_battles.back_to_battles'),expression:\"'page.case_battles.back_to_battles'\"}]})],1),_c('v-spacer')],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\",\"order\":\"3\",\"md\":\"6\",\"order-md\":\"2\",\"align-self\":\"center\"}},[_c('h4',{staticClass:\"text-h6 font-weight-bold\"},[_vm._v(\" Configure Crate Battle \")])])],1)],1),_c('v-col',{staticClass:\"mb-5\",attrs:{\"cols\":\"12\"}},[_c('h4',{staticClass:\"text-uppercase font-weight-bold text-body-1\"},[_vm._v(\" Team configuration \")]),_c('p',{staticClass:\"text--secondary text-body-2 mb-4\"},[_vm._v(\" Select game mode and how many players you want \")]),_c('v-row',_vm._l((_vm.modes),function(mode,i){return _c('v-col',{key:i,attrs:{\"cols\":\"12\",\"sm\":\"6\",\"md\":\"4\"}},[_c('div',{staticClass:\"bg-ui-panel--light d-flex align-center py-4 px-5\"},[_c('fai',{staticClass:\"text-h4 mr-4\",class:(_vm.activePreset && _vm.activePreset.mode === i) ? 'primary400--text' : 'grey100--text',attrs:{\"icon\":mode.icon}}),_c('div',[_c('h4',{staticClass:\"text-body-1 font-weight-semibold mb-1\"},[_c('span',{domProps:{\"textContent\":_vm._s(mode.name)}}),(mode.tooltip)?_c('v-tooltip',{attrs:{\"top\":\"\",\"content-class\":\"rounded-0\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('fai',_vm._g({staticClass:\"blue300--text ml-2\",attrs:{\"icon\":['fas', 'info-circle']}},on))]}}],null,true)},[_c('span',{domProps:{\"textContent\":_vm._s(mode.tooltip)}})]):_vm._e()],1),_c('div',{staticClass:\"d-flex flex-wrap\"},[_vm._l((mode.presets),function(preset){return _c('v-chip',{key:preset.name,staticClass:\"rounded-0 mr-1 font-weight-semibold\",attrs:{\"color\":(_vm.activePreset && _vm.activePreset.name === preset.name) ? 'primary400' : 'grey300',\"ripple\":false,\"small\":\"\"},on:{\"click\":function($event){return _vm.onPresetChange(preset.name)}}},[_vm._v(\" \"+_vm._s(preset.name)+\" \")])}),(mode.botsDisabled && (_vm.activePreset && _vm.activePreset.mode === i))?_c('v-tooltip',{attrs:{\"top\":\"\",\"content-class\":\"rounded-0\",\"color\":\"primary600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"bot-disabled-icon align-self-center primary400--text ml-1\"},on),[_c('fai',{attrs:{\"icon\":['fad', 'robot']}})],1)]}}],null,true)},[_c('span',{domProps:{\"textContent\":_vm._s('Bandits will not be able to join')}})]):_vm._e()],2)])],1)])}),1)],1),_c('v-col',{staticClass:\"mb-5\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"d-flex align-center justify-space-between mb-3\"},[_c('h4',{staticClass:\"text-uppercase font-weight-bold text-body-1\"},[(_vm.roundsCount)?_c('span',[_vm._v(\" \"+_vm._s(_vm.roundsCount)+\" rounds \"),_c('span',{staticClass:\"ml-1 text--secondary\"},[_vm._v(\"(\"),_c('scrap',{attrs:{\"amount\":_vm.roundsCost}}),_vm._v(\")\")],1)]):_c('span',[_vm._v(\"Add battle rounds\")]),(_vm.roundsCost > _vm.config.bot.maxPrice)?_c('v-tooltip',{attrs:{\"top\":\"\",\"content-class\":\"rounded-0\",\"color\":\"primary600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"bot-disabled-icon align-self-center primary400--text ml-3\"},on),[_c('fai',{attrs:{\"icon\":['fad', 'robot']}})],1)]}}],null,false,3444745159)},[_c('span',{domProps:{\"textContent\":_vm._s('Bandits will not be able to join')}})]):_vm._e()],1),_c('div',{staticClass:\"d-flex align-center text-uppercase\",on:{\"click\":function($event){_vm.customSorting = !_vm.customSorting}}},[_c('span',{staticClass:\"text-caption font-weight-semibold mt-1 text--secondary lh-1 link mr-3\"},[_vm._v(\"Custom sorting\")]),_c('v-switch',{staticClass:\"ma-0 mr-n3\",attrs:{\"value\":_vm.customSorting,\"inset\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"ripple\":false,\"color\":\"green400\"}})],1)]),(_vm.roundsCount > _vm.config.maxRounds)?_c('v-alert',{attrs:{\"color\":\"primary600 primary100--text\",\"tile\":\"\"}},[_vm._v(\" Maximum \"+_vm._s(_vm.config.maxRounds)+\" rounds \")]):_vm._e(),_c('draggable',{staticClass:\"rounds\",attrs:{\"disabled\":!_vm.customSorting,\"ghost-class\":\"ghost\",\"group\":\"test\",\"animation\":200,\"draggable\":\".game-case\"},on:{\"start\":function($event){_vm.dragging = true},\"end\":function($event){_vm.dragging = false}},model:{value:(_vm.form.rounds),callback:function ($$v) {_vm.$set(_vm.form, \"rounds\", $$v)},expression:\"form.rounds\"}},[_vm._l((_vm.sortedRounds),function(crate,i){return _c('BattleCrate',{key:((crate.id) + \"-\" + i),staticClass:\"grey600\",attrs:{\"crate\":crate,\"drag-handle\":_vm.customSorting},on:{\"change-amount\":function($event){return _vm.onChangeCrateAmount(crate, $event)},\"remove\":function($event){return _vm.onRemoveCrate(i)}}})}),(_vm.roundsCount < _vm.config.maxRounds)?_c('div',{key:\"add-crate\",staticClass:\"add-crate d-flex align-center justify-center flex-column px-3 py-12 text-center text-uppercase\",on:{\"click\":_vm.onAddCrate}},[_c('div',{staticClass:\"add-icon pa-3 mb-5\"},[_c('fai',{staticClass:\"text-h4 blue200--text\",attrs:{\"icon\":['fas', 'plus-circle']}})],1),_c('h4',{staticClass:\"text-body-2 blue300--text font-weight-semibold\"},[_vm._v(\" Add crate \")])]):_vm._e()],2)],1),(_vm.config.allowCursed && !_vm.isCommunism)?_c('v-col',{staticClass:\"mb-n2\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"bg-ui-panel px-2 py-4 switch-card\",on:{\"click\":function($event){_vm.form.cursed = !_vm.form.cursed}}},[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"cols\":\"8\"}},[_c('fai',{staticClass:\"primary400--text text-h5 mr-4 ml-3\",attrs:{\"fixed-width\":\"\",\"icon\":['fad', 'skull-crossbones']}}),_c('div',[_c('h4',{staticClass:\"text-body-2 font-weight-bold primary200--text\"},[_vm._v(\" Cursed mode \")]),_c('p',{staticClass:\"mb-0 text-caption\"},[_vm._v(\" The team with the lowest amount opened wins – \"),_c('b',[_vm._v(\"loser wins!\")])])])],1),_c('v-col',{staticClass:\"d-flex align-center justify-end\",attrs:{\"cols\":\"4\"}},[(_vm.form.cursed && !_vm.config.bot.allowCursed)?_c('v-tooltip',{attrs:{\"top\":\"\",\"content-class\":\"rounded-0\",\"color\":\"primary600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"bot-disabled-icon align-self-center text-h6 primary400--text mr-4\"},on),[_c('fai',{attrs:{\"icon\":['fad', 'robot']}})],1)]}}],null,false,909017808)},[_c('span',{domProps:{\"textContent\":_vm._s('Bandits will not be able to join')}})]):_vm._e(),_c('v-switch',{staticClass:\"ma-0\",attrs:{\"value\":_vm.form.cursed,\"inset\":\"\",\"color\":\"primary400\",\"dense\":\"\",\"hide-details\":\"\",\"ripple\":false}})],1)],1)],1)]):_vm._e(),_c('v-col',{staticClass:\"mb-n2\",attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"bg-ui-panel px-2 py-4 switch-card\"},[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"cols\":\"8\"},on:{\"click\":_vm.onToggleFunding}},[_c('fai',{staticClass:\"green400--text text-h5 mr-4 ml-3\",attrs:{\"fixed-width\":\"\",\"icon\":['fad', 'hand-holding-heart']}}),_c('div',[_c('h4',{staticClass:\"text-body-2 font-weight-bold green100--text\"},[_vm._v(\" Partial slot funding \")]),_c('p',{staticClass:\"mb-0 text-caption\"},[_vm._v(\" Choose to pay a percent of other players' slots. \")])])],1),_c('v-col',{staticClass:\"d-flex align-center justify-end\",attrs:{\"cols\":\"4\"},on:{\"click\":_vm.onToggleFunding}},[(_vm.form.funding)?_c('div',{staticClass:\"text-h6 green200--text font-weight-bold mt-1 mr-6\"},[_vm._v(\" \"+_vm._s(_vm.form.funding)+\"% \")]):_vm._e(),_c('v-switch',{staticClass:\"ma-0\",attrs:{\"inset\":\"\",\"color\":\"green500\",\"value\":!!_vm.form.funding,\"dense\":\"\",\"hide-details\":\"\",\"ripple\":false}})],1),(_vm.form.funding)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('SettingsSlider',{staticClass:\"funding-slider\",attrs:{\"color\":\"green600\",\"min\":\"1\",\"max\":\"100\",\"step\":\"1\"},model:{value:(_vm.form.funding),callback:function ($$v) {_vm.$set(_vm.form, \"funding\", $$v)},expression:\"form.funding\"}})],1):_vm._e()],1)],1)]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"bg-ui-panel px-2 py-4 switch-card\",on:{\"click\":function($event){_vm.form.private = !_vm.form.private}}},[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center\",attrs:{\"cols\":\"8\"}},[_c('fai',{staticClass:\"blue300--text text-h5 mr-4 ml-3\",attrs:{\"fixed-width\":\"\",\"icon\":['fad', 'lock']}}),_c('div',[_c('h4',{staticClass:\"text-body-2 font-weight-bold blue100--text\"},[_vm._v(\" Private game \")]),_c('p',{staticClass:\"mb-0 text-caption\"},[_vm._v(\" Hide this game from the battles page. Only joinable via link. \")])])],1),_c('v-col',{staticClass:\"d-flex align-center justify-end\",attrs:{\"cols\":\"4\"}},[_c('v-switch',{staticClass:\"ma-0\",attrs:{\"value\":_vm.form.private,\"inset\":\"\",\"color\":\"blue400\",\"dense\":\"\",\"hide-details\":\"\",\"ripple\":false}})],1)],1)],1)]),_c('v-col',{staticClass:\"d-flex justify-end mt-3\",attrs:{\"cols\":\"12\"}},[(!_vm.banditsAvailable)?_c('v-tooltip',{attrs:{\"content-class\":\"rounded-0\",\"top\":\"\",\"color\":\"primary600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"primary700 d-flex align-center px-3 mr-2\"},on),[_c('div',{staticClass:\"bot-disabled-icon align-self-center text-h6 primary300--text\"},[_c('fai',{attrs:{\"icon\":['fad', 'robot']}})],1)])]}}],null,false,408101859)},[_c('span',[_vm._v(\"Bandits will not be able to join this game\")])]):_vm._e(),(_vm.battleCost)?_c('div',{staticClass:\"bg-ui-panel px-4 d-flex align-center text-body-2 text--secondary mr-2\"},[_c('scrap',{attrs:{\"amount\":_vm.roundsCost}}),(_vm.form.funding && _vm.form.slots)?_c('span',{staticClass:\"font-weight-bold ml-1 green400--text\"},[_c('span',[_vm._v(\"+\")]),_c('fai',{staticClass:\"mx-1\",attrs:{\"icon\":['fad', 'hand-holding-heart']}}),_c('span',[_vm._v(_vm._s(_vm._f(\"toScrap\")(_vm.slotFundPrice * (_vm.form.slots - 1))))])],1):_vm._e()],1):_vm._e(),_c('v-btn',{staticClass:\"px-5 font-weight-bold\",attrs:{\"color\":\"green700 green200--text\",\"tile\":\"\",\"large\":\"\",\"depressed\":\"\",\"ripple\":false,\"disabled\":!_vm.canSubmit,\"loading\":_vm.loading},on:{\"click\":_vm.onSubmit}},[_vm._v(\" Create battle \"),(_vm.roundsCost !== _vm.battleCost)?_c('scrap',{staticClass:\"ml-2\",attrs:{\"amount\":_vm.battleCost}}):_vm._e(),(_vm.canSubmit && _vm.config.xpCreatorMultiplier > 1)?_c('div',{staticClass:\"xp-bonus font-weight-semibold lh-1 text-caption green800 green300--text\"},[_vm._v(\" +\"+_vm._s(_vm._f(\"toLocale\")((_vm.config.xpCreatorMultiplier - 1) * 100))+\"% XP \")]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n Configure Crate Battle\n \n \n \n \n\n \n \n \n Team configuration\n \n \n Select game mode and how many players you want\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ preset.name }}\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n\n\n \n \n \n \n \n {{ roundsCount }} rounds\n ()\n \n Add battle rounds\n\n config.bot.maxPrice\"\n top content-class=\"rounded-0\" color=\"primary600\"\n >\n \n \n \n \n \n \n \n \n\n \n Custom sorting\n \n \n \n\n config.maxRounds\" color=\"primary600 primary100--text\" tile>\n Maximum {{ config.maxRounds }} rounds\n \n\n \n \n\n \n \n \n \n \n Add crate\n \n \n \n \n\n \n \n \n \n \n \n \n \n Cursed mode\n \n \n The team with the lowest amount opened wins – loser wins!\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n Partial slot funding\n \n \n Choose to pay a percent of other players' slots.\n \n \n \n \n \n {{ form.funding }}%\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n Private game\n \n \n Hide this game from the battles page. Only joinable via link.\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n Bandits will not be able to join this game\n \n\n \n \n\n \n +\n \n {{ slotFundPrice * (form.slots - 1) | toScrap }}\n \n \n\n \n\n \n Create battle\n \n\n 1\"\n class=\"xp-bonus font-weight-semibold lh-1 text-caption green800 green300--text\"\n >\n +{{ (config.xpCreatorMultiplier - 1) * 100 | toLocale }}% XP\n \n \n \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!./create-battle.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!./create-battle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./create-battle.vue?vue&type=template&id=33a704be&scoped=true&\"\nimport script from \"./create-battle.vue?vue&type=script&lang=js&\"\nexport * from \"./create-battle.vue?vue&type=script&lang=js&\"\nimport style0 from \"./create-battle.vue?vue&type=style&index=0&id=33a704be&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 \"33a704be\",\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 { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VAlert,VBtn,VChip,VCol,VContainer,VRow,VSpacer,VSwitch,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-slider',_vm._b({attrs:{\"value\":_vm.value,\"hide-details\":\"\",\"track-color\":\"grey300\",\"tick-size\":\"4\",\"track-fill-color\":\"rgba(255,255,255,.8)\"},on:{\"input\":function($event){return _vm.$emit('input', $event)}},scopedSlots:_vm._u([(_vm.valueLabel)?{key:\"append\",fn:function(){return [_c('div',{staticClass:\"value-label\"},[_vm._v(\" \"+_vm._s(_vm.valueLabel)+\" \")])]},proxy:true}:null],null,true)},'v-slider',_vm.$attrs,false))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n {{ valueLabel }}\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!./SettingsSlider.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!./SettingsSlider.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettingsSlider.vue?vue&type=template&id=0634c959&scoped=true&\"\nimport script from \"./SettingsSlider.vue?vue&type=script&lang=js&\"\nexport * from \"./SettingsSlider.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SettingsSlider.vue?vue&type=style&index=0&id=0634c959&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 \"0634c959\",\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 { VSlider } from 'vuetify/lib/components/VSlider';\ninstallComponents(component, {VSlider})\n","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!./create-battle.vue?vue&type=style&index=0&id=33a704be&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!./create-battle.vue?vue&type=style&index=0&id=33a704be&lang=scss&scoped=true&\"","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!./BattleCrate.vue?vue&type=style&index=0&id=6f4b6856&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!./BattleCrate.vue?vue&type=style&index=0&id=6f4b6856&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"game-case full-height d-block pa-4 text-center\"},[(_vm.dragHandle)?_c('fai',{staticClass:\"text--secondary drag-handle\",attrs:{\"icon\":['fas', 'bars']}}):_vm._e(),_c('v-img',{staticClass:\"mb-3\",attrs:{\"src\":_vm.caseImage,\"aspect-ratio\":1,\"contain\":\"\",\"transition\":false}}),_c('h4',{staticClass:\"text-body-1 grey100--text text-truncate mb-1\"},[_vm._v(\" \"+_vm._s(_vm.crate.name)+\" \")]),(_vm.featured)?_c('v-tooltip',{attrs:{\"top\":\"\",\"color\":\"primary500\",\"content-class\":\"rounded-0\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',_vm._g({staticClass:\"py-2 px-3 featured\"},on),[_c('fai',{staticClass:\"text-h5 orange--text \",attrs:{\"icon\":['fad', 'fire-alt']}})],1)]}}],null,false,2303954877)},[_c('span',[_vm._v(\"Featured\")])]):_vm._e(),(_vm.crate.amount > 0)?_c('div',[_c('scrap',{staticClass:\"text-body-2 mb-4 text--secondary\",attrs:{\"amount\":_vm.crate.price}}),_c('div',{staticClass:\"amount-input d-flex align-center justify-center\"},[_c('v-btn',{staticClass:\"unwidth px-2\",attrs:{\"color\":\"blue700 blue100--text\",\"small\":\"\",\"ripple\":false,\"tile\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('change-amount', -1)}}},[_c('fai',{attrs:{\"icon\":['fas', 'minus']}})],1),_c('div',{staticClass:\"px-5 bg-ui-panel lh-2 font-weight-bold text-body-2\"},[_vm._v(\" \"+_vm._s(_vm.crate.amount)+\"x \")]),_c('v-btn',{staticClass:\"unwidth px-2\",attrs:{\"color\":\"blue700 blue100--text\",\"small\":\"\",\"ripple\":false,\"tile\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('change-amount', 1)}}},[_c('fai',{attrs:{\"icon\":['fas', 'plus']}})],1)],1)],1):(_vm.dragHandle)?_c('div',[_c('scrap',{staticClass:\"text-body-2 mb-4 text--secondary\",attrs:{\"amount\":_vm.crate.price}}),_c('v-btn',{attrs:{\"ripple\":false,\"tile\":\"\",\"depressed\":\"\",\"color\":\"primary700 primary200--text\",\"small\":\"\"},on:{\"click\":function($event){return _vm.$emit('remove')}}},[_c('fai',{staticClass:\"mr-2\",attrs:{\"icon\":['fad', 'trash']}}),_vm._v(\" Remove \")],1)],1):_c('div',{staticClass:\"mt-4\"},[_c('v-btn',{attrs:{\"ripple\":false,\"tile\":\"\",\"depressed\":\"\",\"color\":\"green700 green200--text\"},on:{\"click\":function($event){return _vm.$emit('add')}}},[_c('fai',{staticClass:\"mr-2\",attrs:{\"icon\":['fas', 'plus']}}),_c('scrap',{attrs:{\"amount\":_vm.crate.price}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n\n \n \n {{ crate.name }}\n \n\n \n \n \n \n \n \n Featured\n \n\n 0\">\n \n\n \n \n \n \n\n \n {{ crate.amount }}x\n \n\n \n \n \n \n \n\n \n \n\n \n \n Remove\n \n \n\n \n \n \n \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!./BattleCrate.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!./BattleCrate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BattleCrate.vue?vue&type=template&id=6f4b6856&scoped=true&\"\nimport script from \"./BattleCrate.vue?vue&type=script&lang=js&\"\nexport * from \"./BattleCrate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BattleCrate.vue?vue&type=style&index=0&id=6f4b6856&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 \"6f4b6856\",\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 { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VImg,VTooltip})\n","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!./SettingsSlider.vue?vue&type=style&index=0&id=0634c959&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!./SettingsSlider.vue?vue&type=style&index=0&id=0634c959&lang=scss&scoped=true&\""],"sourceRoot":""}
\n Select game mode and how many players you want\n
\n The team with the lowest amount opened wins – loser wins!\n
\n Choose to pay a percent of other players' slots.\n
\n Hide this game from the battles page. Only joinable via link.\n