{"version":3,"sources":["webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?1611","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?73b3","webpack:///./src/renderer/modules/instant/components/InstantMatchListItem/InstantMatchListItem.vue?fda2","webpack:///./src/renderer/modules/instant/components/InstantMatchListItem/InstantMatchListItem.vue","webpack:///./src/renderer/modules/instant/components/InstantMatchListItem/InstantMatchListItem.vue?d434","webpack:///./src/renderer/modules/instant/components/InstantMatchListItem/InstantMatchListItem.vue?aca8","webpack:///./src/renderer/modules/instant/components/InstantMatchListItem/index.ts","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?e909","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?8126","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?0824","webpack:///./src/renderer/modules/shared/components/CircularProgress/CircularProgress.vue?55d7","webpack:///./src/renderer/modules/shared/components/CircularProgress/index.ts","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?fbdd","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/RegistrationProgress.vue?0fec","webpack:///./src/renderer/modules/instant/components/RegistrationProgress/index.ts","webpack:///./src/renderer/modules/instant/components/InstantMatchListItem/InstantMatchListItem.vue?263d","webpack:///./src/renderer/modules/instant/mixins/InstantMatchCatalogLogic.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","comingSoon","scopedSlots","_u","key","fn","ref","on","_g","_b","staticClass","class","clipped","registrationProgress","tournament","capacityMaxTeams","totalRegisteredTeamNum","$event","checkPlayerList","_v","_s","$t","prizePrizePool","capacityMinPlayersPerTeam","regions","length","map","ri","$te","code","name","join","hasEntryFee","entryFee","domProps","$vuetify","breakpoint","mobile","$router","push","params","tournamentId","_e","staticRenderFns","tournamentModule","$store","setAutomatedTournamentTeamListDialogVisible","Math","ceil","currency","amount","default","required","components","RegistrationProgress","AppButton","component","VCard","VCol","VContainer","VIcon","VListItem","VListItemContent","VList","VListItemIcon","VProgressLinear","VRow","VTooltip","auto","autoSize","style","size","hideProgress","loading","denominator","numerator","iconSize","describeArc","total","filled","x","y","radius","startAngle","endAngle","cuts","nextStartAngle","nextEndAngle","start","polarToCartesian","end","innerRadius","innerStart","innerEnd","largeArcFlag","n","isNaN","d","i","centerX","centerY","angleInDegrees","angleInRadians","PI","cos","sin","type","Number","undefined","Boolean","CircularProgress","VProgressCircular","InstantMatchCatalogLogic","isTournamentCatalogLoading","page","hasMorePage","tournamentList","game","region","getAutomatedTournamentCatalog","res","data","payload","items","$toast","error","getMessage","console"],"mappings":"sJAAA,yBAAgtB,EAAG,G,sFCAntB,yBAAotB,EAAG,G,kCCAvtB,I,EAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAc,WAAEI,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,GAAG,SAAWN,EAAIO,YAAYC,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,YAAYC,GAAG,SAASC,GAC9N,IAAIC,EAAKD,EAAIC,GACTP,EAAQM,EAAIN,MAChB,MAAO,CAACF,EAAG,SAASJ,EAAIc,GAAGd,EAAIe,GAAG,CAACC,YAAY,sBAAsB,SAASV,GAAM,GAAOO,GAAI,CAACT,EAAG,oBAAoB,CAACY,YAAY,iBAAiBC,MAAM,CAAEC,QAASlB,EAAImB,qBAAuB,KAAMb,MAAM,CAAC,OAAS,IAAI,MAAQN,EAAImB,wBAAwBf,EAAG,cAAc,CAACY,YAAY,OAAOV,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACY,YAAY,eAAeV,MAAM,CAAC,aAAa,GAAG,MAAQ,YAAY,CAACF,EAAG,QAAQ,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","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/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./CircularProgress.vue?vue&type=style&index=0&id=3f889f33&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/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./CircularProgress.vue?vue&type=style&index=0&id=3f889f33&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/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./RegistrationProgress.vue?vue&type=style&index=0&id=6be3e8d5&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/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./RegistrationProgress.vue?vue&type=style&index=0&id=6be3e8d5&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tournament)?_c('v-tooltip',{attrs:{\"left\":\"\",\"disabled\":_vm.comingSoon},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-card',_vm._g(_vm._b({staticClass:\"instant-match-item\"},'v-card',attrs,false),on),[_c('v-progress-linear',{staticClass:\"match-progress\",class:{ clipped: _vm.registrationProgress < 100 },attrs:{\"height\":\"8\",\"value\":_vm.registrationProgress}}),_c('v-container',{staticClass:\"pa-0\",attrs:{\"fluid\":\"\"}},[_c('v-row',{staticClass:\"info-wrapper\",attrs:{\"no-gutters\":\"\",\"align\":\"stretch\"}},[_c('v-col',{staticClass:\"registration-status\",attrs:{\"cols\":\"3\"}},[_c('RegistrationProgress',{attrs:{\"denominator\":_vm.tournament.capacityMaxTeams,\"numerator\":_vm.comingSoon ? 0 : _vm.tournament.totalRegisteredTeamNum,\"size\":100,\"icon-size\":36,\"hide-progress\":true,\"auto-size\":true,\"loading\":!_vm.tournament}}),_c('a',{staticClass:\"check-player-list-link\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.checkPlayerList(_vm.tournament)}}},[_vm._v(_vm._s(_vm.$t('InstantMatchTournamentBasicInformation.CheckPlayerList')))])],1),_c('v-col',{staticClass:\"tournament-info pl-lg-2\"},[_c('v-list-item',{attrs:{\"dense\":\"\"}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(\"mdi-trophy\")])],1),_c('v-list-item-content',[_vm._v(\" \"+_vm._s(_vm.tournament.prizePrizePool)+\" \")])],1),_c('v-list-item',{attrs:{\"dense\":\"\"}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(\"mdi-layers-triple-outline\")])],1),_c('v-list-item-content',[_vm._v(\" \"+_vm._s(_vm.tournament.capacityMinPlayersPerTeam)+\" V \"+_vm._s(_vm.tournament.capacityMinPlayersPerTeam)+\" \")])],1),_c('v-list-item',{attrs:{\"dense\":\"\"}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(\"mdi-web\")])],1),_c('v-list-item-content',{staticClass:\"text-uppercase\"},[(\n !_vm.tournament.regions || _vm.tournament.regions.length === 0\n )?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.AllRegions'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.tournament.regions .map(function (ri) { return _vm.$te('Regions.' + ri.code) ? _vm.$t('Regions.' + ri.code) : ri.name; } ) .join('.'))+\" \")]],2)],1),_c('v-list-item',{attrs:{\"dense\":\"\"}},[_c('v-list-item-icon',[_c('v-icon',[_vm._v(\"mdi-checkbook\")])],1),_c('v-list-item-content',{staticClass:\"text-uppercase\"},[(!_vm.tournament.hasEntryFee)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.NoEntryFee'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentBasicInformation.Fee', [_vm.entryFee]))+\" \")]],2)],1)],1),_c('v-col',{staticClass:\"requirements\",attrs:{\"cols\":\"3\"}},[_c('h2',{domProps:{\"innerHTML\":_vm._s(_vm.$t('InstantMatchListItem.OpenToAllPlayers'))}}),_c('div',{staticClass:\"join-btn-wrapper\"},[_c('AppButton',{attrs:{\"label\":_vm.$vuetify.breakpoint.mobile\n ? _vm.$t('InstantMatchListItem.Join')\n : _vm.$t('InstantMatchListItem.JoinNow'),\"theme\":\"purple\",\"block\":\"\",\"auto\":true},on:{\"click\":function($event){return _vm.$router.push({\n name: 'InstantMatchDetails',\n params: {\n tournamentId: _vm.tournament.tournamentId\n }\n })}}})],1)])],1)],1),(_vm.comingSoon)?_c('div',{staticClass:\"coming-soon\"},[_vm._v(\" \"+_vm._s(_vm.$t('InstantMatchCatalog.ComingSoon'))+\" \")]):_vm._e()],1)]}}],null,false,1246007277)},[_c('span',[_vm._v(_vm._s(_vm.tournament.name))])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\nimport AppButton from '@/modules/shared/components/AppButton'\r\nimport RegistrationProgress from '@/modules/instant/components/RegistrationProgress'\r\nimport { TournamentEntity } from '@/api/tournament'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\n\r\n@Component({\r\n components: {\r\n RegistrationProgress,\r\n AppButton\r\n }\r\n})\r\nexport default class InstantMatchListItem extends Vue {\r\n @Prop({ default: false })\r\n comingSoon!: boolean\r\n\r\n @Prop({ required: true })\r\n tournament!: TournamentEntity\r\n\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n get registrationProgress() {\r\n if (this.comingSoon) {\r\n return 0\r\n }\r\n\r\n return Math.ceil(\r\n (this.tournament.totalRegisteredTeamNum /\r\n this.tournament.capacityMaxTeams) *\r\n 100\r\n )\r\n }\r\n\r\n async checkPlayerList(tournament: TournamentEntity) {\r\n await this.$router.push({\r\n name: 'InstantMatchDetails',\r\n params: {\r\n tournamentId: tournament.tournamentId\r\n }\r\n })\r\n\r\n await this.tournamentModule.setAutomatedTournamentTeamListDialogVisible(\r\n true\r\n )\r\n }\r\n\r\n get entryFee() {\r\n if (!this.tournament.hasEntryFee || !this.tournament.entryFee) {\r\n return ''\r\n }\r\n\r\n return `${this.tournament.entryFee.currency} $${this.tournament.entryFee.amount}`\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchListItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchListItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InstantMatchListItem.vue?vue&type=template&id=2b91f373&scoped=true&\"\nimport script from \"./InstantMatchListItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./InstantMatchListItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InstantMatchListItem.vue?vue&type=style&index=0&id=2b91f373&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 \"2b91f373\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VCard,VCol,VContainer,VIcon,VListItem,VListItemContent,VListItemIcon,VProgressLinear,VRow,VTooltip})\n","import InstantMatchListItem from './InstantMatchListItem.vue'\r\nexport default InstantMatchListItem\r\nexport { InstantMatchListItem }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"content-wrapper\",class:{ auto: _vm.autoSize },style:((\"transform: scale(\" + _vm.size + \"%)\"))},[(!_vm.hideProgress && !_vm.loading)?_c('CircularProgress',{attrs:{\"total\":_vm.denominator,\"filled\":_vm.numerator}}):_vm._e(),(!_vm.loading)?_c('div',{staticClass:\"content\"},[_c('v-icon',{attrs:{\"size\":_vm.iconSize}},[_vm._v(\"mdi-account-group\")]),_c('div',[_vm._v(_vm._s(_vm.numerator)+\" / \"+_vm._s(_vm.denominator))])],1):_c('div',{staticClass:\"content justify-content-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":60}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"id\":\"team-counter\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":_vm.size,\"height\":_vm.size}},[_c('defs',[_c('linearGradient',{attrs:{\"id\":\"linear-gradient\",\"x1\":\"0.111\",\"y1\":\"0.101\",\"x2\":\"0.892\",\"y2\":\"0.897\",\"gradientUnits\":\"objectBoundingBox\"}},[_c('stop',{attrs:{\"offset\":\"0\",\"stop-color\":\"#f0f\"}}),_c('stop',{attrs:{\"offset\":\"0.183\",\"stop-color\":\"#f0f\"}}),_c('stop',{attrs:{\"offset\":\"0.704\",\"stop-color\":\"#3c3cc7\"}}),_c('stop',{attrs:{\"offset\":\"1\",\"stop-color\":\"#29d9ff\"}})],1)],1),_c('path',{attrs:{\"id\":\"arc1\",\"fill\":\"grey\",\"d\":_vm.describeArc(75, 75, 75, 0, 358, _vm.total)}}),(_vm.filled > 0)?_c('path',{attrs:{\"id\":\"arc2\",\"fill\":\"url(#linear-gradient)\",\"d\":_vm.describeArc(75, 75, 75, 0, (358 / _vm.total) * _vm.filled, _vm.filled)}}):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class CircularProgress extends Vue {\r\n @Prop({ default: 6, type: Number }) readonly filled!: number\r\n @Prop({ default: 12, type: Number }) readonly total!: number\r\n @Prop({ default: 150, type: Number }) readonly size!: number\r\n\r\n describeArc(\r\n x: number,\r\n y: number,\r\n radius: number,\r\n startAngle: number,\r\n endAngle: number,\r\n cuts: number\r\n ) {\r\n var nextStartAngle = startAngle + 2\r\n var nextEndAngle = startAngle + (endAngle - startAngle) / cuts - 2\r\n\r\n var start = this.polarToCartesian(x, y, radius, nextStartAngle)\r\n var end = this.polarToCartesian(x, y, radius, nextEndAngle)\r\n\r\n var innerRadius = radius - 6\r\n var innerStart = this.polarToCartesian(x, y, innerRadius, nextStartAngle)\r\n var innerEnd = this.polarToCartesian(x, y, innerRadius, nextEndAngle)\r\n\r\n var largeArcFlag = nextEndAngle - nextStartAngle <= 180 ? 0 : 1\r\n\r\n const n = (n: number) => (isNaN(n) ? 0 : n)\r\n\r\n var d = [\r\n 'M',\r\n n(start.x),\r\n n(start.y),\r\n 'A',\r\n n(radius),\r\n n(radius),\r\n 0,\r\n n(largeArcFlag),\r\n 1,\r\n n(end.x),\r\n n(end.y),\r\n 'L',\r\n n(innerEnd.x),\r\n n(innerEnd.y),\r\n 'A',\r\n n(innerRadius),\r\n n(innerRadius),\r\n 0,\r\n n(largeArcFlag),\r\n 0,\r\n n(innerStart.x),\r\n n(innerStart.y),\r\n 'Z'\r\n ].join(' ')\r\n\r\n for (var i = 1; i < cuts; i++) {\r\n nextStartAngle = nextEndAngle + 2\r\n nextEndAngle = (endAngle / cuts) * (i + 1) + 2\r\n\r\n start = this.polarToCartesian(x, y, radius, nextStartAngle)\r\n end = this.polarToCartesian(x, y, radius, nextEndAngle)\r\n\r\n innerStart = this.polarToCartesian(x, y, innerRadius, nextStartAngle)\r\n innerEnd = this.polarToCartesian(x, y, innerRadius, nextEndAngle)\r\n\r\n largeArcFlag = nextEndAngle - nextStartAngle <= 180 ? 0 : 1\r\n\r\n d =\r\n d +\r\n ' ' +\r\n [\r\n 'M',\r\n n(start.x),\r\n n(start.y),\r\n 'A',\r\n n(radius),\r\n n(radius),\r\n 0,\r\n n(largeArcFlag),\r\n 1,\r\n n(end.x),\r\n n(end.y),\r\n 'L',\r\n n(innerEnd.x),\r\n n(innerEnd.y),\r\n 'A',\r\n n(innerRadius),\r\n n(innerRadius),\r\n 0,\r\n n(largeArcFlag),\r\n 0,\r\n n(innerStart.x),\r\n n(innerStart.y),\r\n 'Z'\r\n ].join(' ')\r\n }\r\n\r\n return d\r\n }\r\n\r\n polarToCartesian(\r\n centerX: number,\r\n centerY: number,\r\n radius: number,\r\n angleInDegrees: number\r\n ) {\r\n var angleInRadians = ((angleInDegrees + 90) * Math.PI) / 180.0\r\n\r\n return {\r\n x: centerX + radius * Math.cos(angleInRadians),\r\n y: centerY + radius * Math.sin(angleInRadians)\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./CircularProgress.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./CircularProgress.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CircularProgress.vue?vue&type=template&id=3f889f33&scoped=true&\"\nimport script from \"./CircularProgress.vue?vue&type=script&lang=ts&\"\nexport * from \"./CircularProgress.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CircularProgress.vue?vue&type=style&index=0&id=3f889f33&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 \"3f889f33\",\n null\n \n)\n\nexport default component.exports","import CircularProgress from './CircularProgress.vue'\r\n\r\nexport default CircularProgress\r\nexport { CircularProgress }\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\nimport CircularProgress from '@/modules/shared/components/CircularProgress'\r\n\r\n@Component({\r\n components: {\r\n CircularProgress\r\n }\r\n})\r\nexport default class RegistrationProgress extends Vue {\r\n @Prop({ required: true }) denominator!: number\r\n @Prop({ required: true }) numerator!: number\r\n @Prop({ default: 90 }) rotate!: number\r\n @Prop({ default: 100 }) size!: number\r\n @Prop({ default: undefined }) iconSize!: number\r\n @Prop({ default: 5 }) width!: number\r\n @Prop({ type: Boolean, default: false }) hideProgress!: boolean\r\n @Prop({ type: Boolean, default: false }) autoSize!: boolean\r\n @Prop({ type: Boolean, default: false }) loading!: boolean\r\n\r\n /* Computed Properties */\r\n get value() {\r\n return (this.numerator / this.denominator) * 100\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./RegistrationProgress.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./RegistrationProgress.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RegistrationProgress.vue?vue&type=template&id=6be3e8d5&scoped=true&\"\nimport script from \"./RegistrationProgress.vue?vue&type=script&lang=ts&\"\nexport * from \"./RegistrationProgress.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RegistrationProgress.vue?vue&type=style&index=0&id=6be3e8d5&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 \"6be3e8d5\",\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 { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VIcon,VProgressCircular})\n","import RegistrationProgress from './RegistrationProgress.vue'\r\n\r\nexport { RegistrationProgress }\r\nexport default RegistrationProgress\r\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/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchListItem.vue?vue&type=style&index=0&id=2b91f373&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/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./InstantMatchListItem.vue?vue&type=style&index=0&id=2b91f373&lang=scss&scoped=true&\"","import { Vue, Component } from 'vue-property-decorator'\r\nimport { TournamentAPI, TournamentEntity } from '@/api/tournament'\r\nimport ServerError from '@/utils/server_error'\r\n\r\n@Component\r\nexport default class InstantMatchCatalogLogic extends Vue {\r\n isTournamentCatalogLoading: boolean = false\r\n page: number = 1\r\n hasMorePage: boolean = false\r\n tournamentList: TournamentEntity[] = []\r\n tournamentListElement!: HTMLDivElement\r\n\r\n async fetchAutomatedTournamentCatalog(\r\n page: number,\r\n game: string,\r\n region: string | null\r\n ) {\r\n if (this.isTournamentCatalogLoading) {\r\n return\r\n }\r\n\r\n this.isTournamentCatalogLoading = true\r\n this.page = page\r\n this.hasMorePage = false\r\n try {\r\n const res = await TournamentAPI.getAutomatedTournamentCatalog(\r\n this.page,\r\n game,\r\n region == null ? undefined : [region]\r\n )\r\n this.tournamentList = [...this.tournamentList, ...res.data.payload!.items]\r\n this.hasMorePage = res.data.payload!.hasMorePage\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Landing.SystemErrorMessage'))\r\n }\r\n console.error(err)\r\n } finally {\r\n this.isTournamentCatalogLoading = false\r\n }\r\n }\r\n}\r\n"],"sourceRoot":""}