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AAvC,EAAAG,IACA,KAAA2B,aAAA,KAAAA,aAAAU,QACAd,GAAAA,GAAA1B,EAAAG,KAGA,KAAA2B,aAAAW,KAAAzC,EAAAG,GAEA,EACAU,QAAAA,CAAAb,GACA,OAAA0C,IAAA1C,EAAA2C,MAAAP,OAAA,uBACA,EACAQ,WAAAA,CAAAC,GACA,aAAAA,EAAAtC,KAAAsC,EAAAC,OAAAD,EAAAtC,IACA,EACAwC,OAAAA,CAAAF,GACA,OAAAA,EAAAG,KAAA,EACA,MACA,GAAAH,EAAAG,IACA,MACA,MACA,EACAC,SAAAA,CAAAC,GACA,IAAAC,GAAA,EAYA,OAVAD,EAAA5C,OAAA,GACA6C,GAAA,EACAD,EAAA5C,OAAA,IACA4C,EAAAE,SAAAP,IACA,MAAAA,EAAAtC,OACA4C,GAAA,EACA,IAIAA,CACA,EACA,cAAAE,GACA,IAAA1D,QAAA,KAAA2D,OAAA,CACAzB,KAAA,CACA0B,MAAA,8CAE8BlE,KAA9BmE,QAAAC,aAAApC,OAAAG,s+BA6CA,KAAA7B,UAAAA,EAAAkC,KAAAA,KAAA6B,MACA,KAAAlE,QAAA,CACA,GAEAmE,WAAAA,GACA,KAAAN,UACA,EACAO,YAAAA,GAAA,EACAC,SAAAA,GAAA,GCvLgQ,I,WCQ5PC,GAAY,OACd,EACA3E,EACAwC,GACA,EACA,KACA,WACA,MAIF,EAAemC,EAAiB,O","sources":["webpack://tjing/./src/pages/PublicEventRounds.vue","webpack://tjing/src/pages/PublicEventRounds.vue","webpack://tjing/./src/pages/PublicEventRounds.vue?8f91","webpack://tjing/./src/pages/PublicEventRounds.vue?ee9a"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.loaded)?_c('div',{staticClass:\"rounds-list\"},[_vm._l((_vm.roundInfo.rounds),function(round,roundIndex){return _vm._l((round.pools),function(pool,poolIndex){return _c('div',{key:pool.id,staticClass:\"round-card\"},[_c('div',{staticClass:\"header\"},[_c('h4',[_vm._v(\" Round \"+_vm._s(roundIndex + 1)+\" \"),(round.pools.length > 1)?[(pool.name)?_c('span',[_vm._v(\": \"+_vm._s(pool.name))]):_c('span',[_vm._v(\" - Pool \"+_vm._s(_vm.$store.state.poolConversion[poolIndex]))])]:_vm._e()],2),(pool.status == 'COMPLETED')?_c('div',{staticClass:\"status-label strom\"},[_vm._v(\" Finished \")]):(pool.status == 'OPEN')?_c('div',{staticClass:\"status-label grass\"},[_vm._v(\" Live \")]):(pool.status == 'PAUSE')?_c('div',{staticClass:\"status-label sunrise\"},[_vm._v(\" Paused \")]):_c('div',{staticClass:\"status-label sunset\"},[_vm._v(\"Upcoming\")])]),_c('div',{staticClass:\"date-play-format-wrapper\"},[_c('p',{staticClass:\"date\"},[_vm._v(_vm._s(_vm.poolDate(pool)))]),(pool.playFormat)?_c('p',{staticClass:\"play-format\"},[_c('b',[_vm._v(_vm._s(_vm.playFormatFormatter(pool.playFormat)))])]):_vm._e()]),(pool.layoutVersion)?_c('div',{staticClass:\"course\"},[_c('p',{staticClass:\"course-name\"},[_c('strong',[_vm._v(_vm._s(pool.layoutVersion.layout.course.name))])]),_c('div',{staticClass:\"layout-wrapper\"},[_c('p',{staticClass:\"layout-name\"},[_vm._v(\" \"+_vm._s(pool.layoutVersion.layout.name)+\" \")]),(pool.layoutVersion.layout.course.type === 'PUBLIC')?_c('router-link',{attrs:{\"to\":{\n name: 'course-layout',\n params: {\n layoutId: pool.layoutVersion.layout.id,\n courseId: pool.layoutVersion.layout.course.id,\n },\n }}},[_c('p',{staticClass:\"layout-toggle\"},[_vm._v(\"Explore layout\")])]):_vm._e()],1)]):_vm._e(),_c('router-link',{attrs:{\"to\":{\n name: 'public-event-pool-results',\n params: { eventId: _vm.$route.params.eventId, poolId: pool.id },\n }}},[_c('button',{staticClass:\"view-round\"},[_vm._v(\"View round\")])])],1)})})],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PublicEventRounds.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PublicEventRounds.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PublicEventRounds.vue?vue&type=template&id=76ca3ff5&scoped=true\"\nimport script from \"./PublicEventRounds.vue?vue&type=script&lang=js\"\nexport * from \"./PublicEventRounds.vue?vue&type=script&lang=js\"\nimport style0 from \"./PublicEventRounds.vue?vue&type=style&index=0&id=76ca3ff5&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"76ca3ff5\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","loaded","staticClass","_l","roundInfo","rounds","round","roundIndex","pools","pool","poolIndex","key","id","_v","_s","length","name","$store","state","poolConversion","_e","status","poolDate","playFormat","playFormatFormatter","layoutVersion","layout","course","type","attrs","params","layoutId","courseId","eventId","$route","poolId","staticRenderFns","components","data","shownLayouts","computed","methods","getters","getPlayFormats","find","format","value","toggleShownLayout","includes","filter","push","moment","date","displayHole","hole","number","parEval","par","wrapHoles","holes","wrap","forEach","loadData","$axios","query","$router","currentRoute","event","beforeMount","beforeCreate","destroyed","component"],"sourceRoot":""}