{"version":3,"sources":["webpack:///./src/components/Tournament/Pools/PoolSheet/Index.vue?18bd","webpack:///src/components/Tournament/Pools/PoolSheet/Index.vue","webpack:///./src/components/Tournament/Pools/PoolSheet/Index.vue?6ede","webpack:///./src/components/Tournament/Pools/PoolSheet/Index.vue","webpack:///./src/components/Tournament/Pools/PoolSheet/Index.vue?82f3","webpack:///./src/components/Standings/SummaryTable.vue?e816","webpack:///src/components/Standings/SummaryTable.vue","webpack:///./src/components/Standings/SummaryTable.vue?b89c","webpack:///./src/components/Standings/SummaryTable.vue","webpack:///./src/components/Standings/SummaryTable.vue?cce3"],"names":["render","_vm","this","_h","$createElement","_c","_self","key","pool","id","staticClass","attrs","tournament","isLeague","$route","name","_v","_s","flight","getPoolTitle","number","leagueSettings","_e","class","$vuetify","breakpoint","xsOnly","view","adminAndRefs","complete","locked","division","loading","on","$event","stopPropagation","onLockToggle","teams","length","matches","hideSum","teamColors","onFinishManually","customPrint","round","pools","print","isInfluencer","isAdults","ref","playerIds","organizationId","phone","rankedTeams","advanced","teamColorsInverse","showSummaries","hasMatches","isDuals","hideSeeds","isNcaa","showTiebreaks","dialog","smAndUp","smAndDown","matchDescription","showStartTimes","startTime","format","_l","dual","isNcaaX","match","refInFor","is","freePlay","dtStart","model","value","callback","$$v","expression","note","i","text","_f","tiebreakers","map","t","courtFab","url","xs","icon","staticRenderFns","mixins","RouteMixin","props","data","editAll","summaries","displayDay","computed","poolMatches","filter","poolDuals","duals","myDays","rumble","jProps","courts","toLowerCase","startsWith","pal","cov","sun","main","st","dtStartL","isAfter","useLogos","includes","selectors","getDivision","divisionId","days","find","flights","totalPoints","slot","pt","seed","teamId","players","playerNames","wins","losses","matchWins","stats","matchLosses","dualWins","dualLosses","rank","finish","manuallyChanged","s","setWins","setLosses","pointsFor","pointsAgainst","pointDiff","pointDiffRatio","forfeit","logo","countryCode","getCountryCode","sort","tieBreakNotes","tiebreakNotes","xsHeaders","newHeaders","headers","setting","isMatch","lockDTO","team","summary","fabs","methods","teamClick","$router","push","getRep","x","getTeam","repField","lockToggle","finishes","manualFinishes","forEach","patch","dto","window","checkScroll","query","target","goTo","duration","offset","easing","$el","scrollIntoView","watch","handler","summarize","deep","components","MatchCard","EditAllDialog","UnlockDialog","ManualFinish","AddMatch","PdfMaker","DualCard","DualMatchUpCard","PlayerCardsListDialog","SummaryTable","TeamMessageButton","MatchUpCreator","MatchPrint","FutureMatches","mounted","$nextTick","component","VAlert","VBtn","VCard","VCol","VContainer","VDialog","VExpandTransition","VIcon","VList","VListItem","VRow","VSelect","VSubheader","VToolbar","VToolbarTitle","itemsPerPage","scopedSlots","_u","fn","items","item","dRank","usePlayerNames","dense","title","mdAndUp","sm","staticStyle","noRep","headline","CountryFlag","VAvatar","VDataTable","VImg"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAAEJ,EAAQ,KAAEI,EAAG,SAAS,CAACE,IAAIN,EAAIO,KAAKC,GAAGC,YAAY,OAAOC,MAAM,CAAC,MAAQ,iBAAiB,KAAO,KAAK,CAAEV,EAAIW,WAAWC,UAAgC,gBAApBZ,EAAIa,OAAOC,KAAwBV,EAAG,YAAY,CAACM,MAAM,CAAC,MAAQ,4BAA4B,CAACN,EAAG,kBAAkB,CAACJ,EAAIe,GAAGf,EAAIgB,GAAGhB,EAAIiB,OAAOC,aAAalB,EAAIO,KAAKY,OAAQnB,EAAIW,WAAWS,qBAAqB,GAAGpB,EAAIqB,KAAKjB,EAAG,cAAc,CAACK,YAAY,OAAOa,MAAM,CAAC,OAAQtB,EAAIuB,SAASC,WAAWC,QAAQf,MAAM,CAAC,MAAQ,KAAK,CAACN,EAAG,UAAU,CAACM,MAAM,CAAC,KAAO,UAAU,UAAY,GAAG,MAAQV,EAAI0B,KAAKC,cAAgB3B,EAAIO,KAAKqB,WAAa5B,EAAIO,KAAKsB,OAAO,W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A6f,EAAG,G","file":"js/chunk-2ba6face.33113555.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.pool)?_c('v-card',{key:_vm.pool.id,staticClass:\"pt-1\",attrs:{\"color\":\"grey lighten-4\",\"tile\":\"\"}},[(_vm.tournament.isLeague && _vm.$route.name === 'league-play')?_c('v-toolbar',{attrs:{\"color\":\"color2 color2Text--text\"}},[_c('v-toolbar-title',[_vm._v(_vm._s(_vm.flight.getPoolTitle(_vm.pool.number, _vm.tournament.leagueSettings)))])],1):_vm._e(),_c('v-container',{staticClass:\"pt-0\",class:{'px-2': _vm.$vuetify.breakpoint.xsOnly},attrs:{\"fluid\":\"\"}},[_c('v-alert',{attrs:{\"type\":\"warning\",\"prominent\":\"\",\"value\":_vm.view.adminAndRefs && _vm.pool.complete && !_vm.pool.locked,\"transition\":\"scale-transition\"}},[_c('v-row',{attrs:{\"align\":\"center\"}},[_c('v-col',{staticClass:\"grow\"},[_c('strong',{staticClass:\"black--text\"},[_vm._v(_vm._s(_vm.division.name)+\" pool \"+_vm._s(_vm.pool.name)+\" looks ready to lock.\")])]),_c('v-col',{staticClass:\"shrink\"},[_c('v-btn',{staticClass:\"ml-3\",attrs:{\"loading\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.onLockToggle($event)}}},[_vm._v(\"lock\")])],1)],1)],1),(_vm.pool.teams.length === 0)?_c('v-alert',{staticClass:\"black--text ma-0\",attrs:{\"type\":\"error\",\"value\":true,\"prominent\":\"\",\"text\":\"\"}},[_c('strong',[_vm._v(\"We are still waiting on some results before this pool can be filled\")])]):_vm._e(),(false)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-select',{attrs:{\"label\":\"Day\",\"items\":_vm.myDays},model:{value:(_vm.displayDay),callback:function ($$v) {_vm.displayDay=$$v},expression:\"displayDay\"}})],1):_vm._e(),(_vm.pool.matches.length > 0)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"4\"}},[_c('v-btn',{attrs:{\"color\":\"color3\",\"text\":\"\",\"x-small\":_vm.tournament.isLeague},on:{\"click\":function($event){_vm.hideSum = !_vm.hideSum}}},[_vm._v(\" \"+_vm._s(_vm.hideSum ? 'Show ' : 'Hide ')+\"Summary \")])],1),_c('v-col',{staticClass:\"pa-0 ma-0 text-right\",attrs:{\"cols\":\"12\",\"sm\":\"8\"}},[(_vm.view.adminAndRefs && !_vm.pool.locked)?_c('manual-finish',{attrs:{\"pool\":_vm.pool,\"teamColors\":_vm.teamColors,\"x-small\":_vm.tournament.isLeague},on:{\"finish-manually\":_vm.onFinishManually}}):_vm._e(),(_vm.customPrint && _vm.view.adminAndRefs)?_c('pdf-maker',{attrs:{\"pools\":_vm.round.pools,\"tournament\":_vm.tournament,\"poolId\":_vm.pool.id,\"btn-class\":\"mr-1\"}}):_vm._e(),(!_vm.customPrint && _vm.view.adminAndRefs)?_c('v-btn',{staticClass:\"mr-1\",attrs:{\"color\":\"color3Text color3--text\",\"fab\":\"\",\"small\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.print($event)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-print\")])],1):_vm._e(),(_vm.view.adminAndRefs && _vm.pool.locked && !_vm.tournament.locked)?_c('unlock-dialog',{attrs:{\"inline\":true,\"warn\":_vm.isInfluencer},on:{\"unlock-click\":_vm.onLockToggle}}):_vm._e(),(!_vm.division.isAdults)?_c('player-cards-list-dialog',{ref:\"cards\",attrs:{\"playerIds\":_vm.playerIds}}):_vm._e()],1),(_vm.tournament.organizationId === 224)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-alert',{attrs:{\"type\":\"info\",\"value\":true,\"text\":\"\"}},[_vm._v(\" Need a team announced? Text details to \"+_vm._s(_vm.phone)+\" \")])],1):_vm._e(),_c('v-expand-transition',[(!_vm.hideSum)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('summary-table',{attrs:{\"teams\":_vm.rankedTeams,\"advanced\":_vm.advanced,\"division\":_vm.division,\"teamColorsInverse\":_vm.teamColorsInverse,\"tournament\":_vm.tournament,\"showSummaries\":_vm.showSummaries,\"isMatch\":_vm.pool.hasMatches,\"isDuals\":_vm.pool.isDuals,\"hideSeeds\":_vm.hideSeeds}}),(_vm.view.admin)?_c('team-message-button',{attrs:{\"tournamentId\":_vm.tournament.id,\"teams\":_vm.rankedTeams,\"xs\":true}}):_vm._e(),(_vm.tournament.isNcaa && _vm.view.adminAndRefs)?_c('match-print',{attrs:{\"tournament\":_vm.tournament,\"division\":_vm.division,\"round\":_vm.round,\"matches\":_vm.pool.matches,\"pool\":_vm.pool,\"block\":false,\"text\":true,\"xSmall\":true}}):_vm._e()],1):_vm._e()],1)],1):_vm._e(),(_vm.pool.matches.length > 0)?_c('v-row',{attrs:{\"dense\":\"\",\"justify\":_vm.showTiebreaks ? 'space-between' : 'end'}},[(_vm.showTiebreaks && !_vm.hideSum)?_c('v-btn',{staticClass:\"pa-0 ma-0\",attrs:{\"text\":\"\",\"small\":\"\",\"color\":\"color3\"},on:{\"click\":function($event){$event.stopPropagation();_vm.dialog = true}}},[_vm._v(\"tie breaks\")]):_vm._e(),(_vm.$vuetify.breakpoint.smAndUp && !_vm.hideSum)?_c('v-btn',{staticClass:\"pa-0 ma-0\",attrs:{\"text\":\"\",\"small\":\"\",\"color\":\"color3\"},on:{\"click\":function($event){$event.stopPropagation();_vm.advanced = !_vm.advanced}}},[_vm._v(_vm._s(_vm.advanced ? 'Simple' : 'Advanced'))]):_vm._e()],1):_vm._e(),_c('v-row',{attrs:{\"dense\":\"\",\"id\":\"match-style\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-alert',{class:_vm.$vuetify.breakpoint.smAndDown ? 'body-2' : 'subtitle-1',attrs:{\"type\":\"info\"}},[_vm._v(\" All matches are \"+_vm._s(_vm.pool.matchDescription)+\". \")])],1)],1),(_vm.tournament.showStartTimes && _vm.startTime)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\"}},[_c('v-alert',{staticClass:\"black--text ma-0\",attrs:{\"type\":\"info\",\"value\":true,\"prominent\":\"\",\"text\":\"\"}},[_c('strong',[_vm._v(\"Play starts \"+_vm._s(_vm.startTime.format('ddd h:mm A')))])])],1)],1):_vm._e(),(_vm.view.adminAndRefs && !_vm.pool.locked && _vm.pool.matches.length > 0)?_c('v-row',{attrs:{\"dense\":\"\",\"justify\":\"end\"}},[_c('edit-all-dialog',{attrs:{\"pool\":_vm.pool,\"round\":_vm.round,\"division\":_vm.division}})],1):_vm._e(),_c('v-row',{attrs:{\"dense\":\"\",\"id\":\"first-match\"}},[(_vm.pool.isDuals)?_vm._l((_vm.poolDuals),function(dual){return _c('v-col',{key:((_vm.pool.id) + \"_\" + (dual.n)),attrs:{\"cols\":\"12\",\"md\":\"6\"}},[(!_vm.division.isNcaaX)?_c('dual-match-up-card',{attrs:{\"dual\":dual,\"pool\":_vm.pool,\"myKey\":_vm.pool.id,\"round\":_vm.round,\"division\":_vm.division}}):_c('dual-card',{attrs:{\"dual\":dual,\"pool\":_vm.pool,\"myKey\":_vm.pool.id,\"round\":_vm.round,\"division\":_vm.division}})],1)}):_vm._l((_vm.poolMatches),function(match){return _c('v-col',{key:((_vm.pool.id) + \"_\" + (match.number)),attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('match-card',{ref:(\"match\" + (match.number)),refInFor:true,attrs:{\"matchIn\":match,\"pool\":_vm.pool,\"teamColors\":_vm.teamColors,\"round\":_vm.round,\"division\":_vm.division,\"poolLeague\":_vm.tournament.isLeague}})],1)})],2),(_vm.view.adminAndRefs && !_vm.pool.locked && !_vm.tournament.locked)?_c('v-row',{attrs:{\"dense\":\"\"}},[(!_vm.tournament.isLeague)?_c('add-match',{attrs:{\"pool\":_vm.pool,\"btn-class\":\"xsmall\"}}):_vm._e()],1):_vm._e(),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.tournament.is('showFuture'))?_c('FutureMatches',{attrs:{\"division\":_vm.division,\"round\":_vm.round,\"pool\":_vm.pool}}):_vm._e()],1)],1),(_vm.round.freePlay && _vm.view.adminAndRefs)?_c('v-row',[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('match-up-creator',{attrs:{\"time\":_vm.round.dtStart,\"roundId\":_vm.round.id}})],1)],1):_vm._e()],1),(_vm.showTiebreaks)?_c('v-dialog',{attrs:{\"max-width\":\"500px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-toolbar',{attrs:{\"color\":\"color2 color2Text--text\"}},[_c('v-toolbar-title',[_vm._v(\"How Ties Were Broken\")])],1),_c('v-container',[_c('v-row',[_c('v-col',{staticClass:\"x12\"},[_c('v-list',[_vm._l((_vm.tieBreakNotes),function(note,i){return [(note.header)?_c('v-subheader',{key:i},[_vm._v(_vm._s(note.text))]):_c('v-list-item',{key:i},[_vm._v(_vm._s(note.text))])]})],2)],1)],1),_c('v-row',{attrs:{\"dense\":\"\",\"justify\":\"end\"}},[_c('v-col',{staticClass:\"xs\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatArray\")(_vm.pool.tiebreakers.map(function (t) { return ((t.short) + \" = \" + (t.text)); })))+\" \")]),_c('v-btn',{attrs:{\"text\":\"\",\"color\":\"color3\"},on:{\"click\":function($event){$event.stopPropagation();_vm.dialog = false}}},[_vm._v(\"close\")])],1)],1)],1)],1):_vm._e(),(_vm.courtFab)?_c('v-btn',{attrs:{\"color\":\"color3 color3Text--text\",\"fab\":\"\",\"fixed\":\"\",\"bottom\":\"\",\"right\":\"\",\"href\":_vm.courtFab.url,\"target\":\"_blank\",\"small\":_vm.$vuetify.breakpoint.xs}},[_c('v-icon',[_vm._v(_vm._s(_vm.courtFab.icon))])],1):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <v-card color=\"grey lighten-4\" v-if=\"pool\" :key=\"pool.id\" class=\"pt-1\" tile>\r\n <v-toolbar color=\"color2 color2Text--text\" v-if=\"tournament.isLeague && $route.name === 'league-play'\">\r\n <v-toolbar-title>{{flight.getPoolTitle(pool.number, tournament.leagueSettings)}}</v-toolbar-title>\r\n </v-toolbar>\r\n <v-container fluid class=\"pt-0\" :class=\"{'px-2': $vuetify.breakpoint.xsOnly}\">\r\n <v-alert\r\n type=\"warning\"\r\n prominent\r\n :value=\"view.adminAndRefs && pool.complete && !pool.locked\"\r\n transition=\"scale-transition\"\r\n >\r\n <v-row align=\"center\">\r\n <v-col class=\"grow\">\r\n <strong class=\"black--text\">{{division.name}} pool {{pool.name}} looks ready to lock.</strong>\r\n </v-col>\r\n <v-col class=\"shrink\">\r\n <v-btn\r\n @click.stop=\"onLockToggle\"\r\n :loading=\"loading\"\r\n class=\"ml-3\"\r\n >lock</v-btn>\r\n </v-col>\r\n </v-row>\r\n </v-alert>\r\n <v-alert type=\"error\" :value=\"true\" class=\"black--text ma-0\" prominent text v-if=\"pool.teams.length === 0\">\r\n <strong>We are still waiting on some results before this pool can be filled</strong>\r\n </v-alert>\r\n <v-row dense v-if=\"false\">\r\n <v-select\r\n label=\"Day\"\r\n :items=\"myDays\"\r\n v-model=\"displayDay\"\r\n ></v-select>\r\n </v-row>\r\n <!-- Pool Summary -->\r\n <v-row dense v-if=\"pool.matches.length > 0\">\r\n <v-col cols=\"12\" sm=\"4\">\r\n <v-btn color=\"color3\" text\r\n @click=\"hideSum = !hideSum\"\r\n :x-small=\"tournament.isLeague\"\r\n >\r\n {{hideSum ? 'Show ' : 'Hide '}}Summary\r\n </v-btn>\r\n </v-col>\r\n <v-col cols=\"12\" sm=\"8\" class=\"pa-0 ma-0 text-right\">\r\n <manual-finish v-if=\"view.adminAndRefs && !pool.locked\"\r\n @finish-manually=\"onFinishManually\"\r\n :pool=\"pool\"\r\n :teamColors=\"teamColors\"\r\n :x-small=\"tournament.isLeague\"\r\n ></manual-finish>\r\n <pdf-maker\r\n :pools=\"round.pools\"\r\n :tournament=\"tournament\"\r\n :poolId=\"pool.id\"\r\n btn-class=\"mr-1\"\r\n v-if=\"customPrint && view.adminAndRefs\"></pdf-maker>\r\n <v-btn\r\n color=\"color3Text color3--text\"\r\n class=\"mr-1\"\r\n fab\r\n small\r\n @click.stop=\"print\"\r\n v-if=\"!customPrint && view.adminAndRefs\"\r\n >\r\n <v-icon small>fas fa-print</v-icon>\r\n </v-btn>\r\n <unlock-dialog\r\n v-if=\"view.adminAndRefs && pool.locked && !tournament.locked\"\r\n @unlock-click=\"onLockToggle\"\r\n :inline=\"true\"\r\n :warn=\"isInfluencer\"\r\n ></unlock-dialog>\r\n <player-cards-list-dialog\r\n ref=\"cards\"\r\n :playerIds=\"playerIds\"\r\n v-if=\"!division.isAdults\"\r\n ></player-cards-list-dialog>\r\n </v-col>\r\n <v-col cols=\"12\" v-if=\"tournament.organizationId === 224\">\r\n <v-alert type=\"info\" :value=\"true\" text>\r\n Need a team announced? Text details to {{phone}}\r\n </v-alert>\r\n </v-col>\r\n <v-expand-transition>\r\n <v-col cols=\"12\" v-if=\"!hideSum\">\r\n <summary-table\r\n :teams=\"rankedTeams\"\r\n :advanced=\"advanced\"\r\n :division=\"division\"\r\n :teamColorsInverse=\"teamColorsInverse\"\r\n :tournament=\"tournament\"\r\n :showSummaries=\"showSummaries\"\r\n :isMatch=\"pool.hasMatches\"\r\n :isDuals=\"pool.isDuals\"\r\n :hideSeeds=\"hideSeeds\"\r\n ></summary-table>\r\n <team-message-button\r\n v-if=\"view.admin\"\r\n :tournamentId=\"tournament.id\"\r\n :teams=\"rankedTeams\"\r\n :xs=\"true\"\r\n ></team-message-button>\r\n <match-print\r\n v-if=\"tournament.isNcaa && view.adminAndRefs\"\r\n :tournament=\"tournament\"\r\n :division=\"division\"\r\n :round=\"round\"\r\n :matches=\"pool.matches\"\r\n :pool=\"pool\"\r\n :block=\"false\"\r\n :text=\"true\"\r\n :xSmall=\"true\"\r\n ></match-print>\r\n </v-col>\r\n </v-expand-transition>\r\n </v-row>\r\n <!-- Pool Summary Buttons -->\r\n <v-row dense :justify=\"showTiebreaks ? 'space-between' : 'end'\" v-if=\"pool.matches.length > 0\">\r\n <v-btn\r\n text\r\n small\r\n color=\"color3\"\r\n class=\"pa-0 ma-0\"\r\n @click.stop=\"dialog = true\"\r\n v-if=\"showTiebreaks && !hideSum\"\r\n >tie breaks</v-btn>\r\n <v-btn\r\n text\r\n small\r\n color=\"color3\"\r\n class=\"pa-0 ma-0\"\r\n v-if=\"$vuetify.breakpoint.smAndUp && !hideSum\"\r\n @click.stop=\"advanced = !advanced\"\r\n >{{advanced ? 'Simple' : 'Advanced'}}</v-btn>\r\n </v-row>\r\n <!-- Match style alert -->\r\n <v-row dense id=\"match-style\">\r\n <v-col cols=\"12\">\r\n <v-alert\r\n type=\"info\"\r\n :class=\"$vuetify.breakpoint.smAndDown ? 'body-2' : 'subtitle-1'\"\r\n >\r\n All matches are {{pool.matchDescription}}.\r\n </v-alert>\r\n </v-col>\r\n </v-row>\r\n <v-row dense v-if=\"tournament.showStartTimes && startTime\">\r\n <v-col cols=\"12\" class=\"pa-0\">\r\n <v-alert type=\"info\" :value=\"true\" class=\"black--text ma-0\" prominent text>\r\n <strong>Play starts {{startTime.format('ddd h:mm A')}}</strong>\r\n </v-alert>\r\n </v-col>\r\n </v-row>\r\n <!-- Record all -->\r\n <v-row dense justify=\"end\" v-if=\"view.adminAndRefs && !pool.locked && pool.matches.length > 0\">\r\n <edit-all-dialog\r\n :pool=\"pool\"\r\n :round=\"round\"\r\n :division=\"division\"\r\n ></edit-all-dialog>\r\n </v-row>\r\n <!-- Matches -->\r\n <v-row dense id=\"first-match\">\r\n <template v-if=\"pool.isDuals\">\r\n <v-col cols=\"12\" md=\"6\" v-for=\"(dual) in poolDuals\" :key=\"`${pool.id}_${dual.n}`\">\r\n <dual-match-up-card\r\n v-if=\"!division.isNcaaX\"\r\n :dual=\"dual\"\r\n :pool=\"pool\"\r\n :myKey=\"pool.id\"\r\n :round=\"round\"\r\n :division=\"division\"\r\n ></dual-match-up-card>\r\n <dual-card\r\n v-else\r\n :dual=\"dual\"\r\n :pool=\"pool\"\r\n :myKey=\"pool.id\"\r\n :round=\"round\"\r\n :division=\"division\"\r\n ></dual-card>\r\n </v-col>\r\n </template>\r\n <template v-else>\r\n <v-col cols=\"12\" md=\"6\" v-for=\"(match) in poolMatches\" :key=\"`${pool.id}_${match.number}`\">\r\n <match-card\r\n :ref=\"`match${match.number}`\"\r\n :matchIn=\"match\"\r\n :pool=\"pool\"\r\n :teamColors=\"teamColors\"\r\n :round=\"round\"\r\n :division=\"division\"\r\n :poolLeague=\"tournament.isLeague\"\r\n ></match-card>\r\n </v-col>\r\n </template>\r\n </v-row>\r\n <v-row dense v-if=\"view.adminAndRefs && !pool.locked && !tournament.locked\">\r\n <add-match :pool=\"pool\" btn-class=\"xsmall\" v-if=\"!tournament.isLeague\"></add-match>\r\n </v-row>\r\n <v-row>\r\n <v-col cols=\"12\">\r\n <FutureMatches\r\n v-if=\"tournament.is('showFuture')\"\r\n :division=\"division\"\r\n :round=\"round\"\r\n :pool=\"pool\"\r\n />\r\n </v-col>\r\n </v-row>\r\n <v-row v-if=\"round.freePlay && view.adminAndRefs\">\r\n <v-col cols=\"12\" class=\"text-center\">\r\n <!-- Match Up Creator -->\r\n <match-up-creator\r\n :time=\"round.dtStart\"\r\n :roundId=\"round.id\"\r\n ></match-up-creator>\r\n </v-col>\r\n </v-row>\r\n </v-container>\r\n <!-- Tie break dialog -->\r\n <v-dialog\r\n v-model=\"dialog\"\r\n max-width=\"500px\"\r\n v-if=\"showTiebreaks\"\r\n >\r\n <v-card>\r\n <v-toolbar color=\"color2 color2Text--text\">\r\n <v-toolbar-title>How Ties Were Broken</v-toolbar-title>\r\n </v-toolbar>\r\n <v-container>\r\n <v-row >\r\n <v-col class=\"x12\" >\r\n <v-list>\r\n <template v-for=\"(note, i) in tieBreakNotes\">\r\n <v-subheader v-if=\"note.header\" :key=\"i\">{{note.text}}</v-subheader>\r\n <v-list-item v-else :key=\"i\">{{note.text}}</v-list-item>\r\n </template>\r\n </v-list>\r\n </v-col>\r\n </v-row>\r\n <v-row dense justify=\"end\">\r\n <v-col class=\"xs\">\r\n {{pool.tiebreakers.map(t => `${t.short} = ${t.text}`) | formatArray}}\r\n </v-col>\r\n <v-btn\r\n text\r\n color=\"color3\"\r\n @click.stop=\"dialog = false\"\r\n >close</v-btn>\r\n </v-row>\r\n </v-container>\r\n </v-card>\r\n </v-dialog>\r\n <v-btn\r\n v-if=\"courtFab\"\r\n color=\"color3 color3Text--text\"\r\n fab\r\n fixed\r\n bottom right\r\n :href=\"courtFab.url\"\r\n target=\"_blank\"\r\n :small=\"$vuetify.breakpoint.xs\"\r\n >\r\n <v-icon>{{courtFab.icon}}</v-icon>\r\n </v-btn>\r\n </v-card>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport RouteMixin from '@/Mixins/RouteMixin'\r\nimport RoundMixin from '@/Mixins/RoundMixin'\r\nimport SummaryTable from '@/components/Standings/SummaryTable.vue'\r\nimport MatchCard from '@/components/Tournament/Match/FullMatchCard.vue'\r\nimport PlayerCardsListDialog from '@/components/Player/PlayerCardsListDialog'\r\nimport firstBy from 'thenby'\r\nimport { mapGetters } from 'vuex'\r\nimport flatten from '@/helpers/ArrayFlatten'\r\nimport moment from 'moment'\r\nconst AddMatch = () => import('@/components/Tournament/Pools/AddMatchDialog.vue')\r\nconst ManualFinish = () => import('@/components/Tournament/Pools/ManualFinishDialog.vue')\r\nconst EditAllDialog = () => import('@/components/Tournament/Pools/EditAllDialog.vue')\r\nconst UnlockDialog = () => import('@/components/Tournament/Pools/LockToggle.vue')\r\nconst DualCard = () => import('@/components/Tournament/Duals/DualCard.vue')\r\nconst DualMatchUpCard = () => import('@/components/Tournament/Duals/DualMatchUpCard.vue')\r\nconst PdfMaker = () => import('@/components/Tournament/Pools/PdfMaker.vue')\r\nconst TeamMessageButton = () => import('@/components/Notifications/TeamMessageButton')\r\nconst MatchUpCreator = () => import('@/components/Tournament/Courts/MatchUpCreatorDialog')\r\nconst MatchPrint = () => import('@/components/Printing/MatchPrint')\r\nconst FutureMatches = () => import('@/components/Tournament/Pools/PoolSheet/FutureMatches')\r\n\r\nexport default {\r\n mixins: [RouteMixin, RoundMixin],\r\n props: ['_poolId', '_dayId'],\r\n data () {\r\n return {\r\n advanced: false,\r\n dialog: false,\r\n editAll: false,\r\n loading: false,\r\n summaries: false,\r\n hideSum: false,\r\n displayDay: null\r\n }\r\n },\r\n computed: {\r\n ...mapGetters([\r\n 'admin',\r\n 'view',\r\n 'getDivision',\r\n 'teamColors',\r\n 'teamColorsInverse',\r\n 'tournament',\r\n 'getTeam'\r\n ]),\r\n poolMatches () {\r\n return this.displayDay ? this.pool.matches.filter(f => f.day === this.displayDay) : this.pool.matches\r\n },\r\n poolDuals () {\r\n return this.displayDay ? this.pool.duals.filter(f => f.myDays.includes(this.displayDay)) : this.pool.duals\r\n },\r\n myDays () {\r\n return this.pool && [...new Set(this.pool.matches.map(m => m.day))]\r\n },\r\n rumble () {\r\n return this.tournament.jProps && this.tournament.jProps.rumble\r\n },\r\n phone () {\r\n // return '(717) 371-9673'\r\n if (!this.pool.courts || !this.rumble) return null\r\n if (this.pool.courts.toLowerCase().startsWith('p')) return this.rumble.pal\r\n if (this.pool.courts.toLowerCase().startsWith('c')) return this.rumble.cov\r\n if (this.pool.courts.toLowerCase().startsWith('s')) return this.rumble.sun\r\n return this.rumble.main\r\n },\r\n startTime () {\r\n const st = this.pool.startTimeCalc || moment(this.round.dtStart)\r\n const dtStartL = moment(st.format().replace('Z', this.division.location.offset))\r\n return st && dtStartL.isAfter() ? st : null\r\n },\r\n useLogos () {\r\n return this.division && this.division.useLogos\r\n },\r\n customPrint () {\r\n return this.tournament.props.includes('customPrint') || this.division.props.includes('customPrint')\r\n },\r\n isInfluencer () {\r\n return !!this.tournament.selectors.filter(f => f.fromRoundId === this.roundId).length\r\n },\r\n division () {\r\n return this.getDivision(this.divisionId)\r\n },\r\n round () {\r\n if (!this.division) return null\r\n return this.division.days.find(f => f.id === (this.dayId || this._dayId))\r\n },\r\n flight () {\r\n return this.round && this.round.flights[0]\r\n },\r\n pool () {\r\n return this.division.pools.find(f => f.id === (this.poolId || this._poolId))\r\n },\r\n totalPoints () {\r\n return this.division.props.includes('total-points')\r\n },\r\n rankedTeams () {\r\n const teams = this.pool.rankedTeams.map(pt => {\r\n const t = this.getTeam(pt.teamId)\r\n const s = this.showSummaries && pt.summary\r\n const seed = this.round.number === 1 ? t.seed : pt.roundSeed || t.seed\r\n\r\n const stats = s || pt\r\n return {\r\n slot: pt.slot,\r\n seed: seed,\r\n teamId: pt.teamId,\r\n players: t.players,\r\n playerNames: this.division.isBVNE ? t.playerNamesCommit : t.playerNames,\r\n wins: this.pool.isDuals && this.division.dualText.startsWith('D') ? stats.dualWins : stats.matchWins,\r\n losses: this.pool.isDuals && this.division.dualText.startsWith('D') ? stats.dualLosses : stats.matchLosses,\r\n matchWins: stats.matchWins,\r\n matchLosses: stats.matchLosses,\r\n dualWins: stats.dualWins,\r\n dualLosses: stats.dualLosses,\r\n rank: stats.finish || pt.rank,\r\n manuallyChanged: s && pt.rank !== s.finish,\r\n name: t.name,\r\n setWins: stats.setWins,\r\n setLosses: stats.setLosses,\r\n pointsFor: stats.pointsFor,\r\n pointsAgainst: stats.pointsAgainst,\r\n pointDiff: stats.pointsFor - stats.pointsAgainst,\r\n pointDiffRatio: stats.matchWins + stats.matchLosses ? stats.pointsFor + stats.pointsAgainst === 0 ? 0 : stats.pointsFor / stats.pointsAgainst : null,\r\n forfeit: pt.forfeit,\r\n class: !this.advanced || this.$vuetify.breakpoint.mdAndUp ? 'headline' : null,\r\n logo: this.useLogos && t.logo,\r\n countryCode: t.getCountryCode()\r\n }\r\n })\r\n teams.sort(firstBy('rank'))\r\n return teams\r\n },\r\n tieBreakNotes () {\r\n return this.pool.tiebreakNotes\r\n },\r\n xsHeaders () {\r\n return [\r\n { align: 'left', sortable: false },\r\n { text: 'Team', align: 'left', sortable: false, value: 'name' },\r\n { text: this.totalPoints ? 'Total Points' : 'Record', align: 'center', sortable: false }\r\n ]\r\n },\r\n newHeaders () {\r\n const m = this.pool.setting.isMatch\r\n const a = this.advanced\r\n const d = this.pool.isDuals\r\n const t = this.totalPoints\r\n return [\r\n { text: this.showSummaries ? 'Finish' : 'Standing', align: 'center', sortable: false, value: 'rank', show: true },\r\n { text: 'Team Name', align: 'left', sortable: false, value: 'name', show: true },\r\n { text: 'Total Points', align: 'center', sortable: false, value: 'pointsFor', show: !a && t },\r\n { text: 'Wins', align: 'center', sortable: false, value: 'wins', show: (!a && !t) || (a && !m) },\r\n { text: 'Losses', align: 'center', sortable: false, value: 'losses', show: (!a && !t) || (a && !m) },\r\n { text: 'Duals', align: 'center', sortable: false, value: 'duals', show: a && d },\r\n { text: 'Matches', align: 'center', sortable: false, value: 'matches', show: a && m },\r\n { text: 'Sets', align: 'center', sortable: false, value: 'sets', show: a && m },\r\n { text: 'PF', align: 'center', sortable: false, value: 'pointsFor', show: a },\r\n { text: 'PA', align: 'center', sortable: false, value: 'pointsAgainst', show: a },\r\n { text: 'PD', align: 'center', sortable: false, value: 'pointDiff', show: a },\r\n { text: 'PR', align: 'center', sortable: false, value: 'pointDiffRatio', show: a }\r\n ].filter(f => f.show)\r\n },\r\n headers () {\r\n if (!this.pool) return []\r\n if (!this.advanced) {\r\n return [\r\n { text: this.showSummaries ? 'Finish' : 'Standing', align: 'center', sortable: false },\r\n { text: 'Team Name', align: 'left', sortable: false },\r\n { text: 'Wins', align: 'center', sortable: false },\r\n { text: 'Losses', align: 'center', sortable: false }\r\n ]\r\n }\r\n\r\n if (this.pool.setting.isMatch) {\r\n return [\r\n { text: this.showSummaries ? 'Finish' : 'Standing', align: 'center', sortable: false },\r\n { text: 'Team Name', align: 'left', sortable: false },\r\n { text: 'Matches', align: 'center', sortable: false },\r\n { text: 'Sets', align: 'center', sortable: false },\r\n { text: 'PF', align: 'center', sortable: false },\r\n { text: 'PA', align: 'center', sortable: false },\r\n { text: 'PD', align: 'center', sortable: false },\r\n { text: 'PR', align: 'center', sortable: false }\r\n ]\r\n }\r\n return [\r\n { text: this.showSummaries ? 'Finish' : 'Standing', align: 'center', sortable: false },\r\n { text: 'Team Name', align: 'left', sortable: false },\r\n { text: 'Wins', align: 'center', sortable: false },\r\n { text: 'Losses', align: 'center', sortable: false },\r\n { text: 'PF', align: 'center', sortable: false },\r\n { text: 'PA', align: 'center', sortable: false },\r\n { text: 'PD', align: 'center', sortable: false },\r\n { text: 'PR', align: 'center', sortable: false }\r\n ]\r\n },\r\n lockDTO () {\r\n return this.pool.teams.map(team => {\r\n return {\r\n id: team.id,\r\n summary: {\r\n finish: team.rank,\r\n dualWins: team.dualWins,\r\n dualLosses: team.dualLosses,\r\n matchWins: team.matchWins,\r\n matchLosses: team.matchLosses,\r\n setWins: team.setWins,\r\n setLosses: team.setLosses,\r\n pointsFor: team.pointsFor,\r\n pointsAgainst: team.pointsAgainst\r\n }\r\n }\r\n })\r\n },\r\n showSummaries () {\r\n return this.pool.locked || this.summaries\r\n },\r\n showTiebreaks () {\r\n return this.tieBreakNotes && this.tieBreakNotes.length > 0 && !this.manuallyChanged\r\n },\r\n manuallyChanged () {\r\n return !!this.rankedTeams.find(team => team.manuallyChanged)\r\n },\r\n courtFab () {\r\n const courts = this.pool.courts ? this.pool.courts.split(' ') : []\r\n return courts.length && this.tournament.fabs.find(f => f.type === 'court' && f.courtName === courts[0])\r\n },\r\n playerIds () {\r\n return flatten(this.pool.teams.map(pt => {\r\n const t = this.getTeam(pt.teamId)\r\n return t.players.map(p => p.playerProfileId)\r\n }))\r\n }\r\n },\r\n methods: {\r\n teamClick (id) {\r\n this.$router.push({ name: 'division-team', params: { tournamentId: this.tournament.id, teamId: id } })\r\n },\r\n getRep (teamId) {\r\n var x = this.getTeam(teamId)\r\n return x.getRep(this.division.repField)\r\n },\r\n onFinishManually (finishes) {\r\n this.lockToggle(finishes)\r\n },\r\n onLockToggle () {\r\n this.lockToggle()\r\n },\r\n lockToggle (manualFinishes) {\r\n this.loading = true\r\n const dto = {\r\n locked: !this.pool.locked,\r\n teams: this.lockDTO\r\n }\r\n if (manualFinishes) {\r\n manualFinishes.forEach(finish => {\r\n const team = dto.teams.find(f => f.id === finish.id)\r\n team.summary.finish = +finish.finish\r\n team.summary.matchWins = +finish.matchWins\r\n team.summary.matchLosses = +finish.matchLosses\r\n team.summary.pointsFor = +finish.pointsFor\r\n team.summary.pointsAgainst = +finish.pointsAgainst\r\n })\r\n }\r\n this.pool.patch(dto)\r\n .then(() => {\r\n this.pool.locked = dto.locked\r\n dto.teams.forEach(t => {\r\n const team = this.pool.teams.find(f => f.id === t.id)\r\n team.summary = t.summary\r\n })\r\n this.loading = false\r\n })\r\n },\r\n print () {\r\n window.print()\r\n },\r\n checkScroll () {\r\n if (this.$route.query.number) {\r\n const target = this.$refs[`match${this.$route.query.number}`]\r\n if (target) {\r\n const t = target[0]\r\n this.$vuetify.goTo(t, {\r\n duration: 333,\r\n offset: 333,\r\n easing: 'easeInOutCubic'\r\n })\r\n t.$el.scrollIntoView()\r\n }\r\n }\r\n }\r\n },\r\n watch: {\r\n 'pool.matches': {\r\n handler: function () {\r\n this.pool && this.pool.summarize()\r\n },\r\n deep: true\r\n }\r\n },\r\n components: {\r\n MatchCard,\r\n EditAllDialog,\r\n UnlockDialog,\r\n ManualFinish,\r\n AddMatch,\r\n PdfMaker,\r\n DualCard,\r\n DualMatchUpCard,\r\n PlayerCardsListDialog,\r\n SummaryTable,\r\n TeamMessageButton,\r\n MatchUpCreator,\r\n MatchPrint,\r\n FutureMatches\r\n },\r\n mounted () {\r\n if (['Matches', 'Friday', 'Saturday', 'Sunday'].includes(this.round.name) || this.tournament.isLeague || this.round.freePlay) {\r\n this.hideSum = true\r\n }\r\n this.$nextTick(this.checkScroll())\r\n // console.log(this.myDays)\r\n // if (this.myDays) this.displayDay = this.myDays[0]\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.sm {\r\n font-size: smaller !important;\r\n}\r\n.xs {\r\n font-size: x-small;\r\n}\r\n.forfeit {\r\n text-decoration: line-through;\r\n}\r\n.v-avatar span {\r\n font-size: 13px;\r\n}\r\n.nested td {\r\n border: none !important;\r\n}\r\n.nested td > div {\r\n line-height: initial;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-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--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-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=4e693dba&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=4e693dba&scoped=true&lang=css&\"\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 \"4e693dba\",\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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSubheader } from 'vuetify/lib/components/VSubheader';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VAlert,VBtn,VCard,VCol,VContainer,VDialog,VExpandTransition,VIcon,VList,VListItem,VRow,VSelect,VSubheader,VToolbar,VToolbarTitle})\n","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=4e693dba&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=4e693dba&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.$vuetify.breakpoint.xs)?_c('v-data-table',{staticClass:\"elevation-1 t2\",attrs:{\"headers\":_vm.xsHeaders,\"items\":_vm.teams,\"hide-default-footer\":\"\",\"mobile-breakpoint\":0,\"options\":{itemsPerPage: -1},\"dense\":\"\"},scopedSlots:_vm._u([{key:\"body\",fn:function(ref){\nvar items = ref.items;\nreturn [_c('tbody',_vm._l((items),function(item){return _c('tr',{key:item.id},[_c('td',{staticClass:\"text-center pr-1\",attrs:{\"width\":\"30px\"}},[(item.forfeit)?_c('v-icon',{attrs:{\"color\":\"red\"}},[_vm._v(\"fas fa-medkit\")]):(_vm.teamColorsInverse && !item.logo)?_c('v-avatar',{attrs:{\"size\":\"24\",\"color\":_vm.teamColorsInverse[item.slot - 1]}},[_c('span',{staticClass:\"white--text\"},[_vm._v(_vm._s(item.slot))])]):_c('span',{staticClass:\"text-no-wrap\"},[_vm._v(\" \"+_vm._s(_vm._f(\"ordinal\")(((item.dRank || item.rank) === 999 ? '' : (item.dRank || item.rank))))+\" \")]),(item.logo)?_c('v-img',{attrs:{\"src\":item.logo,\"height\":\"36\",\"max-width\":\"48\",\"contain\":\"\"}}):_vm._e()],1),(_vm.usePlayerNames(item))?_c('td',{staticClass:\"text-left border-right clickable color3--text\"},_vm._l((item.playerNames),function(name,i){return _c('div',{key:(\"name_\" + i),staticClass:\"color3--text\",class:{forfeit: item.forfeit},on:{\"click\":function($event){$event.stopPropagation();return _vm.teamClick(item.teamId)}}},[(item.countryCode)?_c('country-flag',{attrs:{\"country-code\":item.countryCode}}):_vm._e(),_vm._v(\" \"+_vm._s(name)+\" \")],1)}),0):_c('td',{staticClass:\"text-left border-right clickable color3--text\",on:{\"click\":function($event){$event.stopPropagation();return _vm.teamClick(item.teamId)}}},[(item.countryCode)?_c('country-flag',{attrs:{\"country-code\":item.countryCode}}):_vm._e(),_vm._v(\" \"+_vm._s(item.name)+\" \")],1),(_vm.totalPoints)?_c('td',{staticClass:\"text-center\"},[_vm._v(_vm._s(item.pointsFor))]):_c('td',{staticClass:\"text-center\"},[_vm._v(_vm._s(item.wins)+\" - \"+_vm._s(item.losses))])])}),0)]}}],null,false,1448672808)}):_c('v-data-table',{staticClass:\"elevation-1 t2 br\",attrs:{\"headers\":_vm.newHeaders,\"items\":_vm.teams,\"hide-default-footer\":\"\",\"options\":{itemsPerPage: -1},\"dense\":_vm.dense},scopedSlots:_vm._u([{key:\"item.rank\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.forfeit)?_c('v-icon',{attrs:{\"color\":\"red\"}},[_vm._v(\"fas fa-medkit\")]):_c('span',{staticClass:\"text-no-wrap\",class:{title: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(_vm._f(\"ordinal\")(((item.dRank || item.rank) === 999 ? '' : (item.dRank || item.rank))))+\" \")])]}},{key:\"item.name\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('table',{staticClass:\"nested\"},[_c('tr',[(_vm.teamColorsInverse)?_c('td',{staticClass:\"pa-0\",attrs:{\"width\":\"30px\"}},[_c('v-avatar',{attrs:{\"size\":\"24\",\"color\":_vm.teamColorsInverse[item.slot - 1]}},[_c('span',{staticClass:\"white--text\"},[_vm._v(_vm._s(item.slot))])])],1):_vm._e(),(_vm.usePlayerNames(item))?_c('td',[_c('div',{staticClass:\"subtitle-1 text-no-wrap clickable color3--text d-flex align-center\",class:{sm: _vm.advanced && _vm.$vuetify.breakpoint.smAndDown, forfeit: item.forfeit },on:{\"click\":function($event){$event.stopPropagation();return _vm.teamClick(item.teamId)}}},[(item.logo)?_c('v-img',{staticClass:\"mr-6\",attrs:{\"src\":item.logo,\"height\":\"36\",\"max-width\":\"48\",\"contain\":\"\"}}):_vm._e(),(!_vm.hideSeeds && item.seed)?_c('span',{staticClass:\"grey--text text-end\",staticStyle:{\"font-size\":\"0.65rem\",\"width\":\"12px\"}},[_vm._v(_vm._s(_vm.hideSeeds ? '' : item.seed || ''))]):_vm._e(),_c('div',_vm._l((item.playerNames),function(name,i){return _c('div',{key:(\"name_\" + i),class:{forfeit: item.forfeit},on:{\"click\":function($event){$event.stopPropagation();return _vm.teamClick(item.teamId)}}},[(item.countryCode)?_c('country-flag',{attrs:{\"country-code\":item.countryCode,\"classes\":\"mx-1\"}}):_vm._e(),_vm._v(\" \"+_vm._s(name)+\" \")],1)}),0),_c('div')],1)]):_c('td',[_c('div',{staticClass:\"subtitle-1 text-no-wrap clickable color3--text d-flex align-center\",class:{sm: _vm.advanced && _vm.$vuetify.breakpoint.smAndDown, forfeit: item.forfeit},on:{\"click\":function($event){$event.stopPropagation();return _vm.teamClick(item.teamId)}}},[(item.logo)?_c('v-img',{staticClass:\"mr-6\",attrs:{\"src\":item.logo,\"height\":\"36\",\"max-width\":\"48\",\"contain\":\"\"}}):_vm._e(),(!_vm.hideSeeds && item.seed)?_c('span',{staticClass:\"grey--text text-end\",staticStyle:{\"font-size\":\"0.65rem\",\"width\":\"12px\"}},[_vm._v(_vm._s(_vm.hideSeeds ? '' : item.seed || ''))]):_vm._e(),(item.countryCode)?_c('country-flag',{attrs:{\"country-code\":item.countryCode,\"classes\":\"mx-1\"}}):_vm._e(),_vm._v(\" \"+_vm._s(item.name)+\" \")],1),(!_vm.noRep)?_c('div',{staticClass:\"text-no-wrap\",class:{sm: _vm.advanced && _vm.$vuetify.breakpoint.smAndDown, forfeit: item.forfeit, 'pl-3': !!(_vm.hideSeeds ? '' : item.seed || '')},staticStyle:{\"color\":\"rgba(0,0,0,0.54)\"}},[_vm._v(\" \"+_vm._s(_vm.getRep(item.teamId))+\" \")]):_vm._e()])])])]}},{key:\"item.wins\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.wins)+\" \")])]}},{key:\"item.losses\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.losses)+\" \")])]}},{key:\"item.duals\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.dualWins)+\" - \"+_vm._s(item.dualLosses)+\" \")])]}},{key:\"item.matches\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.matchWins)+\" - \"+_vm._s(item.matchLosses)+\" \")])]}},{key:\"item.sets\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.setWins)+\" - \"+_vm._s(item.setLosses)+\" \")])]}},{key:\"item.pointsFor\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.pointsFor)+\" \")])]}},{key:\"item.pointsAgainst\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.pointsAgainst)+\" \")])]}},{key:\"item.pointDiff\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(item.pointDiff)+\" \")])]}},{key:\"item.pointDiffRatio\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-no-wrap\",class:{headline: !_vm.advanced || _vm.$vuetify.breakpoint.mdAndUp}},[_vm._v(\" \"+_vm._s(_vm._f(\"fixed2\")(item.pointDiffRatio))+\" \")])]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <!-- XS -->\r\n <v-data-table\r\n v-if=\"$vuetify.breakpoint.xs\"\r\n :headers=\"xsHeaders\"\r\n :items=\"teams\"\r\n hide-default-footer\r\n :mobile-breakpoint=\"0\"\r\n :options=\"{itemsPerPage: -1}\"\r\n class=\"elevation-1 t2\"\r\n dense\r\n >\r\n <template v-slot:body=\"{ items }\">\r\n <tbody>\r\n <tr v-for=\"item in items\" :key=\"item.id\">\r\n <td class=\"text-center pr-1\" width=\"30px\">\r\n <!-- IF FORFIET -->\r\n <v-icon v-if=\"item.forfeit\" color=\"red\">fas fa-medkit</v-icon>\r\n <!-- ELSE IF SLOTS & !LOGO -->\r\n <v-avatar v-else-if=\"teamColorsInverse && !item.logo\" size=\"24\" :color=\"teamColorsInverse[item.slot - 1]\">\r\n <span class=\"white--text\">{{item.slot}}</span>\r\n </v-avatar>\r\n <span v-else class=\"text-no-wrap\">\r\n {{((item.dRank || item.rank) === 999 ? '' : (item.dRank || item.rank)) | ordinal}}\r\n </span>\r\n <!-- IF LOGO -->\r\n <v-img\r\n v-if=\"item.logo\"\r\n :src=\"item.logo\"\r\n height=\"36\"\r\n max-width=\"48\"\r\n contain\r\n ></v-img>\r\n </td>\r\n\r\n <td class=\"text-left border-right clickable color3--text\" v-if=\"usePlayerNames(item)\">\r\n <div\r\n @click.stop=\"teamClick(item.teamId)\"\r\n :class=\"{forfeit: item.forfeit}\"\r\n class=\"color3--text\"\r\n v-for=\"(name, i) in item.playerNames\"\r\n :key=\"`name_${i}`\"\r\n >\r\n <country-flag\r\n v-if=\"item.countryCode\"\r\n :country-code=\"item.countryCode\"\r\n />\r\n {{name}}\r\n </div>\r\n </td>\r\n <td v-else @click.stop=\"teamClick(item.teamId)\" class=\"text-left border-right clickable color3--text\">\r\n <country-flag\r\n v-if=\"item.countryCode\"\r\n :country-code=\"item.countryCode\"\r\n />\r\n {{item.name}}\r\n </td>\r\n <td class=\"text-center\" v-if=\"totalPoints\">{{item.pointsFor}}</td>\r\n <td class=\"text-center\" v-else>{{item.wins}} - {{item.losses}}</td>\r\n </tr>\r\n </tbody>\r\n </template>\r\n </v-data-table>\r\n <!-- SM AND UP-->\r\n <v-data-table\r\n v-else\r\n :headers=\"newHeaders\"\r\n :items=\"teams\"\r\n hide-default-footer\r\n class=\"elevation-1 t2 br\"\r\n :options=\"{itemsPerPage: -1}\"\r\n :dense=\"dense\"\r\n >\r\n <template v-slot:[`item.rank`]=\"{ item }\">\r\n <v-icon color=\"red\" v-if=\"item.forfeit\">fas fa-medkit</v-icon>\r\n <span v-else class=\"text-no-wrap\" :class=\"{title: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{((item.dRank || item.rank) === 999 ? '' : (item.dRank || item.rank)) | ordinal}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.name`]=\"{ item }\">\r\n <table class=\"nested\">\r\n <tr>\r\n <td class=\"pa-0\" width=\"30px\" v-if=\"teamColorsInverse\">\r\n <v-avatar size=\"24\" :color=\"teamColorsInverse[item.slot - 1]\">\r\n <span class=\"white--text\">{{item.slot}}</span>\r\n </v-avatar>\r\n </td>\r\n <td v-if=\"usePlayerNames(item)\">\r\n <div\r\n class=\"subtitle-1 text-no-wrap clickable color3--text d-flex align-center\"\r\n :class=\"{sm: advanced && $vuetify.breakpoint.smAndDown, forfeit: item.forfeit }\"\r\n @click.stop=\"teamClick(item.teamId)\"\r\n >\r\n <v-img\r\n v-if=\"item.logo\"\r\n :src=\"item.logo\"\r\n height=\"36\"\r\n max-width=\"48\"\r\n contain\r\n class=\"mr-6\"\r\n ></v-img>\r\n <span class=\"grey--text text-end\" style=\"font-size: 0.65rem; width: 12px;\" v-if=\"!hideSeeds && item.seed\">{{hideSeeds ? '' : item.seed || ''}}</span>\r\n <div>\r\n <div\r\n @click.stop=\"teamClick(item.teamId)\"\r\n :class=\"{forfeit: item.forfeit}\"\r\n v-for=\"(name, i) in item.playerNames\"\r\n :key=\"`name_${i}`\"\r\n >\r\n <country-flag\r\n v-if=\"item.countryCode\"\r\n :country-code=\"item.countryCode\"\r\n classes=\"mx-1\"\r\n />\r\n {{name}}\r\n </div>\r\n </div>\r\n <div></div>\r\n </div>\r\n </td>\r\n <td v-else>\r\n <div\r\n class=\"subtitle-1 text-no-wrap clickable color3--text d-flex align-center\"\r\n :class=\"{sm: advanced && $vuetify.breakpoint.smAndDown, forfeit: item.forfeit}\"\r\n @click.stop=\"teamClick(item.teamId)\"\r\n >\r\n <v-img\r\n v-if=\"item.logo\"\r\n :src=\"item.logo\"\r\n height=\"36\"\r\n max-width=\"48\"\r\n contain\r\n class=\"mr-6\"\r\n ></v-img>\r\n <span class=\"grey--text text-end\" style=\"font-size: 0.65rem; width: 12px;\" v-if=\"!hideSeeds && item.seed\">{{hideSeeds ? '' : item.seed || ''}}</span>\r\n <country-flag\r\n v-if=\"item.countryCode\"\r\n :country-code=\"item.countryCode\"\r\n classes=\"mx-1\"\r\n />\r\n {{item.name}}\r\n </div>\r\n <div\r\n v-if=\"!noRep\"\r\n class=\"text-no-wrap\"\r\n :class=\"{sm: advanced && $vuetify.breakpoint.smAndDown, forfeit: item.forfeit, 'pl-3': !!(hideSeeds ? '' : item.seed || '')}\"\r\n style=\"color: rgba(0,0,0,0.54);\"\r\n >\r\n {{getRep(item.teamId)}}\r\n </div>\r\n </td>\r\n </tr>\r\n </table>\r\n </template>\r\n <template v-slot:[`item.wins`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.wins}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.losses`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.losses}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.duals`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.dualWins}} - {{item.dualLosses}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.matches`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.matchWins}} - {{item.matchLosses}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.sets`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.setWins}} - {{item.setLosses}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.pointsFor`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.pointsFor}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.pointsAgainst`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.pointsAgainst}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.pointDiff`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.pointDiff}}\r\n </span>\r\n </template>\r\n <template v-slot:[`item.pointDiffRatio`]=\"{ item }\">\r\n <span class=\"text-no-wrap\" :class=\"{headline: !advanced || $vuetify.breakpoint.mdAndUp}\">\r\n {{item.pointDiffRatio | fixed2}}\r\n </span>\r\n </template>\r\n </v-data-table>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from 'vuex'\r\nimport { usePlayerNames } from '@/classes/HelperFunctions'\r\nconst CountryFlag = () => import('@/components/Utils/CountryFlag.vue')\r\n\r\nexport default {\r\n components: {\r\n CountryFlag\r\n },\r\n props: [\r\n 'teams',\r\n 'advanced',\r\n 'division',\r\n 'teamColorsInverse',\r\n 'tournament',\r\n 'showSummaries',\r\n 'isMatch',\r\n 'isDuals',\r\n 'hideSeeds',\r\n 'dense',\r\n 'totalPoints',\r\n 'matchPoints'\r\n ],\r\n computed: {\r\n ...mapGetters(['getTeam']),\r\n xsHeaders () {\r\n return [\r\n { align: 'left', sortable: false },\r\n { text: 'Team', align: 'left', sortable: false, value: 'name' },\r\n { text: this.totalPoints ? 'Total Points' : 'Record', align: 'center', sortable: false }\r\n ]\r\n },\r\n newHeaders () {\r\n const m = this.isMatch\r\n const a = this.advanced\r\n const d = this.isDuals && this.division.dualText.startsWith('D')\r\n const t = this.totalPoints\r\n const mp = this.matchPoints\r\n return [\r\n { text: this.showSummaries ? 'Finish' : 'Standing', align: 'center', sortable: false, value: 'rank', show: true },\r\n { text: 'Team Name', align: 'left', sortable: false, value: 'name', show: true },\r\n { text: 'Total Points', align: 'center', sortable: false, value: 'pointsFor', show: t },\r\n { text: 'Wins', align: 'center', sortable: false, value: 'wins', show: (!a && !t) || (a && !m) },\r\n { text: 'Losses', align: 'center', sortable: false, value: 'losses', show: (!a && !t) || (a && !m) },\r\n { text: `${this.division.dualText}s`, align: 'center', sortable: false, value: 'duals', show: a && d },\r\n { text: 'Matches', align: 'center', sortable: false, value: 'matches', show: a && m },\r\n { text: 'Sets', align: 'center', sortable: false, value: 'sets', show: a && m },\r\n { text: 'MP', align: 'center', sortable: false, value: 'matchPoints', show: a && mp },\r\n { text: 'PF', align: 'center', sortable: false, value: 'pointsFor', show: a && !t },\r\n { text: 'PA', align: 'center', sortable: false, value: 'pointsAgainst', show: a },\r\n { text: 'PD', align: 'center', sortable: false, value: 'pointDiff', show: a },\r\n { text: 'PR', align: 'center', sortable: false, value: 'pointDiffRatio', show: a }\r\n ].filter(f => f.show)\r\n },\r\n noRep () {\r\n return this.isDuals || (this.division && this.division.props.includes('noRep')) || this.division.isNcaa\r\n }\r\n },\r\n methods: {\r\n usePlayerNames (team) {\r\n return usePlayerNames(team, this.division, this.isDuals, this.$vuetify.breakpoint.xs)\r\n },\r\n teamClick (id) {\r\n this.$router.push({ name: 'division-team', params: { tournamentId: this.tournament.id, teamId: id } })\r\n },\r\n getRep (teamId) {\r\n var x = this.getTeam(teamId)\r\n return x.getRep(this.division.repField)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.sm {\r\n font-size: smaller !important;\r\n}\r\n.forfeit {\r\n text-decoration: line-through;\r\n}\r\n.v-avatar span {\r\n font-size: 13px;\r\n}\r\n.nested td {\r\n border: none !important;\r\n}\r\n.nested td > div {\r\n line-height: initial;\r\n}\r\n\r\n>>> td, >>> th {\r\n padding: 0 4px !important;\r\n border-right: 1px solid rgba(0,0,0,0.12);\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SummaryTable.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/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SummaryTable.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SummaryTable.vue?vue&type=template&id=21d1e599&scoped=true&\"\nimport script from \"./SummaryTable.vue?vue&type=script&lang=js&\"\nexport * from \"./SummaryTable.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SummaryTable.vue?vue&type=style&index=0&id=21d1e599&scoped=true&lang=css&\"\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 \"21d1e599\",\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 { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\ninstallComponents(component, {VAvatar,VDataTable,VIcon,VImg})\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SummaryTable.vue?vue&type=style&index=0&id=21d1e599&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SummaryTable.vue?vue&type=style&index=0&id=21d1e599&scoped=true&lang=css&\""],"sourceRoot":""}