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lB,SAASA,EAASnI,GACd,MAAO,CACH0G,OAAQA,GAGZ,SAASA,EAAOC,GACZ,OAAIxL,EAAK8G,UAAUjC,EAAQpK,KAAauE,QAAQC,UAEzCD,QAAQC,QAAQ4F,EAAQpK,KAC1BsB,KAAKyP,GAAOxL,EAAKgH,cACjBjL,MAAK,SAAU1D,GACZ,OAAO2H,EAAK6G,UAAUxO,EAAM2H,EAAK4G,SAAS/B,EAAQpK,KACtD,IACCsB,MAAK,SAAU0P,GACZ,OAAO,IAAIzM,SAAQ,SAAUC,EAAS8J,GAClClE,EAAQmE,OAAS/J,EACjB4F,EAAQoE,QAAUF,EAClBlE,EAAQpK,IAAMgR,CAClB,GACJ,GACR,CACJ,CAEA,SAAStF,EAAUjM,GACf,OAAMA,aAAgB6J,QAEfkJ,EAAiB/S,GACnB6B,MAAK,WACF,OAAI7B,aAAgBgT,iBACTF,EAAS9S,GAAMqR,SAEfvM,QAAQgN,IACXhM,EAAKyD,QAAQvJ,EAAKqJ,YAAYnR,KAAI,SAAUwR,GACxC,OAAOuC,EAAUvC,EACrB,IAEZ,IAZmC5E,QAAQC,QAAQ/E,GAcvD,SAAS+S,EAAiB/S,GACtB,IAAIiT,EAAajT,EAAKyH,MAAM6C,iBAAiB,cAE7C,OAAK2I,EAEEjN,EAAQiG,UAAUgH,GACpBpR,MAAK,SAAUqR,GACZlT,EAAKyH,MAAM4C,YACP,aACA6I,EACAlT,EAAKyH,MAAM8C,oBAAoB,cAEvC,IACC1I,MAAK,WACF,OAAO7B,CACX,IAZoB8E,QAAQC,QAAQ/E,EAa5C,CACJ,CACJ,CA/tBImT,EAAOC,QAAUjT,CAguBxB,EAhwBD,E","sources":["webpack://tjing/./src/pages/PublicEventStandings.vue","webpack://tjing/./src/components/PublicEventStandingsImageGenerator.vue","webpack://tjing/src/components/PublicEventStandingsImageGenerator.vue","webpack://tjing/./src/components/PublicEventStandingsImageGenerator.vue?c9a3","webpack://tjing/./src/components/PublicEventStandingsImageGenerator.vue?4680","webpack://tjing/src/pages/PublicEventStandings.vue","webpack://tjing/./src/pages/PublicEventStandings.vue?0e13","webpack://tjing/./src/pages/PublicEventStandings.vue?f059","webpack://tjing/./node_modules/dom-to-image/src/dom-to-image.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (!_vm.loading)?_c('div',{class:{ 'event-standings': !_vm.isManager }},[(_vm.loadImage)?_c('PublicEventStandingsImageGenerator',{attrs:{\"page\":_vm.pagination.page,\"dev-mode\":false,\"division-to-render\":_vm.divisionToRender,\"image-render-mode\":_vm.imageRenderMode,\"player-id\":_vm.usersPlayerId},on:{\"completed\":function($event){_vm.loadImage = false}}}):_vm._e(),(!_vm.isManager)?_c('SmartStickyHeader',[_c('div',{staticClass:\"mobile-nav\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedDivisionId),expression:\"selectedDivisionId\"}],staticClass:\"mobile-division-select\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedDivisionId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.updateRoute()}]}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"Leaders\")]),_vm._l((_vm.eventData.divisions),function(division){return _c('option',{domProps:{\"value\":division.id}},[_vm._v(\" \"+_vm._s(division.name)+\" \")])})],2)])]):_vm._e(),(!_vm.isManager)?_c('div',{staticClass:\"content-header\"},[_c('div',{staticClass:\"division-selector\"},[_c('CustomDropDown',{attrs:{\"position\":\"left\",\"items\":_vm.divisionItems,\"disabled\":_vm.divisionItems.length === 1},on:{\"changeDivision\":function($event){return _vm.changeDivision($event)}}},[_c('div',{staticClass:\"selector-wrapper\"},[_c('p',[_c('b',[_vm._v(_vm._s(_vm.selectedDivisionName))])]),(_vm.divisionItems.length > 1)?_c('ChevronFat',{attrs:{\"direction\":\"down\"}}):_vm._e()],1)])],1)]):_vm._e(),_vm._l((_vm.leaderboards),function(leaderboard,leaderboardIndex){return [_c('div',{staticClass:\"division-header\"},[(_vm.selectedDivisionId === null)?_c('p',{staticClass:\"division-title\"},[_c('b',[_vm._v(\" \"+_vm._s(leaderboard.name))])]):_vm._e(),(leaderboard.players.length > 0)?_c('CustomDropDown',{attrs:{\"position\":\"left\",\"items\":_vm.downloadItems(_vm.playerInDivision(leaderboard))},on:{\"download\":function($event){return _vm.generateImage(leaderboard, $event)}}},[_c('p',{staticClass:\"download-image\"},[_c('b',[_vm._v(\"Download image\")])])]):_vm._e()],1),(\n leaderboard.players === null ||\n (leaderboard.players.length === 0 && _vm.selectedDivisionId === null)\n )?_c('div',{staticClass:\"leaders-placeholder\"},[_vm._m(0,true)]):(\n leaderboard.players === null || leaderboard.players.length === 0\n )?_c('PublicPagesPlaceholder',{key:leaderboard.id,staticClass:\"no-rounds-finished\",attrs:{\"title\":\"No rounds played yet\",\"text\":\"Once a round is finished the results will automagically be updated.\"}}):_c('div',{directives:[{name:\"hammer\",rawName:\"v-hammer:swipe\",value:((event) => _vm.moveDivision(event)),expression:\"(event) => moveDivision(event)\",arg:\"swipe\"}],staticClass:\"standings-table\",class:{ manager: _vm.isManager }},[_c('div',{staticClass:\"table-header\"},[_vm._m(1,true),_vm._m(2,true),_vm._m(3,true),_vm._m(4,true),_vm._l((_vm.eventData.rounds),function(round,index){return _c('div',{key:index,staticClass:\"round\",class:{ push: index == 0 }},[_c('p',[_vm._v(\"R\"+_vm._s(index + 1))])])}),_vm._m(5,true),(_vm.eventData.tour.scoringType.includes('POINTS'))?_c('div',{staticClass:\"points\"},[_c('p',[_vm._v(\"Points\")])]):_c('div',{staticClass:\"total\"},[_c('p',[_vm._v(\"Total\")])]),(_vm.isManager)?_c('div',{staticClass:\"actions\"}):_vm._e()],2),_c('div',{staticClass:\"table-body\"},_vm._l((leaderboard.players),function(player){return _c('div',{staticClass:\"player-row\"},[_c('div',{staticClass:\"position\"},[_c('p',[_vm._v(_vm._s(_vm.formattedPlace(player.place, leaderboard.players)))])]),_c('div',{staticClass:\"player\"},[_c('ProfilePopoverCard',{attrs:{\"userId\":player.userId}},[_c('div',{staticClass:\"player-wrapper\"},[_c('UserProfileAvatar',{attrs:{\"size\":\"S\",\"desktopSize\":\"D-M\",\"profileImageUrl\":player.profileImageUrl,\"initials\":player.firstName.charAt(0) + player.lastName.charAt(0)}}),_c('p',[_vm._v(_vm._s(player.firstName)+\" \"+_vm._s(player.lastName))])],1)])],1),_c('div',{staticClass:\"pdga\"},[_c('p',[_c('a',{attrs:{\"href\":'https://www.pdga.com/player/' + player.pdgaNumber,\"target\":\"_blank\"}},[_vm._v(_vm._s(player.pdgaNumber))])])]),_c('div',{staticClass:\"rating\"},[_c('p',[_c('a',{attrs:{\"href\":'https://www.pdga.com/player/' +\n player.pdgaNumber +\n '/details',\"target\":\"_blank\"}},[_vm._v(_vm._s(player.pdgaRating))])])]),_vm._l((player.poolLeaderboards),function(result,index){return _c('div',{staticClass:\"round\",class:{ push: index === 0 },on:{\"click\":function($event){return _vm.togglePoolStatRow(\n player,\n player.poolLeaderboards[index].poolId,\n index\n )}}},[_c('p',[_vm._v(\" \"+_vm._s(result.score)+\" \"),(result.penalties.length > 0)?_c('span'):_vm._e()])])}),_vm._l((_vm.emptyResultsToRender(\n _vm.eventData.rounds,\n player.poolLeaderboards\n )),function(round,roundIndex){return _c('div',{key:roundIndex,staticClass:\"round\"})}),_c('div',{staticClass:\"par\",on:{\"click\":function($event){return _vm.toggleStatRow(player)}}},[_c('p',[_vm._v(_vm._s(_vm.convertPar(player.par)))])]),(_vm.eventData.tour.scoringType.includes('POINTS'))?_c('div',{staticClass:\"points\"},[_c('p',[(player.isDnf)?[_vm._v(\"DNF\")]:(player.isDns)?[_vm._v(\"DNS\")]:[_vm._v(\" \"+_vm._s(player.points)+\" \")]],2)]):_c('div',{staticClass:\"total\",on:{\"click\":function($event){return _vm.toggleStatRow(player)}}},[_c('p',[(player.isDnf)?[_vm._v(\"DNF\")]:(player.isDns)?[_vm._v(\"DNS\")]:[_vm._v(\" \"+_vm._s(player.score)+\" \")]],2)]),(_vm.isManager)?_c('div',{staticClass:\"actions\"},[_c('span',{on:{\"click\":function($event){_vm.selectedPlayer = player}}},[_c('Edit',{attrs:{\"color\":\"white\"}})],1)]):_vm._e()],2)}),0)]),_c('div',{staticClass:\"table-footer\"},[(!_vm.$route.params.divisionId && leaderboard.players.length > 0)?_c('div',{staticClass:\"view-full\"},[_c('p',{on:{\"click\":function($event){return _vm.viewFullStandings(leaderboard)}}},[_vm._v(\"View full standings\")])]):_vm._e(),(\n _vm.leaderboardCount(leaderboard) > _vm.pagination.perPage &&\n _vm.$route.params.divisionId\n )?_c('div',{staticClass:\"pagination-wrapper\"},[_c('Pagination',{attrs:{\"total\":_vm.leaderboardCount(leaderboard),\"perPage\":_vm.pagination.perPage,\"currentPage\":_vm.pagination.page},on:{\"back\":function($event){_vm.pagination.page--},\"forward\":function($event){_vm.pagination.page++},\"start\":function($event){_vm.pagination.page = 0},\"end\":function($event){_vm.pagination.page =\n Math.ceil(_vm.leaderboardCount(leaderboard) / _vm.pagination.perPage) -\n 1}}})],1):_vm._e(),(\n _vm.eventData.tour.scoringType.includes('POINTS') &&\n _vm.selectedDivisionId !== null\n )?_c('div',{staticClass:\"points-wrapper\",on:{\"click\":function($event){return _vm.$refs.eventpointsystem.open()}}},[_c('ToolTip'),_c('p',[_vm._v(\"Points\")])],1):_vm._e(),(leaderboardIndex === _vm.leaderboards.length - 1)?_c('div',{directives:[{name:\"hammer\",rawName:\"v-hammer:swipe\",value:((event) => _vm.moveDivision(event)),expression:\"(event) => moveDivision(event)\",arg:\"swipe\"}],staticClass:\"quick-nav-info-container\"},[_c('SwipeNavigation'),_c('p',[_vm._v(\" Swiftly browse divisions by swiping left or right on the above table \")])],1):_vm._e()])]}),(_vm.leaderboards && _vm.leaderboards.length === 0)?_c('PublicPagesPlaceholder',{directives:[{name:\"hammer\",rawName:\"v-hammer:swipe\",value:((event) => _vm.moveDivision(event)),expression:\"(event) => moveDivision(event)\",arg:\"swipe\"}],staticClass:\"no-rounds-finished\",attrs:{\"title\":\"No rounds played yet\",\"text\":\"Once a round is finished the results will automagically be updated.\"}}):_vm._e(),(_vm.isManager)?_c('EditResultsSidebar',{attrs:{\"show\":_vm.selectedPlayer !== null,\"player\":_vm.selectedPlayer,\"rounds\":_vm.eventData.rounds.length},on:{\"close\":function($event){return _vm.loadData()},\"updated\":function($event){return _vm.updatedScores()}}}):_vm._e(),_c('sweet-modal',{ref:\"eventpointsystem\",attrs:{\"enable-mobile-fullscreen\":false,\"hide-close-button\":\"\"}},[_c('PublicEventPointSystemModal',{attrs:{\"scoringType\":_vm.eventData.tour.scoringType,\"pointSystem\":_vm.eventData.tour.customPointSystem},on:{\"close\":function($event){return _vm.$refs.eventpointsystem.close()}}})],1),_c('sweet-modal',{ref:\"usereventstats\",attrs:{\"enable-mobile-fullscreen\":false,\"hide-close-button\":\"\"},on:{\"close\":function($event){_vm.userEventStats = null}}},[(_vm.userEventStats !== null)?_c('UserEventStats',{attrs:{\"titleText\":_vm.userStatTitle,\"userStats\":_vm.userEventStats,\"poolId\":_vm.userStatPoolId},on:{\"close\":function($event){return _vm.$refs.usereventstats.close()}}}):_vm._e()],1)],2):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('b',[_vm._v(\"No rounds played yet\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"position\"},[_c('p')])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"player\"},[_c('p',[_vm._v(\"Player\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"pdga\"},[_c('p',[_vm._v(\"PDGA\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"rating\"},[_c('p',[_vm._v(\"Rating\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"par\"},[_c('p',[_vm._v(\"Par\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (!_vm.loading)?_c('div',{staticClass:\"event-standings-image-generator\",class:{ 'dev-mode': _vm.devMode }},[_c('div',{staticClass:\"render-container\",class:_vm.imageRenderMode == 'ALL' ? 'all' : ''},[_c('div',{staticClass:\"target\",attrs:{\"id\":'source' + _vm.divisionToRender.id}},[_c('div',{staticClass:\"image-header\"},[_c('div',{staticClass:\"left\"},[_c('p',{staticClass:\"event-name\"},[_vm._v(\" \"+_vm._s(_vm.eventData.name)+\" \")]),_c('p',{staticClass:\"division\"},[_vm._v(_vm._s(_vm.divisionToRender.name))])]),_c('div',{staticClass:\"right\"},[(\n _vm.imageRenderMode == 'TOP' && _vm.divisionToRender.players.length > 11\n )?_c('div',{staticClass:\"fold\"},[_c('p',{staticClass:\"top-10\"},[_vm._v(\"Top 10\")])]):_vm._e()])]),(!_vm.imagesRendered)?_c('div',{staticClass:\"division-results\",class:{\n 'multi-round':\n _vm.eventData.rounds.length > 1 && _vm.eventData.rounds.length < 5,\n }},[_c('table',{staticClass:\"leaderboard-table\"},[_c('thead',{staticClass:\"text-uppercase\"},[_c('tr',[_c('th',{staticClass:\"spacer\"}),_c('th',{staticClass:\"position\"},[_vm._v(\"Pos\")]),_c('th',{staticClass:\"player\"},[_vm._v(\"Player\")]),_c('th',{staticClass:\"pdga d-none\"},[_vm._v(\"pdga\")]),_c('th',{staticClass:\"rating d-none\"}),_vm._l((_vm.eventData.rounds),function(round,index){return (\n _vm.eventData.rounds.length < 4 && _vm.eventData.rounds.length > 1\n )?_c('th',{key:index,staticClass:\"results landscape\"},[_vm._v(\" R\"+_vm._s(index + 1)+\" \")]):_vm._e()}),_c('th',{staticClass:\"par\"},[_vm._v(\"Par\")]),_c('th',{staticClass:\"total\"},[_vm._v(\"TOT\")]),_c('th',{staticClass:\"spacer\"})],2)]),_c('tbody',_vm._l((_vm.shortLeaderboard),function(player,index){return _c('tr',{key:player.userId,class:{\n marked:\n _vm.playerId == player.playerId && _vm.imageRenderMode == 'YOU',\n 'before-marked':\n _vm.playerBeforeMarked == index && _vm.imageRenderMode == 'YOU',\n }},[_c('td',{staticClass:\"spacer\"}),_c('td',{staticClass:\"position\"},[_vm._v(_vm._s(player.place))]),_c('td',{staticClass:\"player\"},[_vm._v(\" \"+_vm._s(player.firstName)+\" \"+_vm._s(player.lastName)+\" \")]),_c('td',{staticClass:\"pdga d-none\"},[_c('a',{attrs:{\"href\":'https://www.pdga.com/player/' + player.pdgaNumber,\"target\":\"_blank\"}},[_vm._v(_vm._s(player.pdgaNumber))])]),_c('td',{staticClass:\"rating d-none\"},[_c('a',{attrs:{\"href\":'https://www.pdga.com/player/' +\n player.pdgaNumber +\n '/details',\"target\":\"_blank\"}},[_vm._v(_vm._s(player.pdgaRating))])]),_vm._l((player.poolLeaderboards),function(result,resultIndex){return (\n _vm.eventData.rounds.length < 4 && _vm.eventData.rounds.length > 1\n )?_c('td',{key:player.playerId + resultIndex + 'result',staticClass:\"result landscape\"},[_vm._v(\" \"+_vm._s(result.score)+\" \")]):_vm._e()}),_vm._l((_vm.eventData.rounds.length -\n player.poolLeaderboards.length),function(n){return (player.poolLeaderboards.length < 4)?_c('td',{key:player.playerId + n + 'resultblank',staticClass:\"result landscape\"}):_vm._e()}),_c('td',{staticClass:\"par\"},[_vm._v(_vm._s(_vm.convertPar(player.par)))]),(player.isDnf == false && player.isDns == false)?_c('td',{staticClass:\"total\"},[_vm._v(\" \"+_vm._s(player.score)+\" \")]):(player.isDnf)?_c('td',{staticClass:\"dnf\"},[_vm._v(\"DNF\")]):(player.isDns)?_c('td',{staticClass:\"dnf\"},[_vm._v(\"DNS\")]):_vm._e(),_c('td',{staticClass:\"spacer\"})],2)}),0)])]):_vm._e(),_c('div',{staticClass:\"division-footer\"},[_c('div',{staticClass:\"footer-left\"},[_c('p',[_vm._v(_vm._s(_vm.eventDate))])]),_c('div',{staticClass:\"footer-right\"},[_c('p',[_vm._v(\"Results from\")]),_c('Logo')],1)])])])]):_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!./PublicEventStandingsImageGenerator.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!./PublicEventStandingsImageGenerator.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PublicEventStandingsImageGenerator.vue?vue&type=template&id=42b8db96&scoped=true\"\nimport script from \"./PublicEventStandingsImageGenerator.vue?vue&type=script&lang=js\"\nexport * from \"./PublicEventStandingsImageGenerator.vue?vue&type=script&lang=js\"\nimport style0 from \"./PublicEventStandingsImageGenerator.vue?vue&type=style&index=0&id=42b8db96&prod&scoped=true&lang=scss\"\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 \"42b8db96\",\n null\n \n)\n\nexport default component.exports","\n\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!./PublicEventStandings.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!./PublicEventStandings.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PublicEventStandings.vue?vue&type=template&id=2f3560d4&scoped=true\"\nimport script from \"./PublicEventStandings.vue?vue&type=script&lang=js\"\nexport * from \"./PublicEventStandings.vue?vue&type=script&lang=js\"\nimport style0 from \"./PublicEventStandings.vue?vue&type=style&index=0&id=2f3560d4&prod&scoped=true&lang=scss\"\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 \"2f3560d4\",\n null\n \n)\n\nexport default component.exports","(function (global) {\n 'use strict';\n\n var util = newUtil();\n var inliner = newInliner();\n var fontFaces = newFontFaces();\n var images = newImages();\n\n // Default impl options\n var defaultOptions = {\n // Default is to fail on error, no placeholder\n imagePlaceholder: undefined,\n // Default cache bust is false, it will use the cache\n cacheBust: false\n };\n\n var domtoimage = {\n toSvg: toSvg,\n toPng: toPng,\n toJpeg: toJpeg,\n toBlob: toBlob,\n toPixelData: toPixelData,\n impl: {\n fontFaces: fontFaces,\n images: images,\n util: util,\n inliner: inliner,\n options: {}\n }\n };\n\n if (typeof module !== 'undefined')\n module.exports = domtoimage;\n else\n global.domtoimage = domtoimage;\n\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options\n * @param {Function} options.filter - Should return true if passed node should be included in the output\n * (excluding node means excluding it's children as well). Not called on the root node.\n * @param {String} options.bgcolor - color for the background, any valid CSS color value.\n * @param {Number} options.width - width to be applied to node before rendering.\n * @param {Number} options.height - height to be applied to node before rendering.\n * @param {Object} options.style - an object whose properties to be copied to node's style before rendering.\n * @param {Number} options.quality - a Number between 0 and 1 indicating image quality (applicable to JPEG only),\n defaults to 1.0.\n * @param {String} options.imagePlaceholder - dataURL to use as a placeholder for failed images, default behaviour is to fail fast on images we can't fetch\n * @param {Boolean} options.cacheBust - set to true to cache bust by appending the time to the request url\n * @return {Promise} - A promise that is fulfilled with a SVG image data URL\n * */\n function toSvg(node, options) {\n options = options || {};\n copyOptions(options);\n return Promise.resolve(node)\n .then(function (node) {\n return cloneNode(node, options.filter, true);\n })\n .then(embedFonts)\n .then(inlineImages)\n .then(applyOptions)\n .then(function (clone) {\n return makeSvgDataUri(clone,\n options.width || util.width(node),\n options.height || util.height(node)\n );\n });\n\n function applyOptions(clone) {\n if (options.bgcolor) clone.style.backgroundColor = options.bgcolor;\n\n if (options.width) clone.style.width = options.width + 'px';\n if (options.height) clone.style.height = options.height + 'px';\n\n if (options.style)\n Object.keys(options.style).forEach(function (property) {\n clone.style[property] = options.style[property];\n });\n\n return clone;\n }\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a Uint8Array containing RGBA pixel data.\n * */\n function toPixelData(node, options) {\n return draw(node, options || {})\n .then(function (canvas) {\n return canvas.getContext('2d').getImageData(\n 0,\n 0,\n util.width(node),\n util.height(node)\n ).data;\n });\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a PNG image data URL\n * */\n function toPng(node, options) {\n return draw(node, options || {})\n .then(function (canvas) {\n return canvas.toDataURL();\n });\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a JPEG image data URL\n * */\n function toJpeg(node, options) {\n options = options || {};\n return draw(node, options)\n .then(function (canvas) {\n return canvas.toDataURL('image/jpeg', options.quality || 1.0);\n });\n }\n\n /**\n * @param {Node} node - The DOM Node object to render\n * @param {Object} options - Rendering options, @see {@link toSvg}\n * @return {Promise} - A promise that is fulfilled with a PNG image blob\n * */\n function toBlob(node, options) {\n return draw(node, options || {})\n .then(util.canvasToBlob);\n }\n\n function copyOptions(options) {\n // Copy options to impl options for use in impl\n if(typeof(options.imagePlaceholder) === 'undefined') {\n domtoimage.impl.options.imagePlaceholder = defaultOptions.imagePlaceholder;\n } else {\n domtoimage.impl.options.imagePlaceholder = options.imagePlaceholder;\n }\n\n if(typeof(options.cacheBust) === 'undefined') {\n domtoimage.impl.options.cacheBust = defaultOptions.cacheBust;\n } else {\n domtoimage.impl.options.cacheBust = options.cacheBust;\n }\n }\n\n function draw(domNode, options) {\n return toSvg(domNode, options)\n .then(util.makeImage)\n .then(util.delay(100))\n .then(function (image) {\n var canvas = newCanvas(domNode);\n canvas.getContext('2d').drawImage(image, 0, 0);\n return canvas;\n });\n\n function newCanvas(domNode) {\n var canvas = document.createElement('canvas');\n canvas.width = options.width || util.width(domNode);\n canvas.height = options.height || util.height(domNode);\n\n if (options.bgcolor) {\n var ctx = canvas.getContext('2d');\n ctx.fillStyle = options.bgcolor;\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n }\n\n return canvas;\n }\n }\n\n function cloneNode(node, filter, root) {\n if (!root && filter && !filter(node)) return Promise.resolve();\n\n return Promise.resolve(node)\n .then(makeNodeCopy)\n .then(function (clone) {\n return cloneChildren(node, clone, filter);\n })\n .then(function (clone) {\n return processClone(node, clone);\n });\n\n function makeNodeCopy(node) {\n if (node instanceof HTMLCanvasElement) return util.makeImage(node.toDataURL());\n return node.cloneNode(false);\n }\n\n function cloneChildren(original, clone, filter) {\n var children = original.childNodes;\n if (children.length === 0) return Promise.resolve(clone);\n\n return cloneChildrenInOrder(clone, util.asArray(children), filter)\n .then(function () {\n return clone;\n });\n\n function cloneChildrenInOrder(parent, children, filter) {\n var done = Promise.resolve();\n children.forEach(function (child) {\n done = done\n .then(function () {\n return cloneNode(child, filter);\n })\n .then(function (childClone) {\n if (childClone) parent.appendChild(childClone);\n });\n });\n return done;\n }\n }\n\n function processClone(original, clone) {\n if (!(clone instanceof Element)) return clone;\n\n return Promise.resolve()\n .then(cloneStyle)\n .then(clonePseudoElements)\n .then(copyUserInput)\n .then(fixSvg)\n .then(function () {\n return clone;\n });\n\n function cloneStyle() {\n copyStyle(window.getComputedStyle(original), clone.style);\n\n function copyStyle(source, target) {\n if (source.cssText) target.cssText = source.cssText;\n else copyProperties(source, target);\n\n function copyProperties(source, target) {\n util.asArray(source).forEach(function (name) {\n target.setProperty(\n name,\n source.getPropertyValue(name),\n source.getPropertyPriority(name)\n );\n });\n }\n }\n }\n\n function clonePseudoElements() {\n [':before', ':after'].forEach(function (element) {\n clonePseudoElement(element);\n });\n\n function clonePseudoElement(element) {\n var style = window.getComputedStyle(original, element);\n var content = style.getPropertyValue('content');\n\n if (content === '' || content === 'none') return;\n\n var className = util.uid();\n clone.className = clone.className + ' ' + className;\n var styleElement = document.createElement('style');\n styleElement.appendChild(formatPseudoElementStyle(className, element, style));\n clone.appendChild(styleElement);\n\n function formatPseudoElementStyle(className, element, style) {\n var selector = '.' + className + ':' + element;\n var cssText = style.cssText ? formatCssText(style) : formatCssProperties(style);\n return document.createTextNode(selector + '{' + cssText + '}');\n\n function formatCssText(style) {\n var content = style.getPropertyValue('content');\n return style.cssText + ' content: ' + content + ';';\n }\n\n function formatCssProperties(style) {\n\n return util.asArray(style)\n .map(formatProperty)\n .join('; ') + ';';\n\n function formatProperty(name) {\n return name + ': ' +\n style.getPropertyValue(name) +\n (style.getPropertyPriority(name) ? ' !important' : '');\n }\n }\n }\n }\n }\n\n function copyUserInput() {\n if (original instanceof HTMLTextAreaElement) clone.innerHTML = original.value;\n if (original instanceof HTMLInputElement) clone.setAttribute(\"value\", original.value);\n }\n\n function fixSvg() {\n if (!(clone instanceof SVGElement)) return;\n clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\n if (!(clone instanceof SVGRectElement)) return;\n ['width', 'height'].forEach(function (attribute) {\n var value = clone.getAttribute(attribute);\n if (!value) return;\n\n clone.style.setProperty(attribute, value);\n });\n }\n }\n }\n\n function embedFonts(node) {\n return fontFaces.resolveAll()\n .then(function (cssText) {\n var styleNode = document.createElement('style');\n node.appendChild(styleNode);\n styleNode.appendChild(document.createTextNode(cssText));\n return node;\n });\n }\n\n function inlineImages(node) {\n return images.inlineAll(node)\n .then(function () {\n return node;\n });\n }\n\n function makeSvgDataUri(node, width, height) {\n return Promise.resolve(node)\n .then(function (node) {\n node.setAttribute('xmlns', 'http://www.w3.org/1999/xhtml');\n return new XMLSerializer().serializeToString(node);\n })\n .then(util.escapeXhtml)\n .then(function (xhtml) {\n return '' + xhtml + '';\n })\n .then(function (foreignObject) {\n return '' +\n foreignObject + '';\n })\n .then(function (svg) {\n return 'data:image/svg+xml;charset=utf-8,' + svg;\n });\n }\n\n function newUtil() {\n return {\n escape: escape,\n parseExtension: parseExtension,\n mimeType: mimeType,\n dataAsUrl: dataAsUrl,\n isDataUrl: isDataUrl,\n canvasToBlob: canvasToBlob,\n resolveUrl: resolveUrl,\n getAndEncode: getAndEncode,\n uid: uid(),\n delay: delay,\n asArray: asArray,\n escapeXhtml: escapeXhtml,\n makeImage: makeImage,\n width: width,\n height: height\n };\n\n function mimes() {\n /*\n * Only WOFF and EOT mime types for fonts are 'real'\n * see http://www.iana.org/assignments/media-types/media-types.xhtml\n */\n var WOFF = 'application/font-woff';\n var JPEG = 'image/jpeg';\n\n return {\n 'woff': WOFF,\n 'woff2': WOFF,\n 'ttf': 'application/font-truetype',\n 'eot': 'application/vnd.ms-fontobject',\n 'png': 'image/png',\n 'jpg': JPEG,\n 'jpeg': JPEG,\n 'gif': 'image/gif',\n 'tiff': 'image/tiff',\n 'svg': 'image/svg+xml'\n };\n }\n\n function parseExtension(url) {\n var match = /\\.([^\\.\\/]*?)$/g.exec(url);\n if (match) return match[1];\n else return '';\n }\n\n function mimeType(url) {\n var extension = parseExtension(url).toLowerCase();\n return mimes()[extension] || '';\n }\n\n function isDataUrl(url) {\n return url.search(/^(data:)/) !== -1;\n }\n\n function toBlob(canvas) {\n return new Promise(function (resolve) {\n var binaryString = window.atob(canvas.toDataURL().split(',')[1]);\n var length = binaryString.length;\n var binaryArray = new Uint8Array(length);\n\n for (var i = 0; i < length; i++)\n binaryArray[i] = binaryString.charCodeAt(i);\n\n resolve(new Blob([binaryArray], {\n type: 'image/png'\n }));\n });\n }\n\n function canvasToBlob(canvas) {\n if (canvas.toBlob)\n return new Promise(function (resolve) {\n canvas.toBlob(resolve);\n });\n\n return toBlob(canvas);\n }\n\n function resolveUrl(url, baseUrl) {\n var doc = document.implementation.createHTMLDocument();\n var base = doc.createElement('base');\n doc.head.appendChild(base);\n var a = doc.createElement('a');\n doc.body.appendChild(a);\n base.href = baseUrl;\n a.href = url;\n return a.href;\n }\n\n function uid() {\n var index = 0;\n\n return function () {\n return 'u' + fourRandomChars() + index++;\n\n function fourRandomChars() {\n /* see http://stackoverflow.com/a/6248722/2519373 */\n return ('0000' + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4);\n }\n };\n }\n\n function makeImage(uri) {\n return new Promise(function (resolve, reject) {\n var image = new Image();\n image.onload = function () {\n resolve(image);\n };\n image.onerror = reject;\n image.src = uri;\n });\n }\n\n function getAndEncode(url) {\n var TIMEOUT = 30000;\n if(domtoimage.impl.options.cacheBust) {\n // Cache bypass so we dont have CORS issues with cached images\n // Source: https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest#Bypassing_the_cache\n url += ((/\\?/).test(url) ? \"&\" : \"?\") + (new Date()).getTime();\n }\n\n return new Promise(function (resolve) {\n var request = new XMLHttpRequest();\n\n request.onreadystatechange = done;\n request.ontimeout = timeout;\n request.responseType = 'blob';\n request.timeout = TIMEOUT;\n request.open('GET', url, true);\n request.send();\n\n var placeholder;\n if(domtoimage.impl.options.imagePlaceholder) {\n var split = domtoimage.impl.options.imagePlaceholder.split(/,/);\n if(split && split[1]) {\n placeholder = split[1];\n }\n }\n\n function done() {\n if (request.readyState !== 4) return;\n\n if (request.status !== 200) {\n if(placeholder) {\n resolve(placeholder);\n } else {\n fail('cannot fetch resource: ' + url + ', status: ' + request.status);\n }\n\n return;\n }\n\n var encoder = new FileReader();\n encoder.onloadend = function () {\n var content = encoder.result.split(/,/)[1];\n resolve(content);\n };\n encoder.readAsDataURL(request.response);\n }\n\n function timeout() {\n if(placeholder) {\n resolve(placeholder);\n } else {\n fail('timeout of ' + TIMEOUT + 'ms occured while fetching resource: ' + url);\n }\n }\n\n function fail(message) {\n console.error(message);\n resolve('');\n }\n });\n }\n\n function dataAsUrl(content, type) {\n return 'data:' + type + ';base64,' + content;\n }\n\n function escape(string) {\n return string.replace(/([.*+?^${}()|\\[\\]\\/\\\\])/g, '\\\\$1');\n }\n\n function delay(ms) {\n return function (arg) {\n return new Promise(function (resolve) {\n setTimeout(function () {\n resolve(arg);\n }, ms);\n });\n };\n }\n\n function asArray(arrayLike) {\n var array = [];\n var length = arrayLike.length;\n for (var i = 0; i < length; i++) array.push(arrayLike[i]);\n return array;\n }\n\n function escapeXhtml(string) {\n return string.replace(/#/g, '%23').replace(/\\n/g, '%0A');\n }\n\n function width(node) {\n var leftBorder = px(node, 'border-left-width');\n var rightBorder = px(node, 'border-right-width');\n return node.scrollWidth + leftBorder + rightBorder;\n }\n\n function height(node) {\n var topBorder = px(node, 'border-top-width');\n var bottomBorder = px(node, 'border-bottom-width');\n return node.scrollHeight + topBorder + bottomBorder;\n }\n\n function px(node, styleProperty) {\n var value = window.getComputedStyle(node).getPropertyValue(styleProperty);\n return parseFloat(value.replace('px', ''));\n }\n }\n\n function newInliner() {\n var URL_REGEX = /url\\(['\"]?([^'\"]+?)['\"]?\\)/g;\n\n return {\n inlineAll: inlineAll,\n shouldProcess: shouldProcess,\n impl: {\n readUrls: readUrls,\n inline: inline\n }\n };\n\n function shouldProcess(string) {\n return string.search(URL_REGEX) !== -1;\n }\n\n function readUrls(string) {\n var result = [];\n var match;\n while ((match = URL_REGEX.exec(string)) !== null) {\n result.push(match[1]);\n }\n return result.filter(function (url) {\n return !util.isDataUrl(url);\n });\n }\n\n function inline(string, url, baseUrl, get) {\n return Promise.resolve(url)\n .then(function (url) {\n return baseUrl ? util.resolveUrl(url, baseUrl) : url;\n })\n .then(get || util.getAndEncode)\n .then(function (data) {\n return util.dataAsUrl(data, util.mimeType(url));\n })\n .then(function (dataUrl) {\n return string.replace(urlAsRegex(url), '$1' + dataUrl + '$3');\n });\n\n function urlAsRegex(url) {\n return new RegExp('(url\\\\([\\'\"]?)(' + util.escape(url) + ')([\\'\"]?\\\\))', 'g');\n }\n }\n\n function inlineAll(string, baseUrl, get) {\n if (nothingToInline()) return Promise.resolve(string);\n\n return Promise.resolve(string)\n .then(readUrls)\n .then(function (urls) {\n var done = Promise.resolve(string);\n urls.forEach(function (url) {\n done = done.then(function (string) {\n return inline(string, url, baseUrl, get);\n });\n });\n return done;\n });\n\n function nothingToInline() {\n return !shouldProcess(string);\n }\n }\n }\n\n function newFontFaces() {\n return {\n resolveAll: resolveAll,\n impl: {\n readAll: readAll\n }\n };\n\n function resolveAll() {\n return readAll(document)\n .then(function (webFonts) {\n return Promise.all(\n webFonts.map(function (webFont) {\n return webFont.resolve();\n })\n );\n })\n .then(function (cssStrings) {\n return cssStrings.join('\\n');\n });\n }\n\n function readAll() {\n return Promise.resolve(util.asArray(document.styleSheets))\n .then(getCssRules)\n .then(selectWebFontRules)\n .then(function (rules) {\n return rules.map(newWebFont);\n });\n\n function selectWebFontRules(cssRules) {\n return cssRules\n .filter(function (rule) {\n return rule.type === CSSRule.FONT_FACE_RULE;\n })\n .filter(function (rule) {\n return inliner.shouldProcess(rule.style.getPropertyValue('src'));\n });\n }\n\n function getCssRules(styleSheets) {\n var cssRules = [];\n styleSheets.forEach(function (sheet) {\n try {\n util.asArray(sheet.cssRules || []).forEach(cssRules.push.bind(cssRules));\n } catch (e) {\n console.log('Error while reading CSS rules from ' + sheet.href, e.toString());\n }\n });\n return cssRules;\n }\n\n function newWebFont(webFontRule) {\n return {\n resolve: function resolve() {\n var baseUrl = (webFontRule.parentStyleSheet || {}).href;\n return inliner.inlineAll(webFontRule.cssText, baseUrl);\n },\n src: function () {\n return webFontRule.style.getPropertyValue('src');\n }\n };\n }\n }\n }\n\n function newImages() {\n return {\n inlineAll: inlineAll,\n impl: {\n newImage: newImage\n }\n };\n\n function newImage(element) {\n return {\n inline: inline\n };\n\n function inline(get) {\n if (util.isDataUrl(element.src)) return Promise.resolve();\n\n return Promise.resolve(element.src)\n .then(get || util.getAndEncode)\n .then(function (data) {\n return util.dataAsUrl(data, util.mimeType(element.src));\n })\n .then(function (dataUrl) {\n return new Promise(function (resolve, reject) {\n element.onload = resolve;\n element.onerror = reject;\n element.src = dataUrl;\n });\n });\n }\n }\n\n function inlineAll(node) {\n if (!(node instanceof Element)) return Promise.resolve(node);\n\n return inlineBackground(node)\n .then(function () {\n if (node instanceof HTMLImageElement)\n return newImage(node).inline();\n else\n return Promise.all(\n util.asArray(node.childNodes).map(function (child) {\n return inlineAll(child);\n })\n );\n });\n\n function inlineBackground(node) {\n var background = node.style.getPropertyValue('background');\n\n if (!background) return Promise.resolve(node);\n\n return inliner.inlineAll(background)\n .then(function (inlined) {\n node.style.setProperty(\n 'background',\n inlined,\n node.style.getPropertyPriority('background')\n );\n })\n .then(function () {\n return node;\n });\n }\n }\n }\n})(this);\n"],"names":["render","_vm","this","_c","_self","loading","_e","class","isManager","loadImage","attrs","pagination","page","divisionToRender","imageRenderMode","usersPlayerId","on","$event","staticClass","directives","name","rawName","value","selectedDivisionId","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","updateRoute","domProps","_v","_l","eventData","divisions","division","id","_s","divisionItems","length","changeDivision","selectedDivisionName","leaderboards","leaderboard","leaderboardIndex","players","downloadItems","playerInDivision","generateImage","_m","key","event","moveDivision","arg","manager","rounds","round","index","push","tour","scoringType","includes","player","formattedPlace","place","userId","profileImageUrl","firstName","charAt","lastName","pdgaNumber","pdgaRating","poolLeaderboards","result","togglePoolStatRow","poolId","score","penalties","emptyResultsToRender","roundIndex","toggleStatRow","convertPar","par","isDnf","isDns","points","selectedPlayer","$route","params","divisionId","viewFullStandings","leaderboardCount","perPage","Math","ceil","$refs","eventpointsystem","open","loadData","updatedScores","ref","customPointSystem","close","userEventStats","userStatTitle","userStatPoolId","usereventstats","staticRenderFns","devMode","imagesRendered","shortLeaderboard","marked","playerId","playerBeforeMarked","resultIndex","n","eventDate","props","components","Logo","mixins","convertRGBA","data","sortBy","ascending","computed","startDate","endDate","moment","isSame","format","arrayStart","arrayEnd","arrayLength","arrayStartIndex","forEach","slice","returnIndex","eventDivisions","$store","getters","watch","methods","formattedGraphData","type","percentage","stats","part","count","stat","getImage","node","document","getElementById","domtoimage","bgcolor","img","Image","src","filename","window","ReactNativeWebView","postMessage","JSON","stringify","saveImg","createElement","href","download","click","$emit","err","console","error","pageQuery","$axios","query","$router","currentRoute","eventId","then","$nextTick","beforeMount","component","SwipeNavigation","SmartStickyHeader","ProfilePopoverCard","UserProfileAvatar","UserEventStats","PublicEventPointSystemModal","CustomDropDown","ToolTip","ChevronFat","Pagination","PublicEventStandingsImageGenerator","PublicPagesPlaceholder","Edit","EditResultsSidebar","path","find","items","title","action","leaderboardPreviews","userInfo","sessionInfo","user","handler","newVal","oldVal","deep","to","from","hasSharedPlace","p","e","state","utility","deviceWidth","currentIndex","findIndex","direction","totalPlayers","dispatch","show","message","you","disabled","scrollToTop","Promise","resolve","scrollTo","setTimeout","loadUserStats","userStats","loadUserPoolStats","poolIndex","pool","roundsInEvent","playerResults","playerResultLength","some","mode","log","divisionQuery","util","newUtil","inliner","newInliner","fontFaces","newFontFaces","images","newImages","defaultOptions","imagePlaceholder","undefined","cacheBust","toSvg","toPng","toJpeg","toBlob","toPixelData","impl","copyOptions","cloneNode","embedFonts","inlineImages","applyOptions","clone","makeSvgDataUri","width","height","style","backgroundColor","Object","keys","property","draw","canvas","getContext","getImageData","toDataURL","quality","canvasToBlob","domNode","makeImage","delay","image","newCanvas","drawImage","ctx","fillStyle","fillRect","root","makeNodeCopy","cloneChildren","processClone","HTMLCanvasElement","original","children","childNodes","cloneChildrenInOrder","asArray","parent","done","child","childClone","appendChild","Element","cloneStyle","clonePseudoElements","copyUserInput","fixSvg","copyStyle","source","copyProperties","setProperty","getPropertyValue","getPropertyPriority","cssText","getComputedStyle","clonePseudoElement","element","content","className","uid","styleElement","formatPseudoElementStyle","selector","formatCssText","formatCssProperties","createTextNode","formatProperty","join","HTMLTextAreaElement","innerHTML","HTMLInputElement","setAttribute","SVGElement","SVGRectElement","attribute","getAttribute","resolveAll","styleNode","inlineAll","XMLSerializer","serializeToString","escapeXhtml","xhtml","foreignObject","svg","escape","parseExtension","mimeType","dataAsUrl","isDataUrl","resolveUrl","getAndEncode","mimes","WOFF","JPEG","url","match","exec","extension","toLowerCase","search","binaryString","atob","split","binaryArray","Uint8Array","i","charCodeAt","Blob","baseUrl","doc","implementation","createHTMLDocument","base","head","a","body","fourRandomChars","random","pow","toString","uri","reject","onload","onerror","TIMEOUT","test","Date","getTime","placeholder","request","XMLHttpRequest","onreadystatechange","ontimeout","timeout","responseType","send","readyState","status","encoder","FileReader","onloadend","readAsDataURL","response","fail","string","replace","ms","arrayLike","array","leftBorder","px","rightBorder","scrollWidth","topBorder","bottomBorder","scrollHeight","styleProperty","parseFloat","URL_REGEX","shouldProcess","readUrls","inline","get","dataUrl","urlAsRegex","RegExp","nothingToInline","urls","readAll","webFonts","all","webFont","cssStrings","styleSheets","getCssRules","selectWebFontRules","rules","newWebFont","cssRules","rule","CSSRule","FONT_FACE_RULE","sheet","bind","webFontRule","parentStyleSheet","newImage","inlineBackground","HTMLImageElement","background","inlined","module","exports"],"sourceRoot":""}